RESOLVED FIXED305370
[Tools][CI] Fix command getting the Linux OS release
https://bugs.webkit.org/show_bug.cgi?id=305370
Summary [Tools][CI] Fix command getting the Linux OS release
Lauro Moura
Reported 2026-01-13 01:26:09 PST
305293@main added a small snippet to the PrintConfiguration ShellSequence, but currently it's failing with: Upon execvpe b'if test -f /etc/build-info; then cat /etc/build-info; else cat /etc/os-release; fi' [b'if test -f /etc/build-info; then cat /etc/build-info; else cat /etc/os-release; fi'] in environment id 140083630866496 :Traceback (most recent call last): File "/home/buildbot-worker/.venv/lib/python3.11/site-packages/twisted/internet/process.py", line 433, in _fork self._execChild(path, uid, gid, executable, args, environment) File "/home/buildbot-worker/.venv/lib/python3.11/site-packages/twisted/internet/process.py", line 504, in _execChild os.execvpe(executable, args, environment) File "<frozen os>", line 583, in execvpe File "<frozen os>", line 597, in _execvpe FileNotFoundError: [Errno 2] No such file or directory: b'if test -f /etc/build-info; then cat /etc/build-info; else cat /etc/os-release; fi' IIUC, we should wrap the command in a "bash -c ..." invocation, so ShellCommand can spanw it properly. Patch incoming.
Attachments
Lauro Moura
Comment 1 2026-01-13 02:51:20 PST
EWS
Comment 2 2026-01-13 16:34:11 PST
Committed 305550@main (5d65f877ee23): <https://commits.webkit.org/305550@main> Reviewed commits have been landed. Closing PR #56485 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-01-13 16:35:15 PST
Lauro Moura
Comment 4 2026-01-14 06:14:25 PST
Reopening as it was missing the EWS step fix.
Lauro Moura
Comment 5 2026-01-14 06:18:01 PST
EWS
Comment 6 2026-01-14 11:32:47 PST
Committed 305594@main (b96062289eca): <https://commits.webkit.org/305594@main> Reviewed commits have been landed. Closing PR #56558 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.