Closed Bug 1439901 Opened 6 years ago Closed 6 years ago

Intermittent Automation Error: Exception caught while running tests

Categories

(Firefox for Android Graveyard :: Testing, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: csabou [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=163425525&repo=autoland

https://queue.taskcluster.net/v1/task/Jcz4I8JgQAWA3vxdniyllQ/runs/0/artifacts/public/logs/live_backing.log

https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/Jcz4I8JgQAWA3vxdniyllQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

[task 2018-02-21T13:09:57.055Z] 13:09:57     INFO -  REFTEST TEST-START | http://10.0.2.2:8888/tests/layout/reftests/svg/foreignObject-start-hidden-01.svg == http://10.0.2.2:8888/tests/layout/reftests/svg/pass.svg
[task 2018-02-21T13:09:57.056Z] 13:09:57     INFO -  REFTEST TEST-LOAD | http://10.0.2.2:8888/tests/layout/reftests/svg/foreignObject-start-hidden-01.svg | 259 / 277 (93%)
[task 2018-02-21T13:10:07.858Z] 13:10:07     INFO -  Automation Error: Exception caught while running tests
[task 2018-02-21T13:10:07.858Z] 13:10:07     INFO -  Traceback (most recent call last):
[task 2018-02-21T13:10:07.858Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/tests/reftest/remotereftest.py", line 474, in run_test_harness
[task 2018-02-21T13:10:07.859Z] 13:10:07     INFO -      retVal = reftest.runTests(options.tests, options)
[task 2018-02-21T13:10:07.859Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/tests/reftest/runreftest.py", line 544, in runTests
[task 2018-02-21T13:10:07.860Z] 13:10:07     INFO -      return self.runSerialTests(manifests, options, cmdargs)
[task 2018-02-21T13:10:07.860Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/tests/reftest/runreftest.py", line 869, in runSerialTests
[task 2018-02-21T13:10:07.860Z] 13:10:07     INFO -      debuggerInfo=debuggerInfo
[task 2018-02-21T13:10:07.861Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/tests/reftest/remotereftest.py", line 365, in runApp
[task 2018-02-21T13:10:07.861Z] 13:10:07     INFO -      timeout=timeout)
[task 2018-02-21T13:10:07.863Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/tests/reftest/automation.py", line 544, in runApp
[task 2018-02-21T13:10:07.863Z] 13:10:07     INFO -      outputHandler=outputHandler)
[task 2018-02-21T13:10:07.863Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/tests/reftest/remoteautomation.py", line 111, in waitForFinish
[task 2018-02-21T13:10:07.863Z] 13:10:07     INFO -      status = proc.wait(timeout = maxTime, noOutputTimeout = timeout)
[task 2018-02-21T13:10:07.863Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/tests/reftest/remoteautomation.py", line 413, in wait
[task 2018-02-21T13:10:07.863Z] 13:10:07     INFO -      hasOutput = self.read_stdout()
[task 2018-02-21T13:10:07.863Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/tests/reftest/remoteautomation.py", line 332, in read_stdout
[task 2018-02-21T13:10:07.864Z] 13:10:07     INFO -      newLogContent = self.dm.pullFile(self.proc, self.stdoutlen)
[task 2018-02-21T13:10:07.864Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozdevice/devicemanagerADB.py", line 509, in pullFile
[task 2018-02-21T13:10:07.864Z] 13:10:07     INFO -      return tf2.read()
[task 2018-02-21T13:10:07.864Z] 13:10:07     INFO -    File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozfile/mozfile.py", line 376, in __exit__
[task 2018-02-21T13:10:07.864Z] 13:10:07     INFO -      os.unlink(self.__dict__['_path'])
[task 2018-02-21T13:10:07.864Z] 13:10:07     INFO -  OSError: [Errno 2] No such file or directory: '/tmp/tmpxRhHqW'
[task 2018-02-21T13:10:07.876Z] 13:10:07     INFO -  WARNING: Error getting device information
[task 2018-02-21T13:10:07.877Z] 13:10:07     INFO -  Exception OSError: (2, 'No such file or directory', '/tmp/tmpxRhHqW') in <bound method NamedTemporaryFile.__del__ of <mozfile.mozfile.NamedTemporaryFile object at 0x7f02ef098fd0>> ignored
[task 2018-02-21T13:10:07.897Z] 13:10:07    ERROR - Return code: 1
[task 2018-02-21T13:10:07.898Z] 13:10:07    ERROR - No tests run or test summary not found
[task 2018-02-21T13:10:07.898Z] 13:10:07     INFO - TinderboxPrint: reftest<br/><em class="testfail">T-FAIL</em>
[task 2018-02-21T13:10:07.898Z] 13:10:07     INFO - ##### reftest log ends
[task 2018-02-21T13:10:07.899Z] 13:10:07     INFO - ##### test-1 emulator log begins
I'm not sure what went wrong here, or how to fix it. The logcat shows the next test - foreignObject-start-hidden-02.svg - running, but then ends abruptly. Did the emulator become unresponsive? Even so, NamedTemporaryFile should have created the file...how could it have been deleted prior to the NamedTemporaryFile destruction?
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.