Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12
-
None
-
-
5ac98b606c1c297b34887f5d6bd51c8dda515f65 (qt/qtwebengine/5.12)
Description
Failed build example:
https://testresults.qt.io/coin/integration/qt/qtwebengine/tasks/1543928633
According to grafana it fails almost since the beging like this:
agent:2018/11/06 11:17:28 build.go:193: FAIL! : tst_QWebEnginePage::dynamicFrame() Compared values are not the same agent:2018/11/06 11:17:28 build.go:193: Actual (toPlainTextSync(&page).trimmed()): "" agent:2018/11/06 11:17:28 build.go:193: Expected (QStringLiteral("foo")) : "foo" agent:2018/11/06 11:17:28 build.go:193: Loc: [tst_qwebenginepage.cpp(4484)]
Running test with verbose logging reveals that sometimes additional garbage collection is triggered and iframe is just deleted leaving page content basically empty:
********* Start testing of tst_QWebEnginePage ********* Config: Using QtTest library 5.12.0, Qt 5.12.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.2.1 20181127) PASS : tst_QWebEnginePage::initTestCase() [1720:1720:0107/112649.238258:INFO:cpu_info.cc(46)] Available number of cores: 8 [1720:1720:0107/112649.238650:VERBOSE1:zygote_main_linux.cc(217)] ZygoteMain: initializing 0 fork delegates [1715:1715:0107/112649.299923:VERBOSE1:webrtc_internals.cc(125)] Could not get the download directory. [1738:1738:0107/112649.407276:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.407364:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.408328:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.408415:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.408466:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.408524:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.409410:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.409887:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.410078:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1715:1725:0107/112649.410618:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: qrc:/resources/dynamicFrame.html [1715:1731:0107/112649.416590:VERBOSE1:gles2_cmd_decoder.cc(3598)] GL_EXT_packed_depth_stencil supported. [1738:1738:0107/112649.428277:VERBOSE2:thread_state.cc(578)] [state:0x7f5d32a3f000] SchedulePageNavigationGCIfNeeded: estimatedRemovalRatio=0.75 [1738:1738:0107/112649.428810:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.430225:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.432101:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.432829:VERBOSE2:thread_state.cc(621)] [state:0x7f5d32a3f000] ScheduleGCIfNeeded [1738:1738:0107/112649.437749:VERBOSE1:local_window_proxy.cc(236)] A context is created NOT from snapshot [1715:1731:0107/112649.439684:VERBOSE1:gles2_cmd_decoder.cc(3598)] GL_EXT_packed_depth_stencil supported. [1715:1725:0107/112649.441334:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: qrc:/resources/invalid [1738:1738:0107/112649.443281:VERBOSE1:local_window_proxy.cc(236)] A context is created NOT from snapshot [1715:1715:0107/112649.449975:VERBOSE1:navigator_impl.cc(140)] Failed Provisional Load: qrc:/resources/invalid, error_code: -3, error_description: , showing_repost_interstitial: 0, frame_id: 4 [1738:1738:0107/112649.462114:VERBOSE2:thread_state.cc(578)] [state:0x7f5d32a3f000] SchedulePageNavigationGCIfNeeded: estimatedRemovalRatio=0.14 [1738:1738:0107/112649.464390:VERBOSE2:thread_state.cc(523)] [state:0x7f5d32a3f000] ScheduleV8FollowupGCIfNeeded: v8_gc_type=MinorGC [1738:1738:0107/112649.465227:VERBOSE1:local_window_proxy.cc(236)] A context is created NOT from snapshot FAIL! : tst_QWebEnginePage::dynamicFrame() Compared values are not the same Actual (toPlainTextSync(&page).trimmed()): "" Expected (QStringLiteral("foo")) : "foo" Loc: [/home/kiburtse/qt/rel/qtwebengine/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp(4485)] PASS : tst_QWebEnginePage::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 348ms ********* Finished testing of tst_QWebEnginePage ********* [1715:1719:0107/112649.471710:VERBOSE1:sandbox_ipc_linux.cc(77)] SandboxIPCHandler stopping.
Network pane of devtools also shows status code difference of frame load: canceled and failed. This is also reproducible with chromium 71, and not with firefox.