summaryrefslogtreecommitdiff
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 12:41:30 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 12:41:30 +0200
commite81deb71299b0cdbe31fff2471faa339a80982c5 (patch)
tree64a769685e4cff5814451a780bdecbf19e9c6ea1
parent681291604c6b0d28b0e2c3d70e076862ccac381b (diff)
bin:pm_log_check -> pm_log_check.py
-rwxr-xr-xbin/pm_log_check.py (renamed from bin/pm_log_check)0
-rwxr-xr-xbin/pm_test.py2
-rw-r--r--units/stress/jobs.pxu8
3 files changed, 5 insertions, 5 deletions
diff --git a/bin/pm_log_check b/bin/pm_log_check.py
index cb75685..cb75685 100755
--- a/bin/pm_log_check
+++ b/bin/pm_log_check.py
diff --git a/bin/pm_test.py b/bin/pm_test.py
index 84b88be..3afde2a 100755
--- a/bin/pm_test.py
+++ b/bin/pm_test.py
@@ -611,7 +611,7 @@ class CountdownDialog(Gtk.Dialog):
command = Command('fwts -r stdout klog oops').run()
if command.process.returncode != 0:
# Don't abort the test loop,
- # errors can be retrieved by pm_log_check
+ # errors can be retrieved by pm_log_check.py
logging.error('Problem found in logs by fwts')
def on_system_info_timeout_cb(self):
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu
index d41d454..cdd1ed8 100644
--- a/units/stress/jobs.pxu
+++ b/units/stress/jobs.pxu
@@ -363,7 +363,7 @@ category_id: com.canonical.plainbox::stress
id: stress/reboot_30_check
estimated_duration: 1.0
depends: stress/reboot_30
-command: pm_log_check --log-level=notset $PLAINBOX_SESSION_SHARE/pm_test.reboot.30.log $PLAINBOX_SESSION_SHARE/pm_log_check_reboot.30.log
+command: pm_log_check.py --log-level=notset $PLAINBOX_SESSION_SHARE/pm_test.reboot.30.log $PLAINBOX_SESSION_SHARE/pm_log_check_reboot.30.log
_description: Check logs for the stress reboot (30 cycles) test case
plugin: attachment
@@ -380,7 +380,7 @@ category_id: com.canonical.plainbox::stress
id: stress/poweroff_30_check
estimated_duration: 1.0
depends: stress/poweroff_30
-command: pm_log_check --log-level=notset $PLAINBOX_SESSION_SHARE/pm_test.poweroff.30.log $PLAINBOX_SESSION_SHARE/pm_log_check_poweroff.30.log
+command: pm_log_check.py --log-level=notset $PLAINBOX_SESSION_SHARE/pm_test.poweroff.30.log $PLAINBOX_SESSION_SHARE/pm_log_check_poweroff.30.log
_description: Check logs for the stress poweroff (30 cycles) test case
plugin: attachment
@@ -397,7 +397,7 @@ category_id: com.canonical.plainbox::stress
id: stress/reboot_check
estimated_duration: 1.0
depends: stress/reboot
-command: pm_log_check --log-level=notset $PLAINBOX_SESSION_SHARE/pm_test.reboot.100.log $PLAINBOX_SESSION_SHARE/pm_log_check_reboot.100.log
+command: pm_log_check.py --log-level=notset $PLAINBOX_SESSION_SHARE/pm_test.reboot.100.log $PLAINBOX_SESSION_SHARE/pm_log_check_reboot.100.log
_description: Check logs for the stress reboot (100 cycles) test case
plugin: attachment
@@ -414,7 +414,7 @@ category_id: com.canonical.plainbox::stress
id: stress/poweroff_check
estimated_duration: 1.0
depends: stress/poweroff
-command: pm_log_check --log-level=notset $PLAINBOX_SESSION_SHARE/pm_test.poweroff.100.log $PLAINBOX_SESSION_SHARE/pm_log_check_poweroff.100.log
+command: pm_log_check.py --log-level=notset $PLAINBOX_SESSION_SHARE/pm_test.poweroff.100.log $PLAINBOX_SESSION_SHARE/pm_log_check_poweroff.100.log
_description: Check logs for the stress poweroff (100 cycles) test case
plugin: attachment