Skip to content

Commit dd7973b

Browse files
author
Thomas Reggi
authored
chore: adds MongoDB 4.4 and latest tests for OCSP
NODE-2634
1 parent d84d14b commit dd7973b

File tree

2 files changed

+267
-150
lines changed

2 files changed

+267
-150
lines changed

.evergreen/config.yml

Lines changed: 131 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ tasks:
10491049
commands:
10501050
- func: install dependencies
10511051
- func: run atlas tests
1052-
- name: test-ocsp-valid-cert-server-staples
1052+
- name: test-latest-ocsp-valid-cert-server-staples
10531053
tags:
10541054
- ocsp
10551055
commands:
@@ -1063,7 +1063,7 @@ tasks:
10631063
- func: run-ocsp-test
10641064
vars:
10651065
OCSP_TLS_SHOULD_SUCCEED: 1
1066-
- name: test-ocsp-invalid-cert-server-staples
1066+
- name: test-latest-ocsp-invalid-cert-server-staples
10671067
tags:
10681068
- ocsp
10691069
commands:
@@ -1077,7 +1077,7 @@ tasks:
10771077
- func: run-ocsp-test
10781078
vars:
10791079
OCSP_TLS_SHOULD_SUCCEED: 0
1080-
- name: test-ocsp-valid-cert-server-does-not-staple
1080+
- name: test-latest-ocsp-valid-cert-server-does-not-staple
10811081
tags:
10821082
- ocsp
10831083
commands:
@@ -1091,7 +1091,7 @@ tasks:
10911091
- func: run-ocsp-test
10921092
vars:
10931093
OCSP_TLS_SHOULD_SUCCEED: 1
1094-
- name: test-ocsp-invalid-cert-server-does-not-staple
1094+
- name: test-latest-ocsp-invalid-cert-server-does-not-staple
10951095
tags:
10961096
- ocsp
10971097
commands:
@@ -1105,7 +1105,7 @@ tasks:
11051105
- func: run-ocsp-test
11061106
vars:
11071107
OCSP_TLS_SHOULD_SUCCEED: 0
1108-
- name: test-ocsp-soft-fail
1108+
- name: test-latest-ocsp-soft-fail
11091109
tags:
11101110
- ocsp
11111111
commands:
@@ -1118,7 +1118,7 @@ tasks:
11181118
- func: run-ocsp-test
11191119
vars:
11201120
OCSP_TLS_SHOULD_SUCCEED: 1
1121-
- name: test-ocsp-malicious-invalid-cert-mustStaple-server-does-not-staple
1121+
- name: test-latest-ocsp-malicious-invalid-cert-mustStaple-server-does-not-staple
11221122
tags:
11231123
- ocsp
11241124
commands:
@@ -1132,7 +1132,7 @@ tasks:
11321132
- func: run-ocsp-test
11331133
vars:
11341134
OCSP_TLS_SHOULD_SUCCEED: 0
1135-
- name: test-ocsp-malicious-no-responder-mustStaple-server-does-not-staple
1135+
- name: test-latest-ocsp-malicious-no-responder-mustStaple-server-does-not-staple
11361136
tags:
11371137
- ocsp
11381138
commands:
@@ -1145,6 +1145,102 @@ tasks:
11451145
- func: run-ocsp-test
11461146
vars:
11471147
OCSP_TLS_SHOULD_SUCCEED: 0
1148+
- name: test-4.4-ocsp-valid-cert-server-staples
1149+
tags:
1150+
- ocsp
1151+
commands:
1152+
- func: run-valid-ocsp-server
1153+
- func: install dependencies
1154+
- func: bootstrap mongo-orchestration
1155+
vars:
1156+
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple.json
1157+
VERSION: '4.4'
1158+
TOPOLOGY: server
1159+
- func: run-ocsp-test
1160+
vars:
1161+
OCSP_TLS_SHOULD_SUCCEED: 1
1162+
- name: test-4.4-ocsp-invalid-cert-server-staples
1163+
tags:
1164+
- ocsp
1165+
commands:
1166+
- func: run-revoked-ocsp-server
1167+
- func: install dependencies
1168+
- func: bootstrap mongo-orchestration
1169+
vars:
1170+
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple.json
1171+
VERSION: '4.4'
1172+
TOPOLOGY: server
1173+
- func: run-ocsp-test
1174+
vars:
1175+
OCSP_TLS_SHOULD_SUCCEED: 0
1176+
- name: test-4.4-ocsp-valid-cert-server-does-not-staple
1177+
tags:
1178+
- ocsp
1179+
commands:
1180+
- func: run-valid-ocsp-server
1181+
- func: install dependencies
1182+
- func: bootstrap mongo-orchestration
1183+
vars:
1184+
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling.json
1185+
VERSION: '4.4'
1186+
TOPOLOGY: server
1187+
- func: run-ocsp-test
1188+
vars:
1189+
OCSP_TLS_SHOULD_SUCCEED: 1
1190+
- name: test-4.4-ocsp-invalid-cert-server-does-not-staple
1191+
tags:
1192+
- ocsp
1193+
commands:
1194+
- func: run-revoked-ocsp-server
1195+
- func: install dependencies
1196+
- func: bootstrap mongo-orchestration
1197+
vars:
1198+
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling.json
1199+
VERSION: '4.4'
1200+
TOPOLOGY: server
1201+
- func: run-ocsp-test
1202+
vars:
1203+
OCSP_TLS_SHOULD_SUCCEED: 0
1204+
- name: test-4.4-ocsp-soft-fail
1205+
tags:
1206+
- ocsp
1207+
commands:
1208+
- func: install dependencies
1209+
- func: bootstrap mongo-orchestration
1210+
vars:
1211+
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling.json
1212+
VERSION: '4.4'
1213+
TOPOLOGY: server
1214+
- func: run-ocsp-test
1215+
vars:
1216+
OCSP_TLS_SHOULD_SUCCEED: 1
1217+
- name: test-4.4-ocsp-malicious-invalid-cert-mustStaple-server-does-not-staple
1218+
tags:
1219+
- ocsp
1220+
commands:
1221+
- func: run-revoked-ocsp-server
1222+
- func: install dependencies
1223+
- func: bootstrap mongo-orchestration
1224+
vars:
1225+
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple-disableStapling.json
1226+
VERSION: '4.4'
1227+
TOPOLOGY: server
1228+
- func: run-ocsp-test
1229+
vars:
1230+
OCSP_TLS_SHOULD_SUCCEED: 0
1231+
- name: test-4.4-ocsp-malicious-no-responder-mustStaple-server-does-not-staple
1232+
tags:
1233+
- ocsp
1234+
commands:
1235+
- func: install dependencies
1236+
- func: bootstrap mongo-orchestration
1237+
vars:
1238+
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple-disableStapling.json
1239+
VERSION: '4.4'
1240+
TOPOLOGY: server
1241+
- func: run-ocsp-test
1242+
vars:
1243+
OCSP_TLS_SHOULD_SUCCEED: 0
11481244
- name: aws-auth-test
11491245
commands:
11501246
- func: install dependencies
@@ -1230,13 +1326,20 @@ buildvariants:
12301326
- test-2.6-replica_set-unified
12311327
- test-2.6-sharded_cluster-unified
12321328
- test-atlas-connectivity
1233-
- test-ocsp-valid-cert-server-staples
1234-
- test-ocsp-invalid-cert-server-staples
1235-
- test-ocsp-valid-cert-server-does-not-staple
1236-
- test-ocsp-invalid-cert-server-does-not-staple
1237-
- test-ocsp-soft-fail
1238-
- test-ocsp-malicious-invalid-cert-mustStaple-server-does-not-staple
1239-
- test-ocsp-malicious-no-responder-mustStaple-server-does-not-staple
1329+
- test-latest-ocsp-valid-cert-server-staples
1330+
- test-latest-ocsp-invalid-cert-server-staples
1331+
- test-latest-ocsp-valid-cert-server-does-not-staple
1332+
- test-latest-ocsp-invalid-cert-server-does-not-staple
1333+
- test-latest-ocsp-soft-fail
1334+
- test-latest-ocsp-malicious-invalid-cert-mustStaple-server-does-not-staple
1335+
- test-latest-ocsp-malicious-no-responder-mustStaple-server-does-not-staple
1336+
- test-4.4-ocsp-valid-cert-server-staples
1337+
- test-4.4-ocsp-invalid-cert-server-staples
1338+
- test-4.4-ocsp-valid-cert-server-does-not-staple
1339+
- test-4.4-ocsp-invalid-cert-server-does-not-staple
1340+
- test-4.4-ocsp-soft-fail
1341+
- test-4.4-ocsp-malicious-invalid-cert-mustStaple-server-does-not-staple
1342+
- test-4.4-ocsp-malicious-no-responder-mustStaple-server-does-not-staple
12401343
- name: macos-1014-dubnium
12411344
display_name: macOS 10.14 Node Dubnium
12421345
run_on: macos-1014
@@ -1408,13 +1511,20 @@ buildvariants:
14081511
- test-3.2-replica_set-unified
14091512
- test-3.2-sharded_cluster-unified
14101513
- test-atlas-connectivity
1411-
- test-ocsp-valid-cert-server-staples
1412-
- test-ocsp-invalid-cert-server-staples
1413-
- test-ocsp-valid-cert-server-does-not-staple
1414-
- test-ocsp-invalid-cert-server-does-not-staple
1415-
- test-ocsp-soft-fail
1416-
- test-ocsp-malicious-invalid-cert-mustStaple-server-does-not-staple
1417-
- test-ocsp-malicious-no-responder-mustStaple-server-does-not-staple
1514+
- test-latest-ocsp-valid-cert-server-staples
1515+
- test-latest-ocsp-invalid-cert-server-staples
1516+
- test-latest-ocsp-valid-cert-server-does-not-staple
1517+
- test-latest-ocsp-invalid-cert-server-does-not-staple
1518+
- test-latest-ocsp-soft-fail
1519+
- test-latest-ocsp-malicious-invalid-cert-mustStaple-server-does-not-staple
1520+
- test-latest-ocsp-malicious-no-responder-mustStaple-server-does-not-staple
1521+
- test-4.4-ocsp-valid-cert-server-staples
1522+
- test-4.4-ocsp-invalid-cert-server-staples
1523+
- test-4.4-ocsp-valid-cert-server-does-not-staple
1524+
- test-4.4-ocsp-invalid-cert-server-does-not-staple
1525+
- test-4.4-ocsp-soft-fail
1526+
- test-4.4-ocsp-malicious-invalid-cert-mustStaple-server-does-not-staple
1527+
- test-4.4-ocsp-malicious-no-responder-mustStaple-server-does-not-staple
14181528
- name: ubuntu-18.04-dubnium
14191529
display_name: Ubuntu 18.04 Node Dubnium
14201530
run_on: ubuntu1804-test

0 commit comments

Comments
 (0)