<?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>227114</bug_id>
          
          <creation_ts>2021-06-17 02:13:30 -0700</creation_ts>
          <short_desc>[Win] Exception running layout tests</short_desc>
          <delta_ts>2021-06-17 11:25:21 -0700</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="Per Arne Vollan">pvollan</reporter>
          <assigned_to name="Per Arne Vollan">pvollan</assigned_to>
          <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1770555</commentid>
    <comment_count>0</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2021-06-17 02:13:30 -0700</bug_when>
    <thetext>From https://ews-build.webkit.org/#/builders/10/builds/96013:

OSError raised: [Errno 3] No such process
Traceback (most recent call last):
  File &quot;/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 92, in main
    run_details = run(port, options, args, stderr)
  File &quot;/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 487, in run
    run_details = manager.run(args)
  File &quot;/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py&quot;, line 408, in run
    temp_initial_results, temp_retry_results, temp_enabled_pixel_tests_in_retry = self._run_test_subset(test_inputs, device_type=device_type)
  File &quot;/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py&quot;, line 482, in _run_test_subset
    initial_results = self._run_tests(test_inputs, self._options.repeat_each, self._options.iterations, int(self._options.child_processes), retrying=False, device_type=device_type)
  File &quot;/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py&quot;, line 561, in _run_tests
    return self._runner.run_tests(self._expectations[device_type], new_test_inputs, num_workers, retrying, device_type)
  File &quot;/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py&quot;, line 179, in run_tests
    pool.wait()
  File &quot;/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py&quot;, line 462, in __exit__
    os.kill(worker.pid, signal.SIGKILL)
OSError: [Errno 3] No such process</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770559</commentid>
    <comment_count>1</comment_count>
      <attachid>431640</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2021-06-17 02:21:30 -0700</bug_when>
    <thetext>Created attachment 431640
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770659</commentid>
    <comment_count>2</comment_count>
      <attachid>431640</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2021-06-17 09:01:18 -0700</bug_when>
    <thetext>Comment on attachment 431640
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=431640&amp;action=review

&gt; Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py:464
&gt; +                    except Exception:

