Bug 264507

Summary: [GTK][WPE] API test /WPE/TestSSL /webkit/WebKitWebView/client-side-certificate is a flaky failure
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Carlos Alberto Lopez Perez 2023-11-09 10:29:03 PST
This test sometimes fail with:

TEST: /app/webkit/WebKitBuild/WPE/Release/bin/TestWebKitAPI/WPE/TestSSL...
GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ‘gio-tls-backend’
  /webkit/WebKitWebView/ssl:                                          PASS
GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
  /webkit/WebKitWebView/insecure-content:                             PASS
  /webkit/WebKitWebView/tls-errors-policy:                            PASS
  /webkit/WebKitWebView/tls-errors-redirect-to-http:                  PASS
  /webkit/WebKitWebView/tls-http-auth:                                PASS
  /webkit/WebKitWebView/tls-subresource:                              PASS
  /webkit/WebKitWebView/load-failed-with-tls-errors:                  PASS
  /webkit/WebKitWebView/web-socket-tls-errors:                        PASS
libsoup-DEBUG: stopping input source
libsoup-DEBUG: closing io stream
libsoup-DEBUG: closed: completed io stream close
libsoup-DEBUG: stopping input source
libsoup-DEBUG: closing io stream
libsoup-DEBUG: closed: completed io stream close
  /webkit/WebKitWebView/ephemeral-tls-errors:                         PASS
  /webkit/WebKitWebView/client-side-certificate:                      FAIL
ERROR:/app/webkit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestSSL.cpp:743:void testClientSideCertificate(ClientSideCertificateTest*, gconstpointer): assertion failed (test->m_error.get() == (g-tls-error-quark, 5)): Connection terminated unexpectedly (g-io-error-quark, 34)
GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ‘gio-tls-backend’
  /webkit/WebKitWebView/web-socket-client-side-certificate:           PASS
GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
libsoup-DEBUG: stopping input source
libsoup-DEBUG: closing io stream
libsoup-DEBUG: closed: completed io stream close
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED


See: https://ews-build.webkit.org/#/builders/41/builds/2342/steps/15/logs/stdio

It happens randomly on the EWS queue mainly at: https://ews-build.webkit.org/#/builders/API-Tests-WPE-EWS
Comment 1 Carlos Alberto Lopez Perez 2023-11-09 11:48:42 PST
It happens also randomly on the EWS for GTK API Tests.
Updated expectations on 270468@main