New issue
Advanced search Search tips

Issue 888660 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Dec 5
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 888734



Sign in to add a comment

Flakiness in http/tests/devtools/console-xhr-logging.js

Project Member Reported by erikc...@chromium.org, Sep 24

Issue description

In this CQ run:
https://ci.chromium.org/p/chromium/builders/luci.chromium.try/win7_chromium_rel_ng/89223

The console-xhr-logging.js test failed in the 'with patch' and 'retry with patch' steps, but not 'without patch'. The CL had nothing to do with content or devtools. 

This is the diff of the output:
"""
--- e:\b\s\w\iod8rxtu\layout-test-results\http/tests/devtools/console-xhr-logging-expected.txt
+++ e:\b\s\w\iod8rxtu\layout-test-results\http/tests/devtools/console-xhr-logging-actual.txt
@@ -17,13 +17,13 @@
 
 Message count: 3
 console-xhr-logging.js:13 sending a GET request to resources/xhr-does-not-exist.html
-VM:37 GET http://127.0.0.1:8000/devtools/resources/xhr-does-not-exist.html 404 (Not Found)
+VM:37 XHR failed loading: GET "http://127.0.0.1:8000/devtools/resources/xhr-does-not-exist.html".
 makeXHR @ VM:37
 makeSimpleXHRWithPayload @ VM:13
 makeSimpleXHR @ VM:9
 requestHelper @ console-xhr-logging.js:14
 (anonymous) @ console-xhr-logging.js:26
-VM:37 XHR failed loading: GET "http://127.0.0.1:8000/devtools/resources/xhr-does-not-exist.html".
+VM:37 GET http://127.0.0.1:8000/devtools/resources/xhr-does-not-exist.html 404 (Not Found)
 makeXHR @ VM:37
 makeSimpleXHRWithPayload @ VM:13
 makeSimpleXHR @ VM:9
@@ -41,13 +41,13 @@
 
 Message count: 3
 console-xhr-logging.js:13 sending a GET request to http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html
-VM:37 Access to XMLHttpRequest at 'http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
+VM:37 XHR finished loading: GET "http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html".
 makeXHR @ VM:37
 makeSimpleXHRWithPayload @ VM:13
 makeSimpleXHR @ VM:9
 requestHelper @ console-xhr-logging.js:14
 (anonymous) @ VM:1
-VM:37 XHR finished loading: GET "http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html".
+VM:37 Access to XMLHttpRequest at 'http://localhost:8000/devtools/resources/cors-disabled/xhr-exists.html' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
 makeXHR @ VM:37
 makeSimpleXHRWithPayload @ VM:13
 makeSimpleXHR @ VM:9
"""

It looks like the requests are coming back in an unexpected order, which is causing the expectations to fail.
 
Owner: jarhar@chromium.org
Blocking: 888734
https://ci.chromium.org/p/chromium/builders/luci.chromium.try/win7_chromium_rel_ng/91054

Similar problem with http/tests/devtools/network/network-blocked-reason.js
Status: Started (was: Untriaged)
Status: Archived (was: Started)
Test failures are processed as a part of a dedicated triage, bulk-closing the bugs.

Sign in to add a comment