Closed Bug 1703634 Opened 4 years ago Closed 3 years ago

Intermittent netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 78] 0 == 2147500036

Categories

(Core :: DOM: Networking, defect, P3)

defect

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: valentin)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, Whiteboard: [necko-triaged])

Attachments

(1 file)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=335726636&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/a5lzg_ZWQp-z-FJ732eD2g/runs/0/artifacts/public/logs/live_backing.log


[task 2021-04-07T16:58:30.272Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | sanity_check - [sanity_check : 48] true == true
[task 2021-04-07T16:58:30.272Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | sanity_check - [sanity_check : 1] Checking that this is the correct callback - true == true
[task 2021-04-07T16:58:30.273Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | sanity_check - [sanity_check : 1] Checking status - 0 == 0
[task 2021-04-07T16:58:30.274Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | sanity_check - [sanity_check : 1] Checking result for example.com - "1.2.3.4" == "1.2.3.4"
[task 2021-04-07T16:58:30.274Z] 16:58:30     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2021-04-07T16:58:30.274Z] 16:58:30     INFO -  (xpcshell/head.js) | test sanity_check finished (2)
[task 2021-04-07T16:58:30.275Z] 16:58:30     INFO -  netwerk/test/unit/test_trr_cancel.js | Starting cancel_immediately
[task 2021-04-07T16:58:30.275Z] 16:58:30     INFO -  (xpcshell/head.js) | test cancel_immediately pending (2)
[task 2021-04-07T16:58:30.276Z] 16:58:30     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2021-04-07T16:58:30.276Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 63] true == true
[task 2021-04-07T16:58:30.277Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 64] true == true
[task 2021-04-07T16:58:30.278Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 1] Checking that this is the correct callback - true == true
[task 2021-04-07T16:58:30.279Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 67] 2147500036 == 2147500036
[task 2021-04-07T16:58:30.279Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 1] Checking that this is the correct callback - true == true
[task 2021-04-07T16:58:30.280Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 1] Checking status - 0 == 0
[task 2021-04-07T16:58:30.280Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 1] Checking result for example.org - "2.3.4.5" == "2.3.4.5"
[task 2021-04-07T16:58:30.281Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 69] 1 == 1
[task 2021-04-07T16:58:30.281Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 73] true == true
[task 2021-04-07T16:58:30.282Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 74] true == true
[task 2021-04-07T16:58:30.282Z] 16:58:30     INFO -  TEST-PASS | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 1] Checking that this is the correct callback - true == true
[task 2021-04-07T16:58:30.284Z] 16:58:30  WARNING -  TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_trr_cancel.js | cancel_immediately - [cancel_immediately : 78] 0 == 2147500036```

It seems to be happening mostly with the socket process.
The test is inherently racy (making a request and cancelling it immediately after).
We should try to express this in a way that doesn't depend on timing.

Assignee: nobody → valentin.gosu
Blocks: doh
Priority: P5 → P3
Whiteboard: [necko-triaged]

The test is racy in that it expects the request to be immediately cancelled,
but with the socket process that takes an IPC round-trip.

Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/84a32f3e3a14 Disable test_trr_cancel.js::cancel_immediately for socket process r=necko-reviewers,kershaw
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: