<?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>255873</bug_id>
          
          <creation_ts>2023-04-24 08:54:06 -0700</creation_ts>
          <short_desc>REGRESSION: iOS layout tests intermittently failing with TypeError: &apos;NoneType&apos; object is not subscriptable in _test_passes_fuzzy_matching</short_desc>
          <delta_ts>2023-05-10 11:50:35 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=239780</see_also>
          <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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Ryan Haddad">ryanhaddad</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>jbedard</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1950776</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2023-04-24 08:54:06 -0700</bug_when>
    <thetext>iOS layout tests on EWS appear to be intermittently failing with the following exception:

Traceback (most recent call last):
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-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;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 522, in run
    run_details = manager.run(args)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py&quot;, line 413, 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;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py&quot;, line 487, 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;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py&quot;, line 570, in _run_tests
    return self._runner.run_tests(self._expectations[device_type], new_test_inputs, num_workers, retrying, device_type)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py&quot;, line 180, in run_tests
    pool.wait()
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py&quot;, line 432, in wait
    self.queue.receive()(self)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py&quot;, line 134, in __call__
    reraise(*self.exc_info)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/six.py&quot;, line 702, in reraise
    raise value.with_traceback(tb)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py&quot;, line 303, in main
    queue.send(_Result(value=task(None), id=task.id))
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py&quot;, line 56, in __call__
    return self.function(*self.args, **self.kwargs)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py&quot;, line 77, in run_shard
    return Worker.instance.run_tests(shard)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py&quot;, line 319, in run_tests
    Worker.instance.run_test(input, shard.name)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py&quot;, line 347, in run_test
    result = self._run_test_with_or_without_timeout(test_input, test_timeout_sec, stop_when_done)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py&quot;, line 404, in _run_test_with_or_without_timeout
    return self._run_test_in_this_thread(test_input, stop_when_done)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py&quot;, line 490, in _run_test_in_this_thread
    return self._run_single_test(self._driver, test_input, stop_when_done)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py&quot;, line 493, in _run_single_test
    return single_test_runner.run_single_test(
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py&quot;, line 48, in run_single_test
    return runner.run()
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py&quot;, line 123, in run
    return self._run_reftest()
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py&quot;, line 370, in _run_reftest
    test_result = self._compare_output_with_reference(reference_output, test_output, reference_filename, expectation == &apos;!=&apos;)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py&quot;, line 476, in _compare_output_with_reference
    diff_result.passed = self._test_passes_fuzzy_matching(fuzzy_tolerance, diff_result.fuzzy_data)
  File &quot;/Volumes/Data/worker/iOS-16-Simulator-WPT-WK2-Tests-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py&quot;, line 431, in _test_passes_fuzzy_matching
    actualMaxDifference = fuzzy_result[&apos;max_difference&apos;]
TypeError: &apos;NoneType&apos; object is not subscriptable (from worker/0)

https://ews-build.webkit.org/#/builders/39/builds/1913/steps/17/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950777</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2023-04-24 08:54:38 -0700</bug_when>
    <thetext>I think this is a new issue that may have started when we updated to iOS 16.4 and/or moved to new macOS hardware.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950778</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-24 08:55:00 -0700</bug_when>
    <thetext>&lt;rdar://problem/108455505&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951356</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2023-04-26 10:07:57 -0700</bug_when>
    <thetext>https://ews-build.webkit.org/#/builders/15/builds/4729 happened here on all three layout test attempts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952712</commentid>
    <comment_count>4</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2023-05-03 13:10:41 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13412</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952723</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-03 13:49:45 -0700</bug_when>
    <thetext>Committed 263649@main (2e9ec190c7f6): &lt;https://commits.webkit.org/263649@main&gt;

Reviewed commits have been landed. Closing PR #13412 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954419</commentid>
    <comment_count>6</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2023-05-10 11:44:59 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/apple/WebKit/pull/593</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954427</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-10 11:50:30 -0700</bug_when>
    <thetext>Committed 259548.750@safari-7615-branch (47c1f159af10): &lt;https://commits.webkit.org/259548.750@safari-7615-branch&gt;

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

    </bug>

</bugzilla>