summaryrefslogtreecommitdiff
path: root/units/stress
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 12:35:50 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 12:35:50 +0200
commitc2740a470ab02c5b20db897a007cdc369087307d (patch)
tree5ed43894e4fa742230352c962e02cd983198b5f3 /units/stress
parent0967ad9412abd47c53e45151dba7b36b9543b718 (diff)
bin:pm_test -> pm_test.py
Diffstat (limited to 'units/stress')
-rw-r--r--units/stress/jobs.pxu12
1 files changed, 6 insertions, 6 deletions
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu
index b7b37bb..d41d454 100644
--- a/units/stress/jobs.pxu
+++ b/units/stress/jobs.pxu
@@ -87,13 +87,13 @@ user: root
environ: PM_TEST_DRY_RUN
command:
rm -f $PLAINBOX_SESSION_SHARE/__result
- pm_test reboot --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox --fwts --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE --suspends-before-reboot=30 -r 3 --silent --check-hardware-list
+ pm_test.py reboot --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox --fwts --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE --suspends-before-reboot=30 -r 3 --silent --check-hardware-list
_summary: 30 suspend/resume cycles and 1 reboot, 3 times (automated stress test)
_description:
This is an automated stress test that will run a sequence of '30 suspend/resume cycles and one reboot' 3 times.
_siblings: [
{ "id": "power-management/suspend_30_cycles_with_coldboots",
- "command": "rm -f $PLAINBOX_SESSION_SHARE/__result; pm_test poweroff --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox --fwts --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE --suspends-before-reboot=30 -r 3 --silent --check-hardware-list",
+ "command": "rm -f $PLAINBOX_SESSION_SHARE/__result; pm_test.py poweroff --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox --fwts --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE --suspends-before-reboot=30 -r 3 --silent --check-hardware-list",
"_description": "This is an automated stress test that will run a sequence of '30 suspend/resume cycles and one poweroff' 3 times.",
"_summary": "30 suspend/resume cycles and 1 poweroff, 3 times (automated stress test)"
}
@@ -270,7 +270,7 @@ estimated_duration: 4500.0
requires: executable.name == 'fwts'
command:
rm -f $PLAINBOX_SESSION_SHARE/__result
- pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 100 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE
+ pm_test.py --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 100 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE
flags: noreturn
user: root
environ: PLAINBOX_SESSION_SHARE PM_TEST_DRY_RUN
@@ -293,7 +293,7 @@ requires: executable.name == 'fwts'
executable.name == 'x-terminal-emulator'
command:
rm -f $PLAINBOX_SESSION_SHARE/__result
- pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 30 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE
+ pm_test.py --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 30 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE
flags: noreturn
estimated_duration: 2700
user: root
@@ -318,7 +318,7 @@ requires:
executable.name == 'x-terminal-emulator'
command:
rm -f $PLAINBOX_SESSION_SHARE/__result
- pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 100 --silent --log-level=notset poweroff --log-dir=$PLAINBOX_SESSION_SHARE
+ pm_test.py --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 100 --silent --log-level=notset poweroff --log-dir=$PLAINBOX_SESSION_SHARE
flags: noreturn
user: root
environ: PLAINBOX_SESSION_SHARE PM_TEST_DRY_RUN
@@ -342,7 +342,7 @@ requires:
executable.name == 'x-terminal-emulator'
command:
rm -f $PLAINBOX_SESSION_SHARE/__result
- pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 30 --wakeup 150 --silent --log-level=notset poweroff --log-dir=$PLAINBOX_SESSION_SHARE
+ pm_test.py --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 30 --wakeup 150 --silent --log-level=notset poweroff --log-dir=$PLAINBOX_SESSION_SHARE
flags: noreturn
estimated_duration: 3600
user: root