Missing apt-get command causes lava_test_shell to stop, but is not reported as a fail
Bug #1158665 reported by
Nicholas Schutt
This bug report is a duplicate of:
Bug #1206046: Failure in the install step should show in the result bundle.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Dispatcher |
Confirmed
|
Low
|
Senthil Kumaran S |
Bug Description
User attempted to use "deps" for an open embedded image. deps calls apt-get, which does not exist in the open embedded image. In this case, the apt-get command failed, but lava_test_shell finished as "passed." It seems that this should throw an exception instead to show that an error occurred (even if it was a configuration error).
Note: How to handle deps for different distributions is a topic for another bug.
Changed in lava-dispatcher: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Senthil Kumaran S (stylesen) |
To post a comment you must log in.
A different, but related issue: Package doesn't exist:
+ sudo DEBIAN_ FRONTEND= noninteractive apt-get install -y -q package_ that_doesnt_ exist that_doesnt_ exist
sudo: unable to resolve host qemu02
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package package_
<LAVA_TEST_RUNNER>: 0_lava-test-shell-1 installer failed, exiting
hwcontext swcontext
<LAVA_TEST_RUNNER>: calling sync
<LAVA_TEST_RUNNER>: exiting< LAVA_DISPATCHER >2013-03- 22 09:25:57 AM INFO: lava_test_shell seems to have completed R>2013- 03-22 09:25:57 AM DEBUG: Executing on host : 'u'sudo mount -o loop,offset= 54525952 /srv/lava/ instances/ development/ var/www/ lava-server/ images/ tmpFk3MDm/ beagle- nano.img /tmp/tmpQI21Fg'' R>2013- 03-22 09:25:57 AM DEBUG: Executing on host : ''sudo umount /tmp/tmpQI21Fg'' R>2013- 03-22 09:25:58 AM DEBUG: Executing on host : ''rm -rf /tmp/tmpQI21Fg''
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE R>2013- 03-22 09:25:58 AM INFO: [ACTION-E] lava_test_shell is finished successfully. <<<*******
<LAVA_DISPATCHE R>2013- 03-22 09:25:58 AM INFO: Submitting the test result with parameters = {u'token': '<HIDDEN>', u'stream': u'/anonymous/ nick/', u'server': u'http:// nick@localhost/ RPC2'} R>2013- 03-22 09:25:58 AM DEBUG: server RPC endpoint URL: http:// nick@localhost/ RPC2/ R>2013- 03-22 09:25:58 AM INFO: Dashboard : http:// localhost/ dashboard/ permalink/ bundle/ d3a1dce66f651c7 adb9e34d41e36b4 b0b41473d1/
<LAVA_DISPATCHE
<LAVA_DISPATCHE