@@ -57,6 +57,7 @@ functions:
57
57
handle-test-artifacts :
58
58
- command : gotest.parse_files
59
59
params :
60
+ optional_output : " true"
60
61
files :
61
62
- " src/go.mongodb.org/mongo-driver/*.suite"
62
63
- command : ec2.assume_role
@@ -1420,16 +1421,15 @@ tasks:
1420
1421
vars :
1421
1422
MONGO_GO_DRIVER_COMPRESSOR : " snappy"
1422
1423
1423
- # Build the compilecheck submodule with the oldest supported version of Go.
1424
- - name : go1.18-build
1424
+ # Build the compilecheck submodule with all supported versions of Go >=
1425
+ # the minimum supported version.
1426
+ - name : go-build
1425
1427
tags : ["compile-check"]
1426
1428
commands :
1427
1429
- command : subprocess.exec
1428
1430
params :
1429
1431
binary : bash
1430
- env :
1431
- GO_VERSION : " 1.18"
1432
- args : [*task-runner, build-compile-check]
1432
+ args : [*task-runner, build-compile-check-all]
1433
1433
1434
1434
# Build with the same Go version that we're using for tests.
1435
1435
- name : build
@@ -1481,6 +1481,23 @@ tasks:
1481
1481
SSL : " nossl"
1482
1482
REQUIRE_API_VERSION : true
1483
1483
1484
+ - name : " test-sharded-versioned-api"
1485
+ tags : ["versioned-api"]
1486
+ commands :
1487
+ - func : bootstrap-mongo-orchestration
1488
+ vars :
1489
+ TOPOLOGY : " sharded_cluster"
1490
+ AUTH : " auth"
1491
+ SSL : " nossl"
1492
+ REQUIRE_API_VERSION : true
1493
+ - func : start-cse-servers
1494
+ - func : run-versioned-api-test
1495
+ vars :
1496
+ TOPOLOGY : " sharded_cluster"
1497
+ AUTH : " auth"
1498
+ SSL : " nossl"
1499
+ REQUIRE_API_VERSION : true
1500
+
1484
1501
- name : " test-standalone-versioned-api-test-commands"
1485
1502
tags : ["versioned-api"]
1486
1503
commands :
@@ -1722,10 +1739,6 @@ axes:
1722
1739
display_name : " 4.0"
1723
1740
variables :
1724
1741
VERSION : " 4.0"
1725
- - id : " 3.6"
1726
- display_name : " 3.6"
1727
- variables :
1728
- VERSION : " 3.6"
1729
1742
- id : " rapid"
1730
1743
display_name : " rapid"
1731
1744
variables :
@@ -1745,7 +1758,7 @@ axes:
1745
1758
- windows-vsCurrent-small
1746
1759
variables :
1747
1760
GCC_PATH : " /cygdrive/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin"
1748
- GO_DIST : " C:\\ golang\\ go1.22 "
1761
+ GO_DIST : " C:\\ golang\\ go1.23 "
1749
1762
VENV_BIN_DIR : " Scripts"
1750
1763
DEFAULT_TASK : evg-test
1751
1764
# CSOT tests are unreliable on our slow Windows hosts.
@@ -1754,14 +1767,14 @@ axes:
1754
1767
display_name : " RHEL 8.7"
1755
1768
run_on : rhel8.7-large
1756
1769
variables :
1757
- GO_DIST : " /opt/golang/go1.22 "
1770
+ GO_DIST : " /opt/golang/go1.23 "
1758
1771
DEFAULT_TASK : evg-test
1759
1772
- id : " macos"
1760
1773
display_name : " MacOS 14.0"
1761
1774
run_on : macos-14
1762
1775
batchtime : 1440 # Run at most once per 24 hours.
1763
1776
variables :
1764
- GO_DIST : " /opt/golang/go1.22 "
1777
+ GO_DIST : " /opt/golang/go1.23 "
1765
1778
DEFAULT_TASK : evg-test-load-balancers
1766
1779
# CSOT tests are unreliable on our slow macOS hosts.
1767
1780
SKIP_CSOT_TESTS : true
@@ -1776,7 +1789,7 @@ axes:
1776
1789
- windows-vsCurrent-small
1777
1790
variables :
1778
1791
GCC_PATH : " /cygdrive/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin"
1779
- GO_DIST : " C:\\ golang\\ go1.22 "
1792
+ GO_DIST : " C:\\ golang\\ go1.23 "
1780
1793
VENV_BIN_DIR : " Scripts"
1781
1794
DEFAULT_TASK : evg-test
1782
1795
# CSOT tests are unreliable on our slow Windows hosts.
@@ -1785,14 +1798,14 @@ axes:
1785
1798
display_name : " RHEL 8.7"
1786
1799
run_on : rhel8.7-large
1787
1800
variables :
1788
- GO_DIST : " /opt/golang/go1.22 "
1801
+ GO_DIST : " /opt/golang/go1.23 "
1789
1802
DEFAULT_TASK : evg-test
1790
1803
- id : " macos"
1791
1804
display_name : " MacOS 14.0"
1792
1805
run_on : macos-14
1793
1806
batchtime : 1440 # Run at most once per 24 hours.
1794
1807
variables :
1795
- GO_DIST : " /opt/golang/go1.22 "
1808
+ GO_DIST : " /opt/golang/go1.23 "
1796
1809
DEFAULT_TASK : evg-test-load-balancers
1797
1810
# CSOT tests are unreliable on our slow macOS hosts.
1798
1811
SKIP_CSOT_TESTS : true
@@ -1804,7 +1817,7 @@ axes:
1804
1817
display_name : " RHEL 8.7"
1805
1818
run_on : rhel8.7-large
1806
1819
variables :
1807
- GO_DIST : " /opt/golang/go1.22 "
1820
+ GO_DIST : " /opt/golang/go1.23 "
1808
1821
DEFAULT_TASK : evg-test
1809
1822
1810
1823
- id : os-aws-auth
@@ -1816,7 +1829,7 @@ axes:
1816
1829
- windows-vsCurrent-small
1817
1830
variables :
1818
1831
GCC_PATH : " /cygdrive/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin"
1819
- GO_DIST : " C:\\ golang\\ go1.22 "
1832
+ GO_DIST : " C:\\ golang\\ go1.23 "
1820
1833
SKIP_ECS_AUTH_TEST : true
1821
1834
DEFAULT_TASK : evg-test
1822
1835
# CSOT tests are unreliable on our slow Windows hosts.
@@ -1825,14 +1838,14 @@ axes:
1825
1838
display_name : " Ubuntu 20.04"
1826
1839
run_on : ubuntu2004-test
1827
1840
variables :
1828
- GO_DIST : " /opt/golang/go1.22 "
1841
+ GO_DIST : " /opt/golang/go1.23 "
1829
1842
DEFAULT_TASK : evg-test
1830
1843
- id : " macos"
1831
1844
display_name : " MacOS 14.0"
1832
1845
run_on : macos-14
1833
1846
batchtime : 1440 # Run at most once per 24 hours.
1834
1847
variables :
1835
- GO_DIST : " /opt/golang/go1.22 "
1848
+ GO_DIST : " /opt/golang/go1.23 "
1836
1849
SKIP_ECS_AUTH_TEST : true
1837
1850
SKIP_EC2_AUTH_TEST : true
1838
1851
SKIP_WEB_IDENTITY_AUTH_TEST : true
@@ -1847,7 +1860,7 @@ axes:
1847
1860
display_name : " RHEL 8.7"
1848
1861
run_on : rhel8.7-large
1849
1862
variables :
1850
- GO_DIST : " /opt/golang/go1.22 "
1863
+ GO_DIST : " /opt/golang/go1.23 "
1851
1864
1852
1865
- id : os-serverless
1853
1866
display_name : OS
@@ -1856,7 +1869,7 @@ axes:
1856
1869
display_name : " RHEL 8.7"
1857
1870
run_on : rhel8.7-small
1858
1871
variables :
1859
- GO_DIST : " /opt/golang/go1.22 "
1872
+ GO_DIST : " /opt/golang/go1.23 "
1860
1873
1861
1874
task_groups :
1862
1875
- name : serverless_task_group
@@ -1932,7 +1945,10 @@ task_groups:
1932
1945
- name : testoidc_task_group
1933
1946
setup_group_can_fail_task : true
1934
1947
setup_group_timeout_secs : 1800
1935
- teardown_task_can_fail_task : true
1948
+ # TODO(DRIVERS-3141): Uncomment the following line once the teardown bug is
1949
+ # fixed. See DRIVERS-3141 for more context.
1950
+ #
1951
+ # teardown_task_can_fail_task: true
1936
1952
teardown_group_timeout_secs : 180 # 3 minutes (max allowed time)
1937
1953
setup_group :
1938
1954
- func : setup-system
@@ -2095,7 +2111,7 @@ buildvariants:
2095
2111
- rhel8.7-small
2096
2112
expansions :
2097
2113
# Keep this in sync with go version used in etc/golangci-lint.sh
2098
- GO_DIST : " /opt/golang/go1.22 "
2114
+ GO_DIST : " /opt/golang/go1.23 "
2099
2115
tasks :
2100
2116
- name : " .static-analysis"
2101
2117
@@ -2105,7 +2121,7 @@ buildvariants:
2105
2121
run_on :
2106
2122
- rhel8.7-small
2107
2123
expansions :
2108
- GO_DIST : " /opt/golang/go1.22 "
2124
+ GO_DIST : " /opt/golang/go1.23 "
2109
2125
tasks :
2110
2126
- name : " pull-request-helpers"
2111
2127
@@ -2114,17 +2130,17 @@ buildvariants:
2114
2130
display_name : " Performance"
2115
2131
run_on : rhel90-dbx-perf-large
2116
2132
expansions :
2117
- GO_DIST : " /opt/golang/go1.22 "
2133
+ GO_DIST : " /opt/golang/go1.23 "
2118
2134
tasks :
2119
2135
- name : " .performance"
2120
2136
2121
2137
- name : build-check
2122
2138
tags : ["pullrequest"]
2123
2139
display_name : " Compile Only Checks"
2124
2140
run_on :
2125
- - rhel8.7 -small
2141
+ - ubuntu2204 -small
2126
2142
expansions :
2127
- GO_DIST : " /opt/golang/go1.22 "
2143
+ GO_DIST : " /opt/golang/go1.23 "
2128
2144
tasks :
2129
2145
- name : " .compile-check"
2130
2146
@@ -2133,7 +2149,7 @@ buildvariants:
2133
2149
run_on :
2134
2150
- rhel8.7-small
2135
2151
expansions :
2136
- GO_DIST : " /opt/golang/go1.22 "
2152
+ GO_DIST : " /opt/golang/go1.23 "
2137
2153
tasks :
2138
2154
- name : " backport-pr"
2139
2155
@@ -2143,7 +2159,7 @@ buildvariants:
2143
2159
run_on :
2144
2160
- rhel8.7-large
2145
2161
expansions :
2146
- GO_DIST : " /opt/golang/go1.22 "
2162
+ GO_DIST : " /opt/golang/go1.23 "
2147
2163
tasks :
2148
2164
- name : " atlas-test"
2149
2165
@@ -2153,7 +2169,7 @@ buildvariants:
2153
2169
run_on :
2154
2170
- ubuntu2004-large
2155
2171
expansions :
2156
- GO_DIST : " /opt/golang/go1.22 "
2172
+ GO_DIST : " /opt/golang/go1.23 "
2157
2173
tasks :
2158
2174
- name : " test-atlas-data-lake"
2159
2175
@@ -2163,7 +2179,7 @@ buildvariants:
2163
2179
run_on :
2164
2180
- ubuntu2204-large
2165
2181
expansions :
2166
- GO_DIST : " /opt/golang/go1.22 "
2182
+ GO_DIST : " /opt/golang/go1.23 "
2167
2183
tasks :
2168
2184
- name : " test-docker-runner"
2169
2185
@@ -2173,23 +2189,10 @@ buildvariants:
2173
2189
run_on :
2174
2190
- ubuntu2204-large
2175
2191
expansions :
2176
- GO_DIST : " /opt/golang/go1.22 "
2192
+ GO_DIST : " /opt/golang/go1.23 "
2177
2193
tasks :
2178
2194
- name : " .goleak"
2179
2195
2180
- - matrix_name : " tests-rhel-36-with-zlib-support"
2181
- tags : ["pullrequest"]
2182
- matrix_spec : { version: ["3.6"], os-ssl-32: ["rhel87-64"] }
2183
- display_name : " ${version} ${os-ssl-32}"
2184
- tasks :
2185
- - name : " .test !.enterprise-auth !.snappy !.zstd"
2186
-
2187
- - matrix_name : " tests-windows-36-with-zlib-support"
2188
- matrix_spec : { version: ["3.6"], os-ssl-32: ["windows-64"] }
2189
- display_name : " ${version} ${os-ssl-32}"
2190
- tasks :
2191
- - name : " .test !.enterprise-auth !.snappy !.zstd"
2192
-
2193
2196
- matrix_name : " tests-rhel-40-with-snappy-support"
2194
2197
tags : ["pullrequest"]
2195
2198
matrix_spec : { version: ["4.0"], os-ssl-40: ["rhel87-64"] }
@@ -2340,7 +2343,7 @@ buildvariants:
2340
2343
run_on :
2341
2344
- rhel8.7-small
2342
2345
expansions :
2343
- GO_DIST : " /opt/golang/go1.22 "
2346
+ GO_DIST : " /opt/golang/go1.23 "
2344
2347
tasks :
2345
2348
- name : testgcpkms_task_group
2346
2349
batchtime : 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
@@ -2351,7 +2354,7 @@ buildvariants:
2351
2354
run_on :
2352
2355
- rhel8.7-small
2353
2356
expansions :
2354
- GO_DIST : " /opt/golang/go1.22 "
2357
+ GO_DIST : " /opt/golang/go1.23 "
2355
2358
tasks :
2356
2359
- testawskms-task
2357
2360
- testawskms-fail-task
@@ -2361,7 +2364,7 @@ buildvariants:
2361
2364
run_on :
2362
2365
- rhel8.7-small
2363
2366
expansions :
2364
- GO_DIST : " /opt/golang/go1.22 "
2367
+ GO_DIST : " /opt/golang/go1.23 "
2365
2368
tasks :
2366
2369
- name : testazurekms_task_group
2367
2370
batchtime : 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
@@ -2372,7 +2375,7 @@ buildvariants:
2372
2375
run_on :
2373
2376
- ubuntu2204-small
2374
2377
expansions :
2375
- GO_DIST : " /opt/golang/go1.22 "
2378
+ GO_DIST : " /opt/golang/go1.23 "
2376
2379
tasks :
2377
2380
- name : testoidc_task_group
2378
2381
- name : testazureoidc_task_group
0 commit comments