| Summary: | [ iOS15 EWS ] TestWebKitAPI.AppPrivacyReport.LoadSimulatedRequest tests are timing out | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Hutchison <ehutchison> | ||||||||||||||||||||||
| Component: | New Bugs | Assignee: | Kate Cheney <katherine_cheney> | ||||||||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||||||||
| Severity: | Normal | CC: | achristensen, cdumez, ehutchison, katherine_cheney, webkit-bot-watchers-bugzilla, webkit-bug-importer, wilander | ||||||||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||
|
Description
Eric Hutchison
2021-10-22 12:48:34 PDT
Regression range is: https://trac.webkit.org/log/webkit/?action=stop_on_copy&mode=stop_on_copy&rev=284506&stop_rev=284469&limit=100. This may be related to changes made in: https://trac.webkit.org/changeset/284474/webkit I have not yet been able to reproduce this locally, and trunk bots aren't hitting it either. iOS EWS is consistently seeing these tests time out, so I've disabled them temporarily with r284721. Re-enabled in r285034 Will watch bots to verify that everything is ok. Timeout started again as soon as tests were re-enabled. https://ews-build.webkit.org/#/builders/9 Sure enough Created attachment 442880 [details]
Patch
(In reply to Kate Cheney from comment #8) > Created attachment 442880 [details] > Patch some experimental logging to see if EWS will tell us where it is timing out. Created attachment 443032 [details]
Patch
Created attachment 443096 [details]
Patch
Created attachment 443123 [details]
Patch
Created attachment 443218 [details]
Patch
Created attachment 443359 [details]
Patch
(In reply to Kate Cheney from comment #14) > Created attachment 443359 [details] > Patch Test to see if the order of test is causing it to fail, I moved it to a new location. Created attachment 443419 [details]
Patch
(In reply to Kate Cheney from comment #16) > Created attachment 443419 [details] > Patch Ok, changing the HTML seems to have fixed it, so something about loading the img src in the HTML seems to be causing a timeout. Comment on attachment 443419 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443419&action=review > Tools/TestWebKitAPI/Tests/WebKitCocoa/AppPrivacyReport.mm:713 > + // NSString *HTML = @"<html><head></head><body><img src='https://apple.com/'></img></body></html>"; Is this really trying to connect to https://apple.com/ on the Web? If so, that not OK. Tests should not connect to the internet. Created attachment 443456 [details]
Patch
Talked with Chris offline, hopefully using 127.0.0.1 and about:blank will fix the issue if potentially this is caused by bad internet connection or firewall. Created attachment 443457 [details]
Patch
Created attachment 443541 [details]
Patch
Comment on attachment 443541 [details]
Patch
wow
Committed r285411 (243968@main): <https://commits.webkit.org/243968@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443541 [details]. |