Bug 256557 - [GTK][WPE] API tests failing on 9th May 2023
Summary: [GTK][WPE] API tests failing on 9th May 2023
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 256559
Blocks:
  Show dependency treegraph
 
Reported: 2023-05-09 15:09 PDT by Carlos Alberto Lopez Perez
Modified: 2023-08-15 10:03 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2023-05-09 15:09:11 PDT
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.
Comment 1 Carlos Alberto Lopez Perez 2023-05-09 15:35:55 PDT
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
Comment 2 Carlos Alberto Lopez Perez 2023-05-09 15:41:07 PDT
(In reply to Carlos Alberto Lopez Perez from comment #1)
> And on the same commit, the following are failing on WPE:
> 
> Unexpected crashes (5)
>     /WPEQt/TestLoadHtml
>         TestLoadHtml
>     /WPEQt/TestLoadRequest
>         TestLoadRequest
>     /WPEQt/TestLoad
>         TestLoad
>     /WPEQt/TestRunJavaScript
>         TestRunJavaScript
>     /TestWebKit
>         WebKit.OnDeviceChangeCrash
> 


This crashes don'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'Failed to create wl_display (No such file or directory)\nqt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.\nqt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""\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'
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
Comment 3 Carlos Alberto Lopez Perez 2023-05-09 16:04:13 PDT
Expectations updated at 263883@main 

Note: I didn'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't have still EWS bots for WPE API tests
Comment 4 Vitaly Dyackhov 2023-06-21 07:06:08 PDT
See also: https://bugs.webkit.org/show_bug.cgi?id=258353
Comment 5 Amanda Falke 2023-07-25 18:13:07 PDT
Fixed (and identified when introduced):

/WPE/TestWebsiteData
        /webkit/WebKitWebsiteData/configuration

In:
https://bugs.webkit.org/show_bug.cgi?id=259427
Comment 6 Amanda Falke 2023-07-26 20:25:48 PDT
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
Comment 7 Amanda Falke 2023-08-01 13:21:07 PDT
Fixed (and identified when introduced):

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

https://github.com/WebKit/WebKit/pull/16286
Comment 8 Amanda Falke 2023-08-15 10:03:17 PDT
For /TestWTF
        WTF_WordLock.ManyContendedLongSections EWS failures,

See:

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