Skip to content

Commit

Permalink
CDRIVER-3408 OCSP initial evergreen testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinAlbs committed Mar 13, 2020
1 parent 28af7f6 commit 8f9d4f3
Show file tree
Hide file tree
Showing 42 changed files with 1,955 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .evergreen/compile-windows.sh
Expand Up @@ -21,7 +21,7 @@ CONFIGURE_FLAGS="\
-DENABLE_BSON=ON"
BUILD_FLAGS="/m" # Number of concurrent processes. No value=# of cpus
CMAKE="/cygdrive/c/cmake/bin/cmake"
CC=${CC:-"Visual Studio 14 2015 Win64"}
CC=${CC:-"Visual Studio 15 2017 Win64"}
SSL=${SSL:-WINDOWS}
SASL=${SASL:-SSPI}

Expand Down
261 changes: 261 additions & 0 deletions .evergreen/config.yml
Expand Up @@ -408,6 +408,7 @@ functions:
export AUTHSOURCE=${AUTHSOURCE}
export SSL=${SSL}
export ORCHESTRATION_FILE=${ORCHESTRATION_FILE}
export OCSP=${OCSP}
sh .evergreen/integration-tests.sh
run tests:
- command: shell.exec
Expand Down Expand Up @@ -12514,6 +12515,256 @@ tasks:
- func: run aws tests
vars:
TESTCASE: ASSUME_ROLE
- name: ocsp-openssl-test_1-rsa-delegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=TEST_1 CERT_TYPE=rsa USE_DELEGATE=on sh .evergreen/run-ocsp-test.sh
- name: ocsp-openssl-test_1-ecdsa-delegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-mustStaple
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=TEST_1 CERT_TYPE=ecdsa USE_DELEGATE=on sh .evergreen/run-ocsp-test.sh
- name: ocsp-openssl-test_1-rsa-nodelegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=TEST_1 CERT_TYPE=rsa USE_DELEGATE=off sh .evergreen/run-ocsp-test.sh
- name: ocsp-openssl-test_1-ecdsa-nodelegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-mustStaple
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=TEST_1 CERT_TYPE=ecdsa USE_DELEGATE=off sh .evergreen/run-ocsp-test.sh
- name: ocsp-openssl-test_3-rsa-delegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=TEST_3 CERT_TYPE=rsa USE_DELEGATE=on sh .evergreen/run-ocsp-test.sh
- name: ocsp-openssl-test_3-ecdsa-delegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-disableStapling
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=TEST_3 CERT_TYPE=ecdsa USE_DELEGATE=on sh .evergreen/run-ocsp-test.sh
- name: ocsp-openssl-test_3-rsa-nodelegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=TEST_3 CERT_TYPE=rsa USE_DELEGATE=off sh .evergreen/run-ocsp-test.sh
- name: ocsp-openssl-test_3-ecdsa-nodelegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-disableStapling
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=TEST_3 CERT_TYPE=ecdsa USE_DELEGATE=off sh .evergreen/run-ocsp-test.sh
- name: ocsp-openssl-soft_fail_test-rsa-nodelegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=SOFT_FAIL_TEST CERT_TYPE=rsa USE_DELEGATE=off sh .evergreen/run-ocsp-test.sh
- name: ocsp-openssl-soft_fail_test-ecdsa-nodelegate
tags:
- ocsp-openssl
depends_on:
name: debug-compile-nosasl-openssl
commands:
- func: fetch build
vars:
BUILD_NAME: debug-compile-nosasl-openssl
- func: bootstrap mongo-orchestration
vars:
OCSP: 'on'
ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-disableStapling
SSL: ssl
TOPOLOGY: server
VERSION: latest
- command: shell.exec
type: test
params:
working_dir: mongoc
shell: bash
script: |-
set -o errexit
set -o xtrace
TEST_COLUMN=SOFT_FAIL_TEST CERT_TYPE=ecdsa USE_DELEGATE=off sh .evergreen/run-ocsp-test.sh
buildvariants:
- name: releng
display_name: '**Release Archive Creator'
Expand Down Expand Up @@ -13188,3 +13439,13 @@ buildvariants:
- test-latest-server-auth-sasl-openssl
- test-latest-replica-set-auth-sasl-openssl
batchtime: 1440
- name: ocsp
display_name: OCSP tests
run_on: ubuntu1804-test
tasks:
- name: debug-compile-nosasl-openssl
distros:
- ubuntu1804-test
- name: .ocsp-openssl
distros:
- ubuntu1804-test

0 comments on commit 8f9d4f3

Please sign in to comment.