Bug 171354
| Summary: | [iOS Simulator] Flaky failure LayoutTest http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached.html | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Lewis <jlewis3> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | achristensen, ap, jlewis3, youennf |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matt Lewis
Test is a flaky failure:
http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached.html
History:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=http%2Ftests%2Fxmlhttprequest%2Faccess-control-basic-non-simple-deny-cached.html
Test results from most recent failure:
https://build.webkit.org/results/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/r215404%20(706)/results.html
diff:
--- /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached-expected.txt
+++ /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached-actual.txt
@@ -1,3 +1,2 @@
-CONSOLE MESSAGE: line 42: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/access-control-basic-non-get-allow.cgi. Request header field Content-Type is not allowed by Access-Control-Allow-Headers.
-PASS: Exception thrown. Cross-domain access is not allowed in 'send'. [ A network error occurred.].
+PASS: Exception thrown. Cross-domain access is not allowed in 'send'. [The operation timed out.].
First failure in history 4/16/2017 7:09:16 PM
At Revision r215404
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
In Apache access logs, I see three requests for the subresource.
127.0.0.1 - - [26/Apr/2017:15:54:49 -0700] "GET /xmlhttprequest/access-control-basic-non-simple-deny-cached.html HTTP/1.1" 200 1571 325
::1 - - [26/Apr/2017:15:54:49 -0700] "OPTIONS /xmlhttprequest/resources/access-control-basic-non-get-allow.cgi HTTP/1.1" 200 - 7782458
::1 - - [26/Apr/2017:15:54:57 -0700] "PUT /xmlhttprequest/resources/access-control-basic-non-get-allow.cgi HTTP/1.1" 200 58 3070087
::1 - - [26/Apr/2017:15:55:00 -0700] "OPTIONS /xmlhttprequest/resources/access-control-basic-non-get-allow.cgi HTTP/1.1" 200 - 10750080
Relevant run-webkit-tests logs:
15:54:49.643 28083 worker/7 http/tests/xmlhttprequest/access-control-basic-non-simple-allow.html passed
...
15:55:17.337 28083 "ruby -I /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/Websites/bugs.webkit.org/PrettyPatch /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/Websites/bugs.webkit.org/PrettyPatch/prettify.rb /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached-diff.txt" took 6.74s
15:55:17.352 26617 [22527/41658] http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached.html failed unexpectedly (text diff)
15:55:17.338 28083 worker/7 http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached.html failed:
15:55:17.338 28083 worker/7 text diff
Alexey Proskuryakov
What's surprising here is that sync XHR shouldn't be timing out, at least not so quickly.