@@ -13,8 +13,8 @@ stepback: true
13
13
command_type : system
14
14
15
15
# Protect ourself against rogue test case, or curl gone wild, that runs forever
16
- # 45 minutes: 20 minutes is a normal test run + up to 10 minutes for test setup + 15 minutes for longer macOS tests
17
- exec_timeout_secs : 2700
16
+ # 60 minutes: 20 minutes is a normal test run + up to 10 minutes for test setup + 15 minutes for longer macOS tests + 15 minutes for longer macOS 1015 tests
17
+ exec_timeout_secs : 3600
18
18
19
19
# What to do when evergreen hits the timeout (`post:` tasks are run automatically)
20
20
timeout :
@@ -292,6 +292,8 @@ functions:
292
292
. ./evergreen/set-virtualenv.sh
293
293
. ./evergreen/set-temp-fle-aws-creds.sh
294
294
${PREPARE_SHELL}
295
+ OS=${OS} \
296
+ . ./evergreen/fetch-crypt_shared-library.sh
295
297
OS=${OS} \
296
298
evergreen/add-ca-certs.sh
297
299
AUTH=${AUTH} \
@@ -339,6 +341,41 @@ functions:
339
341
OS=${OS} \
340
342
evergreen/cleanup-test-resources.sh
341
343
344
+ run-mongocryptd-tests :
345
+ - command : shell.exec
346
+ type : test
347
+ params :
348
+ working_dir : mongo-csharp-driver
349
+ script : |
350
+ set +x
351
+ export FLE_AWS_ACCESS_KEY_ID=${FLE_AWS_ACCESS_KEY_ID}
352
+ export FLE_AWS_SECRET_ACCESS_KEY=${FLE_AWS_SECRET_ACCESS_KEY}
353
+ export FLE_AZURE_TENANT_ID=${FLE_AZURE_TENANT_ID}
354
+ export FLE_AZURE_CLIENT_ID=${FLE_AZURE_CLIENT_ID}
355
+ export FLE_AZURE_CLIENT_SECRET=${FLE_AZURE_CLIENT_SECRET}
356
+ export FLE_GCP_EMAIL=${FLE_GCP_EMAIL}
357
+ export FLE_GCP_PRIVATE_KEY=${FLE_GCP_PRIVATE_KEY}
358
+ . ./evergreen/set-virtualenv.sh
359
+ . ./evergreen/set-temp-fle-aws-creds.sh
360
+ ${PREPARE_SHELL}
361
+ OS=${OS} \
362
+ evergreen/add-ca-certs.sh
363
+ AUTH=${AUTH} \
364
+ SSL=${SSL} \
365
+ MONGODB_URI="${MONGODB_URI}" \
366
+ TOPOLOGY=${TOPOLOGY} \
367
+ OS=${OS} \
368
+ COMPRESSOR=${COMPRESSOR} \
369
+ CLIENT_PEM=${DRIVERS_TOOLS}/.evergreen/x509gen/client.pem \
370
+ REQUIRE_API_VERSION=${REQUIRE_API_VERSION} \
371
+ TEST_MONGOCRYPTD="true" \
372
+ TARGET="TestMongocryptd" \
373
+ FRAMEWORK=${FRAMEWORK} \
374
+ evergreen/run-tests.sh
375
+ echo "Skipping certificate removal..."
376
+ OS=${OS} \
377
+ evergreen/cleanup-test-resources.sh
378
+
342
379
run-atlas-connectivity-tests :
343
380
- command : shell.exec
344
381
type : test
@@ -835,6 +872,27 @@ tasks:
835
872
vars :
836
873
FRAMEWORK : netstandard21
837
874
875
+ - name : test-mongocryptd-net472
876
+ commands :
877
+ - func : bootstrap-mongo-orchestration
878
+ - func : run-mongocryptd-tests
879
+ vars :
880
+ FRAMEWORK : net472
881
+
882
+ - name : test-mongocryptd-netstandard20
883
+ commands :
884
+ - func : bootstrap-mongo-orchestration
885
+ - func : run-mongocryptd-tests
886
+ vars :
887
+ FRAMEWORK : netstandard20
888
+
889
+ - name : test-mongocryptd-netstandard21
890
+ commands :
891
+ - func : bootstrap-mongo-orchestration
892
+ - func : run-mongocryptd-tests
893
+ vars :
894
+ FRAMEWORK : netstandard21
895
+
838
896
- name : test-kms-tls-mocked-net472
839
897
commands :
840
898
- func : start-kms-mock-servers
@@ -1371,11 +1429,11 @@ axes:
1371
1429
variables :
1372
1430
OS : " ubuntu-1804"
1373
1431
run_on : ubuntu1804-test
1374
- - id : " macos-1014 "
1375
- display_name : " macOS 10.14 "
1432
+ - id : " macos-1015 "
1433
+ display_name : " macOS 10.15 "
1376
1434
variables :
1377
- OS : " macos-1014 "
1378
- run_on : macos-1014
1435
+ OS : " macos-1015 "
1436
+ run_on : macos-1015
1379
1437
1380
1438
- id : topology
1381
1439
display_name : Topology
@@ -1447,10 +1505,10 @@ buildvariants:
1447
1505
- ubuntu1804-test
1448
1506
tasks :
1449
1507
- name : compile
1450
- - name : macos1014 -compile
1451
- display_name : " macOS 10.14 compile"
1508
+ - name : macos1015 -compile
1509
+ display_name : " macOS 10.15 compile"
1452
1510
run_on :
1453
- - macos-1014
1511
+ - macos-1015
1454
1512
tasks :
1455
1513
- name : compile
1456
1514
@@ -1499,7 +1557,7 @@ buildvariants:
1499
1557
- name : test-netstandard21
1500
1558
1501
1559
- matrix_name : " tests-snappy-compression-macOS"
1502
- matrix_spec : { compressor : "snappy", auth: "noauth", ssl: "nossl", version: ["5.0", "6.0", "rapid", "latest"], topology: "standalone", os: "macos-1014 " }
1560
+ matrix_spec : { compressor : "snappy", auth: "noauth", ssl: "nossl", version: ["5.0", "6.0", "rapid", "latest"], topology: "standalone", os: "macos-1015 " }
1503
1561
display_name : " ${version} ${compressor} ${topology} ${auth} ${ssl} ${os} "
1504
1562
tags : ["tests-variant"]
1505
1563
tasks :
@@ -1523,7 +1581,7 @@ buildvariants:
1523
1581
- name : test-netstandard21
1524
1582
1525
1583
- matrix_name : " tests-zstandard-compression-macOS"
1526
- matrix_spec : { compressor : "zstandard", auth: "noauth", ssl: "nossl", version: ["5.0", "6.0", "rapid", "latest"], topology: "standalone", os: "macos-1014 " }
1584
+ matrix_spec : { compressor : "zstandard", auth: "noauth", ssl: "nossl", version: ["5.0", "6.0", "rapid", "latest"], topology: "standalone", os: "macos-1015 " }
1527
1585
display_name : " ${version} ${compressor} ${topology} ${auth} ${ssl} ${os} "
1528
1586
tags : ["tests-variant"]
1529
1587
tasks :
@@ -1547,14 +1605,14 @@ buildvariants:
1547
1605
- name : test-netstandard21
1548
1606
1549
1607
- matrix_name : " secure-tests-macOS"
1550
- matrix_spec : { version: ["5.0", "6.0", "rapid", "latest"], topology: "replicaset", auth: "auth", ssl: "ssl", os: "macos-1014 " }
1608
+ matrix_spec : { version: ["5.0", "6.0", "rapid", "latest"], topology: "replicaset", auth: "auth", ssl: "ssl", os: "macos-1015 " }
1551
1609
display_name : " ${version} ${topology} ${auth} ${ssl} ${os}"
1552
1610
tags : ["tests-variant"]
1553
1611
tasks :
1554
1612
- name : test-netstandard21
1555
1613
1556
1614
- matrix_name : " unsecure-tests-macOS"
1557
- matrix_spec : { version: ["5.0", "6.0", "rapid", "latest"], topology: "replicaset", auth: "noauth", ssl: "nossl", os: "macos-1014 " }
1615
+ matrix_spec : { version: ["5.0", "6.0", "rapid", "latest"], topology: "replicaset", auth: "noauth", ssl: "nossl", os: "macos-1015 " }
1558
1616
display_name : " ${version} ${topology} ${auth} ${ssl} ${os}"
1559
1617
tags : ["tests-variant"]
1560
1618
tasks :
@@ -1661,21 +1719,42 @@ buildvariants:
1661
1719
1662
1720
- matrix_name : " csfle-with-mocked-kms-tests-windows"
1663
1721
matrix_spec : { os: "windows-64", ssl: "nossl", version: [ "5.0", "6.0", "rapid", "latest" ], topology: ["standalone"] }
1664
- display_name : " CSFLE Mocked KMS ${os}"
1722
+ display_name : " CSFLE Mocked KMS ${version} ${ os}"
1665
1723
tasks :
1666
1724
- name : test-kms-tls-mocked-net472
1667
1725
- name : test-kms-tls-mocked-netstandard20
1668
1726
- name : test-kms-tls-mocked-netstandard21
1669
1727
1670
1728
- matrix_name : " csfle-with-mocked-kms-tests-linux"
1671
1729
matrix_spec : { os: "ubuntu-1804", ssl: "nossl", version: [ "5.0", "6.0", "rapid", "latest" ], topology: ["standalone"] }
1672
- display_name : " CSFLE Mocked KMS ${os}"
1730
+ display_name : " CSFLE Mocked KMS ${version} ${ os}"
1673
1731
tasks :
1674
1732
- name : test-kms-tls-mocked-netstandard20
1675
1733
- name : test-kms-tls-mocked-netstandard21
1676
1734
1677
1735
- matrix_name : " csfle-with-mocked-kms-tests-macOS"
1678
- matrix_spec : { os: "macos-1014 ", ssl: "nossl", version: [ "5.0", "6.0", "rapid", "latest" ], topology: ["standalone"] }
1679
- display_name : " CSFLE Mocked KMS ${os}"
1736
+ matrix_spec : { os: "macos-1015 ", ssl: "nossl", version: [ "5.0", "6.0", "rapid", "latest" ], topology: ["standalone"] }
1737
+ display_name : " CSFLE Mocked KMS ${version} ${ os}"
1680
1738
tasks :
1681
1739
- name : test-kms-tls-mocked-netstandard21
1740
+
1741
+ - matrix_name : " csfle1-windows"
1742
+ matrix_spec : { os: "windows-64", ssl: "nossl", version: [ "4.2", "4.4", "5.0", "6.0", "latest" ], topology: ["replicaset"] }
1743
+ display_name : " mongocryptd ${version} ${os}"
1744
+ tasks :
1745
+ - name : test-mongocryptd-net472
1746
+ - name : test-mongocryptd-netstandard20
1747
+ - name : test-mongocryptd-netstandard21
1748
+
1749
+ - matrix_name : " csfle1-linux"
1750
+ matrix_spec : { os: "ubuntu-1804", ssl: "nossl", version: [ "4.2", "4.4", "5.0", "6.0", "latest" ], topology: ["replicaset"] }
1751
+ display_name : " mongocryptd ${version} ${os}"
1752
+ tasks :
1753
+ - name : test-mongocryptd-netstandard20
1754
+ - name : test-mongocryptd-netstandard21
1755
+
1756
+ - matrix_name : " csfle1-macOS"
1757
+ matrix_spec : { os: "macos-1015", ssl: "nossl", version: [ "4.2", "4.4", "5.0", "6.0", "latest" ], topology: ["replicaset"] }
1758
+ display_name : " mongocryptd ${version} ${os}"
1759
+ tasks :
1760
+ - name : test-mongocryptd-netstandard21
0 commit comments