Closed Bug 1723815 Opened 3 years ago Closed 3 years ago

toolchain-macosx64-sdk-<version> tasks should fail if they don't find the SDK ('No such file or directory' resulting in 18 bytes of SDK artifact)

Categories

(Firefox Build System :: Toolchains, defect)

defect

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: aryx, Assigned: glandium)

Details

Attachments

(1 file)

https://firefoxci.taskcluster-artifacts.net/Hj5AmyvuRsKFKHPCR_sKFQ/1/public/logs/live_backing.log is the first run of a toolchain-macosx64-sdk-10.12 task which claims to have succeeded but actually failed to generate the SDK artifact (only an artifact of 18 types withe empty .tar in it got created):

[task 2021-08-03T17:36:56.224Z] executing ['bash', '-cx', '$GECKO_PATH/taskcluster/scripts/misc/pack.sh /Applications/Xcode-8.3.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk']
[task 2021-08-03T17:36:56.228Z] + /private/var/opt/generic-worker/tasks/task_162800215931724/checkouts/gecko/taskcluster/scripts/misc/pack.sh /Applications/Xcode-8.3.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
[task 2021-08-03T17:36:56.234Z] + '[' -z /Applications/Xcode-8.3.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk ']'
[task 2021-08-03T17:36:56.235Z] ++ dirname /Applications/Xcode-8.3.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
[task 2021-08-03T17:36:56.238Z] + dir=/Applications/Xcode-8.3.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
[task 2021-08-03T17:36:56.239Z] ++ basename /Applications/Xcode-8.3.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
[task 2021-08-03T17:36:56.241Z] + name=MacOSX10.12.sdk
[task 2021-08-03T17:36:56.241Z] + case "$(uname -s)" in
[task 2021-08-03T17:36:56.242Z] ++ uname -s
[task 2021-08-03T17:36:56.244Z] + TAR_FLAGS=--no-fflags
[task 2021-08-03T17:36:56.245Z] + cd /Applications/Xcode-8.3.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
[task 2021-08-03T17:36:56.245Z] + python3 /private/var/opt/generic-worker/tasks/task_162800215931724/checkouts/gecko/taskcluster/scripts/misc/zstdpy
[task 2021-08-03T17:36:56.246Z] /private/var/opt/generic-worker/tasks/task_162800215931724/checkouts/gecko/taskcluster/scripts/misc/pack.sh: line 19: cd: /Applications/Xcode-8.3.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs: No such file or directory
[task 2021-08-03T17:36:56.246Z] + find 'MacOSX10.12.sdk/*' -not -type d -print0
[task 2021-08-03T17:36:56.246Z] + tar --no-fflags -cf - --null -T -
[task 2021-08-03T17:36:56.249Z] find: MacOSX10.12.sdk/*: No such file or directory
[task 2021-08-03T17:36:56.294Z] + mkdir -p /private/var/opt/generic-worker/tasks/task_162800215931724/project/gecko/mac-sdk
[task 2021-08-03T17:36:56.297Z] + mv MacOSX10.12.sdk.tar.zst /private/var/opt/generic-worker/tasks/task_162800215931724/project/gecko/mac-sdk
[taskcluster 2021-08-03T17:36:56.313Z]    Exit Code: 0
[taskcluster 2021-08-03T17:36:56.313Z]    User Time: 1m34.617756s
[taskcluster 2021-08-03T17:36:56.313Z]  Kernel Time: 1m51.445205s
[taskcluster 2021-08-03T17:36:56.313Z]    Wall Time: 51.215319s
[taskcluster 2021-08-03T17:36:56.313Z]       Result: SUCCEEDED
[taskcluster 2021-08-03T17:36:56.314Z] === Task Finished ===

The rerun succeeded: https://firefoxci.taskcluster-artifacts.net/Hj5AmyvuRsKFKHPCR_sKFQ/0/public/logs/live_backing.log

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/79b07f7778a9 Ensure failure on macosx64-sdk* tasks when the sdk is not there. r=nalexander
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: