Closed Bug 960743 Opened 10 years ago Closed 7 years ago

Intermittent content/base/test/test_XHR_timeout.html | load fires normally with same timeout set twice, original timeout at 5000, reset at 2000 to 5000 - got "timeout", expected "load"

Categories

(Core :: Networking, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: RyanVM, Unassigned)

References

()

Details

(Keywords: intermittent-failure, Whiteboard: [test disabled on B2G][leave open][necko-backlog])

https://tbpl.mozilla.org/php/getParsedLog.php?id=33065886&tree=Mozilla-Inbound

b2g_emulator_vm mozilla-inbound debug test mochitest-debug-1 on 2014-01-15 16:04:14 PST for push d1548d802855
slave: tst-linux64-ec2-319

16:31:18     INFO -  2479 INFO TEST-START | /tests/content/base/test/test_XHR_timeout.html
16:31:18     INFO -  2480 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | no time out scheduled, load fires normally, timeout scheduled at 0
16:31:18     INFO -  2481 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | load fires normally, timeout scheduled at 5000
16:31:18     INFO -  2482 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | timeout hit before load, timeout scheduled at 2000
16:31:18     INFO -  2483 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | load fires normally with no timeout set, twice, original timeout at 0, reset at 2000 to 0
16:31:18     INFO -  2484 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_XHR_timeout.html | load fires normally with same timeout set twice, original timeout at 5000, reset at 2000 to 5000 - got "timeout", expected "load"
16:31:18     INFO -  2485 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | timeout fires normally with same timeout set twice, original timeout at 2000, reset at 1000 to 2000
16:31:18     INFO -  2486 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | timeout disabled after initially set, original timeout at 5000, reset at 2000 to 0
16:31:18     INFO -  2487 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | timeout overrides load after a delay, original timeout at 5000, reset at 1000 to 2000
16:31:18     INFO -  2488 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | timeout enabled after initially disabled, original timeout at 0, reset at 2000 to 5000
16:31:18     INFO -  2489 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | timeout set to expiring value after load fires, original timeout at 5000, reset at 4000 to 1000
16:31:18     INFO -  2490 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | timeout set to expired value before load fires, original timeout at 5000, reset at 2000 to 1000
16:31:18     INFO -  2491 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | timeout set to non-expiring value after timeout fires, original timeout at 1000, reset at 2000 to 5000
16:31:18     INFO -  2492 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | No events should fire for an unsent, unaborted request
16:31:18     INFO -  2493 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | time to abort is -1, timeout set at 2000
16:31:18     INFO -  2494 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | time to abort is 5000, timeout set at 2000
16:31:18     INFO -  2495 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | time to abort is 0, timeout set at 2000
16:31:18     INFO -  2496 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | time to abort is 1000, timeout set at 2000
16:31:18     INFO -  2497 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | Synchronous XHR must not allow a timeout to be set
16:31:18     INFO -  2498 INFO TEST-PASS | /tests/content/base/test/test_XHR_timeout.html | Synchronous XHR must not allow a timeout to be set
16:31:28     INFO -  2499 INFO TEST-INFO | MEMORY STAT vsize after test: 115474432
16:31:28     INFO -  2500 INFO TEST-INFO | MEMORY STAT residentFast after test: 52977664
16:31:28     INFO -  2501 INFO TEST-INFO | MEMORY STAT heapAllocated after test: 15505308
16:31:28     INFO -  2502 INFO TEST-END | /tests/content/base/test/test_XHR_timeout.html | finished in 144426ms
There was bug 798220, which is similar for workers, but that one has become wfm.

Bug 735152 looks also a bit similar. Kyle wrote a patch for that and wrote bug 735152, comment 11.
Kyle, perhaps you would have an idea why this intermittent would be happening?
Flags: needinfo?(khuey)
Martijn, I think we should just disable this again on B2G.
Flags: needinfo?(martijn.martijn)
Because of the way we fire timeouts in windows I think this is inherently racy.  Workers use a different mechanism that doesn't have the same issue.
Flags: needinfo?(khuey)
Perhaps make the timeouts longer or something?
Flags: needinfo?(martijn.martijn)
Please just disable the test and move on with your lives.
Flags: needinfo?(ryanvm)
lol, I was actually thinking the same thing earlier today
Flags: needinfo?(ryanvm)
Disabled on B2G.
https://hg.mozilla.org/integration/b2g-inbound/rev/d24400999f17
Assignee: nobody → ryanvm
Whiteboard: [test disabled on B2G][leave open]
Assignee: ryanvm → nobody
This is failing in e10s now. Obviously, the solution is not to disable this on e10s too.
if this starts happening again just disable the test
Whiteboard: [test disabled on B2G][leave open] → [test disabled on B2G][leave open][necko-backlog]
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
This week some new (and different) failures were mis-starred as this bug, when I think a new bug was warranted.  I filed bug 1349732.
Close it as now this should be tracked in bug 1349732 mentioned in comment 457.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.