Intermittent dom/network/tests/test_tcpsocket_jsm.html | Test timed out.

RESOLVED DUPLICATE of bug 1295453

Status

()

RESOLVED DUPLICATE of bug 1295453
2 years ago
2 years ago

People

(Reporter: intermittent-bug-filer, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Updated

2 years ago
Component: Networking → DOM
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
This is a timeout in the new test added in bug 1104156. Either closeImmediately threw an exception (I'm not sure what would happen, in that case), or we yield indefinitely waiting for at least 1 byte of data that never arrives.
Blocks: 1104156

Comment 4

2 years ago
Are these test failing on some specific OS or they are failing in general?
Flags: needinfo?(josh)
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1295483 shows intermittent failures on all major OSes.
Flags: needinfo?(josh)
I added a `throw TypeError("hi")` to the same code that calls closeImmediately and got different output, so we can ignore closeImmediately.
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)

Comment 9

2 years ago
(In reply to Josh Matthews [:jdm] from comment #6)
> I added a `throw TypeError("hi")` to the same code that calls
> closeImmediately and got different output, so we can ignore closeImmediately.

So it has nothing to do with our new Implementation for closeImmediately.
Well, CloseImmediately may be implemented in a way that occasionally causes our new test to time out, rather than receive any data at all. I'm not sure yet.

Comment 11

2 years ago
When it would not get that 1 byte of data (In reply to Josh Matthews [:jdm] from comment #10)
> Well, CloseImmediately may be implemented in a way that occasionally causes
> our new test to time out, rather than receive any data at all. I'm not sure
> yet.

CloseImmediately can cause time out when it waits for that 1 byte of data and it does not receive that, it would wait for it indefinitely.
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
AFAICT this is indeed just a duplicate of bug 1295453 (it's arbitrary which is the duplicate of which, but I think bug 1295453's summary more closely indicates the root cause)
Figured out how to dupe this bug in a starring-friendly way, doing so.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1295453
Keywords: intermittent-failure
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
You need to log in before you can comment on or make changes to this bug.