← Back to team overview

firmware-testing-team team mailing list archive

FWTS invocations in Certification

 

Hi,

The following is a list of certification tests which use FWTS as their basis. This will be used as a foundation to start the conversation on how FWTS can be made suitable for certification needs. Note that I've focused on on the jobs where the output of fwts is not parsed - their are other tests called through the fwts_test wrapper, but they are not giving us issues.

FWTS Invocations

(power-management/hibernate_advanced : Tests basic S4)
fwts s4 --s4-device-check --s4-device-check-delay=30 --s4-sleep-delay=120 -r $CHECKBOX_DATA/hibernate-single.log

(power-management/poweroff : Tests full power down)
pm_test* poweroff --log-level=debug --log-dir=$CHECKBOX_DATA

(power-management/reboot : Test restart)
pm_test reboot --log-level=debug --log-dir=$CHECKBOX_DATA

(stress/hibernate_30_cycles : S4 stress test to hibernate/resume 30 times)
fwts s4 --s4-device-check --s4-device-check-delay=30 --s4-sleep-delay=120 --s4-multiple=30 -r $CHECKBOX_DATA/hibernate_30_cycles.log

(stress/suspend_30_cycles : S3 stress test to suspend/resume 30 times)
fwts s3 --s3-device-check --s3-device-check-delay=30 --s3-sleep-delay=30 --s3-multiple=30 -r $CHECKBOX_DATA/suspend_30_cycles.log

There are also 250 cycle variants of these, which aren't used by us

(suspend/suspend_advanced : Tests basic S3)
  fwts s3 --s3-sleep-delay=30 -r $CHECKBOX_DATA/suspend_single.log
  grep 'Critical failures: NONE' $CHECKBOX_DATA/suspend_single.log

The grep is in place since this test is a dependency for other tests, so we need it to pass if the system did resume. The condition is a bit crude, I'm aware.

Please ask further questions if needed.

* pm_test is a wrapper script which calls FWTS : http://bazaar.launchpad.net/~checkbox-dev/checkbox/trunk/view/head:/scripts/pm_test <http://bazaar.launchpad.net/%7Echeckbox-dev/checkbox/trunk/view/head:/scripts/pm_test>


Follow ups