<?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>231618</bug_id>
          
          <creation_ts>2021-10-12 14:22:26 -0700</creation_ts>
          <short_desc>[ iOS ] fast/mediastream/apply-constraints-video.html is a flaky failure</short_desc>
          <delta_ts>2022-07-01 12:22:39 -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>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>hhjalmarsson</cc>
    
    <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>1803380</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-12 14:22:26 -0700</bug_when>
    <thetext>fast/mediastream/apply-constraints-video.html 

Is a flaky failure on iOS 15 Release.

History: https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fmediastream%2Fapply-constraints-video.html

Result page: https://build.webkit.org/results/Apple-iPadOS-15-Simulator-Release-WK2-Tests/r283983%20(128)/results.html

Diff:

--- /Volumes/Data/worker/ipados-simulator-15-release-tests-wk2/build/layout-test-results/fast/mediastream/apply-constraints-video-expected.txt
+++ /Volumes/Data/worker/ipados-simulator-15-release-tests-wk2/build/layout-test-results/fast/mediastream/apply-constraints-video-actual.txt
@@ -1,76 +1,5 @@
-Tests applyConstraints on a video stream track.
-
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
-
-
-PASS stream.getVideoTracks().length is 1
-PASS stream.getAudioTracks().length is 0
-PASS video.videoTracks.length is 1
-PASS video.audioTracks.length is 0
-
-** Constraint: {&quot;width&quot;:640,&quot;height&quot;:480,&quot;frameRate&quot;:30} - set width, height, and frame rate to valid values.
-PASS settings[&apos;width&apos;] is 640
-PASS settings[&apos;height&apos;] is 480
-PASS settings[&apos;frameRate&apos;] is 30
-
-** Constraint: {&quot;width&quot;:320,&quot;height&quot;:240} - change width and height, frame rate should remain unchanged.
-PASS settings[&apos;width&apos;] is 320
-PASS settings[&apos;height&apos;] is 240
-PASS settings[&apos;frameRate&apos;] is 30
-
-** Constraint: {&quot;width&quot;:{&quot;exact&quot;:3000}} - the &apos;exact&apos; constraint can&apos;t be satisfied, promise should reject and no settings should change.
-PASS Promise was rejected
-PASS error.constraint is &quot;width&quot;
-PASS settings[&apos;width&apos;] is 320
-PASS settings[&apos;height&apos;] is 240
-PASS settings[&apos;frameRate&apos;] is 30
-
-** Constraint: {&quot;width&quot;:640,&quot;height&quot;:{&quot;min&quot;:3000}} - the &apos;min&apos; constraint can&apos;t be satisfied, promise should reject and no settings should change.
-PASS Promise was rejected
-PASS error.constraint is &quot;height&quot;
-PASS settings[&apos;width&apos;] is 320
-PASS settings[&apos;height&apos;] is 240
-PASS settings[&apos;frameRate&apos;] is 30
-
-** Constraint: {&quot;frameRate&quot;:{&quot;max&quot;:8}} - the &apos;max&apos; constraint can&apos;t be satisfied, promise should reject and no settings should change.
-PASS Promise was rejected
-PASS error.constraint is &quot;frameRate&quot;
-PASS settings[&apos;frameRate&apos;] is 30
-
-** Constraint: {&quot;width&quot;:{&quot;exact&quot;:640}} - the &apos;exact&apos; constraint can be satisfied.
-PASS settings[&apos;width&apos;] is 640
-PASS settings[&apos;height&apos;] is 480
-
-** Constraint: {&quot;width&quot;:{&quot;min&quot;:300,&quot;ideal&quot;:5000}} - the &apos;ideal&apos; constraint can&apos;t be satisfied but the &apos;min&apos; can, maximum value should be chosen.
-PASS settings[&apos;width&apos;] is 2560
-PASS settings[&apos;height&apos;] is 1440
-
-** Constraint: {&quot;width&quot;:{&quot;min&quot;:320,&quot;ideal&quot;:640},&quot;height&quot;:{&quot;min&quot;:480,&quot;ideal&quot;:720}} - &apos;ideal&apos; and &apos;min&apos; constraints can be satisfied, &apos;ideal&apos; should be chosen.
-PASS settings[&apos;width&apos;] is 640
-PASS settings[&apos;height&apos;] is 720
-
-** Constraint: {&quot;width&quot;:5000} - ideal width is greater than track capability, should be clamped to the maximum value.
-PASS settings[&apos;width&apos;] is 2560
-
-** Constraint: {&quot;width&quot;:100,&quot;height&quot;:100,&quot;frameRate&quot;:0.5} - frameRate value is less than track capabilities, should be clamped to the minimum values.
-PASS settings[&apos;width&apos;] is 100
-PASS settings[&apos;height&apos;] is 100
-PASS settings[&apos;frameRate&apos;] is 1
-
-** Constraint: {&quot;frameRate&quot;:20} - set frame rate, width and height should remain unchanged
-PASS settings[&apos;width&apos;] is 100
-PASS settings[&apos;height&apos;] is 100
-PASS settings[&apos;frameRate&apos;] is 20
-
-** Constraint: {&quot;facingMode&quot;:&quot;xnvironment&quot;,&quot;height&quot;:720} - illegal facing mode value should be ignored, height should change.
-PASS settings[&apos;facingMode&apos;] is &quot;user&quot;
-PASS settings[&apos;width&apos;] is 1280
-PASS settings[&apos;height&apos;] is 720
-
-** Constraint: {&quot;WITDH&quot;:400,&quot;frameRate&quot;:30} - unknown constraint should be ignored, frame rate should change.
-PASS settings[&apos;width&apos;] is 1280
-PASS settings[&apos;frameRate&apos;] is 30
-
+CONSOLE MESSAGE: Failed to create MediaStream video source: Request is not allowed
+FAIL Stream setup failed with error: NotReadableError: The I/O read operation failed.
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1803381</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-12 14:22:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/84166237&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1803390</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-12 14:28:47 -0700</bug_when>
    <thetext>Updated test expectations https://trac.webkit.org/changeset/284030/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1805129</commentid>
    <comment_count>3</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-15 16:48:06 -0700</bug_when>
    <thetext>I was not albe to reproduce the failure locally on iOS 15 simulator using run-webkit-tests --ios-simulator --iterations 500 --exit-after-n-failures 1 fast/mediastream/apply-constraints-video.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1870490</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-05-19 11:44:39 -0700</bug_when>
    <thetext>This test is consistently passing now, let&apos;s remove the flaky expectation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1880077</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-07-01 12:22:13 -0700</bug_when>
    <thetext>Test gardening commit 252061@main (ca4d6e3ace33): &lt;https://commits.webkit.org/252061@main&gt;

Reviewed commits have been landed. Closing PR #2005 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1880079</commentid>
    <comment_count>6</comment_count>
    <who name="Hercules Hjalmarsson">hhjalmarsson</who>
    <bug_when>2022-07-01 12:22:39 -0700</bug_when>
    <thetext>(In reply to EWS from comment #5)
&gt; Test gardening commit 252061@main (ca4d6e3ace33):
&gt; &lt;https://commits.webkit.org/252061@main&gt;
&gt; 
&gt; Reviewed commits have been landed. Closing PR #2005 and removing active
&gt; labels.

Removed expectations in above commit.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>