/
evergreen.yml
3783 lines (3574 loc) · 116 KB
/
evergreen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#####################################################
# A note on expansions #
#####################################################
# Expansions usually appear in the form ${key|default}
# If 'key' is found in the executor's map of currently known
# expansions, the corresponding value is used. If the key can
# not be found, the default is used.
#
# Arbitrary expansions can be specified in the YAML cofiguration
# files in the following places:
# - The 'expansions' field for buildvariants (branch file)
# - The 'expansions' field for distros (distros file)
#
# A number of 'built-in' expansions are also available for use; these include:
# - environment variables available on the host machine
# - 'workdir' (references the executor's work directory).
# - 'task_id' (references the task id of the task the executor is working on).
# - 'build_variant' (references the executing task's buildvariant).
# - 'config_root' (references the root directory for the executor's configuration artifacts).
stepback: true
## Some variables for convenience:
variables:
# Used for tests that invoke resmoke.py and require no additional setup.
- &task_template
name: template
depends_on:
- name: compile
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --help
#######################################
# Functions #
#######################################
functions:
"fetch artifacts" : &fetch_artifacts
command: s3.get
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
remote_file: mongodb-mongo-master/${build_variant}/${revision}/artifacts/${build_id}.tgz
bucket: mciuploads
extract_to: src
"fetch binaries" : &fetch_binaries
command: s3.get
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
remote_file: mongodb-mongo-master/${build_variant}/${revision}/binaries/mongo-${build_id}.${ext|tgz}
bucket: mciuploads
local_file: src/mongo-binaries.tgz
"extract binaries" : &extract_binaries
command: shell.exec
params:
working_dir: src
script: |
${decompress|unzip} mongo-binaries.tgz
"get buildnumber" : &get_buildnumber
command: keyval.inc
params:
key: "${build_variant}_master"
destination: "builder_num"
"setup credentials" : &setup_credentials
command: shell.exec
params:
working_dir: src
silent: true
script: |
cat > mci.buildlogger <<END_OF_CREDS
slavename='${slave}'
passwd='${passwd}'
builder='MCI_${build_variant}'
build_num=${builder_num}
build_phase='${task_name}_${execution}'
END_OF_CREDS
"upload debugsymbols" :
command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/mongo-debugsymbols.tgz
remote_file: mongodb-mongo-master/${build_variant}/${revision}/debugsymbols/debugsymbols-${build_id}.${ext|tgz}
bucket: mciuploads
permissions: public-read
content_type: ${content_type|application/x-gzip}
build_variants:
['enterprise-linux-64-amazon-ami',
'enterprise-rhel-57-64-bit',
'enterprise-rhel-62-64-bit',
'enterprise-rhel-70-64-bit',
'enterprise-suse11-64',
'enterprise-ubuntu1204-64',
'enterprise-ubuntu1404-64',
'enterprise-debian71-64',
'linux-32',
'linux-64',
'amazon',
'rhel55',
'rhel62',
'rhel70',
'suse11',
'ubuntu1204',
'ubuntu1404',
'debian71',
'solaris-64-bit']
"fetch debugsymbols archive" :
command: s3.get
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
remote_file: mongodb-mongo-master/${build_variant}/${revision}/debugsymbols/debugsymbols-${build_id}.${ext|tgz}
bucket: mciuploads
local_file: src/mongo-debugsymbols.tgz
build_variants:
['enterprise-linux-64-amazon-ami',
'enterprise-rhel-57-64-bit',
'enterprise-rhel-62-64-bit',
'enterprise-rhel-70-64-bit',
'enterprise-suse11-64',
'enterprise-ubuntu1204-64',
'enterprise-ubuntu1404-64',
'enterprise-debian71-64',
'linux-32',
'linux-64',
'amazon',
'rhel55',
'rhel62',
'rhel70',
'suse11',
'ubuntu1204',
'ubuntu1404',
'debian71',
'solaris-64-bit']
"build rocksdb" :
command: shell.exec
params:
script: |
set -o errexit
set -o verbose
if [ "${build_rocksdb|}" = "true" ]; then
rm -rf rocksdb
git clone https://github.com/facebook/rocksdb.git
cd rocksdb
make static_lib
fi
"build new tools" :
command: shell.exec
params:
working_dir: src
script: |
set -o verbose
# create the target directory for the binaries
mkdir -p src/mongo-tools
# clone into a different path so the binaries and package directory
# names do not conflict
${gitvars} git clone https://github.com/mongodb/mongo-tools.git src/mongo-tools-repo
cd src/mongo-tools-repo
# make sure newlines in the scripts are handled correctly by windows
if [ "Windows_NT" = "$OS" ]; then
set -o igncr
fi;
git checkout r3.1.3
. ./${set_tools_gopath|set_gopath.sh}
# In RHEL 5.5, /usr/bin/ld can't handle --build-id parameters, so
# use a wrapper if it's present on the system
#
if [ -d /opt/ldwrapper/bin ]
then
export PATH=/opt/ldwrapper/bin:$PATH
fi
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
${gorootvars} go build -ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec $(git rev-parse HEAD)" ${tooltags|} -o "../mongo-tools/$i${exe|}" $i/main/$i.go
echo $i;
done
exit 0
# TODO: Remove the "install_pyyaml" function after PyYAML is installed on all build variants.
"install pyyaml" : &install_pyyaml
command: shell.exec
params:
working_dir: src
script: |
if [ ${has_pyyaml_installed|false} = false ]; then
curl -s http://pyyaml.org/download/pyyaml/PyYAML-3.11.tar.gz --output PyYAML-3.11.tar.gz
${decompress} PyYAML-3.11.tar.gz
# 7-Zip decompresses and untars as two separate steps.
if [ ${is_windows|false} = true ]; then
${decompress} dist/PyYAML-3.11.tar
fi
cd PyYAML-3.11
${python|python} setup.py install --user
fi
"do setup" :
- *fetch_artifacts
- *fetch_binaries
- *extract_binaries
- *get_buildnumber
- *setup_credentials
- *install_pyyaml
"run tests" :
command: shell.exec
params:
working_dir: src
script: |
set -o errexit
set -o verbose
cp mongodb*/bin/* .
${asan_symbolizer} ${enable_lsan} ${python|python} buildscripts/resmoke.py ${resmoke_args} ${test_flags} --log=buildlogger --reportFile=report.json
pre:
- command: shell.exec
params:
silent: true
script: |
${killall_mci|pkill -9 mongod; pkill -9 mongos; pkill -9 mongo; pkill -9 bsondump; pkill -9 mongoimport; pkill -9 mongoexport; pkill -9 mongodump; pkill -9 mongorestore; pkill -9 mongostat; pkill -9 mongofiles; pkill -9 mongooplog; pkill -9 mongotop; pkill -9 mongobridge; pkill -9 mongod-2.6; pkill -9 mongos-2.6; pkill -9 mongo-2.6; pkill -9 bsondump-2.6; pkill -9 mongoimport-2.6; pkill -9 mongoexport-2.6; pkill -9 mongodump-2.6; pkill -9 mongorestore-2.6; pkill -9 mongostat-2.6; pkill -9 mongofiles-2.6; pkill -9 mongooplog-2.6; pkill -9 mongotop-2.6; pkill -9 mongobridge-2.6; pkill -9 mongod-2.4; pkill -9 mongos-2.4; pkill -9 mongo-2.4; pkill -9 bsondump-2.4; pkill -9 mongoimport-2.4; pkill -9 mongoexport-2.4; pkill -9 mongodump-2.4; pkill -9 mongorestore-2.4; pkill -9 mongostat-2.4; pkill -9 mongofiles-2.4; pkill -9 mongooplog-2.4; pkill -9 mongotop-2.4; pkill -9 resmoke.py; pkill -9 python; pkill -9 cl; pkill -9 lock_mgr_test; pkill -9 background_job_test; pkill -9 repl_coordinator_impl_heartbeat_test} >/dev/null 2>&1
rm -rf src /data/db/*
exit 0
post:
- command: attach.results
params:
file_location: src/report.json
- command: shell.exec
params:
silent: true
script: |
${killall_mci|pkill -9 mongod; pkill -9 mongos; pkill -9 mongo; pkill -9 bsondump; pkill -9 mongoimport; pkill -9 mongoexport; pkill -9 mongodump; pkill -9 mongorestore; pkill -9 mongostat; pkill -9 mongofiles; pkill -9 mongooplog; pkill -9 mongotop; pkill -9 mongobridge; pkill -9 mongod-2.6; pkill -9 mongos-2.6; pkill -9 mongo-2.6; pkill -9 bsondump-2.6; pkill -9 mongoimport-2.6; pkill -9 mongoexport-2.6; pkill -9 mongodump-2.6; pkill -9 mongorestore-2.6; pkill -9 mongostat-2.6; pkill -9 mongofiles-2.6; pkill -9 mongooplog-2.6; pkill -9 mongotop-2.6; pkill -9 mongobridge-2.6; pkill -9 mongod-2.4; pkill -9 mongos-2.4; pkill -9 mongo-2.4; pkill -9 bsondump-2.4; pkill -9 mongoimport-2.4; pkill -9 mongoexport-2.4; pkill -9 mongodump-2.4; pkill -9 mongorestore-2.4; pkill -9 mongostat-2.4; pkill -9 mongofiles-2.4; pkill -9 mongooplog-2.4; pkill -9 mongotop-2.4; pkill -9 resmoke.py; pkill -9 python; pkill -9 cl; pkill -9 lock_mgr_test; pkill -9 background_job_test; pkill -9 repl_coordinator_impl_heartbeat_test} >/dev/null 2>&1
exit 0
timeout:
- command: shell.exec
params:
working_dir: src
script: |
echo "Calling the hang analyzer..."
python buildscripts/hang_analyzer.py
#######################################
# Tasks #
#######################################
tasks:
## compile ##
- name: compile
depends_on: []
commands:
- command: git.get_project
params:
directory: src
- command: git.apply_patch
params:
directory: src
- func: "get buildnumber"
- func: "setup credentials"
- func: "install pyyaml"
- func: "build new tools" # noop if ${newtools} is not "true"
- func: "build rocksdb" # noop if ${build_rocksdb} is not "true"
- command: shell.exec
params:
working_dir: src
script: |
set -o errexit
set -o verbose
rm -rf ${install_directory|/data/mongo-install-directory}
${scons|scons} ${compile_flags|} --distname=binaries --use-new-tools all dist distsrc-${ext|tgz} ${msi_target|}
${python|python} buildscripts/generate_compile_expansions.py version.json | \
tee compile_expansions.yml
if [ "${has_debugsymbols|}" = "true" ]; then ${scons|scons} ${compile_flags|} --nostrip --use-new-tools dist; original_filename=$(ls | grep debugsymbols); mv $original_filename $(echo $original_filename | sed 's/debugsymbols-//' | sed 's/mongodb/debugsymbols-mongodb/'); fi
${asan_symbolizer} ${enable_lsan} ${rlp_environment} ${python|python} buildscripts/resmoke.py --jobs=${num_jobs_unittests|1} --suites=unittests ${test_flags} --log=buildlogger --reportFile=report.json
mv mongodb-src-*.${ext|tgz} distsrc.${ext|tgz}
mv mongodb-*.${ext|tgz} mongodb-binaries.tgz
mv debugsymbols-*.${ext|tgz} mongo-debugsymbols.tgz || true
- command: archive.targz_pack
params:
target: "artifacts.tgz"
source_dir: "src"
include:
- "src/mongo/db/modules/enterprise/jstests/**"
- "compile_expansions.yml"
- "src/mongo/db/modules/subscription/jstests/**"
- "src/mongo/db/modules/enterprise/docs/**"
- "*.exe"
- "jstests/**"
- "./test*"
- "./dbtest*"
- "./mongobridge*"
- "buildscripts/**"
- "*Example"
- "*Test"
- "./**.pdb"
- "./**.msi"
- "./etc/*san.suppressions"
exclude_files:
- "*_test.pdb"
- func: "upload debugsymbols"
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/mongodb-binaries.tgz
remote_file: mongodb-mongo-master/${build_variant}/${revision}/binaries/mongo-${build_id}.${ext|tgz}
bucket: mciuploads
permissions: public-read
content_type: ${content_type|application/x-gzip}
display_name: Binaries
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: artifacts.tgz
remote_file: mongodb-mongo-master/${build_variant}/${revision}/artifacts/${build_id}.tgz
bucket: mciuploads
permissions: public-read
content_type: application/tar
display_name: Artifacts
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/distsrc.${ext|tgz}
remote_file: mongodb-mongo-master/${build_variant}/${revision}/sources/mongo-src-${build_id}.${ext|tgz}
bucket: mciuploads
permissions: public-read
content_type: ${content_type|application/x-gzip}
display_name: Source tarball
# We only need to upload the source tarball from one of the build variants
# because it should be the same everywhere, so just use linux-64/windows-64-2k8.
build_variants: [ linux-64, windows-64-2k8 ]
## lint ##
- name: lint
depends_on: []
commands:
- command: git.get_project
params:
directory: src
- command: git.apply_patch
params:
directory: src
- command: shell.exec
params:
working_dir: src
script: |
set -o errexit
set -o verbose
${scons|scons} ${compile_flags|} lint
## integration test suites ##
- <<: *task_template
name: aggregation
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=aggregation --storageEngine=mmapv1
- <<: *task_template
name: aggregation_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=aggregation --storageEngine=wiredTiger
- <<: *task_template
name: aggregation_auth
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=aggregation_auth
- <<: *task_template
name: audit
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=audit --storageEngine=mmapv1
- <<: *task_template
name: audit_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=audit --storageEngine=wiredTiger
- <<: *task_template
name: auth
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=auth --storageEngine=mmapv1
- <<: *task_template
name: auth_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=auth --storageEngine=wiredTiger
- <<: *task_template
name: dbtest
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=dbtest --storageEngine=mmapv1
- <<: *task_template
name: dbtest_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=dbtest --storageEngine=wiredTiger
- <<: *task_template
name: disk
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=disk
- <<: *task_template
name: durability
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=durability
- <<: *task_template
name: dur_jscore_passthrough
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=dur_jscore_passthrough
- <<: *task_template
name: failpoints
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=failpoints
- <<: *task_template
name: failpoints_auth
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=failpoints_auth
- <<: *task_template
name: gle_auth
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=gle_auth --shellWriteMode=legacy --storageEngine=mmapv1
- <<: *task_template
name: gle_auth_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=gle_auth --shellWriteMode=legacy --storageEngine=wiredTiger
- <<: *task_template
name: gle_auth_write_cmd
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=gle_auth --shellWriteMode=commands --storageEngine=mmapv1
- <<: *task_template
name: gle_auth_write_cmd_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=gle_auth --shellWriteMode=commands --storageEngine=wiredTiger
- <<: *task_template
name: gle_auth_basics_passthrough
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=gle_auth_basics_passthrough --shellWriteMode=legacy --storageEngine=mmapv1
- <<: *task_template
name: gle_auth_basics_passthrough_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=gle_auth_basics_passthrough --shellWriteMode=legacy --storageEngine=wiredTiger
- <<: *task_template
name: gle_auth_basics_passthrough_write_cmd
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=gle_auth_basics_passthrough --shellWriteMode=commands --storageEngine=mmapv1
- <<: *task_template
name: gle_auth_basics_passthrough_write_cmd_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=gle_auth_basics_passthrough --shellWriteMode=commands --storageEngine=wiredTiger
- <<: *task_template
name: sharding_gle_auth_basics_passthrough
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sharding_gle_auth_basics_passthrough --shellWriteMode=legacy --storageEngine=mmapv1
- <<: *task_template
name: sharding_gle_auth_basics_passthrough_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sharding_gle_auth_basics_passthrough --shellWriteMode=legacy --storageEngine=wiredTiger
- <<: *task_template
name: sharding_gle_auth_basics_passthrough_write_cmd
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sharding_gle_auth_basics_passthrough --shellWriteMode=commands --storageEngine=mmapv1
- <<: *task_template
name: sharding_gle_auth_basics_passthrough_write_cmd_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sharding_gle_auth_basics_passthrough --shellWriteMode=commands --storageEngine=wiredTiger
- <<: *task_template
name: jsCore
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: -j8 --suites=core --storageEngine=mmapv1
- <<: *task_template
name: jsCore_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: -j8 --suites=core --storageEngine=wiredTiger
- <<: *task_template
name: jsCore_compatibility
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: -j8 --suites=core --shellWriteMode=compatibility --storageEngine=mmapv1
- <<: *task_template
name: jsCore_compatibility_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: -j8 --suites=core --shellWriteMode=compatibility --storageEngine=wiredTiger
- <<: *task_template
name: jsCore_auth
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: -j8 --suites=core_auth --storageEngine=mmapv1
- <<: *task_template
name: jsCore_auth_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: -j8 --suites=core_auth --storageEngine=wiredTiger
- <<: *task_template
name: jsCore_op_command
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: -j8 --suites=core_op_command --storageEngine=mmapv1
- <<: *task_template
name: jsCore_op_command_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: -j8 --suites=core_op_command --storageEngine=wiredTiger
- <<: *task_template
name: inMemoryExperiment
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: -j8 --suites=core --storageEngine=inMemoryExperiment
- <<: *task_template
name: jsCore_small_oplog
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=core_small_oplog --storageEngine=mmapv1
- <<: *task_template
name: jsCore_small_oplog_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=core_small_oplog --storageEngine=wiredTiger
- <<: *task_template
name: jsCore_small_oplog_rs
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=core_small_oplog_rs --storageEngine=mmapv1
- <<: *task_template
name: jsCore_small_oplog_rs_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=core_small_oplog_rs --storageEngine=wiredTiger
- <<: *task_template
name: mongosTest
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=mongos_test
- <<: *task_template
name: mmap
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=mmap
- <<: *task_template
name: multiversion
commands:
- func: "do setup"
- command: shell.exec
params:
working_dir: src
script: |
set -o errexit
set -o verbose
cp mongodb*/bin/* .
rm -rf /data/install /data/multiversion
${python|python} buildscripts/setup_multiversion_mongodb.py /data/install /data/multiversion "Linux/x86_64" "1.8" "2.0" "2.2" "2.4" "2.6" "3.0"
PATH=$PATH:/data/multiversion ${asan_symbolizer} ${enable_lsan} ${python|python} buildscripts/resmoke.py --suites=multiversion ${test_flags} --log=buildlogger --reportFile=report.json
- <<: *task_template
name: noPassthrough
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=no_passthrough --storageEngine=mmapv1
- <<: *task_template
name: noPassthrough_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=no_passthrough --storageEngine=wiredTiger
- <<: *task_template
name: noPassthroughWithMongod
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=no_passthrough_with_mongod --storageEngine=mmapv1
- <<: *task_template
name: noPassthroughWithMongod_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=no_passthrough_with_mongod --storageEngine=wiredTiger
- <<: *task_template
name: bulk_gle_passthrough
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=bulk_gle_passthrough --storageEngine=mmapv1
- <<: *task_template
name: bulk_gle_passthrough_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=bulk_gle_passthrough --storageEngine=wiredTiger
- <<: *task_template
name: slow1
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=slow1 --storageEngine=mmapv1
- <<: *task_template
name: slow1_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=slow1 --storageEngine=wiredTiger
- <<: *task_template
name: slow2
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=slow2 --storageEngine=mmapv1
- <<: *task_template
name: slow2_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=slow2 --storageEngine=wiredTiger
- <<: *task_template
name: sharding_jscore_passthrough
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sharding_jscore_passthrough --storageEngine=mmapv1
- <<: *task_template
name: sharding_jscore_passthrough_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sharding_jscore_passthrough --storageEngine=wiredTiger
- <<: *task_template
name: parallel
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=parallel --storageEngine=mmapv1
- <<: *task_template
name: parallel_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=parallel --storageEngine=wiredTiger
- <<: *task_template
name: parallel_compatibility
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=parallel --shellWriteMode=compatibility --storageEngine=mmapv1
- <<: *task_template
name: parallel_compatibility_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=parallel --shellWriteMode=compatibility --storageEngine=wiredTiger
- <<: *task_template
name: concurrency
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=concurrency --storageEngine=mmapv1
- <<: *task_template
name: concurrency_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=concurrency --storageEngine=wiredTiger
- <<: *task_template
name: rlp
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=rlp --storageEngine=mmapv1
- <<: *task_template
name: rlp_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=rlp --storageEngine=wiredTiger
- <<: *task_template
name: replicasets
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=replica_sets --storageEngine=mmapv1
- <<: *task_template
name: replicasets_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=replica_sets --storageEngine=wiredTiger
- <<: *task_template
name: replicasets_auth
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=replica_sets_auth
- <<: *task_template
name: replication
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=replication --storageEngine=mmapv1
- <<: *task_template
name: replication_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=replication --storageEngine=wiredTiger
- <<: *task_template
name: replication_auth
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=replication_auth
- <<: *task_template
name: sasl
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sasl
- <<: *task_template
name: sharding
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sharding --storageEngine=mmapv1
- <<: *task_template
name: sharding_WT
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sharding --storageEngine=wiredTiger
- <<: *task_template
name: sharding_auth
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --suites=sharding_auth
- <<: *task_template
name: snmp
commands:
- func: "do setup"
- command: shell.exec
params:
working_dir: src
script: |
set -o errexit
set -o verbose
cp mongodb*/bin/* .
mkdir -p snmpconf
cp -f src/mongo/db/modules/enterprise/docs/mongod.conf.master snmpconf/mongod.conf
SNMPCONFPATH=snmpconf ${asan_symbolizer} ${enable_lsan} ${python|python} buildscripts/resmoke.py --suites=snmp --storageEngine=mmapv1 ${test_flags} --log=buildlogger --reportFile=report.json
- <<: *task_template
name: snmp_WT
commands:
- func: "do setup"
- command: shell.exec
params:
working_dir: src
script: |
set -o errexit
set -o verbose
cp mongodb*/bin/* .
mkdir -p snmpconf
cp -f src/mongo/db/modules/enterprise/docs/mongod.conf.master snmpconf/mongod.conf
SNMPCONFPATH=snmpconf ${asan_symbolizer} ${enable_lsan} ${python|python} buildscripts/resmoke.py --suites=snmp --storageEngine=wiredTiger ${test_flags} --log=buildlogger --reportFile=report.json
- <<: *task_template
name: ssl
commands:
- func: "do setup"