Closed Bug 1422974 Opened 7 years ago Closed 7 years ago

Intermittent netwerk/test/unit/test_cache2-30d-pinning-WasEvicted-API.js | xpcshell return code: 1512415676882

Categories

(Core :: Networking, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1410723

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: apavel [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=149639423&repo=autoland https://queue.taskcluster.net/v1/task/MA6dGNmmTJCv6hIOaq3joQ/runs/0/artifacts/public/logs/live_backing.log [task 2017-12-04T19:27:55.397Z] 19:27:55 INFO - TEST-START | netwerk/test/unit/test_cache2-30d-pinning-WasEvicted-API.js [task 2017-12-04T19:27:57.306Z] 19:27:57 INFO - mozdevice killProcess failed force-stop of xpcshell [task 2017-12-04T19:27:57.315Z] 19:27:57 WARNING - TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_cache2-30d-pinning-WasEvicted-API.js | xpcshell return code: 1512415676882 [task 2017-12-04T19:27:57.315Z] 19:27:57 INFO - TEST-INFO took 1917ms [task 2017-12-04T19:27:57.316Z] 19:27:57 INFO - >>>>>>> [task 2017-12-04T19:27:57.317Z] 19:27:57 INFO - netwerk/test/unit/test_cache2-30d-pinning-WasEvicted-API.js | xpcw: cd /storage/sdcard/tests/xpc/netwerk/test/unit [task 2017-12-04T19:27:57.318Z] 19:27:57 INFO - netwerk/test/unit/test_cache2-30d-pinning-WasEvicted-API.js | xpcw: xpcshell -r /storage/sdcard/tests/xpc/c/httpd.manifest --greomni /data/local/xpcb/target.apk -m -s -e const _HEAD_JS_PATH = "/storage/sdcard/tests/xpc/head.js"; -e const _MOZINFO_JS_PATH = "/storage/sdcard/tests/xpc/p/mozinfo.json"; -e const _TESTING_MODULES_DIR = "/storage/sdcard/tests/xpc/m"; -f /storage/sdcard/tests/xpc/head.js -e const _SERVER_ADDR = "localhost" -e const _HEAD_FILES = ["/storage/sdcard/tests/xpc/netwerk/test/unit/head_channels.js", "/storage/sdcard/tests/xpc/netwerk/test/unit/head_cache.js", "/storage/sdcard/tests/xpc/netwerk/test/unit/head_cache2.js"]; -e const _JSDEBUGGER_PORT = 0; -e const _TEST_FILE = ["test_cache2-30d-pinning-WasEvicted-API.js"]; -e const _TEST_NAME = "netwerk/test/unit/test_cache2-30d-pinning-WasEvicted-API.js" -e _execute_test(); quit(0); [task 2017-12-04T19:27:57.318Z] 19:27:57 INFO - netwerk/test/unit/test_cache2-30d-pinning-WasEvicted-API.js | {"action":"log","time":1512415676882,"thread":null,"pid":null,"source":"xpcshell/head.js","level":"INFO","message":"(xpcshell/head.js) | test MAIN run_test pending (1)" [task 2017-12-04T19:27:57.318Z] 19:27:57 INFO - <<<<<<< [task 2017-12-04T19:27:57.339Z] 19:27:57 INFO - mozdevice getDirectory() failed after ['pull', '/storage/sdcard/tests/xpc/minidumps', '/tmp/tmpz1uo3A/minidumps'] [task 2017-12-04T19:27:57.340Z] 19:27:57 INFO - mozdevice rc=1 out=['adb: error: failed to get feature set: no devices/emulators found'] [task 2017-12-04T19:27:57.349Z] 19:27:57 INFO - Following exceptions were raised: [task 2017-12-04T19:27:57.353Z] 19:27:57 INFO - Traceback (most recent call last): [task 2017-12-04T19:27:57.353Z] 19:27:57 INFO - File "/builds/worker/workspace/build/tests/xpcshell/runxpcshelltests.py", line 181, in run [task 2017-12-04T19:27:57.353Z] 19:27:57 INFO - self.run_test() [task 2017-12-04T19:27:57.353Z] 19:27:57 INFO - File "/builds/worker/workspace/build/tests/xpcshell/runxpcshelltests.py", line 777, in run_test [task 2017-12-04T19:27:57.353Z] 19:27:57 INFO - if self.checkForCrashes(self.tempDir, self.symbolsPath, test_name=name): [task 2017-12-04T19:27:57.353Z] 19:27:57 INFO - File "/builds/worker/workspace/build/tests/xpcshell/remotexpcshelltests.py", line 181, in checkForCrashes [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - self.device.getDirectory(self.remoteMinidumpDir, dumpDir) [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozdevice/devicemanagerADB.py", line 545, in getDirectory [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - dir_util.copy_tree(localDir, originalLocal) [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - File "/usr/lib/python2.7/distutils/dir_util.py", line 128, in copy_tree [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - "cannot copy tree '%s': not a directory" % src [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - DistutilsFileError: cannot copy tree '/tmp/tmpz1uo3A/minidumps': not a directory [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - Traceback (most recent call last): [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - File "/builds/worker/workspace/build/tests/xpcshell/remotexpcshelltests.py", line 628, in <module> [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - main() [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - File "/builds/worker/workspace/build/tests/xpcshell/remotexpcshelltests.py", line 623, in main [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - mobileArgs=xpcsh.mobileArgs): [task 2017-12-04T19:27:57.354Z] 19:27:57 INFO - File "/builds/worker/workspace/build/tests/xpcshell/runxpcshelltests.py", line 1370, in runTests [task 2017-12-04T19:27:57.355Z] 19:27:57 INFO - mobileArgs, **kwargs) [task 2017-12-04T19:27:57.355Z] 19:27:57 INFO - File "/builds/worker/workspace/build/tests/xpcshell/runxpcshelltests.py", line 1565, in runTestList [task 2017-12-04T19:27:57.355Z] 19:27:57 INFO - raise exceptions[0] [task 2017-12-04T19:27:57.355Z] 19:27:57 INFO - distutils.errors.DistutilsFileError: cannot copy tree '/tmp/tmpz1uo3A/minidumps': not a directory [task 2017-12-04T19:27:57.384Z] 19:27:57 ERROR - Return code: 1 [task 2017-12-04T19:27:57.385Z] 19:27:57 ERROR - No tests run or test summary not found [task 2017-12-04T19:27:57.385Z] 19:27:57 INFO - TinderboxPrint: xpcshell<br/><em class="testfail">T-FAIL</em> [task 2017-12-04T19:27:57.385Z] 19:27:57 INFO - ##### xpcshell log ends
I don't see anything wrong in the test's output and it's not clear to me why the test fails (similar bugs are 1422996 and 1422555). Looks like the testing framework decided to kill xpcshell, but I have no idea why. Bob, can you help me to understand the failures?
Flags: needinfo?(bob)
I'm not that familiar with the emulator based tests, but this does look similar to some other failures that gbrown has been investigating. gbrown?
Flags: needinfo?(bob) → needinfo?(gbrown)
I didn't realize this was being reported anywhere but bug 1410723. I am almost certain that when we see "cannot copy tree", the failures are not related to any test. Apologies for the confusion. I hope to get this resolved this week.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(gbrown)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.