I think we should catch an OSError explicitly (in Python, Exception rather annoyingly includes things like syntax errors since it&apos;s an interpreted language), and probably log the PID of worker, since we have multiple workers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770676</commentid>
    <comment_count>3</comment_count>
      <attachid>431681</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2021-06-17 09:21:55 -0700</bug_when>
    <thetext>Created attachment 431681
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770677</commentid>
    <comment_count>4</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2021-06-17 09:22:26 -0700</bug_when>
    <thetext>(In reply to Jonathan Bedard from comment #2)
&gt; Comment on attachment 431640 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=431640&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py:464
&gt; &gt; +                    except Exception:
&gt; 
&gt; I think we should catch an OSError explicitly (in Python, Exception rather
&gt; annoyingly includes things like syntax errors since it&apos;s an interpreted
&gt; language), and probably log the PID of worker, since we have multiple
&gt; workers.

Done!

Thanks for reviewing!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770727</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-06-17 11:25:00 -0700</bug_when>
    <thetext>Committed r278998 (238923@main): &lt;https://commits.webkit.org/238923@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 431681.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770728</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-06-17 11:25:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/79461864&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>431640</attachid>
            <date>2021-06-17 02:21:30 -0700</date>
            <delta_ts>2021-06-17 09:21:51 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-227114-20210617112128.patch</filename>
            <type>text/plain</type>
            <size>1445</size>
            <attacher name="Per Arne Vollan">pvollan</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI3ODk3OCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE1IEBACisyMDIxLTA2LTE3ICBQZXIgQXJuZSBWb2xsYW4gIDxwdm9sbGFuQGFwcGxlLmNv
bT4KKworICAgICAgICBbV2luXSBFeGNlcHRpb24gcnVubmluZyBsYXlvdXQgdGVzdHMKKyAgICAg
ICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIyNzExNAorCisgICAg
ICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIENhdGNoIGV4Y2VwdGlv
biBhbmQgcHJpbnQgd2FybmluZyBtZXNzYWdlLgorCisgICAgICAgICogU2NyaXB0cy9saWJyYXJp
ZXMvd2Via2l0Y29yZXB5L3dlYmtpdGNvcmVweS90YXNrX3Bvb2wucHk6CisgICAgICAgIChUYXNr
UG9vbC5fX2V4aXRfXyk6CisKIDIwMjEtMDYtMTcgIENhcmxvcyBHYXJjaWEgQ2FtcG9zICA8Y2dh
cmNpYUBpZ2FsaWEuY29tPgogCiAgICAgICAgIFtHTElCXSBQYXNzIGEgR1Rsc0NlcnRpZmljYXRl
IHRvIHNvdXBfc2VydmVyX25ldygpCkluZGV4OiBUb29scy9TY3JpcHRzL2xpYnJhcmllcy93ZWJr
aXRjb3JlcHkvd2Via2l0Y29yZXB5L3Rhc2tfcG9vbC5weQo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9T
Y3JpcHRzL2xpYnJhcmllcy93ZWJraXRjb3JlcHkvd2Via2l0Y29yZXB5L3Rhc2tfcG9vbC5weQko
cmV2aXNpb24gMjc4ODAwKQorKysgVG9vbHMvU2NyaXB0cy9saWJyYXJpZXMvd2Via2l0Y29yZXB5
L3dlYmtpdGNvcmVweS90YXNrX3Bvb2wucHkJKHdvcmtpbmcgY29weSkKQEAgLTQ1OSw3ICs0NTks
MTAgQEAgY2xhc3MgVGFza1Bvb2wob2JqZWN0KToKICAgICAgICAgICAgICAgICBpZiBzeXMudmVy
c2lvbl9pbmZvID49ICgzLCA3KToKICAgICAgICAgICAgICAgICAgICAgd29ya2VyLmtpbGwoKQog
ICAgICAgICAgICAgICAgIGVsaWYgaGFzYXR0cihzaWduYWwsICdTSUdLSUxMJyk6Ci0gICAgICAg
ICAgICAgICAgICAgIG9zLmtpbGwod29ya2VyLnBpZCwgc2lnbmFsLlNJR0tJTEwpCisgICAgICAg
ICAgICAgICAgICAgIHRyeToKKyAgICAgICAgICAgICAgICAgICAgICAgIG9zLmtpbGwod29ya2Vy
LnBpZCwgc2lnbmFsLlNJR0tJTEwpCisgICAgICAgICAgICAgICAgICAgIGV4Y2VwdCBFeGNlcHRp
b246CisgICAgICAgICAgICAgICAgICAgICAgICBsb2cud2FybignRmFpbGVkIHRvIHRlcm1pbmF0
ZSB3b3JrZXIuJykKICAgICAgICAgICAgICAgICBlbHNlOgogICAgICAgICAgICAgICAgICAgICB3
b3JrZXIudGVybWluYXRlKCkKIAo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>431681</attachid>
            <date>2021-06-17 09:21:55 -0700</date>
            <delta_ts>2021-06-17 11:25:00 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-227114-20210617182153.patch</filename>
            <type>text/plain</type>
            <size>1492</size>
            <attacher name="Per Arne Vollan">pvollan</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI3ODk3OCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE1IEBACisyMDIxLTA2LTE3ICBQZXIgQXJuZSBWb2xsYW4gIDxwdm9sbGFuQGFwcGxlLmNv
bT4KKworICAgICAgICBbV2luXSBFeGNlcHRpb24gcnVubmluZyBsYXlvdXQgdGVzdHMKKyAgICAg
ICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIyNzExNAorCisgICAg
ICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIENhdGNoIGV4Y2VwdGlv
biBhbmQgcHJpbnQgd2FybmluZyBtZXNzYWdlLgorCisgICAgICAgICogU2NyaXB0cy9saWJyYXJp
ZXMvd2Via2l0Y29yZXB5L3dlYmtpdGNvcmVweS90YXNrX3Bvb2wucHk6CisgICAgICAgIChUYXNr
UG9vbC5fX2V4aXRfXyk6CisKIDIwMjEtMDYtMTcgIENhcmxvcyBHYXJjaWEgQ2FtcG9zICA8Y2dh
cmNpYUBpZ2FsaWEuY29tPgogCiAgICAgICAgIFtHTElCXSBQYXNzIGEgR1Rsc0NlcnRpZmljYXRl
IHRvIHNvdXBfc2VydmVyX25ldygpCkluZGV4OiBUb29scy9TY3JpcHRzL2xpYnJhcmllcy93ZWJr
aXRjb3JlcHkvd2Via2l0Y29yZXB5L3Rhc2tfcG9vbC5weQo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9T
Y3JpcHRzL2xpYnJhcmllcy93ZWJraXRjb3JlcHkvd2Via2l0Y29yZXB5L3Rhc2tfcG9vbC5weQko
cmV2aXNpb24gMjc4ODAwKQorKysgVG9vbHMvU2NyaXB0cy9saWJyYXJpZXMvd2Via2l0Y29yZXB5
L3dlYmtpdGNvcmVweS90YXNrX3Bvb2wucHkJKHdvcmtpbmcgY29weSkKQEAgLTQ1OSw3ICs0NTks
MTAgQEAgY2xhc3MgVGFza1Bvb2wob2JqZWN0KToKICAgICAgICAgICAgICAgICBpZiBzeXMudmVy
c2lvbl9pbmZvID49ICgzLCA3KToKICAgICAgICAgICAgICAgICAgICAgd29ya2VyLmtpbGwoKQog
ICAgICAgICAgICAgICAgIGVsaWYgaGFzYXR0cihzaWduYWwsICdTSUdLSUxMJyk6Ci0gICAgICAg
ICAgICAgICAgICAgIG9zLmtpbGwod29ya2VyLnBpZCwgc2lnbmFsLlNJR0tJTEwpCisgICAgICAg
ICAgICAgICAgICAgIHRyeToKKyAgICAgICAgICAgICAgICAgICAgICAgIG9zLmtpbGwod29ya2Vy
LnBpZCwgc2lnbmFsLlNJR0tJTEwpCisgICAgICAgICAgICAgICAgICAgIGV4Y2VwdCBPU0Vycm9y
IGFzIGU6CisgICAgICAgICAgICAgICAgICAgICAgICBsb2cud2FybignRmFpbGVkIHRvIHRlcm1p
bmF0ZSB3b3JrZXIgJyArIHN0cih3b3JrZXIucGlkKSArICcgd2l0aCBlcnJvciAnICsgc3RyKGUp
KQogICAgICAgICAgICAgICAgIGVsc2U6CiAgICAgICAgICAgICAgICAgICAgIHdvcmtlci50ZXJt
aW5hdGUoKQogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>