Closed
Bug 1611483
Opened 5 years ago
Closed 5 years ago
Fix `netwerk/test/unit/test_trr.js` on Android
Categories
(Core :: Networking: DNS, task, P2)
Tracking
()
RESOLVED
FIXED
mozilla74
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: mayhemer, Assigned: mayhemer)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - Got data despite expecting a failure
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/netwerk/test/unit/head_channels.js:onDataAvailable:157
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/head.js:_do_main:246
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/head.js:_execute_test:573
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - -e:null:1
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - exiting test
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - Error in onDataAvailable: [Exception... "Abort" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "JS frame :: /sdcard/tests/xpc/head.js :: _abort_failed_test :: line 791" data: no]
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/netwerk/test/unit/head_channels.js:onDataAvailable:180
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/head.js:_do_main:246
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/head.js:_execute_test:573
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - -e:null:1
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - exiting test
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - netwerk/test/unit/test_trr.js | JavaScript error: /sdcard/tests/xpc/head.js, line 791: NS_ERROR_ABORT:
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - TEST-PASS | netwerk/test/unit/test_trr.js | test_trr_flags - [test_trr_flags : 225] 3 == 3
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_ABORT: " {file: "/sdcard/tests/xpc/head.js" line: 791}]"
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - Could not get contentLength
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/netwerk/test/unit/head_channels.js:onStartRequest:106
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/head.js:_execute_test:658
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - -e:null:1
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - exiting test
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - Error in onStartRequest: [Exception... "Abort" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "JS frame :: /sdcard/tests/xpc/head.js :: _abort_failed_test :: line 791" data: no]
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/netwerk/test/unit/head_channels.js:onStartRequest:139
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/head.js:_execute_test:658
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - -e:null:1
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - exiting test
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - netwerk/test/unit/test_trr.js | JavaScript error: /sdcard/tests/xpc/head.js, line 791: NS_ERROR_ABORT:
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - Failed to load URL: 80004004
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/netwerk/test/unit/head_channels.js:onStopRequest:207
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/head.js:_execute_test:658
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - -e:null:1
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - exiting test
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - Error in onStopRequest: [Exception... "Abort" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "JS frame :: /sdcard/tests/xpc/head.js :: _abort_failed_test :: line 791" data: no]
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/netwerk/test/unit/head_channels.js:onStopRequest:226
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - /sdcard/tests/xpc/head.js:_execute_test:658
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - -e:null:1
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - exiting test
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - netwerk/test/unit/test_trr.js | JavaScript error: /sdcard/tests/xpc/head.js, line 791: NS_ERROR_ABORT:
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_ABORT: " {file: "/sdcard/tests/xpc/head.js" line: 791}]"
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_ABORT: " {file: "/sdcard/tests/xpc/head.js" line: 791}]"
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - netwerk/test/unit/test_trr.js | JavaScript strict warning: resource://testing-common/httpd.js, line 819: ReferenceError: reference to undefined property "_stopCallback"
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - netwerk/test/unit/test_trr.js | !!! error running onStopped callback: TypeError: callback is not a function
[task 2020-01-24T15:11:55.349Z] 15:11:55 INFO - "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "_stopCallback"" {file: "resource://testing-common/httpd.js" line: 819}]"
The problem likely is that the server is somehow reachable on the (presumed bad) 0.0.0.0 IP address and we unexpectedly get a response.
Trying the same solution as for linux:
![]() |
Assignee | |
Updated•5 years ago
|
OS: Unspecified → Android
![]() |
Assignee | |
Comment 1•5 years ago
|
||
Pushed by honzab.moz@firemni.cz:
https://hg.mozilla.org/integration/autoland/rev/972094b0d567
Fix `BAD_IP` in netwerk/test/unit/test_trr.js on Android to be 127.9.9.9 to make the test work, r=dragana
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in
before you can comment on or make changes to this bug.
Description
•