Camera won't be tested after suspend

Bug #1831854 reported by Lawrence Chiu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Betty Lin

Bug Description

Problem description:
Camera won't be tested after suspend.

Steps:

1. Checked camera testing:
$ checkbox-cli list-bootstrapped com.canonical.ce::somerville-iev-full | awk -F"::" '{print $2}' | sort | grep -i camera
camera/detect
camera/display_video0
camera/display_video1
camera/led_video0
camera/led_video1
camera/multiple-resolution-images_video0
camera/multiple-resolution-images_video1
camera/still_video0
camera/still_video1

2. Checked camera related testing after suspend, but I didn't find them. (display_video or still_video)
$ checkbox-cli list-bootstrapped com.canonical.ce::somerville-iev-full | awk -F"::" '{print $2}' | sort | grep -i suspend | grep still_video0

$ checkbox-cli list-bootstrapped com.canonical.ce::somerville-iev-full | awk -F"::" '{print $2}' | sort | grep -i suspend | grep display_video0

Above you can see there is no test case for camera after suspend.

3. Checked somerville-iev-full.pxu test plan in line 56, and I can find camera testing after suspend:
com.canonical.certification::after-suspend-camera-cert-full

4. Checked test plan under camera:
id: after-suspend-camera-cert-full
unit: test plan
_name: Camera tests (after suspend)
_description: Camera tests (after suspend)
include:
 after-suspend-manual-camera/still_.* certification-status=blocker
 after-suspend-manual-camera/display_.* certification-status=blocker
bootstrap_include:
 device

Even if there are 2 jobs in the after-suspend-camera-cert-full test plan above, but checkbox still won't run camera related testing after suspend.

Lawrence Chiu (lawchiu)
description: updated
Betty Lin (bettyl)
Changed in plainbox-provider-checkbox:
assignee: nobody → Betty Lin (bettyl)
Betty Lin (bettyl)
Changed in plainbox-provider-checkbox:
milestone: none → 0.49.0
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Ray Chen (ray.chen) wrote :

Verified pass with below checkbox version:

u@u-Inspiron-5594:~$ checkbox-cli --version
checkbox-ng: 1.5.0rc1
checkbox-support: 0.42.0rc1
com.canonical.ce:oem: 1.0
certification-client: 0.38.0rc1
plainbox-provider-checkbox: 0.49.0rc2
plainbox-provider-resource-generic: 0.41.0rc1
plainbox-provider-sru: 1.14.0rc1
plainbox-provider-tpm2: 1.11.0rc1

Test output:

------------[ Running job 132 / 292. Estimated time left: unknown ]-------------
[ Webcam still image capture test for Integrated_Webcam_HD__Integrate after suspend (S3) ]
ID: com.canonical.certification::after-suspend-manual-camera/still_video0
Category: com.canonical.plainbox::camera
PURPOSE:
    This test will check that the Integrated_Webcam_HD__Integrate works
STEPS:
    1. Click on Test to display a still image from the camera for ten seconds.
VERIFICATION:
    Did you see the image?
Pick an action
    => press ENTER to continue
  c => add a comment
  s => skip this job
  q => save the session and quit
[csq]:

tags: added: cqa-verified
Changed in plainbox-provider-checkbox:
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.