Closed
Bug 961058
Opened 10 years ago
Closed 7 years ago
Install App on Device should timeout gracefully, outputting a TBPL compatible failure message
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: emorley, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: sheriffing-P1, Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2682] )
In order to save the full log having to be opened (and to differentiate between the various buildbot "command timed out: 1200 seconds without output, attempting to kill" failures), we should timeout gracefully rather than hitting the buildbot buildstep timeout, and output a TBPL-compatible failure message, eg "Automation Error: Install app on device timed out." Current failures are of the form: https://tbpl.mozilla.org/php/getParsedLog.php?id=32828052&tree=Fx-Team { ========= Started Install App on Device failed (results: 2, elapsed: 20 mins, 0 secs) (at 2014-01-10 09:08:08.116680) ========= python /builds/sut_tools/installApp.py 10.250.51.195 build/fennec-29.0a1.en-US.android-arm.apk org.mozilla.fennec in dir /builds/tegra-355/test/. (timeout 1200 secs) watching logfiles {} argv: ['python', '/builds/sut_tools/installApp.py', '10.250.51.195', u'build/fennec-29.0a1.en-US.android-arm.apk', 'org.mozilla.fennec'] environment: HOME=/home/cltbld LOGNAME=cltbld OLDPWD=/home/cltbld PATH=/usr/local/bin:/usr/local/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cltbld/bin PWD=/builds/tegra-355/test PYTHONPATH=/builds/sut_tools SHELL=/bin/sh SHLVL=4 SUT_IP=10.250.51.195 SUT_NAME=tegra-355 USER=cltbld _=/tools/buildbot/bin/python2.7 using PTY: False 01/10/2014 09:08:08: INFO: copying build/fennec/application.ini to build/talos/remoteapp.ini 01/10/2014 09:08:08: DEBUG: calling [cp build/fennec/application.ini build/talos/remoteapp.ini] 01/10/2014 09:08:08: DEBUG: cp: cannot create regular file `build/talos/remoteapp.ini': No such file or directory 01/10/2014 09:08:08: INFO: connecting to: 10.250.51.195 reconnecting socket 01/10/2014 09:08:08: INFO: devroot /mnt/sdcard/tests 01/10/2014 09:08:08: INFO: 10.250.48.33, 50355 01/10/2014 09:08:08: INFO: Current device time is 2014/01/10 09:08:07 01/10/2014 09:08:08: INFO: Setting device time to 2014/01/10 09:08:08 01/10/2014 09:08:08: INFO: Current device time is 2014/01/10 09:08:08 command timed out: 1200 seconds without output, attempting to kill process killed by signal 9 program finished with exit code -1 elapsedTime=1200.606172 ========= Finished Install App on Device failed (results: 2, elapsed: 20 mins, 0 secs) (at 2014-01-10 09:28:08.984508) ========= }
Reporter | ||
Comment 1•10 years ago
|
||
https://hg.mozilla.org/build/tools/file/tip/sut_tools/installApp.py
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2675]
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2675] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2682]
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•