Bug 305370
| Summary: | [Tools][CI] Fix command getting the Linux OS release | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
| Component: | Tools / Tests | Assignee: | Lauro Moura <lmoura> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Lauro Moura
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/56485
EWS
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
<rdar://problem/168103494>
Lauro Moura
Reopening as it was missing the EWS step fix.
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/56558
EWS
Committed 305594@main (b96062289eca): <https://commits.webkit.org/305594@main>
Reviewed commits have been landed. Closing PR #56558 and removing active labels.