Improve lid tests

Bug #1832688 reported by Jerry Kao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Expired
High
Sylvain Pineau

Bug Description

LP:868678 lid_open and lid_close tests need to be re-written
LP:1103925 lid_open test does not make sense
LP:1832683 Test case lid_open was done immediately
LP:1832678 Automated power-management/lid test

Following the idea to automated power-management/lid test (suspend), I am thinking we could merge lid(suspend), lid_close and lid_open into one or improve the tests.

The idea is tester doing the lid close/open one time, then checkbox can verify the status of suspend/resume, lid_close/open from dmesg/kernel log and /proc/acpi/button/lid/*/state automatically

Jerry Kao (jerry.kao)
tags: added: ce-qa-concern
Revision history for this message
Jerry Kao (jerry.kao) wrote :

<spineau> JerryKao: this job verification could be automated I agree
<spineau> JerryKao: with a job plugin update: user-interact-verify -> user-interact

<spineau> JerryKao: I'm looking (again) at 'fwts lid' test
<spineau> JerryKao: it's an old test and it does not seem to check that it triggers a S3 cycle (that may have been disabled for this event)
<spineau> JerryKao: but it could be a good replacement for the lid/close/open tests

Changed in plainbox-provider-checkbox:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Sylvain Pineau (sylvain-pineau)
Changed in plainbox-provider-checkbox:
milestone: none → 0.50.0
Changed in plainbox-provider-checkbox:
milestone: 0.50.0 → 0.51.0
Changed in plainbox-provider-checkbox:
milestone: 0.51.0 → none
Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

Bug was migrated to GitHub: https://github.com/canonical/checkbox/issues/65.
Bug is no more monitored here.

Changed in plainbox-provider-checkbox:
status: Confirmed → Expired
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.