Closed Bug 1596271 Opened 5 years ago Closed 4 years ago

Intermittent netwerk/test/unit/test_alt-data_closeWithStatus.js | xpcshell return code: 0

Categories

(Core :: Networking, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1639154

People

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

References

(Regression)

Details

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

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


[task 2019-11-13T22:25:55.751Z] 22:25:55 INFO - TEST-START | netwerk/test/unit/test_alt-data_closeWithStatus.js
[task 2019-11-13T22:25:56.271Z] 22:25:56 WARNING - TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_alt-data_closeWithStatus.js | xpcshell return code: 0
[task 2019-11-13T22:25:56.272Z] 22:25:56 INFO - TEST-INFO took 518ms
[task 2019-11-13T22:25:56.272Z] 22:25:56 INFO - >>>>>>>
[task 2019-11-13T22:25:56.272Z] 22:25:56 INFO - netwerk/test/unit/test_alt-data_closeWithStatus.js | xpcw: cd /sdcard/tests/xpc/netwerk/test/unit
[task 2019-11-13T22:25:56.274Z] 22:25:56 INFO - netwerk/test/unit/test_alt-data_closeWithStatus.js | xpcw: xpcshell -r /sdcard/tests/xpc/c/httpd.manifest --greomni /data/local/xpcb/geckoview-androidTest.apk -m -s -e const _HEAD_JS_PATH = "/sdcard/tests/xpc/head.js"; -e const _MOZINFO_JS_PATH = "/sdcard/tests/xpc/p/mozinfo.json"; -e const _PREFS_FILE = "/sdcard/tests/xpc/user.js"; -e const _TESTING_MODULES_DIR = "/sdcard/tests/xpc/m"; -f /sdcard/tests/xpc/head.js -e const _HEAD_FILES = ["/sdcard/tests/xpc/netwerk/test/unit/head_channels.js", "/sdcard/tests/xpc/netwerk/test/unit/head_cache.js", "/sdcard/tests/xpc/netwerk/test/unit/head_cache2.js", "/sdcard/tests/xpc/netwerk/test/unit/head_cookies.js"]; -e const _JSDEBUGGER_PORT = 0; -e const _TEST_FILE = ["test_alt-data_closeWithStatus.js"]; -e const _TEST_NAME = "netwerk/test/unit/test_alt-data_closeWithStatus.js"; -e _execute_test(); quit(0);
[task 2019-11-13T22:25:56.275Z] 22:25:56 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2019-11-13T22:25:56.275Z] 22:25:56 INFO - (xpcshell/head.js) | test pending (2)
[task 2019-11-13T22:25:56.276Z] 22:25:56 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2019-11-13T22:25:56.276Z] 22:25:56 INFO - running event loop
[task 2019-11-13T22:25:56.277Z] 22:25:56 INFO - TEST-PASS | netwerk/test/unit/test_alt-data_closeWithStatus.js | undefined assertion name - 13 == 13
[task 2019-11-13T22:25:56.278Z] 22:25:56 INFO - TEST-PASS | netwerk/test/unit/test_alt-data_closeWithStatus.js | readServerContent - [readServerContent : 108] "response body" == "response body"
[task 2019-11-13T22:25:56.278Z] 22:25:56 INFO - TEST-PASS | netwerk/test/unit/test_alt-data_closeWithStatus.js | readServerContent - [readServerContent : 109] "" == ""
[task 2019-11-13T22:25:56.279Z] 22:25:56 INFO - Error in closure function: [Exception... "Component returned failure code: 0x804b003d (NS_ERROR_CACHE_KEY_NOT_FOUND) [nsICacheStorage.getCacheIndexEntryAttrs]" nsresult: "0x804b003d (NS_ERROR_CACHE_KEY_NOT_FOUND)" location: "JS frame :: test_alt-data_closeWithStatus.js :: check_has_alt_data_in_index :: line 77" data: no]
[task 2019-11-13T22:25:56.280Z] 22:25:56 INFO - /sdcard/tests/xpc/netwerk/test/unit/head_channels.js:onStopRequest:238
[task 2019-11-13T22:25:56.280Z] 22:25:56 INFO - /sdcard/tests/xpc/head.js:_do_main:246
[task 2019-11-13T22:25:56.281Z] 22:25:56 INFO - /sdcard/tests/xpc/head.js:_execute_test:573
[task 2019-11-13T22:25:56.281Z] 22:25:56 INFO - -e:null:1
[task 2019-11-13T22:25:56.282Z] 22:25:56 INFO - exiting test
[task 2019-11-13T22:25:56.282Z] 22:25:56 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_ABORT: " {file: "/sdcard/tests/xpc/head.js" line: 791}]"
[task 2019-11-13T22:25:56.283Z] 22:25:56 INFO - netwerk/test/unit/test_alt-data_closeWithStatus.js | JavaScript error: /sdcard/tests/xpc/head.js, line 791: NS_ERROR_ABORT:
[task 2019-11-13T22:25:56.283Z] 22:25:56 INFO - netwerk/test/unit/test_alt-data_closeWithStatus.js | !!! error running onStopped callback: TypeError: callback is not a function
[task 2019-11-13T22:25:56.284Z] 22:25:56 INFO - "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "_stopCallback"" {file: "resource://testing-common/httpd.js" line: 819}]"
[task 2019-11-13T22:25:56.285Z] 22:25:56 INFO - netwerk/test/unit/test_alt-data_closeWithStatus.js | JavaScript strict warning: resource://testing-common/httpd.js, line 819: ReferenceError: reference to undefined property "_stopCallback"
[task 2019-11-13T22:25:56.285Z] 22:25:56 INFO - <<<<<<<

Valentin, can you take a look?

Flags: needinfo?(valentin.gosu)

It seems to be caused by bug 1594004.
I also see failures of netwerk/test/unit/test_alt-data_simple.js on autoland after that landed.

Marking as WORKSFORME since that got backed out. Bug 1594004 should either fix the tests or set the pref accordingly.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(valentin.gosu)
Regressed by: 1594004
Resolution: --- → WORKSFORME
Keywords: regression
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---

Assign Valentin to keep an eye on this to see if bug 1594004 eases this after it lands.
Thanks.

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

This bug can be closed. The network isolation has landed in bug 1639154 and it doesn't trigger this intermittent failure.

Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → DUPLICATE
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.