<?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>256557</bug_id>
          
          <creation_ts>2023-05-09 15:09:11 -0700</creation_ts>
          <short_desc>[GTK][WPE] API tests failing on 9th May 2023</short_desc>
          <delta_ts>2023-08-15 10:03:17 -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>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>256559</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abstractmachines</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>dpino</cc>
    
    <cc>philn</cc>
    
    <cc>vitaly</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1954161</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-05-09 15:09:11 -0700</bug_when>
    <thetext>The following API tests are failing in GTK:


Unexpected failures (4)
    /WebKitGTK/TestWebKitUserContentManager
        /webkit/WebKitUserContentManager/script-message-received
    /WebKitGTK/TestContextMenu
        /webkit/WebKitWebView/default-menu
    /WebKitGTK/TestWebKitSettings
        /webkit/WebKitSettings/webkit-settings
        /webkit/WebKitSettings/new-with-settings

Unexpected timeouts (2)
    /WebKitGTK/TestWebKitAccessibility
        /webkit/WebKitAccessibility/text/selections
        /webkit/WebKitAccessibility/text/state-changed

Unexpected passes (5)
    /WebKitGTK/TestContextMenu
        /webkit/WebKitWebPage/context-menu
        /webkit/WebKitWebPage/context-menu-node
    /WebKitGTK/TestWebKitWebView
        /webkit/WebKitWebView/terminate-unresponsive-web-process
    /WebKitGTK/TestUIClient
        /webkit/WebKitWebView/mouse-target
        /webkit/WebKitWebView/pointer-lock-permission-request



Checked in 263861@main
Is unknown to me at this moment when this failures were introduced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954169</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-05-09 15:35:55 -0700</bug_when>
    <thetext>And on the same commit, the following are failing on WPE:

Unexpected failures (7)
    /WPE/TestWebKitUserContentManager
        /webkit/WebKitUserContentManager/script-message-received
    /WPE/TestWebsiteData
        /webkit/WebKitWebsiteData/configuration
        /webkit/WebKitWebsiteData/ephemeral
        /webkit/WebKitWebsiteData/hsts
        /webkit/WebKitWebsiteData/handle-corrupted-local-storage
    /WPE/TestWebKitSettings
        /webkit/WebKitSettings/webkit-settings
        /webkit/WebKitSettings/new-with-settings

Unexpected crashes (5)
    /WPEQt/TestLoadHtml
        TestLoadHtml
    /WPEQt/TestLoadRequest
        TestLoadRequest
    /WPEQt/TestLoad
        TestLoad
    /WPEQt/TestRunJavaScript
        TestRunJavaScript
    /TestWebKit
        WebKit.OnDeviceChangeCrash

Unexpected timeouts (3)
    /WPE/TestUIClient
        /webkit/WebKitWebView/geolocation-permission-requests
    /TestWebKit
        WebKit.PrivateBrowsingPushStateNoHistoryCallback
    /TestWTF
        WTF_WordLock.ManyContendedLongSections



Common new failures are this one:

Unexpected failures (3)
    /WPE/TestWebKitUserContentManager
        /webkit/WebKitUserContentManager/script-message-received
    /WPE/TestWebKitSettings
        /webkit/WebKitSettings/webkit-settings
        /webkit/WebKitSettings/new-with-settings</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954171</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-05-09 15:41:07 -0700</bug_when>
    <thetext>(In reply to Carlos Alberto Lopez Perez from comment #1)
&gt; And on the same commit, the following are failing on WPE:
&gt; 
&gt; Unexpected crashes (5)
&gt;     /WPEQt/TestLoadHtml
&gt;         TestLoadHtml
&gt;     /WPEQt/TestLoadRequest
&gt;         TestLoadRequest
&gt;     /WPEQt/TestLoad
&gt;         TestLoad
&gt;     /WPEQt/TestRunJavaScript
&gt;         TestRunJavaScript
&gt;     /TestWebKit
&gt;         WebKit.OnDeviceChangeCrash
&gt; 


This crashes don&apos;t happen on the post-commit bot (runs with a real GPU) but do they happen on my remote dev machine (no GPU).

I can see the following on the logs:

b&apos;Failed to create wl_display (No such file or directory)\nqt.qpa.plugin: Could not load the Qt platform plugin &quot;wayland&quot; in &quot;&quot; even though it was found.\nqt.qpa.plugin: Could not find the Qt platform plugin &quot;xcb&quot; in &quot;&quot;\nThis application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.\n\nAvailable platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland.\n\n&apos;
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
(repeated)

So it is likely that the headless backend of WPE is not good enough to run this WPEQt tests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954181</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-05-09 16:04:13 -0700</bug_when>
    <thetext>Expectations updated at 263883@main 

Note: I didn&apos;t marked the Qt API tests as expected crashes because those are passing on the post-commit bots (which have a GPU) and we don&apos;t have still EWS bots for WPE API tests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1962787</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2023-06-21 07:06:08 -0700</bug_when>
    <thetext>See also: https://bugs.webkit.org/show_bug.cgi?id=258353</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968182</commentid>
    <comment_count>5</comment_count>
    <who name="Amanda Falke">abstractmachines</who>
    <bug_when>2023-07-25 18:13:07 -0700</bug_when>
    <thetext>Fixed (and identified when introduced):

/WPE/TestWebsiteData
        /webkit/WebKitWebsiteData/configuration

In:
https://bugs.webkit.org/show_bug.cgi?id=259427</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968382</commentid>
    <comment_count>6</comment_count>
    <who name="Amanda Falke">abstractmachines</who>
    <bug_when>2023-07-26 20:25:48 -0700</bug_when>
    <thetext>Fixed (and identified when introduced):

/WPE/TestWebsiteData
        /webkit/WebKitWebsiteData/ephemeral
In:
https://bugs.webkit.org/show_bug.cgi?id=259543

/WPE/TestWebsiteData
        /webkit/WebKitWebsiteData/hsts
In:
https://bugs.webkit.org/show_bug.cgi?id=259515</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969110</commentid>
    <comment_count>7</comment_count>
    <who name="Amanda Falke">abstractmachines</who>
    <bug_when>2023-08-01 13:21:07 -0700</bug_when>
    <thetext>Fixed (and identified when introduced):

/WPE/TestWebsiteData
        /webkit/WebKitWebsiteData/handle-corrupted-local-storage

https://github.com/WebKit/WebKit/pull/16286</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971312</commentid>
    <comment_count>8</comment_count>
    <who name="Amanda Falke">abstractmachines</who>
    <bug_when>2023-08-15 10:03:17 -0700</bug_when>
    <thetext>For /TestWTF
        WTF_WordLock.ManyContendedLongSections EWS failures,

See:

https://bugs.webkit.org/show_bug.cgi?id=246603 from late 2022</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>