Dependencies are not always being honoured
Bug #861218 reported by
Ara Pulido
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
High
|
Marc Tardif |
Bug Description
Steps to reproduce:
- Launch checkbox, this works even from trunk source. If running from trunk, use:
bin/checkbox-gtk -W data/whitelists
- On the test selection screen, deselect everything, and select only:
- keys/sleep under Hotkey tests
- suspend/
- Continue the test run
- Expected result:
1- suspend/
2- If suspend_advanced is marked as fail, keys/sleep doesn't run
- Actual result:
- keys/sleep runs first
- I never managed to get them to run in correct order, so I could check what happens if suspend_advanced fails.
Related branches
lp:~cr3/checkbox/861218
- Jeff Lane : Approve
-
Diff: 23 lines (+2/-1)2 files modifiedcheckbox/job.py (+1/-1)
debian/changelog (+1/-0)
lp:~roadmr/ubuntu/oneiric/checkbox/0.12.8
- Mathieu Trudel-Lapierre: Approve
- Ubuntu branches: Pending requested
-
Diff: 12410 lines (+2530/-1911)31 files modifiedcheckbox/job.py (+1/-1)
checkbox/lib/transport.py (+14/-4)
checkbox_gtk/gtk_interface.py (+5/-2)
data/whitelists/default.whitelist (+3/-14)
debian/changelog (+56/-0)
debian/po/de.po (+28/-16)
debian/po/it.po (+10/-9)
debian/po/pt_BR.po (+9/-7)
gtk/checkbox-gtk.desktop.in (+1/-1)
jobs/mediacard.txt.in (+6/-6)
jobs/miscellanea.txt.in (+2/-2)
jobs/suspend.txt.in (+3/-3)
plugins/apport_prompt.py (+2/-0)
plugins/intro_prompt.py (+14/-7)
plugins/launchpad_exchange.py (+6/-2)
plugins/suites_prompt.py (+4/-0)
po/de.po (+457/-301)
po/gl.po (+274/-301)
po/hu.po (+16/-16)
po/it.po (+36/-37)
po/pt_BR.po (+431/-339)
po/ru.po (+491/-321)
po/sl.po (+461/-227)
po/zh_HK.po (+126/-213)
scripts/connect_wireless (+4/-3)
scripts/cpu_scaling_test (+50/-9)
scripts/internet_test (+2/-2)
scripts/network_check (+3/-5)
scripts/reconnect (+0/-5)
scripts/resolution_test (+14/-57)
scripts/usb_test (+1/-1)
summary: |
- Sleep key test should depend on suspend test + Dependencies are not always being honoured |
description: | updated |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
As of revision 1021 of checkbox, the keys/sleep job contains the required dependency on suspend/ suspend_ advanced:
plugin: manual ,'Laptop' ,'Portable' ] suspend_ advanced
name: keys/sleep
requires: device.product in ['Notebook'
depends: suspend/
_description:
Press the sleep key on the keyboard. The computer should suspend and, \
after pressing the power button, resume successfully.
.
Does the key work?
I'll try to confirm and see why it's not working as intended.