RESOLVED FIXED Bug 229094
REGRESSION: [ iOS ] 5 TestWebKitAPI.WebpagePreferences.* api tests are flaky timing out
https://bugs.webkit.org/show_bug.cgi?id=229094
Summary REGRESSION: [ iOS ] 5 TestWebKitAPI.WebpagePreferences.* api tests are flaky ...
ayumi_kojima
Reported 2021-08-13 14:02:33 PDT
TestWebKitAPI.WebpagePreferences.WebsitePoliciesAutoplayEnabled TestWebKitAPI.WebpagePreferences.WebsitePoliciesUserInterferenceWithPlaying TestWebKitAPI.WebpagePreferences.WebsitePoliciesUpdates TestWebKitAPI.WebpagePreferences.WebsitePoliciesPlayingWithoutInterference TestWebKitAPI.WebpagePreferences.WebsitePoliciesPlayingWithUserGesture Are flaky timing out on iOS 14 E Simulator. History: https://results.webkit.org/?suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&test=TestWebKitAPI.WebpagePreferences.WebsitePoliciesAutoplayEnabled&test=TestWebKitAPI.WebpagePreferences.WebsitePoliciesPlayingWithUserGesture&test=TestWebKitAPI.WebpagePreferences.WebsitePoliciesPlayingWithoutInterference&test=TestWebKitAPI.WebpagePreferences.WebsitePoliciesUpdates&test=TestWebKitAPI.WebpagePreferences.WebsitePoliciesUserInterferenceWithPlaying stdio: https://build.webkit.org/#/builders/45/builds/1794/steps/17/logs/stdio Looking at the history, it looks like the flaky timeout has started at https://trac.webkit.org/changeset/279835/webkit because the tests were consistently crashing for a short period of time before they started flaky timing out and this change https://trac.webkit.org/changeset/279679/webkit fixed the crash.
Attachments
Patch (3.56 KB, patch)
2021-09-17 11:25 PDT, Alex Christensen
no flags
Patch (3.58 KB, patch)
2021-12-20 18:03 PST, Alex Christensen
ews-feeder: commit-queue-
Radar WebKit Bug Importer
Comment 1 2021-08-13 14:03:28 PDT
Chris Dumez
Comment 2 2021-08-13 15:31:46 PDT
I don't think the regression point is correct. r279835 got reverted in r279840 and yet the tests were still flaky after that.
ayumi_kojima
Comment 3 2021-08-13 15:48:04 PDT
You are right. It is r279840.
Chris Dumez
Comment 4 2021-08-13 15:50:48 PDT
(In reply to ayumi_kojima from comment #3) > You are right. It is r279840. No, this doesn't make sense either since r279840 is a simple revert of r279835.
ayumi_kojima
Comment 5 2021-08-13 16:07:45 PDT
Okay, now I understand it. I will try bisect it and research more. Thanks Chris!
Eric Hutchison
Comment 6 2021-08-13 18:27:59 PDT
Reproduction: 1) TestWebKitAPI.WebpagePreferences.WebsitePoliciesAutoplayEnabled timeout was reproduced on r279831 using run-api-tests --iOS-simulator --release TestWebKitAPI.WebpagePreferences.WebsitePoliciesAutoplayEnabled. The test passed on r 279866 using the same command. There are no available spades between those revisions to test on. 2) TestWebKitAPI.WebpagePreferences.WebsitePoliciesUserInterferenceWithPlaying TestWebKitAPI.WebpagePreferences.WebsitePoliciesUpdates TestWebKitAPI.WebpagePreferences.WebsitePoliciesPlayingWithoutInterference TestWebKitAPI.WebpagePreferences.WebsitePoliciesPlayingWithUserGesture: each of these tests passed on r279831 and r279866 with the same command as above. Was unable to reproduce the timeout on these tests.
Eric Hutchison
Comment 7 2021-09-08 11:39:35 PDT
Attempted to reproduce timeouts using run-api-tests --iterations 100 --iOS-simulator --no-build tesname on r281989 and r281920. Unable to reproduce.
Alex Christensen
Comment 8 2021-09-17 11:25:12 PDT
EWS
Comment 9 2021-09-17 11:56:43 PDT
Committed r282678 (241819@main): <https://commits.webkit.org/241819@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438491 [details].
Eric Hutchison
Comment 10 2021-09-17 14:14:02 PDT
Patch applied disables test; issue is not resolved. Reopening bug.
Alex Christensen
Comment 11 2021-12-20 18:03:41 PST
EWS
Comment 12 2021-12-20 22:23:54 PST
Committed r287298 (245450@main): <https://commits.webkit.org/245450@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447672 [details].
Note You need to log in before you can comment on or make changes to this bug.