acpi_sleep_attachement fails everytime
Bug #1316695 reported by
Chris Gregan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Build Version/Date: 1.9
Environment used for testing: Trusty
Summary: ss
ACPI sleep attachment fails each time without posting any error to stdout for analysis
Steps to Reproduce:
1) Run any suite
Expected result:
All attachments pass
Actual result:
Related branches
lp:~roadmr/checkbox/cdts-fixes
- Zygmunt Krynicki (community): Approve
-
Diff: 20 lines (+2/-1)1 file modifiedproviders/plainbox-provider-checkbox/jobs/info.txt.in (+2/-1)
Changed in cdts: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Daniel Manrique (roadmr) |
information type: | Proprietary → Public |
Changed in plainbox-provider-checkbox: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in cdts: | |
status: | Triaged → In Progress |
Changed in plainbox-provider-checkbox: | |
status: | Triaged → In Progress |
Changed in cdts: | |
milestone: | none → version2.0 |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Released |
Changed in cdts: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
plugin: attachment attachment
id: acpi_sleep_
command: [ -e /proc/acpi/sleep ] && cat /proc/acpi/sleep
estimated_duration: 0.5
_description: Attaches the contents of /proc/acpi/sleep if it exists.
The description lacks "if it does not exist, exit with error", which is the behavior of the command as is.
The command can be changed to
[ -e /proc/acpi/sleep ] && cat /proc/acpi/sleep || echo "No /proc/acpi/sleep found"
this way it will always pass, but we at least will know when the file is not present. I don't think its absence should constitute a failure, as systems even without it work and can sleep just fine.
OTOH, if /proc/acpi/sleep is no longer used for some reason, we should research why, when did it disappear, and whether we still care about it; if we no longer do, we should just remove the job.