Skip to content

Commit 7a09f63

Browse files
authored
RUST-1634 Temporarily disable tests using AWS auth on evergreen (#856)
1 parent ed0d520 commit 7a09f63

File tree

2 files changed

+106
-98
lines changed

2 files changed

+106
-98
lines changed

.evergreen/config.yml

Lines changed: 101 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -934,23 +934,24 @@ tasks:
934934
TOPOLOGY: "sharded_cluster"
935935
- func: "run tests"
936936

937-
- name: "test-4.4-aws-auth"
938-
# "4.4" explicitly left off to keep this out of the generic matrix
939-
tags: ["aws-auth"]
940-
commands:
941-
- func: "bootstrap mongo-orchestration"
942-
vars:
943-
ORCHESTRATION_FILE: "auth-aws.json"
944-
MONGODB_VERSION: "4.4"
945-
AUTH: "auth"
946-
TOPOLOGY: "server"
947-
- func: "add aws auth variables to file"
948-
- func: "run aws auth test with regular aws credentials"
949-
- func: "run aws auth test with assume role credentials"
950-
- func: "run aws auth test with aws credentials as environment variables"
951-
- func: "run aws auth test with aws credentials and session token as environment variables"
952-
- func: "run aws auth test with aws EC2 credentials"
953-
- func: "run aws ECS auth test"
937+
# TODO RUST-1634 Enable this when AWS auth on evergreen is fixed
938+
#- name: "test-4.4-aws-auth"
939+
# # "4.4" explicitly left off to keep this out of the generic matrix
940+
# tags: ["aws-auth"]
941+
# commands:
942+
# - func: "bootstrap mongo-orchestration"
943+
# vars:
944+
# ORCHESTRATION_FILE: "auth-aws.json"
945+
# MONGODB_VERSION: "4.4"
946+
# AUTH: "auth"
947+
# TOPOLOGY: "server"
948+
# - func: "add aws auth variables to file"
949+
# - func: "run aws auth test with regular aws credentials"
950+
# - func: "run aws auth test with assume role credentials"
951+
# - func: "run aws auth test with aws credentials as environment variables"
952+
# - func: "run aws auth test with aws credentials and session token as environment variables"
953+
# - func: "run aws auth test with aws EC2 credentials"
954+
# - func: "run aws ECS auth test"
954955

955956
- name: "test-5.0-standalone"
956957
tags: ["5.0", "standalone"]
@@ -994,23 +995,24 @@ tasks:
994995
- func: "start load balancer"
995996
- func: "run tests"
996997

997-
- name: "test-5.0-aws-auth"
998-
# "5.0" explicitly left off to keep this out of the generic matrix
999-
tags: ["aws-auth"]
1000-
commands:
1001-
- func: "bootstrap mongo-orchestration"
1002-
vars:
1003-
ORCHESTRATION_FILE: "auth-aws.json"
1004-
MONGODB_VERSION: "5.0"
1005-
AUTH: "auth"
1006-
TOPOLOGY: "server"
1007-
- func: "add aws auth variables to file"
1008-
- func: "run aws auth test with regular aws credentials"
1009-
- func: "run aws auth test with assume role credentials"
1010-
- func: "run aws auth test with aws credentials as environment variables"
1011-
- func: "run aws auth test with aws credentials and session token as environment variables"
1012-
- func: "run aws auth test with aws EC2 credentials"
1013-
- func: "run aws ECS auth test"
998+
# TODO RUST-1634 Enable this when AWS auth on evergreen is fixed
999+
#- name: "test-5.0-aws-auth"
1000+
# # "5.0" explicitly left off to keep this out of the generic matrix
1001+
# tags: ["aws-auth"]
1002+
# commands:
1003+
# - func: "bootstrap mongo-orchestration"
1004+
# vars:
1005+
# ORCHESTRATION_FILE: "auth-aws.json"
1006+
# MONGODB_VERSION: "5.0"
1007+
# AUTH: "auth"
1008+
# TOPOLOGY: "server"
1009+
# - func: "add aws auth variables to file"
1010+
# - func: "run aws auth test with regular aws credentials"
1011+
# - func: "run aws auth test with assume role credentials"
1012+
# - func: "run aws auth test with aws credentials as environment variables"
1013+
# - func: "run aws auth test with aws credentials and session token as environment variables"
1014+
# - func: "run aws auth test with aws EC2 credentials"
1015+
# - func: "run aws ECS auth test"
10141016

10151017
- name: "test-6.0-standalone"
10161018
tags: ["6.0", "standalone"]
@@ -1054,23 +1056,24 @@ tasks:
10541056
- func: "start load balancer"
10551057
- func: "run tests"
10561058

1057-
- name: "test-6.0-aws-auth"
1058-
# "6.0" explicitly left off to keep this out of the generic matrix
1059-
tags: ["aws-auth"]
1060-
commands:
1061-
- func: "bootstrap mongo-orchestration"
1062-
vars:
1063-
ORCHESTRATION_FILE: "auth-aws.json"
1064-
MONGODB_VERSION: "6.0"
1065-
AUTH: "auth"
1066-
TOPOLOGY: "server"
1067-
- func: "add aws auth variables to file"
1068-
- func: "run aws auth test with regular aws credentials"
1069-
- func: "run aws auth test with assume role credentials"
1070-
- func: "run aws auth test with aws credentials as environment variables"
1071-
- func: "run aws auth test with aws credentials and session token as environment variables"
1072-
- func: "run aws auth test with aws EC2 credentials"
1073-
- func: "run aws ECS auth test"
1059+
# TODO RUST-1634 Enable this when AWS auth on evergreen is fixed
1060+
#- name: "test-6.0-aws-auth"
1061+
# # "6.0" explicitly left off to keep this out of the generic matrix
1062+
# tags: ["aws-auth"]
1063+
# commands:
1064+
# - func: "bootstrap mongo-orchestration"
1065+
# vars:
1066+
# ORCHESTRATION_FILE: "auth-aws.json"
1067+
# MONGODB_VERSION: "6.0"
1068+
# AUTH: "auth"
1069+
# TOPOLOGY: "server"
1070+
# - func: "add aws auth variables to file"
1071+
# - func: "run aws auth test with regular aws credentials"
1072+
# - func: "run aws auth test with assume role credentials"
1073+
# - func: "run aws auth test with aws credentials as environment variables"
1074+
# - func: "run aws auth test with aws credentials and session token as environment variables"
1075+
# - func: "run aws auth test with aws EC2 credentials"
1076+
# - func: "run aws ECS auth test"
10741077

10751078
- name: "test-rapid-standalone"
10761079
tags: ["rapid", "standalone"]
@@ -1114,23 +1117,24 @@ tasks:
11141117
- func: "start load balancer"
11151118
- func: "run tests"
11161119

1117-
- name: "test-rapid-aws-auth"
1118-
# "rapid" explicitly left off to keep this out of the generic matrix
1119-
tags: ["aws-auth"]
1120-
commands:
1121-
- func: "bootstrap mongo-orchestration"
1122-
vars:
1123-
ORCHESTRATION_FILE: "auth-aws.json"
1124-
MONGODB_VERSION: "rapid"
1125-
AUTH: "auth"
1126-
TOPOLOGY: "server"
1127-
- func: "add aws auth variables to file"
1128-
- func: "run aws auth test with regular aws credentials"
1129-
- func: "run aws auth test with assume role credentials"
1130-
- func: "run aws auth test with aws credentials as environment variables"
1131-
- func: "run aws auth test with aws credentials and session token as environment variables"
1132-
- func: "run aws auth test with aws EC2 credentials"
1133-
- func: "run aws ECS auth test"
1120+
# TODO RUST-1634 Enable this when AWS auth on evergreen is fixed
1121+
#- name: "test-rapid-aws-auth"
1122+
# # "rapid" explicitly left off to keep this out of the generic matrix
1123+
# tags: ["aws-auth"]
1124+
# commands:
1125+
# - func: "bootstrap mongo-orchestration"
1126+
# vars:
1127+
# ORCHESTRATION_FILE: "auth-aws.json"
1128+
# MONGODB_VERSION: "rapid"
1129+
# AUTH: "auth"
1130+
# TOPOLOGY: "server"
1131+
# - func: "add aws auth variables to file"
1132+
# - func: "run aws auth test with regular aws credentials"
1133+
# - func: "run aws auth test with assume role credentials"
1134+
# - func: "run aws auth test with aws credentials as environment variables"
1135+
# - func: "run aws auth test with aws credentials and session token as environment variables"
1136+
# - func: "run aws auth test with aws EC2 credentials"
1137+
# - func: "run aws ECS auth test"
11341138

11351139
- name: "test-latest-standalone"
11361140
tags: ["latest", "standalone"]
@@ -1175,23 +1179,24 @@ tasks:
11751179
- func: "run tests"
11761180

11771181

1178-
- name: "test-latest-aws-auth"
1179-
# "latest" explicitly left off to keep this out of the generic matrix
1180-
tags: ["aws-auth"]
1181-
commands:
1182-
- func: "bootstrap mongo-orchestration"
1183-
vars:
1184-
ORCHESTRATION_FILE: "auth-aws.json"
1185-
MONGODB_VERSION: "latest"
1186-
AUTH: "auth"
1187-
TOPOLOGY: "server"
1188-
- func: "add aws auth variables to file"
1189-
- func: "run aws auth test with regular aws credentials"
1190-
- func: "run aws auth test with assume role credentials"
1191-
- func: "run aws auth test with aws credentials as environment variables"
1192-
- func: "run aws auth test with aws credentials and session token as environment variables"
1193-
- func: "run aws auth test with aws EC2 credentials"
1194-
- func: "run aws ECS auth test"
1182+
# TODO RUST-1634 Enable this when AWS auth on evergreen is fixed
1183+
#- name: "test-latest-aws-auth"
1184+
# # "latest" explicitly left off to keep this out of the generic matrix
1185+
# tags: ["aws-auth"]
1186+
# commands:
1187+
# - func: "bootstrap mongo-orchestration"
1188+
# vars:
1189+
# ORCHESTRATION_FILE: "auth-aws.json"
1190+
# MONGODB_VERSION: "latest"
1191+
# AUTH: "auth"
1192+
# TOPOLOGY: "server"
1193+
# - func: "add aws auth variables to file"
1194+
# - func: "run aws auth test with regular aws credentials"
1195+
# - func: "run aws auth test with assume role credentials"
1196+
# - func: "run aws auth test with aws credentials as environment variables"
1197+
# - func: "run aws auth test with aws credentials and session token as environment variables"
1198+
# - func: "run aws auth test with aws EC2 credentials"
1199+
# - func: "run aws ECS auth test"
11951200

11961201
- name: "test-connection-string"
11971202
commands:
@@ -2074,15 +2079,17 @@ buildvariants:
20742079
tasks:
20752080
- ".atlas-connect"
20762081

2077-
- matrix_name: "aws-auth"
2078-
matrix_spec:
2079-
os:
2080-
- ubuntu-18.04
2081-
async-runtime: "tokio"
2082-
display_name: "${os} AWS Auth with ${async-runtime}"
2083-
tasks:
2084-
- ".aws-auth"
2085-
- "test-connection-string"
2082+
# TODO RUST-1634 Enable this when AWS auth on evergreen is fixed
2083+
#- matrix_name: "aws-auth"
2084+
# matrix_spec:
2085+
# os:
2086+
# - ubuntu-18.04
2087+
# async-runtime: "tokio"
2088+
# display_name: "${os} AWS Auth with ${async-runtime}"
2089+
# tasks:
2090+
# - ".aws-auth"
2091+
# - "test-connection-string"
2092+
20862093
# TODO: RUST-361 enable these tests once OCSP support is implemented
20872094
# - matrix_name: "ocsp"
20882095
# matrix_spec:

.evergreen/run-csfle-tests.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ cargo_test test::csfle > prose.xml
3939
cargo_test test::spec::client_side_encryption > spec.xml
4040

4141
# Unset variables for on-demand credential failure tests.
42-
unset AWS_ACCESS_KEY_ID
43-
unset AWS_SECRET_ACCESS_KEY
44-
cargo_test test::csfle::on_demand_aws_failure > failure.xml
42+
# TODO RUST-1634 Enable this once AWS on evergreen is fixed
43+
# unset AWS_ACCESS_KEY_ID
44+
# unset AWS_SECRET_ACCESS_KEY
45+
# cargo_test test::csfle::on_demand_aws_failure > failure.xml
4546

46-
junit-report-merger results.xml prose.xml spec.xml failure.xml
47+
junit-report-merger results.xml prose.xml spec.xml # failure.xml
4748

4849
exit ${CARGO_RESULT}

0 commit comments

Comments
 (0)