diff options
Diffstat (limited to 'etc/evergreen.yml')
-rw-r--r-- | etc/evergreen.yml | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 34de733d607..c812aa201aa 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -180,6 +180,7 @@ variables: - func: "save code coverage data" - func: "save mongo coredumps" - func: "save failed unittests" + - func: "save UndoDB recordings" - func: "save unstripped dbtest" - func: "save hang analyzer debugger files" - func: "save disk statistics" @@ -1960,6 +1961,7 @@ functions: target: undodb-recordings.tgz source_dir: src include: + - "./*.undo.tokeep" - "./*.undo" "archive UndoDB recordings": &archive_undodb_recordings @@ -2322,7 +2324,8 @@ tasks: - "./src/evergreen/run_clang_tidy.sh" ## compile_unittests ## -- name: compile_unittests +- &compile_unittests + name: compile_unittests depends_on: - name: compile_dist_test commands: @@ -2333,6 +2336,10 @@ tasks: --separate-debug compiling_for_test: true +## A copy of the compile_unittests task for the recorded unittest taskgroup ## +- <<: *compile_unittests + name: compile_unittests_for_recorded_unittest + ## run_unittests ## - name: run_unittests tags: [] @@ -2348,6 +2355,34 @@ tasks: vars: resmoke_args: --suites=unittests +## run_unittests with UndoDB live-record ## +- name: run_unittests_with_recording + depends_on: + - name: compile_unittests_for_recorded_unittest + commands: + - *f_expansions_write + - func: "run diskstats" + - func: "f_expansions_write" + - func: "monitor process threads" + - func: "collect system resource info" + - command: subprocess.exec + params: + binary: bash + args: + - "./src/evergreen/undo_wiki_page.sh" + - command: attach.artifacts + params: + files: + - undo_wiki_page_location.json + - func: "run tests" + vars: + resmoke_args: --suites=unittests + record_with: --recordWith /opt/undodb5/bin/live-record + # Start fewer jobs since there's a constant amount of overhead of starting + # live-record for each job. + resmoke_jobs_factor: 0.3 + + ##compile_and_archive_libfuzzertests - build libfuzzertests ## - name: compile_and_archive_libfuzzertests tags: [] @@ -7084,6 +7119,12 @@ task_groups: - run_unittests - <<: *compile_task_group_template + name: compile_test_and_package_parallel_unittest_stream_with_recording_TG + tasks: + - compile_unittests_for_recorded_unittest + - run_unittests_with_recording + +- <<: *compile_task_group_template name: compile_test_and_package_parallel_dbtest_stream_TG tasks: - compile_dbtest @@ -8987,6 +9028,9 @@ buildvariants: - name: compile_test_and_package_parallel_core_stream_TG distros: - rhel80-xlarge + - name: compile_test_and_package_parallel_unittest_stream_with_recording_TG + distros: + - rhel80-xlarge - name: compile_test_and_package_parallel_unittest_stream_TG distros: - rhel80-xlarge |