-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
All Evergreen tasks contain a post step that includes the save wt hang analyzer core/debugger files step. However, if there are no core/debugger files to upload this step fails.
This doesn't fail the step, but this is reported as an error (red text) in Evergreen logs.
[2021/11/22 01:26:15.305] Running command 'archive.targz_pack' in "save wt hang analyzer core/debugger files" (step 2.1 of 4) [2021/11/22 01:26:15.329] Finished 'archive.targz_pack' in "save wt hang analyzer core/debugger files" in 23.855349ms [2021/11/22 01:26:15.329] Running command 's3.put' in "save wt hang analyzer core/debugger files" (step 2.2 of 4) [2021/11/22 01:26:15.350] Putting wt-hang-analyzer.tgz into build_external/wiredtiger/ubuntu2004-asan/90a99d5f2dc1a8490aebe000ecf388d48ce1ed61/wt_hang_analyzer/wt-hang-analyzer_csuite-wt4105-large-doc-small-upd-test_wiredtiger_ubuntu2004_asan_patch_90a99d5f2dc1a8490aebe000ecf388d48ce1ed61_619aea07850e6108fb9574c9_21_11_22_00_54_45-0.tgz (https://build_external.s3.amazonaws.com/wiredtiger/ubuntu2004-asan/90a99d5f2dc1a8490aebe000ecf388d48ce1ed61/wt_hang_analyzer/wt-hang-analyzer_csuite-wt4105-large-doc-small-upd-test_wiredtiger_ubuntu2004_asan_patch_90a99d5f2dc1a8490aebe000ecf388d48ce1ed61_619aea07850e6108fb9574c9_21_11_22_00_54_45-0.tgz) [2021/11/22 01:26:15.350] performing s3 put to build_external of wiredtiger/ubuntu2004-asan/90a99d5f2dc1a8490aebe000ecf388d48ce1ed61/wt_hang_analyzer/wt-hang-analyzer_csuite-wt4105-large-doc-small-upd-test_wiredtiger_ubuntu2004_asan_patch_90a99d5f2dc1a8490aebe000ecf388d48ce1ed61_619aea07850e6108fb9574c9_21_11_22_00_54_45-0.tgz [1 of 5] [2021/11/22 01:26:15.350] Command failed: missing file '/data/mci/1d90be0ce746c183e15df22b37d2fcef/wt-hang-analyzer.tgz': problem opening file /data/mci/1d90be0ce746c183e15df22b37d2fcef/wt-hang-analyzer.tgz: open /data/mci/1d90be0ce746c183e15df22b37d2fcef/wt-hang-analyzer.tgz: no such file or directory [2021/11/22 01:26:15.350] Finished 's3.put' in "save wt hang analyzer core/debugger files" in 21.60614ms
Definition of Done:
Evergreen no longer reports the above as an error, preferably by checking for the existence of error files before attempting to upload them.