Comment 0 for bug 1831854

Revision history for this message
Lawrence Chiu (lawchiu) wrote :

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 them.
$ 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, but checkbox still won't run camera related testing after suspend.