<?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>257235</bug_id>
          
          <creation_ts>2023-05-23 16:02:06 -0700</creation_ts>
          <short_desc>[ iPhone XS+ ] 3X TestWebKitAPI.WKWebView (API-Tests) are constant failures</short_desc>
          <delta_ts>2023-05-24 17:12:00 -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>WebKit API</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>257246</dup_id>
          
          <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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1957472</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-23 16:02:06 -0700</bug_when>
    <thetext>TestWebKitAPI.WKWebView.SnapshotAfterScreenUpdates
TestWebKitAPI.WKWebView.SnapshotImageBaseCase
TestWebKitAPI.WKWebView.SnapshotWithoutAfterScreenUpdates

are constant failures on iOS 16 Debug when run on iPhone XS simulator and higher. 

HISTORY:
https://results.webkit.org/?suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWebKitAPI.WKWebView.SnapshotAfterScreenUpdates&amp;test=TestWebKitAPI.WKWebView.SnapshotImageBaseCase&amp;test=TestWebKitAPI.WKWebView.SnapshotWithoutAfterScreenUpdates

According to the history, these are all passing. However, the simulator we are currently using is iPhone SE (3rd gen). These tests fail on iPhone XS and higher, and we want to change our current simulator for API tests from iPhone SE to iPhone 12. So these tests may need to be adjusted. 

STDIO FAILURE TEXT:
    TestWebKitAPI.WKWebView.SnapshotAfterScreenUpdates
        LEAK: 1 WebProcessPool

        /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm:507
        Expected equality of these values:
          0
          rgba[pixelIndex]
            Which is: &apos;\xFF&apos; (255)


        /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm:508
        Expected equality of these values:
          0
          rgba[pixelIndex + 1]
            Which is: &apos;\xFF&apos; (255)


    TestWebKitAPI.WKWebView.SnapshotImageBaseCase
        LEAK: 1 WebProcessPool

        /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm:292
        Expected equality of these values:
          0
          rgba[pixelIndex]
            Which is: &apos;\xFF&apos; (255)


        /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm:294
        Expected equality of these values:
          255
          rgba[pixelIndex + 2]
            Which is: &apos;\0&apos;


    TestWebKitAPI.WKWebView.SnapshotWithoutAfterScreenUpdates
        LEAK: 1 WebProcessPool

        /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm:570
        Expected equality of these values:
          0
          rgba[pixelIndex]
            Which is: &apos;\xFF&apos; (255)


        /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm:571
        Expected equality of these values:
          0
          rgba[pixelIndex + 1]
            Which is: &apos;\xFF&apos; (255)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957473</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-23 16:03:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/109743641&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957475</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-23 16:05:12 -0700</bug_when>
    <thetext>These are very easy to reproduce at iOS 16 Debug ToT running the tests as follows:


run-api-tests --iOS-simulator &lt;test_goes_here&gt;

You will specifically need to boot an iPhone XS or higher simulator to reproduce the failure. After you have chosen your booted simulator it will choose to run on that simulated device, and not the one that we have set for our testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957759</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-24 17:10:03 -0700</bug_when>
    <thetext>*** Bug 257228 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957761</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-24 17:10:28 -0700</bug_when>
    <thetext>*** Bug 257239 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957762</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-24 17:12:00 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 257246 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>