suspend-test doesn't detect suspends

Bug #848553 reported by Glen Ditchfield on 2011-09-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
checkbox (Ubuntu)

Bug Description

I ran "sudo /usr/share/checkbox/scripts/suspend_test --full". For tests 2 through 5, the laptop did sleep, for roughly 10 seconds each time, and woke up successfully, but after each test the script printed "SUSPEND FAILED, did not go to sleep".

(In test 1, the laptop didn't sleep, and the script correctly printed a "SUSPEND FAILED" message. In test 6, the laptop did not wake properly.)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: checkbox 0.12.6
ProcVersionSignature: Ubuntu 3.0.0-11.17-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.22.1-0ubuntu2
Architecture: amd64
Date: Mon Sep 12 22:26:44 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
PackageArchitecture: all
 PATH=(custom, no user)
SourcePackage: checkbox
UpgradeStatus: No upgrade log present (probably fresh install)

Glen Ditchfield (gjditchfield) wrote :
Glen Ditchfield (gjditchfield) wrote :
Glen Ditchfield (gjditchfield) wrote :

Still present in Beta 2

Daniel Hahler (blueyed) wrote :

I can confirm this.
Makes it difficult to triage / provide info for bugs like bug 939052.

Changed in checkbox (Ubuntu):
status: New → Triaged
importance: Undecided → High

The suspend_test script is deprecated, in fact you will find it's not used by any job in the Ubuntu Friendly tests. To test suspend as we do for Ubuntu Friendly you should use:

sudo /usr/share/checkbox/scripts/sleep_test -d

In theory we should remove the script which is no longer used. In practice an SRU to simply remove script is not worth the effort.

Changed in checkbox (Ubuntu):
status: Triaged → Invalid
importance: High → Low
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu laptop testing tracker.

A list of all reports related to this bug can be found here:

tags: added: laptop-testing
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers