Closed Bug 1562344 Opened 5 years ago Closed 5 years ago

Intermittent caps/tests/unit/test_origin.js | xpcshell return code: 0

Categories

(Testing :: XPCShell Harness, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1556058

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=254005156&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/edgCIFG-TmmbUjnvQ9fC2g/runs/0/artifacts/public/logs/live_backing.log


[task 2019-06-28T22:02:36.316Z] 22:02:36 INFO - MOZ_NODE_PATH environment variable not set. Tests requiring http/2 will fail.
[task 2019-06-28T22:02:36.494Z] 22:02:36 INFO - Running tests sequentially.
[task 2019-06-28T22:02:36.496Z] 22:02:36 INFO - SUITE-START | Running 960 tests
[task 2019-06-28T22:02:37.112Z] 22:02:37 INFO - TEST-START | caps/tests/unit/test_origin.js
[task 2019-06-28T22:02:37.517Z] 22:02:37 WARNING - TEST-UNEXPECTED-FAIL | caps/tests/unit/test_origin.js | xpcshell return code: 0
[task 2019-06-28T22:02:37.517Z] 22:02:37 INFO - TEST-INFO took 405ms
[task 2019-06-28T22:02:37.517Z] 22:02:37 INFO - >>>>>>>
[task 2019-06-28T22:02:37.517Z] 22:02:37 INFO - caps/tests/unit/test_origin.js | xpcw: cd /sdcard/tests/xpc/caps/tests/unit
[task 2019-06-28T22:02:37.517Z] 22:02:37 INFO - caps/tests/unit/test_origin.js | /data/local/xpcb/xpcw[17]: cd: /sdcard/tests/xpc/caps/tests/unit: No such file or directory
[task 2019-06-28T22:02:37.518Z] 22:02:37 INFO - caps/tests/unit/test_origin.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 = []; -e const _JSDEBUGGER_PORT = 0; -e const _TEST_FILE = ["test_origin.js"]; -e const _TEST_NAME = "caps/tests/unit/test_origin.js"; -e _execute_test(); quit(0);
[task 2019-06-28T22:02:37.518Z] 22:02:37 INFO - Error: cannot open file 'test_origin.js' for reading at /sdcard/tests/xpc/head.js:637
[task 2019-06-28T22:02:37.518Z] 22:02:37 INFO - load_file@/sdcard/tests/xpc/head.js:637:7
[task 2019-06-28T22:02:37.518Z] 22:02:37 INFO - _load_files@/sdcard/tests/xpc/head.js:649:10
[task 2019-06-28T22:02:37.518Z] 22:02:37 INFO - _execute_test@/sdcard/tests/xpc/head.js:503:3
[task 2019-06-28T22:02:37.518Z] 22:02:37 INFO - @-e:1:1
[task 2019-06-28T22:02:37.518Z] 22:02:37 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2019-06-28T22:02:37.518Z] 22:02:37 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2019-06-28T22:02:37.519Z] 22:02:37 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2019-06-28T22:02:37.519Z] 22:02:37 INFO - running event loop
[task 2019-06-28T22:02:37.519Z] 22:02:37 INFO - (xpcshell/head.js) | test run_next_test 0 finished (1)
[task 2019-06-28T22:02:37.519Z] 22:02:37 INFO - exiting test
[task 2019-06-28T22:02:37.519Z] 22:02:37 INFO - caps/tests/unit/test_origin.js | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 110: uncaught exception: Object
[task 2019-06-28T22:02:37.519Z] 22:02:37 INFO - <<<<<<<

This started when the emulator was upgraded, in bug 1556058.

It looks like some files are intermittently missing:

[task 2019-06-29T11:11:01.433Z] 11:11:01 INFO - Error: cannot open file 'test_origin.js' for reading at /sdcard/tests/xpc/head.js:637

Assignee: nobody → gbrown
Regressed by: 1556058
Type: -- → defect

Corrected by downgrading the emulator used for android xpcshell tests, https://hg.mozilla.org/mozilla-central/rev/49f22f8f91f9, bug 1556058.

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