Closed Bug 1457629 Opened 2 years ago Closed 2 years ago

Intermittent IOError: [Errno 2] No such file or directory: '/builds/worker/workspace/build/blobber_upload_dir/per-test-coverage-reports.zip'

Categories

(Testing :: Code Coverage, defect, P5)

Version 3
defect

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: sparky)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: ncsoregi [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=176055190&repo=mozilla-central

https://queue.taskcluster.net/v1/task/WpeMS9BaSm6aDGeVgGK_EA/runs/0/artifacts/public/logs/live_backing.log

[task 2018-04-27T23:14:34.570Z] 23:14:34     INFO - Running post-action listener: _resource_record_post_action
[task 2018-04-27T23:14:34.570Z] 23:14:34     INFO - [mozharness: 2018-04-27 23:14:34.570180Z] Finished install step (success)
[task 2018-04-27T23:14:34.570Z] 23:14:34     INFO - [mozharness: 2018-04-27 23:14:34.570405Z] Running run-tests step.
[task 2018-04-27T23:14:34.571Z] 23:14:34     INFO - Running pre-action listener: _resource_record_pre_action
[task 2018-04-27T23:14:34.571Z] 23:14:34     INFO - Running pre-action listener: _set_gcov_prefix
[task 2018-04-27T23:14:34.571Z] 23:14:34     INFO - Running main action method: run_tests
[task 2018-04-27T23:14:34.724Z] 23:14:34     INFO - ENV: RUST_BACKTRACE is now full
[task 2018-04-27T23:14:34.725Z] 23:14:34     INFO - ENV: MOZ_LAYERS_ALLOW_SOFTWARE_GL is now 1
[task 2018-04-27T23:14:34.725Z] 23:14:34     INFO - ENV: STYLO_THREADS is now 4
[task 2018-04-27T23:14:34.725Z] 23:14:34     INFO - ENV: MINIDUMP_SAVE_PATH is now /builds/worker/workspace/build/blobber_upload_dir
[task 2018-04-27T23:14:34.725Z] 23:14:34     INFO - Running post-action listener: _package_coverage_data
[task 2018-04-27T23:14:34.881Z] 23:14:34    ERROR - Exception during post-action for run-tests: Traceback (most recent call last):
[task 2018-04-27T23:14:34.882Z] 23:14:34    ERROR -   File "/builds/worker/workspace/mozharness/mozharness/base/script.py", line 2027, in run_action
[task 2018-04-27T23:14:34.882Z] 23:14:34    ERROR -     method(action, success=success and self.return_code == 0)
[task 2018-04-27T23:14:34.882Z] 23:14:34    ERROR -   File "/builds/worker/workspace/mozharness/mozharness/mozilla/testing/codecoverage.py", line 293, in _package_coverage_data
[task 2018-04-27T23:14:34.882Z] 23:14:34    ERROR -     with zipfile.ZipFile(dest, 'w', zipfile.ZIP_DEFLATED) as z:
[task 2018-04-27T23:14:34.883Z] 23:14:34    ERROR -   File "/usr/lib/python2.7/zipfile.py", line 756, in __init__
[task 2018-04-27T23:14:34.883Z] 23:14:34    ERROR -     self.fp = open(file, modeDict[mode])
[task 2018-04-27T23:14:34.883Z] 23:14:34    ERROR - IOError: [Errno 2] No such file or directory: '/builds/worker/workspace/build/blobber_upload_dir/per-test-coverage-reports.zip'
[task 2018-04-27T23:14:34.884Z] 23:14:34     INFO - Running post-action listener: _resource_record_post_action
[task 2018-04-27T23:14:34.884Z] 23:14:34     INFO - [mozharness: 2018-04-27 23:14:34.884183Z] Finished run-tests step (success)
[task 2018-04-27T23:14:34.884Z] 23:14:34    FATAL - Aborting due to failure in post-action listener.
[task 2018-04-27T23:14:34.884Z] 23:14:34    FATAL - Running post_fatal callback...
[task 2018-04-27T23:14:34.885Z] 23:14:34    FATAL - Exiting -1
Comment on attachment 8971899 [details]
Bug 1457629 - Don't create per-test-coverage-reports.zip when no tests are run.

https://reviewboard.mozilla.org/r/240632/#review246314
Attachment #8971899 - Flags: review?(mcastelluccio) → review+
Assignee: nobody → gmierz2
Keywords: checkin-needed
Pushed by toros@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ad861c124e5d
Don't create per-test-coverage-reports.zip when no tests are run. r=marco
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/ad861c124e5d
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.