lava_test_run will always pass

Bug #813919 reported by Spring Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Fix Released
Medium
Spring Zhang

Bug Description

When lava-test fails to install, lava_test_run should fail but it will pass. Need to add some examination characters to determine if the test passes.

root@linaro:~# lava-test run stream -o /lava/results/stream-164746.bundle
lava-test run stream -o /lava/results/stream-164746.bundle
-bash: lava-test: command not found

Related branches

Paul Larson (pwlars)
Changed in lava-dispatcher:
importance: Undecided → Medium
Revision history for this message
Paul Larson (pwlars) wrote :

So there's two problems there then... we don't detect the failure in lava_test_install, and we don't do the same in lava_test_run. We should try to determine the exit status of the previous command, and use that to determine if something went wrong. Maybe we could add it to the prompt, and pick it up from there?

Changed in lava-dispatcher:
milestone: none → 2011.08
Spring Zhang (qzhang)
Changed in lava-dispatcher:
assignee: nobody → Spring Zhang (qzhang)
Revision history for this message
Spring Zhang (qzhang) wrote :

The issue is not 100% reproduced, sometimes I can't see the issue.

Revision history for this message
Spring Zhang (qzhang) wrote :

sorry the previous comment is mistaken for another.

Paul Larson (pwlars)
Changed in lava-dispatcher:
milestone: 2011.08 → 2011.09
Spring Zhang (qzhang)
Changed in lava-dispatcher:
status: New → In Progress
Spring Zhang (qzhang)
Changed in lava-dispatcher:
status: In Progress → Fix Committed
Fathi Boudra (fboudra)
Changed in lava-dispatcher:
status: Fix Committed → Fix Released
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.