WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
205473
REGRESSION: [ Mac wk2 ] http/tests/inspector/target/provisional-load-cancels-previous-load.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=205473
Summary
REGRESSION: [ Mac wk2 ] http/tests/inspector/target/provisional-load-cancels-...
Truitt Savell
Reported
2019-12-19 14:11:08 PST
http/tests/inspector/target/provisional-load-cancels-previous-load.html This test is a flaky failure on Mac wk2 sense around
r253723
History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Finspector%2Ftarget%2Fprovisional-load-cancels-previous-load.html
Diff: --- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/tests/inspector/target/provisional-load-cancels-previous-load-expected.txt +++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/tests/inspector/target/provisional-load-cancels-previous-load-actual.txt @@ -1,17 +1,2 @@ +ALERT: PASS: Should receive DidCommitProvisionalTarget event 0 => 2. Test that two consequtive cross domain navigation requests will result in two provisional targets being created, first of which is later destroyed and the second is committed. - - -== Running test suite: Target.PSON --- Running test case: ProvisionalPagePaused -Current target is 0. -PASS: Should receive TargetAdded event for target 1. -PASS: Target 1 should be provisional. -PASS: Target 1 should be paused on start. -PASS: Should receive TargetRemoved event for target 1 -PASS: Should receive TargetAdded event for target 2. -PASS: Target 2 should be provisional. -PASS: Target 2 should be paused on start. -PASS: Should receive TargetRemoved event for target 0 -PASS: Should receive DidCommitProvisionalTarget event 0 => 2. -PASS: Should have seen 3 different targets. -
Attachments
Patch
(5.05 KB, patch)
2020-01-02 14:43 PST
,
Yury Semikhatsky
no flags
Details
Formatted Diff
Diff
Patch for landing
(5.32 KB, patch)
2020-01-06 19:55 PST
,
Yury Semikhatsky
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Truitt Savell
Comment 1
2019-12-19 15:13:00 PST
I can reproduce this failure by running the test in iterations
Radar WebKit Bug Importer
Comment 2
2019-12-19 15:23:33 PST
<
rdar://problem/58093690
>
Alexey Proskuryakov
Comment 3
2019-12-20 11:01:22 PST
This test was added on 2019-12-04, was green for a week, then saw various infrequent failures, and became super flaky on 2019-12-18. Perhaps
https://trac.webkit.org/r253718
? But there may be multiple causes for the flakiness.
Yury Semikhatsky
Comment 4
2020-01-02 14:43:12 PST
Created
attachment 386634
[details]
Patch
Blaze Burg
Comment 5
2020-01-06 11:35:59 PST
Comment on
attachment 386634
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=386634&action=review
r=me with some comments
> Source/WebInspectorUI/ChangeLog:8 > +
May want to clarify that the flaky failure is due to a problem with the test itself, not the code under test.
> Source/WebInspectorUI/ChangeLog:12 > + can be overriden in the tests.
Nit: overridden
> Source/WebInspectorUI/UserInterface/Test/FrontendTestHarness.js:130 > + deferOutputUntilTestPageIsReloaded()
Are there other cases where we think this will be needed?
> LayoutTests/http/tests/inspector/target/provisional-load-cancels-previous-load.html:23 > + WI.Target.prototype._resumeIfPaused = () => {}
It is kind of weird to monkey patch like this, but I suppose it's just for a test. Nit: need trailing semicolon.
Yury Semikhatsky
Comment 6
2020-01-06 19:55:06 PST
Comment on
attachment 386634
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=386634&action=review
>> Source/WebInspectorUI/ChangeLog:8 >> + > > May want to clarify that the flaky failure is due to a problem with the test itself, not the code under test.
Done.
>> Source/WebInspectorUI/ChangeLog:12 >> + can be overriden in the tests. > > Nit: overridden
Done.
>> Source/WebInspectorUI/UserInterface/Test/FrontendTestHarness.js:130 >> + deferOutputUntilTestPageIsReloaded() > > Are there other cases where we think this will be needed?
Yes, other navigation tests that need to log during navigation will need to suspend the output as well.
>> LayoutTests/http/tests/inspector/target/provisional-load-cancels-previous-load.html:23 >> + WI.Target.prototype._resumeIfPaused = () => {} > > It is kind of weird to monkey patch like this, but I suppose it's just for a test. > > Nit: need trailing semicolon.
Yes, this is just for the testing purposes, we always want to resume in normal flow. Added semicolon.
Yury Semikhatsky
Comment 7
2020-01-06 19:55:56 PST
Created
attachment 386926
[details]
Patch for landing
WebKit Commit Bot
Comment 8
2020-01-06 20:42:41 PST
Comment on
attachment 386926
[details]
Patch for landing Clearing flags on attachment: 386926 Committed
r254111
: <
https://trac.webkit.org/changeset/254111
>
WebKit Commit Bot
Comment 9
2020-01-06 20:42:43 PST
All reviewed patches have been landed. Closing bug.
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