summaryrefslogtreecommitdiff
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 13:24:20 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 13:24:20 +0200
commit48c38f969deb767935fe2b6212b428fecd79b69c (patch)
treef50b79cb93993192a21ffd483bd776216e38908a
parent77b17f872c9ad1780a018eef9cea1ab4c957b5a7 (diff)
bin:sleep_test_log_check -> sleep_test_log_check.py
-rwxr-xr-xbin/sleep_test_log_check.py (renamed from bin/sleep_test_log_check)0
-rw-r--r--units/hibernate/jobs.pxu2
-rw-r--r--units/stress/jobs.pxu8
-rw-r--r--units/stress/s3s4.pxu4
-rw-r--r--units/suspend/suspend.pxu4
5 files changed, 9 insertions, 9 deletions
diff --git a/bin/sleep_test_log_check b/bin/sleep_test_log_check.py
index aae7556..aae7556 100755
--- a/bin/sleep_test_log_check
+++ b/bin/sleep_test_log_check.py
diff --git a/units/hibernate/jobs.pxu b/units/hibernate/jobs.pxu
index e33c0b7..dc88366 100644
--- a/units/hibernate/jobs.pxu
+++ b/units/hibernate/jobs.pxu
@@ -72,7 +72,7 @@ _verification:
plugin: shell
category_id: com.canonical.plainbox::hibernate
id: power-management/hibernate-single-log-check
-command: [ -e $PLAINBOX_SESSION_SHARE/hibernate-single.log ] && sleep_test_log_check -v s4 $PLAINBOX_SESSION_SHARE/hibernate-single.log
+command: [ -e $PLAINBOX_SESSION_SHARE/hibernate-single.log ] && sleep_test_log_check.py -v s4 $PLAINBOX_SESSION_SHARE/hibernate-single.log
_description:
Automated check of the hibernate log for errors discovered by fwts
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu
index 21c7b57..78d3bb1 100644
--- a/units/stress/jobs.pxu
+++ b/units/stress/jobs.pxu
@@ -61,7 +61,7 @@ plugin: shell
category_id: com.canonical.plainbox::stress
id: power-management/hibernate-30-cycles-log-check
estimated_duration: 1.0
-command: [ -e $PLAINBOX_SESSION_SHARE/hibernate_30_cycles.log ] && sleep_test_log_check -v s4 $PLAINBOX_SESSION_SHARE/hibernate_30_cycles.log
+command: [ -e $PLAINBOX_SESSION_SHARE/hibernate_30_cycles.log ] && sleep_test_log_check.py -v s4 $PLAINBOX_SESSION_SHARE/hibernate_30_cycles.log
_description:
Automated check of the 30 cycle hibernate log for errors detected by fwts.
@@ -125,7 +125,7 @@ category_id: com.canonical.plainbox::stress
id: power-management/suspend-30-cycles-log-check
depends: power-management/suspend_30_cycles
estimated_duration: 1.0
-command: [ -e $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log ] && sleep_test_log_check -v s3 $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log
+command: [ -e $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log ] && sleep_test_log_check.py -v s3 $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log
_description:
Automated check of the 30 cycle suspend log for errors detected by fwts.
@@ -134,14 +134,14 @@ category_id: com.canonical.plainbox::stress
id: power-management/suspend-30-cycles-log-check-with-reboots
depends: power-management/suspend_30_cycles_with_reboots
estimated_duration: 1.0
-command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && sleep_test_log_check -v s3 $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log
+command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && sleep_test_log_check.py -v s3 $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log
_summary: 30 suspend/resume cycles and 1 reboot, 3 times (check logs for errors)
_description:
Automated check of the '30 cycle suspend and 1 reboot times 3' logs for errors detected by fwts.
_siblings: [
{ "id": "power-management/suspend-30-cycles-log-check-with-coldboots",
"depends": "power-management/suspend_30_cycles_with_coldboots",
- "command": "[ -e $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log ] && sleep_test_log_check -v s3 $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log",
+ "command": "[ -e $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log ] && sleep_test_log_check.py -v s3 $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log",
"_description": "Automated check of the '30 cycle suspend and 1 poweroff times 3' logs for errors detected by fwts.",
"_summary": "30 suspend/resume cycles and 1 poweroff, 3 times (check logs for errors)"
}
diff --git a/units/stress/s3s4.pxu b/units/stress/s3s4.pxu
index 9a62f8e..f7a3c77 100644
--- a/units/stress/s3s4.pxu
+++ b/units/stress/s3s4.pxu
@@ -68,7 +68,7 @@ category_id: stress-tests/suspend
id: stress-tests/suspend-{s3_iterations}-cycles-log-check
after: stress-tests/suspend_{s3_iterations}_cycles
estimated_duration: 1.0
-command: [ -e $PLAINBOX_SESSION_SHARE/suspend_{s3_iterations}_cycles.log ] && sleep_test_log_check -v s3 $PLAINBOX_SESSION_SHARE/suspend_{s3_iterations}_cycles.log
+command: [ -e $PLAINBOX_SESSION_SHARE/suspend_{s3_iterations}_cycles.log ] && sleep_test_log_check.py -v s3 $PLAINBOX_SESSION_SHARE/suspend_{s3_iterations}_cycles.log
_description:
Automated check of the {s3_iterations} cycles suspend log for errors detected by fwts.
@@ -118,7 +118,7 @@ category_id: stress-tests/hibernate
id: stress-tests/hibernate-{s4_iterations}-cycles-log-check
after: stress-tests/hibernate_{s4_iterations}_cycles
estimated_duration: 1.0
-command: [ -e $PLAINBOX_SESSION_SHARE/hibernate_{s4_iterations}_cycles.log ] && sleep_test_log_check -v s4 $PLAINBOX_SESSION_SHARE/hibernate_{s4_iterations}_cycles.log
+command: [ -e $PLAINBOX_SESSION_SHARE/hibernate_{s4_iterations}_cycles.log ] && sleep_test_log_check.py -v s4 $PLAINBOX_SESSION_SHARE/hibernate_{s4_iterations}_cycles.log
_description:
Automated check of the {s4_iterations} cycles hibernate log for errors detected by fwts.
diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu
index e59d931..101e27f 100644
--- a/units/suspend/suspend.pxu
+++ b/units/suspend/suspend.pxu
@@ -307,7 +307,7 @@ category_id: com.canonical.plainbox::suspend
id: suspend/suspend-single-log-check
depends: suspend/suspend_advanced_auto
estimated_duration: 1.2
-command: [ -e $PLAINBOX_SESSION_SHARE/suspend_single.log ] && sleep_test_log_check -v s3 $PLAINBOX_SESSION_SHARE/suspend_single.log
+command: [ -e $PLAINBOX_SESSION_SHARE/suspend_single.log ] && sleep_test_log_check.py -v s3 $PLAINBOX_SESSION_SHARE/suspend_single.log
_summary: Automated check of the suspend log for errors reported by fwts
plugin: attachment
@@ -334,7 +334,7 @@ category_id: com.canonical.plainbox::suspend
id: suspend/{index}_hybrid-sleep-single-log-check
depends: suspend/{index}_hybrid_sleep_{product_slug}
estimated_duration: 1.2
-command: [ -e $PLAINBOX_SESSION_SHARE/{index}_hybrid_sleep_single.log ] && sleep_test_log_check -v s3 $PLAINBOX_SESSION_SHARE/{index}_hybrid_sleep_single.log
+command: [ -e $PLAINBOX_SESSION_SHARE/{index}_hybrid_sleep_single.log ] && sleep_test_log_check.py -v s3 $PLAINBOX_SESSION_SHARE/{index}_hybrid_sleep_single.log
_summary: Automated check of the hybrid sleep log for errors reported by fwts
unit: template