@@ -334,7 +334,7 @@ functions:
334
334
working_dir : " src"
335
335
script : |
336
336
${PREPARE_SHELL}
337
- PYTHON_BINARY=${PYTHON_BINARY} C_EXTENSIONS=${C_EXTENSIONS} AUTH=${AUTH} SSL=${SSL} MONGODB_URI="${MONGODB_URI}" sh ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
337
+ PYTHON_BINARY=${PYTHON_BINARY} C_EXTENSIONS=${C_EXTENSIONS} AUTH=${AUTH} SSL=${SSL} sh ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
338
338
339
339
" run enterprise auth tests " :
340
340
- command : shell.exec
@@ -654,15 +654,10 @@ axes:
654
654
variables :
655
655
VERSION : " 2.4"
656
656
657
-
658
657
# OSes that support versions of MongoDB>=2.4 with SSL.
659
658
- id : os-fully-featured
660
659
display_name : OS
661
660
values :
662
- - id : ubuntu1204-test
663
- display_name : " Ubuntu 12.04"
664
- run_on : ubuntu1204-test
665
-
666
661
- id : suse11-x86-64-test
667
662
display_name : " SUSE 11 (x86_64)"
668
663
run_on : suse11-test
@@ -707,6 +702,10 @@ axes:
707
702
- id : os-requires-32
708
703
display_name : OS
709
704
values :
705
+ - id : ubuntu1604-test
706
+ display_name : " Ubuntu 16.04"
707
+ run_on : ubuntu1604-test
708
+
710
709
- id : suse12-x86-64-test
711
710
display_name : " SUSE 12 (x86_64)"
712
711
run_on : suse12-test
@@ -907,211 +906,108 @@ axes:
907
906
buildvariants :
908
907
909
908
- matrix_name : " tests-all"
910
- matrix_spec : {"os-fully-featured": "*", auth: "*", ssl: "*" }
909
+ matrix_spec : {"os-fully-featured": "*", auth: "*", ssl: "*"}
911
910
display_name : " ${os-fully-featured} ${auth} ${ssl}"
912
911
tasks :
913
- - name : " test-latest-replica_set"
914
- - name : " test-latest-sharded_cluster"
915
- - name : " test-latest-standalone"
916
- - name : " test-3.4-replica_set"
917
- - name : " test-3.4-sharded_cluster"
918
- - name : " test-3.4-standalone"
919
- - name : " test-3.2-replica_set"
920
- - name : " test-3.2-sharded_cluster"
921
- - name : " test-3.2-standalone"
922
- - name : " test-3.0-replica_set"
923
- - name : " test-3.0-sharded_cluster"
924
- - name : " test-3.0-standalone"
925
- - name : " test-2.6-replica_set"
926
- - name : " test-2.6-sharded_cluster"
927
- - name : " test-2.6-standalone"
928
- - name : " test-2.4-replica_set"
929
- - name : " test-2.4-sharded_cluster"
930
- - name : " test-2.4-standalone"
912
+ - " .latest"
913
+ - " .3.4"
914
+ - " .3.2"
915
+ - " .3.0"
916
+ - " .2.6"
917
+ - " .2.4"
931
918
932
919
- matrix_name : " tests-nossl"
933
- matrix_spec : {"os-nossl": "*", auth: "*", ssl: "nossl" }
920
+ matrix_spec : {"os-nossl": "*", auth: "*", ssl: "nossl"}
934
921
display_name : " ${os-nossl} ${auth} ${ssl}"
935
922
tasks :
936
- - name : " test-latest-replica_set"
937
- - name : " test-latest-sharded_cluster"
938
- - name : " test-latest-standalone"
939
- - name : " test-3.4-replica_set"
940
- - name : " test-3.4-sharded_cluster"
941
- - name : " test-3.4-standalone"
942
- - name : " test-3.2-replica_set"
943
- - name : " test-3.2-sharded_cluster"
944
- - name : " test-3.2-standalone"
945
- - name : " test-3.0-replica_set"
946
- - name : " test-3.0-sharded_cluster"
947
- - name : " test-3.0-standalone"
948
- - name : " test-2.6-replica_set"
949
- - name : " test-2.6-sharded_cluster"
950
- - name : " test-2.6-standalone"
951
- - name : " test-2.4-replica_set"
952
- - name : " test-2.4-sharded_cluster"
953
- - name : " test-2.4-standalone"
923
+ - " .latest"
924
+ - " .3.4"
925
+ - " .3.2"
926
+ - " .3.0"
927
+ - " .2.6"
928
+ - " .2.4"
954
929
955
930
- matrix_name : " tests-os-requires-26"
956
- matrix_spec : {"os-requires-26": "*", auth: "*", ssl: "*" }
931
+ matrix_spec : {"os-requires-26": "*", auth: "*", ssl: "*"}
957
932
display_name : " ${os-requires-26} ${auth} ${ssl}"
958
933
tasks :
959
- - name : " test-latest-replica_set"
960
- - name : " test-latest-sharded_cluster"
961
- - name : " test-latest-standalone"
962
- - name : " test-3.4-replica_set"
963
- - name : " test-3.4-sharded_cluster"
964
- - name : " test-3.4-standalone"
965
- - name : " test-3.2-replica_set"
966
- - name : " test-3.2-sharded_cluster"
967
- - name : " test-3.2-standalone"
968
- - name : " test-3.0-replica_set"
969
- - name : " test-3.0-sharded_cluster"
970
- - name : " test-3.0-standalone"
971
- - name : " test-2.6-replica_set"
972
- - name : " test-2.6-sharded_cluster"
973
- - name : " test-2.6-standalone"
934
+ - " .latest"
935
+ - " .3.4"
936
+ - " .3.2"
937
+ - " .3.0"
938
+ - " .2.6"
974
939
975
940
- matrix_name : " tests-os-requires-32"
976
- matrix_spec : {"os-requires-32": "*", auth: "*", ssl: "*" }
941
+ matrix_spec : {"os-requires-32": "*", auth: "*", ssl: "*"}
977
942
display_name : " ${os-requires-32} ${auth} ${ssl}"
978
943
tasks :
979
- - name : " test-latest-replica_set"
980
- - name : " test-latest-sharded_cluster"
981
- - name : " test-latest-standalone"
982
- - name : " test-3.4-replica_set"
983
- - name : " test-3.4-sharded_cluster"
984
- - name : " test-3.4-standalone"
985
- - name : " test-3.2-replica_set"
986
- - name : " test-3.2-sharded_cluster"
987
- - name : " test-3.2-standalone"
944
+ - " .latest"
945
+ - " .3.4"
946
+ - " .3.2"
988
947
989
948
- matrix_name : " tests-ssl-requires-32"
990
- matrix_spec : {"os-ssl-requires-32": "*", auth: "*", ssl: "ssl" }
949
+ matrix_spec : {"os-ssl-requires-32": "*", auth: "*", ssl: "ssl"}
991
950
display_name : " ${os-ssl-requires-32} ${auth} ${ssl}"
992
951
tasks :
993
- - name : " test-latest-replica_set"
994
- - name : " test-latest-sharded_cluster"
995
- - name : " test-latest-standalone"
996
- - name : " test-3.4-replica_set"
997
- - name : " test-3.4-sharded_cluster"
998
- - name : " test-3.4-standalone"
999
- - name : " test-3.2-replica_set"
1000
- - name : " test-3.2-sharded_cluster"
1001
- - name : " test-3.2-standalone"
952
+ - " .latest"
953
+ - " .3.4"
954
+ - " .3.2"
1002
955
1003
956
- matrix_name : " tests-os-requires-34"
1004
- matrix_spec : {"os-requires-34": "*", auth: "*", ssl: "*" }
957
+ matrix_spec : {"os-requires-34": "*", auth: "*", ssl: "*"}
1005
958
display_name : " ${os-requires-34} ${auth} ${ssl}"
1006
959
tasks :
1007
- - name : " test-latest-replica_set"
1008
- - name : " test-latest-sharded_cluster"
1009
- - name : " test-latest-standalone"
1010
- - name : " test-3.4-replica_set"
1011
- - name : " test-3.4-sharded_cluster"
1012
- - name : " test-3.4-standalone"
960
+ - " .latest"
961
+ - " .3.4"
1013
962
1014
-
1015
- # Test all versions of Python against all versions of MongoDB >= 3.2.
1016
- - matrix_name : " tests-python-version-ubuntu1604-test-ssl"
1017
- matrix_spec : {"python-version": "*", auth: "*", ssl: "ssl" }
963
+ - matrix_name : " tests-python-version-ubuntu1204-test-ssl"
964
+ matrix_spec : {"python-version": "*", auth: "*", ssl: "*"}
1018
965
exclude_spec :
1019
966
# PYTHON-498: disable Jython SSL tests
1020
967
python-version : ["jython2.5", "jython2.7"]
1021
968
# EVG-1410: exlcude_spec must specifiy values for all axes
1022
969
auth : " *"
1023
970
ssl : " ssl"
1024
- display_name : " ${python-version} Ubuntu 16.04 (x86_64) ${auth} ${ssl}"
1025
- run_on : ubuntu1604-test
1026
- tasks :
1027
- - name : " test-latest-replica_set"
1028
- - name : " test-latest-sharded_cluster"
1029
- - name : " test-latest-standalone"
1030
- - name : " test-3.4-replica_set"
1031
- - name : " test-3.4-sharded_cluster"
1032
- - name : " test-3.4-standalone"
1033
- - name : " test-3.2-replica_set"
1034
- - name : " test-3.2-sharded_cluster"
1035
- - name : " test-3.2-standalone"
1036
-
1037
- # Test all versions of Python against all versions on MongoDB <= 3.0.
1038
- # MongoDB <=3.0 on Ubuntu 16.04 (x86_64) does not support SSL.
1039
- - matrix_name : " tests-python-version-ubuntu1604-test-nossl"
1040
- matrix_spec : {"python-version": "*", auth: "*", ssl: "nossl" }
1041
- display_name : " ${python-version} Ubuntu 16.04 (x86_64) ${auth} ${ssl}"
1042
- run_on : ubuntu1604-test
971
+ display_name : " ${python-version} Ubuntu 12.04 (x86_64) ${auth} ${ssl}"
972
+ run_on : ubuntu1204-test
1043
973
tasks :
1044
- - name : " test-latest-replica_set"
1045
- - name : " test-latest-sharded_cluster"
1046
- - name : " test-latest-standalone"
1047
- - name : " test-3.4-replica_set"
1048
- - name : " test-3.4-sharded_cluster"
1049
- - name : " test-3.4-standalone"
1050
- - name : " test-3.2-replica_set"
1051
- - name : " test-3.2-sharded_cluster"
1052
- - name : " test-3.2-standalone"
1053
- - name : " test-3.0-replica_set"
1054
- - name : " test-3.0-sharded_cluster"
1055
- - name : " test-3.0-standalone"
1056
- - name : " test-2.6-replica_set"
1057
- - name : " test-2.6-sharded_cluster"
1058
- - name : " test-2.6-standalone"
1059
- - name : " test-2.4-replica_set"
1060
- - name : " test-2.4-sharded_cluster"
1061
- - name : " test-2.4-standalone"
1062
-
1063
- - matrix_name : " tests-python-version-ubuntu1604-without-c-extensions"
1064
- matrix_spec : {"python-version": "*", "c-extensions": "without-c-extensions", auth: "noauth", ssl: "nossl" }
974
+ - " .latest"
975
+ - " .3.4"
976
+ - " .3.2"
977
+ - " .3.0"
978
+ - " .2.6"
979
+ - " .2.4"
980
+
981
+ - matrix_name : " tests-python-version-ubuntu1204-without-c-extensions"
982
+ matrix_spec : {"python-version": "*", "c-extensions": "without-c-extensions", auth: "noauth", ssl: "nossl"}
1065
983
exclude_spec :
1066
984
# These interpreters are always tested without extensions.
1067
985
- python-version : ["pypy", "pypy3", "jython2.5", "jython2.7"]
1068
986
c-extensions : " *"
1069
987
auth : " *"
1070
988
ssl : " *"
1071
- display_name : " ${c-extensions} ${python-version} Ubuntu 16 .04 (x86_64) ${auth} ${ssl}"
1072
- run_on : ubuntu1604 -test
989
+ display_name : " ${c-extensions} ${python-version} Ubuntu 12 .04 (x86_64) ${auth} ${ssl}"
990
+ run_on : ubuntu1204 -test
1073
991
tasks :
1074
- - name : " test-latest-replica_set"
1075
- - name : " test-latest-sharded_cluster"
1076
- - name : " test-latest-standalone"
1077
- - name : " test-3.4-replica_set"
1078
- - name : " test-3.4-sharded_cluster"
1079
- - name : " test-3.4-standalone"
1080
- - name : " test-3.2-replica_set"
1081
- - name : " test-3.2-sharded_cluster"
1082
- - name : " test-3.2-standalone"
1083
- - name : " test-3.0-replica_set"
1084
- - name : " test-3.0-sharded_cluster"
1085
- - name : " test-3.0-standalone"
1086
- - name : " test-2.6-replica_set"
1087
- - name : " test-2.6-sharded_cluster"
1088
- - name : " test-2.6-standalone"
1089
- - name : " test-2.4-replica_set"
1090
- - name : " test-2.4-sharded_cluster"
1091
- - name : " test-2.4-standalone"
992
+ - " .latest"
993
+ - " .3.4"
994
+ - " .3.2"
995
+ - " .3.0"
996
+ - " .2.6"
997
+ - " .2.4"
1092
998
1093
999
# Test CPython 3.3 and 3.4 against all versions on MongoDB >= 2.4
1094
1000
# on Windows with Visual Studio 2010.
1095
1001
- matrix_name : " tests-windows-vs2010-python-version-nossl"
1096
- matrix_spec : {windows-vs2010-python-version: "*", auth: "*", ssl: "*" }
1002
+ matrix_spec : {windows-vs2010-python-version: "*", auth: "*", ssl: "*"}
1097
1003
display_name : " Windows 64 Visual Studio 2010 ${windows-vs2010-python-version} ${auth} ${ssl}"
1098
1004
run_on : windows-64-vs2010-test
1099
1005
tasks :
1100
- - name : " test-latest-replica_set"
1101
- - name : " test-latest-sharded_cluster"
1102
- - name : " test-latest-standalone"
1103
- - name : " test-3.4-replica_set"
1104
- - name : " test-3.4-sharded_cluster"
1105
- - name : " test-3.4-standalone"
1106
- - name : " test-3.2-replica_set"
1107
- - name : " test-3.2-sharded_cluster"
1108
- - name : " test-3.2-standalone"
1109
- - name : " test-3.0-replica_set"
1110
- - name : " test-3.0-sharded_cluster"
1111
- - name : " test-3.0-standalone"
1112
- - name : " test-2.6-replica_set"
1113
- - name : " test-2.6-sharded_cluster"
1114
- - name : " test-2.6-standalone"
1006
+ - " .latest"
1007
+ - " .3.4"
1008
+ - " .3.2"
1009
+ - " .3.0"
1010
+ - " .2.6"
1115
1011
rules :
1116
1012
# Windows MongoDB 2.4 does not support SSL.
1117
1013
- if :
@@ -1120,32 +1016,20 @@ buildvariants:
1120
1016
ssl : " nossl"
1121
1017
then :
1122
1018
add_tasks :
1123
- - name : " test-2.4-replica_set"
1124
- - name : " test-2.4-sharded_cluster"
1125
- - name : " test-2.4-standalone"
1019
+ - " .2.4"
1126
1020
1127
1021
# Test CPython 2.6, 2.7, 3.2, 3.5 and 3.6 against all versions on MongoDB >= 2.4
1128
1022
# on Windows with the Microsoft Visual C++ Compiler for Python 2.7 or Visual Studio 2015.
1129
1023
- matrix_name : " tests-windows-vs2015-python-version-nossl"
1130
- matrix_spec : {windows-vs2015-python-version: "*", auth: "*", ssl: "*" }
1024
+ matrix_spec : {windows-vs2015-python-version: "*", auth: "*", ssl: "*"}
1131
1025
display_name : " Windows 64 Visual Studio 2015 ${windows-vs2015-python-version} ${auth} ${ssl}"
1132
1026
run_on : windows-64-vs2015-test
1133
1027
tasks :
1134
- - name : " test-latest-replica_set"
1135
- - name : " test-latest-sharded_cluster"
1136
- - name : " test-latest-standalone"
1137
- - name : " test-3.4-replica_set"
1138
- - name : " test-3.4-sharded_cluster"
1139
- - name : " test-3.4-standalone"
1140
- - name : " test-3.2-replica_set"
1141
- - name : " test-3.2-sharded_cluster"
1142
- - name : " test-3.2-standalone"
1143
- - name : " test-3.0-replica_set"
1144
- - name : " test-3.0-sharded_cluster"
1145
- - name : " test-3.0-standalone"
1146
- - name : " test-2.6-replica_set"
1147
- - name : " test-2.6-sharded_cluster"
1148
- - name : " test-2.6-standalone"
1028
+ - " .latest"
1029
+ - " .3.4"
1030
+ - " .3.2"
1031
+ - " .3.0"
1032
+ - " .2.6"
1149
1033
rules :
1150
1034
# Windows MongoDB 2.4 does not support SSL.
1151
1035
- if :
@@ -1154,15 +1038,13 @@ buildvariants:
1154
1038
ssl : " nossl"
1155
1039
then :
1156
1040
add_tasks :
1157
- - name : " test-2.4-replica_set"
1158
- - name : " test-2.4-sharded_cluster"
1159
- - name : " test-2.4-standalone"
1041
+ - " .2.4"
1160
1042
1161
- # Storage engine tests on Ubuntu 16 .04 (x86_64) with Python 2.7.
1043
+ # Storage engine tests on Ubuntu 12 .04 (x86_64) with Python 2.7.
1162
1044
- matrix_name : " tests-storage-engines"
1163
1045
matrix_spec : {storage-engine: "*", python-version: "2.7"}
1164
- display_name : " Storage ${storage-engine} ${python-version} Ubuntu 16 .04 (x86_64)"
1165
- run_on : ubuntu1604 -test
1046
+ display_name : " Storage ${storage-engine} ${python-version} Ubuntu 12 .04 (x86_64)"
1047
+ run_on : ubuntu1204 -test
1166
1048
rules :
1167
1049
- if :
1168
1050
storage-engine : ["mmapv1", "inmemory"]
@@ -1182,7 +1064,7 @@ buildvariants:
1182
1064
- matrix_name : " test-linux-enterprise-auth"
1183
1065
matrix_spec : {"python-version": "*", auth: "auth"}
1184
1066
display_name : " Enterprise Auth Linux ${python-version}"
1185
- run_on : ubuntu1604 -test
1067
+ run_on : ubuntu1204 -test
1186
1068
tasks :
1187
1069
- name : " test-enterprise-auth"
1188
1070
0 commit comments