<?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>237392</bug_id>
          
          <creation_ts>2022-03-02 14:06:10 -0800</creation_ts>
          <short_desc>REGRESSION (r290658): 2X fast/mediastream/getUserMedia-to-canvas (layout-tests) are constant text failures</short_desc>
          <delta_ts>2022-03-02 18:46:18 -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>WebRTC</component>
          <version>WebKit Nightly Build</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=237042</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1847610</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-03-02 14:06:10 -0800</bug_when>
    <thetext>The following two fast/mediastream/getUserMedia-to-canvas layout-tests are constant text failures on iOS15:

fast/mediastream/getUserMedia-to-canvas-1.html
fast/mediastream/getUserMedia-to-canvas-2.html

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=fast%2Fmediastream%2FgetUserMedia-to-canvas-1.html&amp;test=fast%2Fmediastream%2FgetUserMedia-to-canvas-2.html

TEXT DIFF for &quot;fast/mediastream/getUserMedia-to-canvas-1.html&quot;:
 PASS func: with2DContext, angle: 0, imageBitmap: false
 PASS func: with2DContext, angle: 0, imageBitmap: true
-PASS func: with2DContext, angle: 90, imageBitmap: false
-PASS func: with2DContext, angle: 90, imageBitmap: true
-PASS func: with2DContext, angle: 180, imageBitmap: false
-PASS func: with2DContext, angle: 180, imageBitmap: true
+FAIL func: with2DContext, angle: 90, imageBitmap: false assert_array_approx_equals: white rect not found func: with2DContext, angle: 90, imageBitmap: false property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: with2DContext, angle: 90, imageBitmap: true assert_array_approx_equals: white rect not found func: with2DContext, angle: 90, imageBitmap: true property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: with2DContext, angle: 180, imageBitmap: false assert_array_approx_equals: white rect not found func: with2DContext, angle: 180, imageBitmap: false property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: with2DContext, angle: 180, imageBitmap: true assert_array_approx_equals: white rect not found func: with2DContext, angle: 180, imageBitmap: true property 0, expected 255 +/- 11, expected 255 but got 0
 PASS func: withWebGL, angle: 0, imageBitmap: false, subImage: false, unpackFlipY: false
 PASS func: withWebGL, angle: 0, imageBitmap: false, subImage: false, unpackFlipY: true
 PASS func: withWebGL, angle: 0, imageBitmap: false, subImage: true, unpackFlipY: false
@@ -13,5 +13,5 @@
 PASS func: withWebGL, angle: 0, imageBitmap: true, subImage: false, unpackFlipY: true
 PASS func: withWebGL, angle: 0, imageBitmap: true, subImage: true, unpackFlipY: false
 PASS func: withWebGL, angle: 0, imageBitmap: true, subImage: true, unpackFlipY: true
-PASS func: withWebGL, angle: 90, imageBitmap: false, subImage: false, unpackFlipY: false
+FAIL func: withWebGL, angle: 90, imageBitmap: false, subImage: false, unpackFlipY: false assert_array_approx_equals: white rect not found func: withWebGL, angle: 90, imageBitmap: false, subImage: false, unpackFlipY: false property 0, expected 255 +/- 11, expected 255 but got 0

DIFF URL:
https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/r290667%20(1795)/fast/mediastream/getUserMedia-to-canvas-1-pretty-diff.html


