<?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>228334</bug_id>
          
          <creation_ts>2021-07-27 10:57:39 -0700</creation_ts>
          <short_desc>[ iOS ] media/track/track-forced-subtitles-in-band.html is a flaky timeout</short_desc>
          <delta_ts>2022-07-15 17:37:47 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=242804</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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</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>1779784</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-27 10:57:39 -0700</bug_when>
    <thetext>media/track/track-forced-subtitles-in-band.html

Is a flaky timeout on iOS 14 E Simulator wk2.

History: https://results.webkit.org/?suite=layout-tests&amp;test=media%2Ftrack%2Ftrack-forced-subtitles-in-band.html

Diff: 

--- /Volumes/Data/worker/ipados-simulator-14-release-tests-wk2/build/layout-test-results/media/track/track-forced-subtitles-in-band-expected.txt
+++ /Volumes/Data/worker/ipados-simulator-14-release-tests-wk2/build/layout-test-results/media/track/track-forced-subtitles-in-band-actual.txt
@@ -1,58 +1,4 @@
-Tests that forced subtitles are enable automatically.
+#PID UNRESPONSIVE - WebKitTestRunnerApp (pid 55989)
+FAIL: Timed out waiting for notifyDone to be called
 
-
-RUN(internals.settings.setShouldDisplayTrackKind(&apos;Captions&apos;, false))
-RUN(internals.settings.setShouldDisplayTrackKind(&apos;Subtitles&apos;, true))
-RUN(internals.setUserPreferredLanguages([&apos;en&apos;]))
-RUN(internals.setPrimaryAudioTrackLanguageOverride(&apos;fr&apos;))
-RUN(internals.setCaptionDisplayMode(&apos;ForcedOnly&apos;))
-EVENT(canplaythrough)
-
-** Forced tracks should be in .textTracks, but not in the menu
-EXPECTED (video.textTracks.length == &apos;9&apos;) OK
-
-** Only the &apos;fr&apos; forced track should be showing
-EXPECTED (video.textTracks[0].language == &apos;en&apos;) OK
-EXPECTED (video.textTracks[0].kind == &apos;subtitles&apos;) OK
-EXPECTED (video.textTracks[0].mode == &apos;disabled&apos;) OK
-
-EXPECTED (video.textTracks[1].language == &apos;en&apos;) OK
-EXPECTED (video.textTracks[1].kind == &apos;forced&apos;) OK
-EXPECTED (video.textTracks[1].mode == &apos;disabled&apos;) OK
-
-EXPECTED (video.textTracks[2].language == &apos;fr&apos;) OK
-EXPECTED (video.textTracks[2].kind == &apos;subtitles&apos;) OK
-EXPECTED (video.textTracks[2].mode == &apos;disabled&apos;) OK
-
-EXPECTED (video.textTracks[3].language == &apos;fr&apos;) OK
-EXPECTED (video.textTracks[3].kind == &apos;forced&apos;) OK
-EXPECTED (video.textTracks[3].mode == &apos;showing&apos;) OK
-
-EXPECTED (video.textTracks[4].language == &apos;es&apos;) OK
-EXPECTED (video.textTracks[4].kind == &apos;subtitles&apos;) OK
-EXPECTED (video.textTracks[4].mode == &apos;disabled&apos;) OK
-
-EXPECTED (video.textTracks[5].language == &apos;es&apos;) OK
-EXPECTED (video.textTracks[5].kind == &apos;forced&apos;) OK
-EXPECTED (video.textTracks[5].mode == &apos;disabled&apos;) OK
-
-EXPECTED (video.textTracks[6].language == &apos;de&apos;) OK
-EXPECTED (video.textTracks[6].kind == &apos;subtitles&apos;) OK
-EXPECTED (video.textTracks[6].mode == &apos;disabled&apos;) OK
-
-EXPECTED (video.textTracks[7].language == &apos;de&apos;) OK
-EXPECTED (video.textTracks[7].kind == &apos;forced&apos;) OK
-EXPECTED (video.textTracks[7].mode == &apos;disabled&apos;) OK
-
-EXPECTED (video.textTracks[8].language == &apos;en&apos;) OK
-EXPECTED (video.textTracks[8].kind == &apos;captions&apos;) OK
-EXPECTED (video.textTracks[8].mode == &apos;disabled&apos;) OK
-
-RUN(video.currentTime = 9.5)
-
-EVENT(seeked)
-EVENT(cuechange)
-EXPECTED (video.textTracks[3].activeCues.length == &apos;1&apos;) OK
-
-END OF TEST
-
+#EOF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1779803</commentid>
    <comment_count>1</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-27 11:44:07 -0700</bug_when>
    <thetext>This timeouts are also reported here:
https://bugs.webkit.org/show_bug.cgi?id=137505
rdar://52700185

The flaky timeouts reported above might be related to the one I see this time because it seems that the bug has never been fixed.

I was able to reproduce the timeout on iOS 15 simulator on my local machine using:

run-webkit-tests --ios-simulator --iterations 500  --exit-after-n-failures 2 --exit-after-n-crashes-or-timeouts 2 media/track/track-forced-subtitles-in-band.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1779805</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-07-27 11:46:31 -0700</bug_when>
    <thetext>&lt;rdar://problem/81174158&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1779810</commentid>
    <comment_count>3</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-27 11:55:47 -0700</bug_when>
    <thetext>Updated test expectations https://trac.webkit.org/changeset/280348/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>