Closed Bug 1527798 Opened 5 years ago Closed 5 years ago

cbindgen and gn windows tasks are permafail after bug 1519472

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(2 files)

[taskcluster:error] [mounts] Could not unmount <nil> due to: 'Could not persist cache "level-3-checkouts" due to remove Z:\task_1550107918\build\src\vs2017_15.4.2\VC\bin\Hostx64\x64\msvcp140.dll: Access is denied.'
[taskcluster 2019-02-14T02:24:22.928Z] Uploading redirect artifact public/logs/live.log to URL https://queue.taskcluster.net/v1/task/G0j-vl9PS861uEMQ7u-6Dg/runs/1/artifacts/public/logs/live_backing.log with mime type "text/plain; charset=utf-8" and expiry 2020-02-14T00:40:39.774Z
[taskcluster:error] Could not persist cache "level-3-checkouts" due to remove Z:\task_1550107918\build\src\vs2017_15.4.2\VC\bin\Hostx64\x64\msvcp140.dll: Access is denied.

It turns out version 15.4.2 spawns a vctip process that sticks after the
build, and since bug 1527798, that breaks unmounting caches because the
process has a handle on msvcp140.dll, which lies in the source
directory. The problem goes away with 15.8.4, so upgrade all toolchain
tasks to that.

That's the same version as we're using on x86/x86-64 MSVC builds.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/084f5a952f04
Upgrade toolchain tasks using MSVC to 15.8.4. r=froydnj
Backout by mh@glandium.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9b65e012f192
Backout changesets 084f5a952f04 and f8738cf7a4ae (bug 1431523) to give time to docker images, etc. to build without blocking other landings.

Great... that breaks gn builds with:

[taskcluster:error] [mounts] Could not unmount <nil> due to: 'Could not persist cache "level-3-checkouts" due to remove Z:\task_1550184940\build\src\vs2017_15.8.4\VC\bin\Hostx64\x64\mspdbcore.dll: Access is denied.'
[taskcluster:error] Could not persist cache "level-3-checkouts" due to remove Z:\task_1550184940\build\src\vs2017_15.8.4\VC\bin\Hostx64\x64\mspdbcore.dll: Access is denied.

This time the culprit is mspdbsrv.exe...

Blocks: 1516568
No longer blocks: 1516568
Summary: cbindgen windows tasks are permafail after bug 1519472 → cbindgen and gn windows tasks are permafail after bug 1519472

It keeps running and prevents the worker from unmounting, failing the
task.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cdefcc66972a
Upgrade toolchain tasks using MSVC to 15.8.4. r=froydnj
https://hg.mozilla.org/integration/mozilla-inbound/rev/1527e2d84ff9
Kill mspdbsrv at the end of gn build. r=froydnj
Backout by mh@glandium.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/02bef0e09a3c
Backout changesets cdefcc66972a, 1527e2d84ff9 , ac565cc75295 (bug 1431523) and 0605b508a2c6 (bug 1528150)
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/09ba3e3539e8
Upgrade toolchain tasks using MSVC to 15.8.4. r=froydnj
https://hg.mozilla.org/integration/mozilla-inbound/rev/446683e9ed32
Kill mspdbsrv at the end of gn build. r=froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.