Missing apt-get command causes lava_test_shell to stop, but is not reported as a fail

Bug #1158665 reported by Nicholas Schutt
6
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.

Revision history for this message
Nicholas Schutt (nick-schutt) wrote :

A different, but related issue: Package doesn't exist:

+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -q package_that_doesnt_exist
sudo: unable to resolve host qemu02
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package package_that_doesnt_exist
<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
<LAVA_DISPATCHER>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''
<LAVA_DISPATCHER>2013-03-22 09:25:57 AM DEBUG: Executing on host : ''sudo umount /tmp/tmpQI21Fg''
<LAVA_DISPATCHER>2013-03-22 09:25:58 AM DEBUG: Executing on host : ''rm -rf /tmp/tmpQI21Fg''

<LAVA_DISPATCHER>2013-03-22 09:25:58 AM INFO: [ACTION-E] lava_test_shell is finished successfully. <<<*******

<LAVA_DISPATCHER>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'}
<LAVA_DISPATCHER>2013-03-22 09:25:58 AM DEBUG: server RPC endpoint URL: http://nick@localhost/RPC2/
<LAVA_DISPATCHER>2013-03-22 09:25:58 AM INFO: Dashboard : http://localhost/dashboard/permalink/bundle/d3a1dce66f651c7adb9e34d41e36b4b0b41473d1/

Changed in lava-dispatcher:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Senthil Kumaran S (stylesen)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.