Closed Bug 1638330 Opened 4 years ago Closed 4 years ago

Intermittent TEST-UNEXPECTED-TIMEOUT | netwerk/test/unit/test_dns_disabled.js | Test timed out

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox76 --- unaffected
firefox77 --- unaffected
firefox78 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [retriggered][stockwell needswork:owner])

Attachments

(1 file)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=302451307&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UzSNF1nLQw2aThfdY_bOkg/runs/0/artifacts/public/logs/live_backing.log


[task 2020-05-15T13:29:47.772Z] 13:29:47 INFO - TEST-START | netwerk/test/unit/test_dns_disabled.js
[task 2020-05-15T13:34:47.773Z] 13:34:47 WARNING - TEST-UNEXPECTED-TIMEOUT | netwerk/test/unit/test_dns_disabled.js | Test timed out
[task 2020-05-15T13:34:47.773Z] 13:34:47 INFO - TEST-INFO took 299999ms
[task 2020-05-15T13:34:47.773Z] 13:34:47 INFO - >>>>>>>
[task 2020-05-15T13:34:47.773Z] 13:34:47 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-05-15T13:34:47.773Z] 13:34:47 INFO - (xpcshell/head.js) | test pending (2)
[task 2020-05-15T13:34:47.773Z] 13:34:47 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-05-15T13:34:47.773Z] 13:34:47 INFO - running event loop
[task 2020-05-15T13:34:47.773Z] 13:34:47 INFO - TEST-PASS | netwerk/test/unit/test_dns_disabled.js | onLookupComplete - [onLookupComplete : 31] "1.1.1.1" == "1.1.1.1"
[task 2020-05-15T13:34:47.773Z] 13:34:47 INFO - TEST-PASS | netwerk/test/unit/test_dns_disabled.js | do_test - [do_test : 60] true == true
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - TEST-PASS | netwerk/test/unit/test_dns_disabled.js | onLookupComplete - [onLookupComplete : 33] true == true
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - PID 11988 | JavaScript error: Z:/task_1589548479/build/tests/xpcshell/tests/netwerk/test/unit/test_dns_disabled.js, line 29: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDNSRecord.getNextAddrAsString]
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDNSRecord.getNextAddrAsString]" {file: "Z:/task_1589548479/build/tests/xpcshell/tests/netwerk/test/unit/test_dns_disabled.js" line: 29}]
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - onLookupComplete@Z:/task_1589548479/build/tests/xpcshell/tests/netwerk/test/unit/test_dns_disabled.js:29:29
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - _do_main@Z:\task_1589548479\build\tests\xpcshell\head.js:242:6
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - _execute_test@Z:\task_1589548479\build\tests\xpcshell\head.js:571:5
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - @-e:1:1
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - "
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - <<<<<<<
[task 2020-05-15T13:34:47.774Z] 13:34:47 INFO - mozcrash Writing a dump to c:\users\task_1589548479\appdata\local\temp\xpc-other-on9vcy\91fbe9c9-f587-44c0-b74a-f8feaff5811f.dmp for [11988]
[task 2020-05-15T13:34:47.839Z] 13:34:47 INFO - xpcshell return code: 1

Has Regression Range: --- → yes
Keywords: regression

Set release status flags based on info from the regressing bug 1636411

Remove test case which relied on an entry being in the DNS cache, and
was most likely the cause of the intermittent failures. Also added an assert
to check the lookup result status before calling inRecord.getNextAddrAsString(),
as that was resulting in a timeout instead of a test failure. Also some minor
changes removing a few lines that were not needed.

Assignee: nobody → acat
Status: NEW → ASSIGNED
Flags: needinfo?(acat)
Pushed by rmaries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4a52971214a1 Fix intermittent netwerk/test/unit/test_dns_disabled.js r=necko-reviewers,valentin
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: