Test case lid_open was done immediately

Bug #1832683 reported by Jerry Kao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Expired
Medium
Unassigned

Bug Description

[Summary]
Regarding lid tests, we have 3 cases, lid(suspend), lid_close and lid_open. For lid and lid_close, when pressing enter to commence, checkbox will be waiting for tester to do lid colse/open. However for lid_open, checkbox will print outcome immediately and ask judging pass/fail

-------------[ Running job 6 / 185. Estimated time left: unknown ]--------------
-------------------------[ power-management/lid_open ]--------------------------
ID: com.canonical.certification::power-management/lid_open
Category: com.canonical.plainbox::power-management
PURPOSE:
    This test will check your lid sensors.
STEPS:
    1. Press "Enter".
    2. Close the lid.
    3. Wait 5 seconds with the lid closed.
    4. Open the lid.
VERIFICATION:
    Did the system resume when the lid was opened?
Pick an action
    => press ENTER to continue
  c => add a comment
  s => skip this job
  q => save the session and quit
[csq]:
... 8< -------------------------------------------------------------------------
------------------------------------------------------------------------- >8 ---
Outcome: job needs verification
Please decide what to do next:
  outcome: job needs verification
  comments: none
Pick an action
  c => add a comment
  p => set outcome to pass
  f => set outcome to fail
  s => set outcome to skip
  r => re-run this job
    => set suggested outcome [job passed]

[Steps to reproduce]
run test lid_open
[Expected result]
when pressing enter to commence, checkbox will be waiting for tester to do lid colse/open
[Actual result]
checkbox will print outcome immediately and ask judging pass/fail
[Failure rate]
100/100
[Additional information]
GPU: 00:02.0 VGA compatible controller: Intel Corporation Device 3e9b
system-manufacturer: Dell Inc.
kernel-version: 4.18.0-21-generic
CPU: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12x)
bios-version: 1.6.0
system-product-name: Precision 5530

Revision history for this message
Jerry Kao (jerry.kao) wrote :

Automatically attached

Changed in plainbox-provider-checkbox:
importance: Undecided → Medium
Revision history for this message
Jerry Kao (jerry.kao) wrote :

Automatically attached

Revision history for this message
Jerry Kao (jerry.kao) wrote :

Automatically attached

Revision history for this message
Jerry Kao (jerry.kao) wrote :

Automatically attached

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

Seems this case/issue has annoyed people for long time :)
#868678 lid_open and lid_close tests need to be re-written
​#1103925 lid_open test does not make sense

Revision history for this message
Jerry Kao (jerry.kao) wrote :

It's interesting. The job polls /proc/acpi/button/lid/*/state for 10s and looks for the status is 'open'. However when you press enter to commence the test, the lid is definitely open. So the test was always done immediately and suggests the outcome as passed XDD

Jerry Kao (jerry.kao)
Changed in plainbox-provider-checkbox:
status: New → Confirmed
Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

Bug was migrated to GitHub: https://github.com/canonical/checkbox/issues/104.
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.