almost always, if a shell command fails, the dispatcher should stop
Bug #901039 reported by
Michael Hudson-Doyle
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Dispatcher |
Fix Released
|
Critical
|
Michael Hudson-Doyle |
Bug Description
We've had a few problems where an important command has failed during deployment but we've carried on regardless. We should fail instead. There are a few commands we expect to fail some of the time -- these can be explicitly allowed to fail somehow.
Related branches
lp://staging/~mwhudson/lava-dispatcher/fail-should-fail
- Zygmunt Krynicki (community): Approve
-
Diff: 115 lines (+18/-14)2 files modifiedlava_dispatcher/client/base.py (+7/-3)
lava_dispatcher/client/master.py (+11/-11)
Changed in lava-dispatcher: | |
assignee: | Le Chi Thu (le-chi-thu) → Michael Hudson-Doyle (mwhudson) |
Changed in lava-dispatcher: | |
status: | New → Triaged |
milestone: | none → 2012.03 |
Changed in lava-dispatcher: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
Dispatcher fail to detect lava-installation error.
http:// validation. linaro. org/lava- server/ scheduler/ job/12687
root@master:~# [rc=0]: <LAVA_DISPATCHE R>2012- 02-17 09:02:48 PM DEBUG: sendline : chroot /mnt/testrootfs lava-test install build-gcc-181350 R>2012- 02-17 09:02:50 PM DEBUG: expect (2400): 'root@master:' people. linaro. org/~ams/ gcc-svn- 181350. tar.bz2' 181350. tar.bz2 --checkpoint=1000' 181350. tar.bz2 --checkpoint=1000' returned non-zero exit status 2 R>2012- 02-17 09:05:43 PM DEBUG: sendline : chroot /mnt/testrootfs rm -rf lava-test
chroot /mnt/testrootfs lava-test install build-gcc-181350
<LAVA_DISPATCHE
chroot /mnt/testrootfs lava-test install build-gcc-18135 0
LAVA: Downloading file from: u'http://
LAVA: Running shell command: u'tar xf gcc-svn-
LAVA: (stderr) tar (child): lbzip2: Cannot exec: No such file or directory
LAVA: (stderr) tar (child): Error is not recoverable: exiting now
LAVA: (stderr) tar: Child returned status 2
LAVA: (stderr) tar: Error is not recoverable: exiting now
ERROR: Command 'tar xf gcc-svn-
root@master:~# [rc=1]: <LAVA_DISPATCHE