WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
229067
[WPE] WebExtension API test /webkit/WebKitWebView/web-process-crashed is flaky failing
https://bugs.webkit.org/show_bug.cgi?id=229067
Summary
[WPE] WebExtension API test /webkit/WebKitWebView/web-process-crashed is flak...
Lauro Moura
Reported
2021-08-12 20:30:03 PDT
/WPE/TestWebExtensions /webkit/WebKitWebView/web-process-crashed Output: /webkit/WebKitWebView/web-process-crashed: FAIL WPE-FDO-FATAL-WARNING: Instance::dispatchFrameCallbacks(): Cannot find surface with bridgeId 1 in view backend map. Probably the associated surface is gone due to a premature exit in the client side (/app/webkit/Tools/glib/../../WebKitBuild/Release/bin/TestWebKitAPI/WPE/TestWebExtensions:778): WPE-FDO-WARNING **: 06:40:11.689: Instance::dispatchFrameCallbacks(): Cannot find surface with bridgeId 1 in view backend map. Probably the associated surface is gone due to a premature exit in the client side In the release bot, the first failure was in the build #2602 for identifier
240345@main
. Since this revision, it failed 31 out of 41 runs. Locally: Laptop: 4 fails in 20 runs Desktop: 7 fails in 20 runs In a manual build outside Flatpak, no errors in 10 runs.
Attachments
Patch
(1.44 KB, patch)
2021-08-13 05:26 PDT
,
Lauro Moura
no flags
Details
Formatted Diff
Diff
Patch with updated expectations
(2.27 KB, patch)
2021-08-13 05:59 PDT
,
Lauro Moura
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2021-08-12 23:12:01 PDT
I guess that's expected to happen in case of web process crash, so maybe we can just make warnings non fatal at that point or not use g_warning in wpe-fdo
Lauro Moura
Comment 2
2021-08-13 05:26:36 PDT
Created
attachment 435477
[details]
Patch
Lauro Moura
Comment 3
2021-08-13 05:27:08 PDT
(In reply to Carlos Garcia Campos from
comment #1
)
> I guess that's expected to happen in case of web process crash, so maybe we > can just make warnings non fatal at that point or not use g_warning in > wpe-fdo
Indeed. With this patch, it's consistently passing.
Lauro Moura
Comment 4
2021-08-13 05:59:20 PDT
Created
attachment 435478
[details]
Patch with updated expectations
Carlos Garcia Campos
Comment 5
2021-08-13 07:20:48 PDT
Comment on
attachment 435478
[details]
Patch with updated expectations View in context:
https://bugs.webkit.org/attachment.cgi?id=435478&action=review
> Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:166 > + Test::removeLogFatalFlag(G_LOG_LEVEL_WARNING); > g_main_loop_run(test->m_mainLoop); > + Test::addLogFatalFlag(G_LOG_LEVEL_WARNING);
Ok, I think we should still check if we can remove the g_warning in wpe-fdo, because thi might hide other warnings happening.
EWS
Comment 6
2021-08-13 07:40:30 PDT
Committed
r281015
(
240505@main
): <
https://commits.webkit.org/240505@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 435478
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug