<?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>228204</bug_id>
          
          <creation_ts>2021-07-22 15:45:14 -0700</creation_ts>
          <short_desc>[iOS] media/video-presentation-mode.html is a flaky timeout</short_desc>
          <delta_ts>2021-07-26 12:48:20 -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>NEW</bug_status>
          <resolution></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>jer.noble</cc>
    
    <cc>peng.liu6</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>1778871</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-22 15:45:14 -0700</bug_when>
    <thetext>media/video-presentation-mode.html

Is a flaky timeout on iOS 14 E Simulator wk2.

History: https://results.webkit.org/?suite=layout-tests&amp;test=media%2Fvideo-presentation-mode.html

There is a bug about a crash seen on Big Sur Debug wk2: https://bugs.webkit.org/show_bug.cgi?id=221414

I am creating a separate bug for iOS since iOS is timing out instead of crashing.

I see one crash at r277964 (Crash Log URL: https://build.webkit.org/results/Apple-iOS-14-Simulator-Debug-WK2-Tests/r277964%20(1329)/media/video-presentation-mode-stderr.txt) which shows a very similar crash log to one reported in https://bugs.webkit.org/show_bug.cgi?id=221414

I was not able to reproduce the timeout on my local machine using run-webkit-tests -f --debug --exit-after-n-failures 2 --exit-after-n-crashes-or-timeouts 2 --ios-simulator --iterations 50 media/video-presentation-mode.html

Diff: 

==============================

--- /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/media/video-presentation-mode-expected.txt
+++ /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/media/video-presentation-mode-actual.txt
@@ -1,35 +1,4 @@
+#PID UNRESPONSIVE - WebKitTestRunnerApp (pid 31101)
+FAIL: Timed out waiting for notifyDone to be called
 
-Test the video presentation mode (video fullscreen and picture-in-picture) API.
-
-
-EVENT(canplaythrough)
-EXPECTED (video.webkitSupportsFullscreen == &apos;true&apos;) OK
-EXPECTED (video.webkitPresentationMode == &apos;inline&apos;) OK
-
-** Try to enter fullscreen
-RUN(video.webkitSetPresentationMode(&apos;fullscreen&apos;))
-EVENT(webkitpresentationmodechanged)
-
-** Received webkitpresentationmodechanged event
-EXPECTED (internals.isChangingPresentationMode(video) == &apos;false&apos;) OK
-EXPECTED (video.webkitPresentationMode == &apos;fullscreen&apos;) OK
-
-** Try to enter picture-in-picture
-RUN(video.webkitSetPresentationMode(&apos;picture-in-picture&apos;))
-EVENT(webkitpresentationmodechanged)
-
-** Received webkitpresentationmodechanged event
-EXPECTED (internals.isChangingPresentationMode(video) == &apos;false&apos;) OK
-EXPECTED (video.webkitPresentationMode == &apos;picture-in-picture&apos;) OK
-
-** Try to return to inline
-RUN(video.webkitSetPresentationMode(&apos;inline&apos;))
-EVENT(webkitpresentationmodechanged)
-
-** Received webkitpresentationmodechanged event
-EXPECTED (internals.isChangingPresentationMode(video) == &apos;false&apos;) OK
-EXPECTED (video.webkitPresentationMode == &apos;inline&apos;) OK
-
-** Test Completed
-END OF TEST
-
+#EOF

==============================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778872</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-07-22 15:45:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/80986580&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778881</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-22 16:03:08 -0700</bug_when>
    <thetext>Updated test expectations https://trac.webkit.org/changeset/280206/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>