Closed Bug 1869078 Opened 10 months ago Closed 10 months ago

Perma Windows 2012 SM subprocess.CalledProcessError: Command '['sh', '-c', "'C:/mozilla-build/python/python3.exe' 'D:/task_170207252670475/src/mach' build"]' returned non-zero exit status 2.

Categories

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

defect

Tracking

(firefox-esr115 unaffected, firefox120 unaffected, firefox121 unaffected, firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox120 --- unaffected
firefox121 --- unaffected
firefox122 --- fixed

People

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

References

(Depends on 1 open bug, Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=439426294&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Zg6QX5OQTAymDgWrBA5TGw/runs/0/artifacts/public/logs/live_backing.log


[task 2023-12-08T22:29:03.508Z] Configure complete!
[task 2023-12-08T22:29:03.508Z] Be sure to run |mach build| to pick up any changes
[task 2023-12-08T22:29:03.571Z] Traceback (most recent call last):
[task 2023-12-08T22:29:03.571Z]   File "D:\task_170207252670475\src\js\src\devtools\automation\autospider.py", line 465, in <module>
[task 2023-12-08T22:29:03.576Z]     run_command([sys.executable, mach, "build"], check=True)
[task 2023-12-08T22:29:03.576Z]   File "D:\task_170207252670475\src\js\src\devtools\automation\autospider.py", line 387, in run_command
[task 2023-12-08T22:29:03.576Z]     raise subprocess.CalledProcessError(status, command, output=stderr)
[task 2023-12-08T22:29:03.576Z] subprocess.CalledProcessError: Command '['sh', '-c', "'C:/mozilla-build/python/python3.exe' 'D:/task_170207252670475/src/mach' build"]' returned non-zero exit status 2.
[task 2023-12-08T22:29:03.585Z] + BUILD_STATUS=1
[task 2023-12-08T22:29:03.585Z] + upload=1
[task 2023-12-08T22:29:03.585Z] + '[' -n '' ']'
[task 2023-12-08T22:29:03.586Z] + '[' 1 = 1 ']'
[task 2023-12-08T22:29:03.596Z] + cd ./obj-spider/dist/bin
[task 2023-12-08T22:29:03.596Z] + zip D:/task_170207252670475/public/build/target.jsshell.zip js jsapi-tests js-gdb.py libnspr4.so libplds4.so libplc4.so
[task 2023-12-08T22:29:03.742Z] 	zip warning: name not matched: js
[task 2023-12-08T22:29:03.742Z] 	zip warning: name not matched: jsapi-tests
[task 2023-12-08T22:29:03.746Z] 	zip warning: name not matched: libnspr4.so
[task 2023-12-08T22:29:03.746Z] 	zip warning: name not matched: libplds4.so
[task 2023-12-08T22:29:03.746Z] 	zip warning: name not matched: libplc4.so
[task 2023-12-08T22:29:03.748Z]   adding: js-gdb.py (188 bytes security) (stored 0%)
[task 2023-12-08T22:29:03.752Z] + cp -L ./obj-spider/mozinfo.json D:/task_170207252670475/public/build/target.mozinfo.json
[task 2023-12-08T22:29:03.805Z] + '[' -d 'D:/task_170207252670475/fetches/llvm-symbolizer]'
[task 2023-12-08T22:29:03.805Z] ./src/taskcluster/scripts/builder/build-sm.sh: line 34: [: missing `]'
[task 2023-12-08T22:29:03.805Z] + '[' -n 20231208215722 ']'
[task 2023-12-08T22:29:03.805Z] + '[' -n 6f5601bcf5ef9fa22b46e44e1d5e34893a04fc9e ']'
[task 2023-12-08T22:29:03.805Z] + cat
[task 2023-12-08T22:29:03.822Z] + cp D:/task_170207252670475/src/mozconfig.autospider D:/task_170207252670475/public/build
[task 2023-12-08T22:29:03.945Z] + exit 1
[taskcluster 2023-12-08T22:29:03.976Z]    Exit Code: 1
[taskcluster 2023-12-08T22:29:03.976Z]    User Time: 0s
[taskcluster 2023-12-08T22:29:03.976Z]  Kernel Time: 15.625ms
[taskcluster 2023-12-08T22:29:03.976Z]    Wall Time: 18m48.910001s
[taskcluster 2023-12-08T22:29:03.976Z]       Result: FAILED
[taskcluster 2023-12-08T22:29:03.976Z] === Task Finished ===
[taskcluster 2023-12-08T22:29:03.976Z] Task Duration: 18m48.9105343s
[taskcluster 2023-12-08T22:29:04.051Z] Uploading artifact public/build/mozconfig.autospider from file D:\task_170207252670475\public\build\mozconfig.autospider with content encoding "gzip", mime type "application/octet-stream" and expiry 2024-03-07T22:02:15.437Z
[taskcluster 2023-12-08T22:29:04.257Z] Uploading artifact public/build/target.json from file D:\task_170207252670475\public\build\target.json with content encoding "gzip", mime type "application/json" and expiry 2024-03-07T22:02:15.437Z
[taskcluster 2023-12-08T22:29:04.476Z] Uploading artifact public/build/target.jsshell.zip from file D:\task_170207252670475\public\build\target.jsshell.zip with content encoding "identity", mime type "application/x-zip-compressed" and expiry 2024-03-07T22:02:15.437Z
[taskcluster 2023-12-08T22:29:04.663Z] Uploading artifact public/build/target.mozinfo.json from file D:\task_170207252670475\public\build\target.mozinfo.json with content encoding "gzip", mime type "application/json" and expiry 2024-03-07T22:02:15.437Z
[taskcluster 2023-12-08T22:29:04.825Z] [mounts] Preserving cache: Moving "D:\\task_170207252670475\\build" to "D:\\caches\\YFT__yVoQ2SQMS8vvwcGdg"
[taskcluster 2023-12-08T22:29:04.826Z] [mounts] Denying task_170207252670475 access to 'D:\caches\YFT__yVoQ2SQMS8vvwcGdg'
[taskcluster 2023-12-08T22:29:04.895Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2024-03-07T22:02:15.437Z
[taskcluster:error] exit status 1

Set release status flags based on info from the regressing bug 1867459

:glandium, since you are the author of the regressor, bug 1867459, could you take a look?

For more information, please visit BugBot documentation.

AC_SUBSTs with a lower-case key are not really supposed to be used,
although that has never been enforced, and at least one of them is
used in practice.

At least, that's the theory behind using files to store their value in
config.statusd (added in bug 1402012). Because obviously, on
case-insensitive file systems, a variable that is upper case will use
the same file as the lower case one. If their value is the same, then
fine, but if they aren't, thing go bad.

Until bug 1867457, that held true for TARGET_CPU and target_cpu: their
value was the same. But bug 1867457 changed that. But target_cpu is only
there because it's set by autoconf itself, and we don't care about it.

The result is that the value of target_cpu takes precedence because it's
set last, and overwrites the value of TARGET_CPU in config.statusd,
subsequently making the value read in GenerateAtomicOperations.py wrong.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Flags: needinfo?(mh+mozilla)
Summary: Perma SM subprocess.CalledProcessError: Command '['sh', '-c', "'C:/mozilla-build/python/python3.exe' 'D:/task_170207252670475/src/mach' build"]' returned non-zero exit status 2. → Perma Windows 2012 SM subprocess.CalledProcessError: Command '['sh', '-c', "'C:/mozilla-build/python/python3.exe' 'D:/task_170207252670475/src/mach' build"]' returned non-zero exit status 2.
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/83ef845d60ab Filter-out target_cpu from substs provided by old-configure. r=firefox-build-system-reviewers,sergesanspaille
Depends on: 1869892
Flags: needinfo?(mh+mozilla)
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/722156e33a15 Filter-out target_cpu from substs provided by old-configure. r=firefox-build-system-reviewers,sergesanspaille
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
See Also: → 1869998
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: