NEW 174272
LayoutTest inspector/canvas/css-canvas-clients.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=174272
Summary LayoutTest inspector/canvas/css-canvas-clients.html is a flaky timeout
Devin Rousso
Reported 2017-07-07 13:50:41 PDT
LayoutTest inspector/canvas/css-canvas-clients.html is a flaky timeout https://webkit-queues.webkit.org/results/4046639
Attachments
[Patch] Remove TestExpectation (991 bytes, patch)
2019-05-11 14:02 PDT, Devin Rousso
ews-watchlist: commit-queue-
Archive of layout-test-results from ews100 for mac-highsierra (3.19 MB, application/zip)
2019-05-11 14:54 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews114 for mac-highsierra (2.88 MB, application/zip)
2019-05-11 15:59 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews215 for win-future (13.47 MB, application/zip)
2019-05-11 19:01 PDT, EWS Watchlist
no flags
[Patch] Extra Logging (6.49 KB, patch)
2019-05-12 13:10 PDT, Devin Rousso
hi: commit-queue-
[Patch] Extra Logging (6.49 KB, patch)
2019-05-12 20:01 PDT, Devin Rousso
hi: commit-queue-
Archive of layout-test-results from ews102 for mac-highsierra (3.21 MB, application/zip)
2019-05-12 21:06 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews114 for mac-highsierra (3.04 MB, application/zip)
2019-05-12 21:58 PDT, EWS Watchlist
no flags
[Patch] Extra Logging (8.86 KB, patch)
2019-05-12 23:03 PDT, Devin Rousso
hi: commit-queue-
[Patch] Extra Logging (9.58 KB, patch)
2019-05-12 23:05 PDT, Devin Rousso
hi: commit-queue-
Archive of layout-test-results from ews100 for mac-highsierra (3.23 MB, application/zip)
2019-05-13 00:17 PDT, EWS Watchlist
no flags
[Patch] Extra Logging (10.87 KB, patch)
2019-05-13 00:47 PDT, Devin Rousso
hi: commit-queue-
[Patch] Extra Logging (11.23 KB, patch)
2019-05-13 00:52 PDT, Devin Rousso
hi: commit-queue-
[Patch] Extra Logging (11.83 KB, patch)
2019-05-13 00:57 PDT, Devin Rousso
hi: commit-queue-
[Patch] Extra Logging (11.24 KB, patch)
2019-05-13 00:57 PDT, Devin Rousso
hi: commit-queue-
Archive of layout-test-results from ews105 for mac-highsierra-wk2 (3.09 MB, application/zip)
2019-05-13 01:54 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews101 for mac-highsierra (3.11 MB, application/zip)
2019-05-13 02:04 PDT, EWS Watchlist
no flags
[Patch] Extra Logging (11.90 KB, patch)
2019-05-13 02:36 PDT, Devin Rousso
hi: commit-queue-
[Patch] Extra Logging (10.84 KB, patch)
2019-05-13 11:57 PDT, Devin Rousso
no flags
Patch (7.06 KB, patch)
2019-05-13 13:29 PDT, Devin Rousso
no flags
Archive of layout-test-results from ews213 for win-future (13.41 MB, application/zip)
2019-05-14 09:24 PDT, EWS Watchlist
no flags
Update Test Expectations (1.73 KB, patch)
2021-07-16 10:51 PDT, Eric Hutchison
no flags
Radar WebKit Bug Importer
Comment 2 2019-04-08 13:35:28 PDT
Shawn Roberts
Comment 3 2019-04-08 13:49:27 PDT
Skipped test in https://trac.webkit.org/changeset/244041/webkit while waiting for a fix.
Shawn Roberts
Comment 4 2019-04-09 11:08:14 PDT
Unskipped test and just marked as a flaky failure since timeout no longer occurs, it just fails due to code changes. https://trac.webkit.org/changeset/244084/webkit
Devin Rousso
Comment 5 2019-05-11 14:02:37 PDT
Created attachment 369660 [details] [Patch] Remove TestExpectation This is passing for me, so let's see what the bots think
EWS Watchlist
Comment 6 2019-05-11 14:54:40 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 7 2019-05-11 14:54:41 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 8 2019-05-11 15:59:19 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 9 2019-05-11 15:59:21 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 10 2019-05-11 19:01:10 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 11 2019-05-11 19:01:12 PDT Comment hidden (obsolete)
Devin Rousso
Comment 12 2019-05-12 13:10:04 PDT
Created attachment 369682 [details] [Patch] Extra Logging
Devin Rousso
Comment 13 2019-05-12 20:01:08 PDT
Created attachment 369689 [details] [Patch] Extra Logging
EWS Watchlist
Comment 14 2019-05-12 21:06:47 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 15 2019-05-12 21:06:49 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 16 2019-05-12 21:58:24 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 17 2019-05-12 21:58:26 PDT Comment hidden (obsolete)
Devin Rousso
Comment 18 2019-05-12 23:03:29 PDT
Created attachment 369696 [details] [Patch] Extra Logging
Devin Rousso
Comment 19 2019-05-12 23:05:36 PDT
Created attachment 369697 [details] [Patch] Extra Logging
EWS Watchlist
Comment 20 2019-05-13 00:17:57 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 21 2019-05-13 00:17:59 PDT Comment hidden (obsolete)
Devin Rousso
Comment 22 2019-05-13 00:32:46 PDT
Comment on attachment 369697 [details] [Patch] Extra Logging View in context: https://bugs.webkit.org/attachment.cgi?id=369697&action=review > Source/WebCore/css/CSSImageGeneratorValue.cpp:81 > if (HTMLCanvasElement* canvasElement = downcast<CSSCanvasValue>(this)->element()) It looks like this line is the primary issue. `WebCore::CSSCanvasValue::element()` just fetches the stored `m_element` value, which (in this case) hasn't been initialized yet. Another (possibly bigger) issue is that `WebCore::CSSCanvasValue::element(Document&)` never gets called, which means we never add an observer. Not sure why that is.
Devin Rousso
Comment 23 2019-05-13 00:47:37 PDT
Created attachment 369703 [details] [Patch] Extra Logging
Devin Rousso
Comment 24 2019-05-13 00:48:47 PDT
Comment on attachment 369703 [details] [Patch] Extra Logging View in context: https://bugs.webkit.org/attachment.cgi?id=369703&action=review > Source/WebCore/css/CSSCanvasValue.cpp:46 > + if (auto* canvasElement = element(renderer.document())) This is probably "wrong", in that we shouldn't be eagerly creating the HTMLCanvasElement _only_ when Web Inspector is open. I'm curious to see if this will fix the test, however.
Devin Rousso
Comment 25 2019-05-13 00:52:58 PDT
Created attachment 369704 [details] [Patch] Extra Logging
Devin Rousso
Comment 26 2019-05-13 00:57:03 PDT
Created attachment 369705 [details] [Patch] Extra Logging
Devin Rousso
Comment 27 2019-05-13 00:57:52 PDT
Created attachment 369706 [details] [Patch] Extra Logging
EWS Watchlist
Comment 28 2019-05-13 01:54:54 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 29 2019-05-13 01:54:56 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 30 2019-05-13 02:04:15 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 31 2019-05-13 02:04:16 PDT Comment hidden (obsolete)
Devin Rousso
Comment 32 2019-05-13 02:36:31 PDT
Created attachment 369720 [details] [Patch] Extra Logging
Devin Rousso
Comment 33 2019-05-13 11:57:33 PDT
Created attachment 369758 [details] [Patch] Extra Logging
Devin Rousso
Comment 34 2019-05-13 13:29:14 PDT
Created attachment 369775 [details] Patch This feels "wrong" in that Web Inspector shouldn't be forcing/eagerly-creating anything. It's even weirder that it's only an issue in debug...
EWS Watchlist
Comment 35 2019-05-14 09:24:32 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 36 2019-05-14 09:24:35 PDT Comment hidden (obsolete)
Devin Rousso
Comment 37 2019-06-06 17:24:30 PDT
Comment on attachment 369775 [details] Patch I don't think this is the right way forward.
Eric Hutchison
Comment 38 2021-07-16 10:36:13 PDT
Timeouts recurring on all Mac platforms as of r279104: Diff: --- /Volumes/Data/worker/bigsur-debug-applesilicon-tests-wk2/build/layout-test-results/inspector/canvas/requestClientNodes-css-expected.txt +++ /Volumes/Data/worker/bigsur-debug-applesilicon-tests-wk2/build/layout-test-results/inspector/canvas/requestClientNodes-css-actual.txt @@ -1,13 +1,5 @@ -Test that CanvasAgent tracks changes in the client nodes of a CSS canvas. +#PID UNRESPONSIVE - WebKitTestRunner (pid 59241) +FAIL: Timed out waiting for notifyDone to be called - -== Running test suite: Canvas.requestClientNodes.CSS --- Running test case: Canvas.requestClientNodes.CSS.Create -PASS: Canvas with created client should have CSS name "css-canvas". -PASS: There should be one client node. -PASS: Client node "div" is valid. - --- Running test case: Canvas.requestClientNodes.CSS.Destroy -PASS: Canvas with destroyed client should have CSS name "css-canvas". -PASS: There should be no client nodes. - +#EOF +#EOF
Eric Hutchison
Comment 39 2021-07-16 10:51:45 PDT
Created attachment 433685 [details] Update Test Expectations
Robert Jenner
Comment 40 2021-07-16 10:59:19 PDT
Comment on attachment 433685 [details] Update Test Expectations Clearing flags on attachment: 433685 Committed r279989 (239732@main): <https://commits.webkit.org/239732@main>
Note You need to log in before you can comment on or make changes to this bug.