<?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>231413</bug_id>
          
          <creation_ts>2021-10-07 22:41:35 -0700</creation_ts>
          <short_desc>REGRESSION(r283676) [WPE] Bots exiting early with lots of tests timing out</short_desc>
          <delta_ts>2021-10-07 23:12:21 -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 Misc.</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=231185</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1801933</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2021-10-07 22:41:35 -0700</bug_when>
    <thetext>Non-exhaustive list:

fast/canvas/webgl/texImage2D-video-flipY-false.html
fast/dom/focus-shift-crash.html
fast/events/constructors/track-event-constructor.html
fast/events/media-focus-in-standalone-media-document.html
fast/history/page-cache-media-source-closed-2.html
fast/history/page-cache-removed-source-buffer.html
fast/mediastream/apply-constraints-advanced.html
fast/mediastream/apply-constraints-audio.html
fast/mediastream/apply-constraints-video.html
fast/mediastream/captureStream/canvas2d-heavy-drawing.html
fast/mediastream/captureStream/canvas2d.html
fast/mediastream/get-user-media-on-loadedmetadata.html
fast/mediastream/local-audio-playing-event.html
fast/mediastream/media-stream-renders-first-frame.html
fast/mediastream/MediaStream-MediaElement-setObject-null.html
fast/mediastream/MediaStream-video-element-displays-buffer.html
fast/mediastream/MediaStream-video-element-remove-track.html
fast/mediastream/MediaStream-video-element-video-tracks-disabled.html
fast/mediastream/MediaStream-video-element.html
fast/rendering/iframe-window-animation-modifies-iframe-srcdoc-crash.html
fast/scrolling/scrolling-inside-scrolled-overflowarea.html
fullscreen/full-screen-iframe-legacy.html
fullscreen/fullscreen-restore-scroll-position.html
fullscreen/video-inside-flex-item.html
fullscreen/video-specified-size.html
http/tests/appcache/video.html
http/tests/cache/disk-cache/disk-cache-media-small.html
http/tests/contentextensions/media-filtered.html
http/tests/history/back-to-post.py	expected actual diff pretty diff 	history
http/tests/media/hls/hls-audio-tracks-has-audio.html
http/tests/media/hls/hls-audio-tracks.html
http/tests/media/hls/hls-progress.html
http/tests/media/media-document-referer.html
http/tests/media/media-document.html
http/tests/media/media-play-stream-chunked-icy.html
http/tests/media/media-seeking-no-ranges-server.html
http/tests/media/media-source/mediasource-play-then-seek-back-with-remote-control.html
http/tests/media/pdf-served-as-pdf.html
http/tests/media/reload-after-dialog.html
http/tests/media/remove-while-loading.html
http/tests/media/text-served-as-text.html
http/tests/media/track/track-webvtt-slow-loading-2.html
http/tests/media/track/track-webvtt-slow-loading.html
http/tests/misc/empty-urls.html
http/tests/navigation/page-cache-video.html

Many are timing out with errors creating the video element (methods like load, canPlayType, etc being undefined). for example, in `http/tests/misc/empty-urls.html`:


--- /home/lauro/dev/WebKit/layout-test-results/http/tests/misc/empty-urls-expected.txt
+++ /home/lauro/dev/WebKit/layout-test-results/http/tests/misc/empty-urls-actual.txt
@@ -1,7 +1,7 @@
+CONSOLE MESSAGE: TypeError: document.getElementById(&quot;video&quot;).load is not a function. (In &apos;document.getElementById(&quot;video&quot;).load()&apos;, &apos;document.getElementById(&quot;video&quot;).load&apos; is undefined)
+FAIL: Timed out waiting for notifyDone to be called
+
 PASS: img onerror fired
 PASS: input type=image onerror fired
 PASS: script onerror fired
-PASS: video src onerror fired
-PASS: audio onerror fired
-PASS: source onerror fired

In GTK, a similar set of tests were failing until r283707 reenabled visibility=hidden (started passing again since).


PS: There&apos;s also an issue bisecting where, if I went back in history a few commits, the test just times out without any output.

Testing on buildbox2, everything seems to be working there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801934</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2021-10-07 22:42:38 -0700</bug_when>
    <thetext>Fixing title (the right revision is r283676)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801936</commentid>
    <comment_count>2</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2021-10-07 22:53:09 -0700</bug_when>
    <thetext>&gt; PS: There&apos;s also an issue bisecting where, if I went back in history a few commits, the test just times out without any output.

And minibrowser hangs loading with this trace, crashing inside getNetworkProcessConnection() after the max number of failed attempts:

1   0x7f38a447bc99 WTFCrash
2   0x7f38a05637b5 WebKit::WebProcess::ensureNetworkProcessConnection()
3   0x7f38a056468c WebKit::WebProcess::initializeWebProcess(WebKit::WebProcessCreationParameters&amp;&amp;)
4   0x7f38a00cc584 /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-1.1.so.0(+0x208f584) [0x7f38a00cc584]
5   0x7f38a02cf705 IPC::Connection::dispatchMessage(std::unique_ptr&lt;IPC::Decoder, std::default_delete&lt;IPC::Decoder&gt; &gt;)
6   0x7f38a02d0d51 IPC::Connection::dispatchOneIncomingMessage()
7   0x7f38a449f414 WTF::RunLoop::performWork()
8   0x7f38a4508639 /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-1.1.so.0(+0x64cb639) [0x7f38a4508639]
9   0x7f38a4508fff /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-1.1.so.0(+0x64cbfff) [0x7f38a4508fff]
10  0x7f389d789294 g_main_context_dispatch
11  0x7f389d789638 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x58638) [0x7f389d789638]
12  0x7f389d789943 g_main_loop_run
13  0x7f38a4509140 WTF::RunLoop::run()
14  0x7f38a068bcac WebKit::WebProcessMain(int, char**)
15  0x7f389cfa3b90 __libc_start_main
16  0x55a97613e83e /app/webkit/WebKitBuild/Release/bin/WPEWebProcess(+0x83e) [0x55a97613e83e]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801938</commentid>
    <comment_count>3</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2021-10-07 23:12:21 -0700</bug_when>
    <thetext>(In reply to Lauro Moura from comment #2)
&gt; &gt; PS: There&apos;s also an issue bisecting where, if I went back in history a few commits, the test just times out without any output.
&gt; 
&gt; And minibrowser hangs loading with this trace, crashing inside
&gt; getNetworkProcessConnection() after the max number of failed attempts:
&gt; 

Just to be clear, this is the behavior when building a revision slightly older than r283676 after building r283676 itself.

About the http/tests/misc/empty-urls.html test, both the audio and video elements arrive as HTMLUnknownElement instead of HTMLVideoElement/HTMLAudioElement.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>