<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>305370</bug_id>
          
          <creation_ts>2026-01-13 01:26:09 -0800</creation_ts>
          <short_desc>[Tools][CI] Fix command getting the Linux OS release</short_desc>
          <delta_ts>2026-01-14 11:32:49 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Lauro Moura">lmoura</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2171372</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2026-01-13 01:26:09 -0800</bug_when>
    <thetext>305293@main added a small snippet to the PrintConfiguration ShellSequence, but currently it&apos;s failing with:

Upon execvpe b&apos;if test -f /etc/build-info; then cat /etc/build-info; else cat /etc/os-release; fi&apos; [b&apos;if test -f /etc/build-info; then cat /etc/build-info; else cat /etc/os-release; fi&apos;] in environment id 140083630866496
:Traceback (most recent call last):
  File &quot;/home/buildbot-worker/.venv/lib/python3.11/site-packages/twisted/internet/process.py&quot;, line 433, in _fork
    self._execChild(path, uid, gid, executable, args, environment)
  File &quot;/home/buildbot-worker/.venv/lib/python3.11/site-packages/twisted/internet/process.py&quot;, line 504, in _execChild
    os.execvpe(executable, args, environment)
  File &quot;&lt;frozen os&gt;&quot;, line 583, in execvpe
  File &quot;&lt;frozen os&gt;&quot;, line 597, in _execvpe
FileNotFoundError: [Errno 2] No such file or directory: b&apos;if test -f /etc/build-info; then cat /etc/build-info; else cat /etc/os-release; fi&apos;

IIUC, we should wrap the command in a &quot;bash -c ...&quot; invocation, so ShellCommand can spanw it properly.

Patch incoming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171381</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2026-01-13 02:51:20 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56485</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171615</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-13 16:34:11 -0800</bug_when>
    <thetext>Committed 305550@main (5d65f877ee23): &lt;https://commits.webkit.org/305550@main&gt;

Reviewed commits have been landed. Closing PR #56485 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171616</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-01-13 16:35:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/168103494&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171779</commentid>
    <comment_count>4</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2026-01-14 06:14:25 -0800</bug_when>
    <thetext>Reopening as it was missing the EWS step fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171781</commentid>
    <comment_count>5</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2026-01-14 06:18:01 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56558</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171890</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-14 11:32:47 -0800</bug_when>
    <thetext>Committed 305594@main (b96062289eca): &lt;https://commits.webkit.org/305594@main&gt;

Reviewed commits have been landed. Closing PR #56558 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>