TEXT DIFF for &quot;fast/mediastream/getUserMedia-to-canvas-2.html&quot;:
-PASS func: withWebGL, angle: 90, imageBitmap: false, subImage: false, unpackFlipY: true
-PASS func: withWebGL, angle: 90, imageBitmap: false, subImage: true, unpackFlipY: false
-PASS func: withWebGL, angle: 90, imageBitmap: false, subImage: true, unpackFlipY: true
-PASS func: withWebGL, angle: 90, imageBitmap: true, subImage: false, unpackFlipY: false
-PASS func: withWebGL, angle: 90, imageBitmap: true, subImage: false, unpackFlipY: true
-PASS func: withWebGL, angle: 90, imageBitmap: true, subImage: true, unpackFlipY: false
-PASS func: withWebGL, angle: 90, imageBitmap: true, subImage: true, unpackFlipY: true
-PASS func: withWebGL, angle: 180, imageBitmap: false, subImage: false, unpackFlipY: false
-PASS func: withWebGL, angle: 180, imageBitmap: false, subImage: false, unpackFlipY: true
-PASS func: withWebGL, angle: 180, imageBitmap: false, subImage: true, unpackFlipY: false
-PASS func: withWebGL, angle: 180, imageBitmap: false, subImage: true, unpackFlipY: true
-PASS func: withWebGL, angle: 180, imageBitmap: true, subImage: false, unpackFlipY: false
-PASS func: withWebGL, angle: 180, imageBitmap: true, subImage: false, unpackFlipY: true
-PASS func: withWebGL, angle: 180, imageBitmap: true, subImage: true, unpackFlipY: false
-PASS func: withWebGL, angle: 180, imageBitmap: true, subImage: true, unpackFlipY: true
+FAIL func: withWebGL, angle: 90, imageBitmap: false, subImage: false, unpackFlipY: true assert_array_approx_equals: white rect not found func: withWebGL, angle: 90, imageBitmap: false, subImage: false, unpackFlipY: true property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 90, imageBitmap: false, subImage: true, unpackFlipY: false assert_array_approx_equals: white rect not found func: withWebGL, angle: 90, imageBitmap: false, subImage: true, unpackFlipY: false property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 90, imageBitmap: false, subImage: true, unpackFlipY: true assert_array_approx_equals: white rect not found func: withWebGL, angle: 90, imageBitmap: false, subImage: true, unpackFlipY: true property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 90, imageBitmap: true, subImage: false, unpackFlipY: false assert_array_approx_equals: white rect not found func: withWebGL, angle: 90, imageBitmap: true, subImage: false, unpackFlipY: false property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 90, imageBitmap: true, subImage: false, unpackFlipY: true assert_array_approx_equals: white rect not found func: withWebGL, angle: 90, imageBitmap: true, subImage: false, unpackFlipY: true property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 90, imageBitmap: true, subImage: true, unpackFlipY: false assert_array_approx_equals: white rect not found func: withWebGL, angle: 90, imageBitmap: true, subImage: true, unpackFlipY: false property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 90, imageBitmap: true, subImage: true, unpackFlipY: true assert_array_approx_equals: white rect not found func: withWebGL, angle: 90, imageBitmap: true, subImage: true, unpackFlipY: true property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 180, imageBitmap: false, subImage: false, unpackFlipY: false assert_array_approx_equals: white rect not found func: withWebGL, angle: 180, imageBitmap: false, subImage: false, unpackFlipY: false property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 180, imageBitmap: false, subImage: false, unpackFlipY: true assert_array_approx_equals: white rect not found func: withWebGL, angle: 180, imageBitmap: false, subImage: false, unpackFlipY: true property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 180, imageBitmap: false, subImage: true, unpackFlipY: false assert_array_approx_equals: white rect not found func: withWebGL, angle: 180, imageBitmap: false, subImage: true, unpackFlipY: false property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 180, imageBitmap: false, subImage: true, unpackFlipY: true assert_array_approx_equals: white rect not found func: withWebGL, angle: 180, imageBitmap: false, subImage: true, unpackFlipY: true property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 180, imageBitmap: true, subImage: false, unpackFlipY: false assert_array_approx_equals: white rect not found func: withWebGL, angle: 180, imageBitmap: true, subImage: false, unpackFlipY: false property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 180, imageBitmap: true, subImage: false, unpackFlipY: true assert_array_approx_equals: white rect not found func: withWebGL, angle: 180, imageBitmap: true, subImage: false, unpackFlipY: true property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 180, imageBitmap: true, subImage: true, unpackFlipY: false assert_array_approx_equals: white rect not found func: withWebGL, angle: 180, imageBitmap: true, subImage: true, unpackFlipY: false property 0, expected 255 +/- 11, expected 255 but got 0
+FAIL func: withWebGL, angle: 180, imageBitmap: true, subImage: true, unpackFlipY: true assert_array_approx_equals: white rect not found func: withWebGL, angle: 180, imageBitmap: true, subImage: true, unpackFlipY: true property 0, expected 255 +/- 11, expected 255 but got 0
 

DIFF URL:
https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/r290667%20(1795)/fast/mediastream/getUserMedia-to-canvas-2-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847611</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-03-02 14:06:39 -0800</bug_when>
    <thetext>&lt;rdar://problem/89711530&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847615</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-03-02 14:11:02 -0800</bug_when>
    <thetext>Was able to reproduce on iOS15 Production ToT using the following test:

run-webkit-tests --iOS-simulator &lt;insert test name here&gt;

I was also able to bisect a regression point. Testing at r290658, did reproduce the failure. It also reproduced at r290657. However, When I checked out r290657 locally and ran testing on the same ToT revision, both tests passed. When I checked out r290658 locally, and ran again I got the failure. 

So it does look like r290658 caused these failures. 

https://github.com/WebKit/WebKit/commit/d08ae850cf27b3ef2f0c82a1bea1788a050c11f7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847617</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-03-02 14:13:49 -0800</bug_when>
    <thetext>I&apos;d also like to point out that these constant failures are slowing down EWS, seen here:

https://ews-build.webkit.org/#/builders/68/builds/9518</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847716</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-03-02 18:46:18 -0800</bug_when>
    <thetext>I have reverted the change that broke these tests here:

https://github.com/WebKit/WebKit/commit/fd21a61ddd42d7b93f4701b5b9523280839148d2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>