Closed Bug 1571986 Opened 2 years ago Closed 2 years ago

Intermittent PermissionError: [WinError 5] Access is denied: 'Z:\\task_1565153946\\fetches\\vs2017_15.8.4\\VC\\bin\\Hostx64\\x64\\Microsoft.Diagnostics.Tracing.EventSource.dll'

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(2 files)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=260295108&repo=mozilla-inbound
Full log: https://queue.taskcluster.net/v1/task/K316drK9RliQMcyE6TSaSQ/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/K316drK9RliQMcyE6TSaSQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2019-08-07T06:40:32.092Z] Finished dev [unoptimized + debuginfo] target(s) in 7m 03s
[task 2019-08-07T06:40:32.112Z]
[task 2019-08-07T06:40:32.112Z] z:\task_1565153946\build\src\gfx\wr\direct-composition>if 0 NEQ 0 EXIT /b 0
[task 2019-08-07T06:40:32.112Z]
[task 2019-08-07T06:40:32.112Z] z:\task_1565153946\build\src\gfx\wr\direct-composition>popd
[fetches 2019-08-07T06:40:32.122Z] removing Z:\task_1565153946\fetches
Traceback (most recent call last):
File "run-task", line 857, in <module>
sys.exit(main(sys.argv[1:]))
File "run-task", line 852, in main
shutil.rmtree(fetches_dir)
File "C:\mozilla-build\python3\lib\shutil.py", line 494, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\mozilla-build\python3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\mozilla-build\python3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\mozilla-build\python3\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
[Previous line repeated 1 more times]
File "C:\mozilla-build\python3\lib\shutil.py", line 389, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\mozilla-build\python3\lib\shutil.py", line 387, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'Z:\task_1565153946\fetches\vs2017_15.8.4\VC\bin\Hostx64\x64\Microsoft.Diagnostics.Tracing.EventSource.dll'
[taskcluster 2019-08-07T06:40:33.395Z] Exit Code: 1
[taskcluster 2019-08-07T06:40:33.395Z] User Time: 0s
[taskcluster 2019-08-07T06:40:33.395Z] Kernel Time: 0s
[taskcluster 2019-08-07T06:40:33.395Z] Wall Time: 41m36.1500041s
[taskcluster 2019-08-07T06:40:33.395Z] Result: FAILED
[taskcluster 2019-08-07T06:40:33.395Z] === Task Finished ===
[taskcluster 2019-08-07T06:40:33.395Z] Task Duration: 41m36.1539621s
[taskcluster 2019-08-07T06:40:34.200Z] Uploading redirect artifact public/logs/live.log to URL https://queue.taskcluster.net/v1/task/K316drK9RliQMcyE6TSaSQ/runs/0/artifacts/public/logs/live_backing.log with mime type "text/plain; charset=utf-8" and expiry 2020-08-06T05:08:44.712Z
[taskcluster:error] exit status 1

Assignee: nobody → mh+mozilla
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d28c14caa7cc
Add some info to try to find what is going on. r=me
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70

This was a diagnostics landing, not a fix.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/7ce7a9676ad3
Kill vctip at the end of the wrench-windows task. r=dmajor

Funny how things go... I've had this happen on cbindgen and sccache tasks on try.

Keywords: leave-open

Also, since we had problems with mspdbsrv in the past, kill it too.

Keywords: leave-open
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/451992f4d9af
Kill vctip at the end of more tasks. r=nalexander
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.