Closed Bug 1564236 Opened 6 years ago Closed 6 years ago

Intermittent netwerk/test/unit/test_fallback_response-error_passing.js | xpcshell return code: 0

Categories

(Core :: Networking, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME

People

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

References

Details

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

Filed by: shindli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=255290644&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/UjcQ_WRNQ0emUljAT3Pjug/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/UjcQ_WRNQ0emUljAT3Pjug/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2019-07-08T17:50:40.586Z] 17:50:40 INFO - MOZ_NODE_PATH environment variable not set. Tests requiring http/2 will fail.
[task 2019-07-08T17:50:40.713Z] 17:50:40 INFO - :::
[task 2019-07-08T17:50:40.713Z] 17:50:40 INFO - ::: Running test verification step "1. Run each test 10 times, sequentially."...
[task 2019-07-08T17:50:40.713Z] 17:50:40 INFO - :::
[task 2019-07-08T17:50:40.714Z] 17:50:40 INFO - Running tests sequentially.
[task 2019-07-08T17:50:40.714Z] 17:50:40 INFO - SUITE-START | Running 1 tests
[task 2019-07-08T17:50:41.327Z] 17:50:41 INFO - TEST-START | netwerk/test/unit/test_fallback_response-error_passing.js
[task 2019-07-08T17:50:41.733Z] 17:50:41 WARNING - TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_fallback_response-error_passing.js | xpcshell return code: 0
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - TEST-INFO took 406ms
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - >>>>>>>
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - netwerk/test/unit/test_fallback_response-error_passing.js | xpcw: cd /sdcard/tests/xpc/netwerk/test/unit
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - netwerk/test/unit/test_fallback_response-error_passing.js | xpcw: xpcshell -r /sdcard/tests/xpc/c/httpd.manifest --greomni /data/local/xpcb/target.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_fallback_response-error_passing.js"]; -e const _TEST_NAME = "netwerk/test/unit/test_fallback_response-error_passing.js"; -e _execute_test(); quit(0);
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - netwerk/test/unit/test_fallback_response-error_passing.js | /data/local/xpcb/xpcw[18]: cd: /sdcard/tests/xpc/netwerk/test/unit: No such file or directory
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - Error: cannot open file '/sdcard/tests/xpc/netwerk/test/unit/head_channels.js' for reading at /sdcard/tests/xpc/head.js:681
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - load_file@/sdcard/tests/xpc/head.js:681:7
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _load_files@/sdcard/tests/xpc/head.js:693:10
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _execute_test@/sdcard/tests/xpc/head.js:542:3
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - @-e:1:1
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - Error: cannot open file '/sdcard/tests/xpc/netwerk/test/unit/head_cache.js' for reading at /sdcard/tests/xpc/head.js:681
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - load_file@/sdcard/tests/xpc/head.js:681:7
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _load_files@/sdcard/tests/xpc/head.js:693:10
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _execute_test@/sdcard/tests/xpc/head.js:542:3
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - @-e:1:1
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - Error: cannot open file '/sdcard/tests/xpc/netwerk/test/unit/head_cache2.js' for reading at /sdcard/tests/xpc/head.js:681
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - load_file@/sdcard/tests/xpc/head.js:681:7
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _load_files@/sdcard/tests/xpc/head.js:693:10
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _execute_test@/sdcard/tests/xpc/head.js:542:3
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - @-e:1:1
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - Error: cannot open file '/sdcard/tests/xpc/netwerk/test/unit/head_cookies.js' for reading at /sdcard/tests/xpc/head.js:681
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - load_file@/sdcard/tests/xpc/head.js:681:7
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _load_files@/sdcard/tests/xpc/head.js:693:10
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _execute_test@/sdcard/tests/xpc/head.js:542:3
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - @-e:1:1
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - Error: cannot open file 'test_fallback_response-error_passing.js' for reading at /sdcard/tests/xpc/head.js:681
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - load_file@/sdcard/tests/xpc/head.js:681:7
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _load_files@/sdcard/tests/xpc/head.js:693:10
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - _execute_test@/sdcard/tests/xpc/head.js:544:3
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - @-e:1:1
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - running event loop
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - (xpcshell/head.js) | test run_next_test 0 finished (1)
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - exiting test
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - netwerk/test/unit/test_fallback_response-error_passing.js | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
[task 2019-07-08T17:50:41.736Z] 17:50:41 INFO - <<<<<<<
[task 2019-07-08T17:50:43.068Z] 17:50:43 INFO - TEST-START | netwerk/test/unit/test_fallback_response-error_passing.js
[task 2019-07-08T17:50:43.476Z] 17:50:43 WARNING - TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_fallback_response-error_passing.js | xpcshell return code: 0
[task 2019-07-08T17:50:43.476Z] 17:50:43 INFO - TEST-INFO took 406ms
[task 2019-07-08T17:50:43.476Z] 17:50:43 INFO - >>>>>>>
[task 2019-07-08T17:50:43.476Z] 17:50:43 INFO - netwerk/test/unit/test_fallback_response-error_passing.js | xpcw: cd /sdcard/tests/xpc/netwerk/test/unit

I think there is something wrong with the Android test framework.
Looking at the log in this bug, log in bug 1564237, and log in bug 1564237, the errors are all about failing to open needed files on /sdcard folder.

Joel, is this something you can look at? Or do you know who can take a look? Thanks.

Flags: needinfo?(jmaher)

this is intermittent, probably some exception in copying files to the emulator, or how the emulator was setup.

I don't know a lot about these emulators, but :gbrown does (on PTO this week)

Flags: needinfo?(jmaher) → needinfo?(gbrown)

I thought https://hg.mozilla.org/mozilla-central/rev/49f22f8f91f9 would resolve this type of problem, but maybe it didn't...will investigate next week.

Assignee: nobody → gbrown
Flags: needinfo?(gbrown)
Type: -- → defect
Whiteboard: [necko-triaged]

(In reply to Geoff Brown [:gbrown] from comment #3)

I thought https://hg.mozilla.org/mozilla-central/rev/49f22f8f91f9 would resolve this type of problem, but maybe it didn't...will investigate next week.

The emulator upgrade did introduce this type of failure (missing xpcshell test files) in android xpcshell tasks, and the downgrade appears to have resolved those issues. The later failures reported here (comment 4) look very similar, but occur in test-verify and so far only on one push (which modified many xpcshell tests) -- I think it is a different issue...

After the change referenced in comment 3, there were a few additional failures in test-verify on specific revisions. These have not repeated, and I cannot reproduce the failures on try:

https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=208482bf72fa7aaf91f0097511db9acaed1e14aa

That is, test-verify now passes consistently when run on the same tests.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.