From 23bf79bb38bf1eb990109e3ee636b3239c5e9aa5 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Sun, 12 Jul 2020 18:14:46 +0200 Subject: bin:accelerometer_test -> accelerometer_test.py --- units/input/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/input/jobs.pxu b/units/input/jobs.pxu index 0bf880d..899d547 100644 --- a/units/input/jobs.pxu +++ b/units/input/jobs.pxu @@ -47,7 +47,7 @@ id: input/accelerometer estimated_duration: 60.0 user: root requires: device.category == 'ACCELEROMETER' -command: accelerometer_test -m +command: accelerometer_test.py -m _description: PURPOSE: This test will test your accelerometer to see if it is detected -- cgit v1.2.3 From 0b4df1719bd688003706a94ee5d37d99b466c9b4 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Sun, 12 Jul 2020 18:17:30 +0200 Subject: bin:alsa_pcm_info -> alsa_pcm_info.py --- units/audio/jobs.pxu | 4 ++-- units/audio/resource.pxu | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/audio/jobs.pxu b/units/audio/jobs.pxu index 126209e..16edbaf 100644 --- a/units/audio/jobs.pxu +++ b/units/audio/jobs.pxu @@ -626,7 +626,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_audio_playback == 'True' command: - COUNT=$(alsa_pcm_info | grep Playback | wc -l) + COUNT=$(alsa_pcm_info.py | grep Playback | wc -l) echo "Count: $COUNT" if [ $COUNT -eq 0 ]; then exit 1 @@ -642,7 +642,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_audio_capture == 'True' command: - COUNT=$(alsa_pcm_info | grep Capture | wc -l) + COUNT=$(alsa_pcm_info.py | grep Capture | wc -l) echo "Count: $COUNT" if [ $COUNT -eq 0 ]; then exit 1 diff --git a/units/audio/resource.pxu b/units/audio/resource.pxu index c7fd3b7..8e851c9 100644 --- a/units/audio/resource.pxu +++ b/units/audio/resource.pxu @@ -4,6 +4,6 @@ category_id: com.canonical.plainbox::audio plugin: resource _summary: Gather device info about alsa sound devices _description: Gather device info about alsa sound devices -command: alsa_pcm_info +command: alsa_pcm_info.py estimated_duration: 1s flags: preserve-locale -- cgit v1.2.3 From 32805fe0ed719cd7f9b722e8dab5b5a17310cbd2 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Sun, 12 Jul 2020 18:22:07 +0200 Subject: bin:alsa_record_playback -> alsa_record_playback.sh --- units/audio/jobs.pxu | 8 ++++---- units/dock/jobs.pxu | 4 ++-- units/keys/jobs.pxu | 2 +- units/suspend/suspend.pxu | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'units') diff --git a/units/audio/jobs.pxu b/units/audio/jobs.pxu index 16edbaf..9fd0f4b 100644 --- a/units/audio/jobs.pxu +++ b/units/audio/jobs.pxu @@ -255,7 +255,7 @@ requires: command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings set --device=pci --volume=50 - alsa_record_playback + alsa_record_playback.sh EXIT_CODE=$? audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -282,7 +282,7 @@ requires: command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings set --device=pci --volume=50 - alsa_record_playback + alsa_record_playback.sh EXIT_CODE=$? audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -308,7 +308,7 @@ requires: command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings set --device=usb --volume=50 - alsa_record_playback + alsa_record_playback.sh EXIT_CODE=$? audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -417,7 +417,7 @@ requires: command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings set --device=pci --volume=50 - alsa_record_playback + alsa_record_playback.sh EXIT_CODE=$? audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index 69b7a88..39a5b09 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -418,7 +418,7 @@ requires: command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings set --device=pci --volume=50 - alsa_record_playback + alsa_record_playback.sh EXIT_CODE=$? audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -486,7 +486,7 @@ requires: command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings set --device=pci --volume=50 - alsa_record_playback + alsa_record_playback.sh EXIT_CODE=$? audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE diff --git a/units/keys/jobs.pxu b/units/keys/jobs.pxu index fc07eb6..fdeb153 100644 --- a/units/keys/jobs.pxu +++ b/units/keys/jobs.pxu @@ -231,7 +231,7 @@ flags: also-after-suspend-manual command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings set --device=pci --volume=50 - alsa_record_playback + alsa_record_playback.sh EXIT_CODE=$? audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 5d9bf08..cd8a521 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -538,7 +538,7 @@ requires: command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings set --device=pci --volume=50 - alsa_record_playback + alsa_record_playback.sh EXIT_CODE=$? audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE -- cgit v1.2.3 From e7cacbbd4bb447fb57fd953248f962e535d5393e Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Sun, 12 Jul 2020 18:39:19 +0200 Subject: bin:ansi_parser -> ansi_parser.py --- units/graphics/jobs.pxu | 6 +++--- units/graphics/legacy.pxu | 6 +++--- units/info/jobs.pxu | 4 ++-- units/optical/jobs.pxu | 10 +++++----- units/suspend/suspend-graphics.pxu | 2 +- units/suspend/suspend.pxu | 24 ++++++++++++------------ 6 files changed, 26 insertions(+), 26 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index fba1f7e..fdb2897 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -258,7 +258,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/{index}_gl_support_{product_slug} requires: package.name == 'nux-tools' -command: ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser | grep -e ":\(\s\+\)no$" -ie "error" +command: ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser.py | grep -e ":\(\s\+\)no$" -ie "error" estimated_duration: 0.131 _description: Check that {vendor} {product} hardware is able to run a desktop session (OpenGL) _summary: Test OpenGL support for {vendor} {product} @@ -373,7 +373,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/{index}_screenshot_{product_slug} requires: package.name == 'fswebcam' -command: set -o pipefail; camera_test still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_{index}.jpg -q 2>&1 | ansi_parser +command: set -o pipefail; camera_test still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_{index}.jpg -q 2>&1 | ansi_parser.py _summary: Test grabbing a screenshot for {vendor} {product} _description: PURPOSE: @@ -404,7 +404,7 @@ command: gsettings set org.gnome.totem repeat true totem --fullscreen $PLAINBOX_PROVIDER_DATA/video/Ogg_Theora_Video.ogv 2>/dev/null & set -o pipefail - sleep 15 && camera_test still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_fullscreen_video_{index}.jpg -q 2>&1 | ansi_parser + sleep 15 && camera_test still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_fullscreen_video_{index}.jpg -q 2>&1 | ansi_parser.py sleep 5 && pkill totem gsettings set org.gnome.totem repeat false _summary: Test FSV screenshot for {vendor} {product} diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index 6f18e02..07bedd7 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -157,7 +157,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/gl_support requires: package.name == 'nux-tools' -command: ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser | grep -e ":\(\s\+\)no$" -ie "error" +command: ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser.py | grep -e ":\(\s\+\)no$" -ie "error" estimated_duration: 0.131 _description: Check that hardware is able to run a desktop session (OpenGL) _summary: Test OpenGL support @@ -218,7 +218,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/screenshot requires: package.name == 'fswebcam' -command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot.jpg -q 2>&1 | ansi_parser +command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot.jpg -q 2>&1 | ansi_parser.py _summary: Test grabbing a screenshot _description: PURPOSE: @@ -245,7 +245,7 @@ command: gsettings set org.gnome.totem repeat true totem --fullscreen ${PLAINBOX_PROVIDER_DATA}/video/Ogg_Theora_Video.ogv 2>/dev/null & set -o pipefail - sleep 15 && camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_fullscreen_video.jpg -q 2>&1 | ansi_parser + sleep 15 && camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_fullscreen_video.jpg -q 2>&1 | ansi_parser.py sleep 5 && totem --quit 2>/dev/null gsettings set org.gnome.totem repeat false _summary: Test FSV screenshot diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index e1d56ae..aa3a356 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -19,9 +19,9 @@ category_id: com.canonical.plainbox::info user: root command: if [ -e /var/log/dmesg ]; then - cat /var/log/dmesg | ansi_parser + cat /var/log/dmesg | ansi_parser.py else - dmesg | ansi_parser + dmesg | ansi_parser.py fi estimated_duration: 0.640 _description: Attaches a copy of /var/log/dmesg or the current dmesg buffer to the test results diff --git a/units/optical/jobs.pxu b/units/optical/jobs.pxu index 53a2877..8b92eb1 100644 --- a/units/optical/jobs.pxu +++ b/units/optical/jobs.pxu @@ -51,7 +51,7 @@ estimated_duration: 120.0 requires: optical_drive_{name}.cd_write == 'supported' user: root -command: set -o pipefail; optical_write_test /dev/{name} cd | ansi_parser +command: set -o pipefail; optical_write_test /dev/{name} cd | ansi_parser.py _description: PURPOSE: This test will check your system's {product} CD writing capabilities. This test requires a blank CD-R or CD+R. @@ -73,7 +73,7 @@ estimated_duration: 120.0 requires: optical_drive_{name}.cd_write == 'supported' user: root -command: set -o pipefail; optical_write_test /dev/{name} cd | ansi_parser +command: set -o pipefail; optical_write_test /dev/{name} cd | ansi_parser.py _description: This is an automated version of optical/cdrom-write. It assumes you have already inserted a data CD into your {product} optical drive prior to running Checkbox. @@ -111,7 +111,7 @@ requires: optical_drive_{name}.dvd_write == 'supported' estimated_duration: 120.0 user: root -command: set -o pipefail; optical_write_test /dev/{name} dvd | ansi_parser +command: set -o pipefail; optical_write_test /dev/{name} dvd | ansi_parser.py _description: PURPOSE: This test will check your system's {product} writing capabilities. This test requires a blank DVD-R or DVD+R. @@ -133,7 +133,7 @@ estimated_duration: 120.0 requires: optical_drive_{name}.dvd_write == 'supported' user: root -command: set -o pipefail; optical_write_test /dev/{name} dvd | ansi_parser +command: set -o pipefail; optical_write_test /dev/{name} dvd | ansi_parser.py _description: This is an automated version of optical/dvd-write. It assumes you have already inserted a data DVD into your {product} optical drive prior to running Checkbox. @@ -186,7 +186,7 @@ requires: optical_drive_{name}.bd_write == "supported" package.name == "growisofs" user: root -command: set -o pipefail; optical_write_test /dev/{name} bd | ansi_parser +command: set -o pipefail; optical_write_test /dev/{name} bd | ansi_parser.py estimated_duration: 120.00 _description: PURPOSE: diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index b0a8608..812508b 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -125,7 +125,7 @@ depends: requires: package.name == 'nux-tools' command: source graphics_env {{ driver }} {{ index }} - ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser | grep -e ":\(\s\+\)no$" -ie "error" + ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser.py | grep -e ":\(\s\+\)no$" -ie "error" estimated_duration: 0.130 _description: Check that {{ product }} hardware is able to run a desktop session (OpenGL) _summary: Test OpenGL support for {{ product }} after suspend diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index cd8a521..cce3ad9 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -119,7 +119,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser + set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser.py _summary: Bluetooth OBEX send before suspend _description: This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable. @@ -148,7 +148,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser + set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser.py _summary: Bluetooth OBEX browse before suspend _description: This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable. @@ -177,7 +177,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser + set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser.py _summary: Bluetooth OBEX get before suspend _description: This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable @@ -966,7 +966,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser + set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser.py _description: This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable. @@ -995,7 +995,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser + set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser.py _description: This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable. @@ -1024,7 +1024,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser + set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser.py _description: This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable. @@ -1053,7 +1053,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser + set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser.py _description: This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable. @@ -1082,7 +1082,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser + set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser.py _description: This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable @@ -1111,7 +1111,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser + set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser.py _description: This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable @@ -1223,7 +1223,7 @@ id: suspend/screenshot_after_suspend estimated_duration: 10.0 depends: suspend/suspend_advanced_auto requires: package.name == 'fswebcam' -command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_after_suspend.jpg -q 2>&1 | ansi_parser +command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_after_suspend.jpg -q 2>&1 | ansi_parser.py _description: PURPOSE: Take a screengrab of the current screen after suspend (logged on Unity desktop) @@ -2123,7 +2123,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/{index}_gl_support_after_suspend_{product_slug} depends: suspend/{index}_suspend_after_switch_to_card_{product_slug} requires: package.name == 'nux-tools' -command: ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser | grep -e ":\(\s\+\)no$" -ie "error" +command: ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser.py | grep -e ":\(\s\+\)no$" -ie "error" estimated_duration: 0.130 _description: Check that {product} hardware is able to run a desktop session (OpenGL) after suspend _summary: Test OpenGL support for {product} after suspend @@ -2133,7 +2133,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/gl_support_after_suspend depends: suspend/suspend_advanced requires: package.name == 'nux-tools' -command: ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser | grep -e ":\(\s\+\)no$" -ie "error" +command: ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser.py | grep -e ":\(\s\+\)no$" -ie "error" estimated_duration: 0.130 _description: Check that the hardware is able to run a desktop session (OpenGL) _summary: Test OpenGL support after suspend -- cgit v1.2.3 From 51513816421d68d78f5c7816957ced04c6a84e40 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Sun, 12 Jul 2020 18:52:15 +0200 Subject: bin:audio_bluetooth_loopback_test -> audio_bluetooth_loopback_test.sh --- units/bluetooth/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu index cee3467..5c46208 100644 --- a/units/bluetooth/jobs.pxu +++ b/units/bluetooth/jobs.pxu @@ -123,7 +123,7 @@ category_id: com.canonical.plainbox::bluetooth id: bluetooth/audio depends: bluetooth/detect-output estimated_duration: 120.0 -command: audio_bluetooth_loopback_test +command: audio_bluetooth_loopback_test.sh _description: PURPOSE: This test will check the Telephony Duplex capability of your bluetooth device, -- cgit v1.2.3 From 11e0538dfef38a63ec256ddd5e2c918caaaab642 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Sun, 12 Jul 2020 18:54:03 +0200 Subject: bin:audio_driver_info -> audio_driver_info.py --- units/info/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index aa3a356..170fee8 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -303,7 +303,7 @@ requires: package.name == 'pulseaudio-utils' package.name == 'kmod' or package.name == 'module-init-tools' device.category == 'AUDIO' -command: audio_driver_info +command: audio_driver_info.py estimated_duration: 0.177 _description: Lists the device driver and version for all audio devices. -- cgit v1.2.3 From 4cff43d84cf6e6555bd069aa846abecf19141873 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Sun, 12 Jul 2020 19:02:26 +0200 Subject: bin:audio_settings -> audio_settings.py --- units/audio/jobs.pxu | 92 +++++++++++++++++++++++------------------------ units/bluetooth/jobs.pxu | 4 +-- units/dock/jobs.pxu | 76 +++++++++++++++++++-------------------- units/keys/jobs.pxu | 6 ++-- units/suspend/suspend.pxu | 18 +++++----- 5 files changed, 98 insertions(+), 98 deletions(-) (limited to 'units') diff --git a/units/audio/jobs.pxu b/units/audio/jobs.pxu index 9fd0f4b..bc3af28 100644 --- a/units/audio/jobs.pxu +++ b/units/audio/jobs.pxu @@ -19,11 +19,11 @@ requires: package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' package.name == 'pulseaudio-utils' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -51,11 +51,11 @@ requires: package.name == 'pulseaudio-utils' flags: also-after-suspend-manual command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: HDMI audio interface verification @@ -80,11 +80,11 @@ requires: package.name == 'pulseaudio-utils' flags: also-after-suspend-manual command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: DisplayPort audio interface verification @@ -110,11 +110,11 @@ requires: package.name == 'pulseaudio-utils' flags: also-after-suspend-manual command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Thunderbolt audio interface verification @@ -140,11 +140,11 @@ requires: package.name == 'pulseaudio-utils' flags: also-after-suspend-manual command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Thunderbolt audio interface verification @@ -171,11 +171,11 @@ requires: package.name == 'pulseaudio-utils' flags: also-after-suspend-manual command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: DisplayPort audio via USB Type-C port interface verification @@ -202,11 +202,11 @@ requires: package.name == 'pulseaudio-utils' flags: also-after-suspend-manual command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: HDMI audio via USB Type-C port interface verification @@ -227,11 +227,11 @@ requires: package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' package.name == 'pulseaudio-utils' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -253,11 +253,11 @@ requires: package.name == 'pulseaudio-utils' package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 alsa_record_playback.sh EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -280,11 +280,11 @@ requires: package.name == 'pulseaudio-utils' package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 alsa_record_playback.sh EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -306,11 +306,11 @@ requires: package.name == 'pulseaudio-utils' package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=usb --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=usb --volume=50 alsa_record_playback.sh EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -415,11 +415,11 @@ requires: package.name == 'pulseaudio-utils' package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 alsa_record_playback.sh EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -485,11 +485,11 @@ requires: package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' package.name == 'pulseaudio-utils' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 gst_pipeline_test -t 10 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -513,11 +513,11 @@ requires: package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' package.name == 'pulseaudio-utils' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 gst_pipeline_test -t 10 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -552,11 +552,11 @@ requires: package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' package.name == 'pulseaudio-utils' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -614,7 +614,7 @@ requires: package.name == 'alsa-base' _description: Record mixer settings after suspending 30 times. command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/audio_settings_after_suspend_30_cycles + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/audio_settings_after_suspend_30_cycles diff $PLAINBOX_SESSION_SHARE/audio_settings_before_suspend $PLAINBOX_SESSION_SHARE/audio_settings_after_suspend_30_cycles id: audio/detect-playback-devices diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu index 5c46208..4d41539 100644 --- a/units/bluetooth/jobs.pxu +++ b/units/bluetooth/jobs.pxu @@ -98,14 +98,14 @@ id: bluetooth/audio-a2dp depends: bluetooth/detect-output estimated_duration: 120.0 command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings idx=`pactl list cards short | awk '/bluez/{print $1}'` bt_sink=`pactl list sinks short | awk '/bluez/{print $2}'` pactl set-card-profile $idx a2dp pactl set-default-sink $bt_sink gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index 39a5b09..da8b7b5 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -245,11 +245,11 @@ plugin: user-interact-verify flags: also-after-suspend-manual estimated_duration: 30.0 command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Dock HDMI audio interface verification @@ -273,11 +273,11 @@ plugin: user-interact-verify flags: also-after-suspend-manual estimated_duration: 30.0 command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Dock DisplayPort audio interface verification @@ -300,11 +300,11 @@ _summary: HDMI audio test plugin: user-interact-verify estimated_duration: 30.0 command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Dock USB Type-C HDMI audio interface verification @@ -328,11 +328,11 @@ plugin: user-interact-verify flags: also-after-suspend-manual estimated_duration: 30.0 command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Dock USB Type-C Displayport audio interface verification @@ -358,11 +358,11 @@ plugin: user-interact-verify flags: also-after-suspend-manual estimated_duration: 30.0 command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Dock Thunderbolt3 audio interface verification @@ -387,11 +387,11 @@ requires: package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' package.name == 'pulseaudio-utils' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: This test will check that headphones connector works correctly. @@ -416,11 +416,11 @@ requires: package.name == 'pulseaudio-utils' package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 alsa_record_playback.sh EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: This test will check that recording sound using an external microphone works correctly @@ -484,11 +484,11 @@ requires: package.name == 'pulseaudio-utils' package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 alsa_record_playback.sh EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Check that external line-in connection works correctly @@ -1101,11 +1101,11 @@ plugin: user-interact-verify flags: also-after-suspend-manual estimated_duration: 30.0 command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Dock USB Type-C Displayport audio interface verification @@ -1129,11 +1129,11 @@ plugin: user-interact-verify flags: also-after-suspend-manual estimated_duration: 30.0 command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Dock Thunderbolt3 audio interface verification @@ -1157,11 +1157,11 @@ plugin: user-interact-verify flags: also-after-suspend-manual estimated_duration: 30.0 command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Dock DisplayPort audio interface verification @@ -1185,11 +1185,11 @@ plugin: user-interact-verify flags: also-after-suspend-manual estimated_duration: 30.0 command: - audio_settings store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --verbose --device=hdmi --volume=50 + audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --verbose --device=hdmi --volume=50 gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _purpose: Dock HDMI audio interface verification @@ -1220,7 +1220,7 @@ requires: device.category == 'AUDIO' package.name == 'alsa-base' _description: Record mixer settings before suspending. -command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/audio_settings_before_suspend +command: audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/audio_settings_before_suspend @@ -1684,7 +1684,7 @@ requires: depends: dock/suspend-undock-resume dock/audio-before-suspend _description: Verify that mixer settings after suspend are the same as before suspend. command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/audio_settings_after_suspend + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/audio_settings_after_suspend diff $PLAINBOX_SESSION_SHARE/audio_settings_before_suspend $PLAINBOX_SESSION_SHARE/audio_settings_after_suspend plugin: shell diff --git a/units/keys/jobs.pxu b/units/keys/jobs.pxu index fdeb153..d06eb98 100644 --- a/units/keys/jobs.pxu +++ b/units/keys/jobs.pxu @@ -229,11 +229,11 @@ requires: package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' flags: also-after-suspend-manual command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 alsa_record_playback.sh EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index cce3ad9..93b5ce0 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -32,7 +32,7 @@ requires: device.category == 'AUDIO' package.name == 'alsa-base' _summary: Record mixer settings before suspending. -command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/audio_settings_before_suspend +command: audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/audio_settings_before_suspend plugin: shell category_id: com.canonical.plainbox::suspend @@ -438,7 +438,7 @@ requires: depends: suspend/suspend_advanced suspend/audio_before_suspend _description: Verify that mixer settings after suspend are the same as before suspend. command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/audio_settings_after_suspend + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/audio_settings_after_suspend diff $PLAINBOX_SESSION_SHARE/audio_settings_before_suspend $PLAINBOX_SESSION_SHARE/audio_settings_after_suspend plugin: shell @@ -451,7 +451,7 @@ requires: depends: suspend/suspend_advanced_auto suspend/audio_before_suspend _description: Verify that mixer settings after suspend are the same as before suspend. command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/audio_settings_after_suspend + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/audio_settings_after_suspend diff $PLAINBOX_SESSION_SHARE/audio_settings_before_suspend $PLAINBOX_SESSION_SHARE/audio_settings_after_suspend plugin: user-interact @@ -510,11 +510,11 @@ requires: package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' package.name == 'pulseaudio-utils' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: @@ -536,11 +536,11 @@ requires: package.name == 'pulseaudio-utils' package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' command: - audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings - audio_settings set --device=pci --volume=50 + audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py set --device=pci --volume=50 alsa_record_playback.sh EXIT_CODE=$? - audio_settings restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings + audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE _description: PURPOSE: -- cgit v1.2.3 From 6347c3493eed9ed864d5a83a8698833adfe141b5 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Sun, 12 Jul 2020 19:13:42 +0200 Subject: bin:audio_test -> audio_test.py --- units/audio/jobs.pxu | 4 ++-- units/dock/jobs.pxu | 2 +- units/suspend/suspend.pxu | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'units') diff --git a/units/audio/jobs.pxu b/units/audio/jobs.pxu index bc3af28..0f9fc7b 100644 --- a/units/audio/jobs.pxu +++ b/units/audio/jobs.pxu @@ -334,7 +334,7 @@ requires: package.name == 'gstreamer1.0-pulseaudio' package.name == 'alsa-base' device.category == 'AUDIO' -command: audio_test +command: audio_test.py _description: Play back a sound on the default output and listen for it on the default input. @@ -582,7 +582,7 @@ requires: package.name == 'gstreamer1.0-pulseaudio' package.name == 'alsa-base' device.category == 'AUDIO' -command: audio_test +command: audio_test.py _description: Play back a sound on the default output and listen for it on the default input, after suspending 30 times. diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index da8b7b5..537f985 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -1701,7 +1701,7 @@ requires: package.name == 'gstreamer1.0-pulseaudio' package.name == 'alsa-base' device.category == 'AUDIO' -command: audio_test +command: audio_test.py _description: This will check to make sure that your audio device works properly after a suspend and resume. This may work fine with speakers and onboard microphone, however, it works best if used with a cable connecting the audio-out jack to the audio-in jack. diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 93b5ce0..f253fc9 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1189,7 +1189,7 @@ requires: package.name == 'gstreamer1.0-pulseaudio' package.name == 'alsa-base' device.category == 'AUDIO' -command: audio_test +command: audio_test.py _description: This will check to make sure that your audio device works properly after a suspend and resume. This may work fine with speakers and onboard microphone, however, it works best if used with a cable connecting the audio-out jack to the audio-in jack. @@ -1206,7 +1206,7 @@ requires: package.name == 'gstreamer1.0-pulseaudio' package.name == 'alsa-base' device.category == 'AUDIO' -command: audio_test +command: audio_test.py _description: This will check to make sure that your audio device works properly after a suspend and resume. This may work fine with speakers and onboard microphone, however, it works best if used with a cable connecting the audio-out jack to the audio-in jack. -- cgit v1.2.3 From 9d34cf3e27014ac1115e2a0b7d3aea52b7137569 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 09:39:49 +0200 Subject: bin:battery_test -> battery_test.py --- units/power-management/jobs.pxu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/power-management/jobs.pxu b/units/power-management/jobs.pxu index a84f004..8ba9e7c 100644 --- a/units/power-management/jobs.pxu +++ b/units/power-management/jobs.pxu @@ -173,7 +173,7 @@ requires: package.name == 'upower' depends: power-management/unplug_ac _description: Checks the battery drain during idle. Reports time and capacity until empty. command: - battery_test -t 90 --idle + battery_test.py -t 90 --idle plugin: shell category_id: com.canonical.plainbox::power-management @@ -184,7 +184,7 @@ requires: depends: power-management/unplug_ac _description: Checks the battery drain while watching a movie. Reports time and capacity until empty. Requires MOVIE_VAR to be set. command: - battery_test -t 90 --movie $MOVIE_VAR + battery_test.py -t 90 --movie $MOVIE_VAR plugin: shell category_id: com.canonical.plainbox::power-management @@ -197,7 +197,7 @@ requires: depends: power-management/unplug_ac _description: Checks the battery drain during suspend. Reports time and capacity until empty. command: - battery_test -t 120 --sleep + battery_test.py -t 120 --sleep plugin: manual category_id: com.canonical.plainbox::power-management -- cgit v1.2.3 From 6a7e12c94f38745f69668148522325ec08a6bb94 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 09:43:19 +0200 Subject: bin:bluetooth_test -> bluetooth_test.py --- units/suspend/suspend.pxu | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'units') diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index f253fc9..ddcc670 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -119,7 +119,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser.py + set -o pipefail; bluetooth_test.py $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser.py _summary: Bluetooth OBEX send before suspend _description: This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable. @@ -148,7 +148,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser.py + set -o pipefail; bluetooth_test.py $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser.py _summary: Bluetooth OBEX browse before suspend _description: This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable. @@ -177,7 +177,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser.py + set -o pipefail; bluetooth_test.py $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser.py _summary: Bluetooth OBEX get before suspend _description: This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable @@ -966,7 +966,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser.py + set -o pipefail; bluetooth_test.py $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser.py _description: This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable. @@ -995,7 +995,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser.py + set -o pipefail; bluetooth_test.py $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser.py _description: This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable. @@ -1024,7 +1024,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser.py + set -o pipefail; bluetooth_test.py $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser.py _description: This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable. @@ -1053,7 +1053,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser.py + set -o pipefail; bluetooth_test.py $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser.py _description: This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable. @@ -1082,7 +1082,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser.py + set -o pipefail; bluetooth_test.py $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser.py _description: This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable @@ -1111,7 +1111,7 @@ command: rfkill unblock bluetooth sleep 3 fi - set -o pipefail; bluetooth_test $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser.py + set -o pipefail; bluetooth_test.py $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser.py _description: This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable -- cgit v1.2.3 From 81a388f6deeec6a0ff40cc494f4a382881718680 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 09:45:08 +0200 Subject: bin:bluetooth_transfer_stress -> bluetooth_transfer_stress.sh --- units/bluetooth/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu index 4d41539..97ed319 100644 --- a/units/bluetooth/jobs.pxu +++ b/units/bluetooth/jobs.pxu @@ -183,7 +183,7 @@ command: rfkill unblock bluetooth sleep 3 fi - bluetooth_transfer_stress $BTDEVADDR + bluetooth_transfer_stress.sh $BTDEVADDR _description: This is an automated Bluetooth file transfer test. It sends a large file to the device specified by the BTDEVADDR environment variable, then -- cgit v1.2.3 From 74a3d7a3616144e50ad364bb8a1da69f4503fad0 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 09:52:05 +0200 Subject: bin:bmc_info -> bmc_info.py --- units/miscellanea/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 59a66b4..550a92f 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -203,7 +203,7 @@ requires: cpuinfo.platform != 's390x' estimated_duration: 0.5 user: root -command: bmc_info +command: bmc_info.py _description: This will gather some info about the BMC itself for diagnostic purposes. This will not works on non-IPMI systems like AMT and blade/sled type systems. -- cgit v1.2.3 From 47c2728110f0b19673b03a76ec1c812bd2e54898 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 09:54:01 +0200 Subject: bin:boot_mode_test -> boot_mode_test.py --- units/miscellanea/jobs.pxu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 550a92f..a011148 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -119,7 +119,7 @@ requires: _summary: Test that system booted in EFI mode _description: Test to verify that the system booted in EFI mode with Secure Boot active. -command: boot_mode_test efi +command: boot_mode_test.py efi plugin: shell category_id: com.canonical.plainbox::miscellanea @@ -131,7 +131,7 @@ depends: miscellanea/efi_boot_mode _summary: Test that system booted with Secure Boot active _description: Test to verify that the system booted in Secure Boot active. -command: boot_mode_test secureboot +command: boot_mode_test.py secureboot plugin: shell category_id: com.canonical.plainbox::miscellanea @@ -143,7 +143,7 @@ depends: miscellanea/efi_boot_mode _summary: Test that system supports booting into firmware setup utility _description: Test that the system supports rebooting into the firmware setup utility. -command: boot_mode_test reboot_firmware +command: boot_mode_test.py reboot_firmware plugin: shell category_id: com.canonical.plainbox::miscellanea -- cgit v1.2.3 From 6e490a4bb647eb74870b4f452bcd24aa45d95ac0 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 09:56:29 +0200 Subject: bin:brightness_test -> brightness_test.py --- units/monitor/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/monitor/jobs.pxu b/units/monitor/jobs.pxu index c16471d..647dc09 100644 --- a/units/monitor/jobs.pxu +++ b/units/monitor/jobs.pxu @@ -154,7 +154,7 @@ plugin: user-interact-verify category_id: com.canonical.plainbox::monitor user: root flags: also-after-suspend-manual -command: brightness_test +command: brightness_test.py _purpose: This test will test changes to screen brightness _steps: -- cgit v1.2.3 From 55c3b11a5af59d993e6fc9110d73254b6198a276 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 09:57:32 +0200 Subject: bin:broadband_info -> broadband_info.sh --- units/info/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index 170fee8..08b5cb6 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -317,7 +317,7 @@ _description: Provides information about network devices plugin: attachment category_id: com.canonical.plainbox::info id: info/mobile_broadband_info -command: broadband_info +command: broadband_info.sh estimated_duration: 0.5 _description: Provides information about wwan/mobile broadband devices -- cgit v1.2.3 From 75ee239604b1c154b9fde5cbb930f4cc0ed3ad41 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 09:58:42 +0200 Subject: bin:bt_connect -> bt_connect.py --- units/bluetooth/jobs.pxu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu index 97ed319..b97ee5c 100644 --- a/units/bluetooth/jobs.pxu +++ b/units/bluetooth/jobs.pxu @@ -199,7 +199,7 @@ requires: manifest.has_bt_smart == 'True' package.name == 'bluez' and package.version >= '5.37' estimated_duration: 30.0 -command: bt_connect --mouse +command: bt_connect.py --mouse _purpose: This test will check that you can use a HID Over GATT Profile (HOGP) with your Bluetooth Smart mouse. _steps: @@ -218,7 +218,7 @@ requires: manifest.has_bt_smart == 'True' package.name == 'bluez' and package.version >= '5.37' estimated_duration: 30.0 -command: bt_connect --keyboard +command: bt_connect.py --keyboard _purpose: This test will check that you can use a HID Over GATT Profile (HOGP) with your Bluetooth Smart keyboard. _steps: -- cgit v1.2.3 From 9c4d522b486126b2e4ffac91c7db2755787a333a Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:12:38 +0200 Subject: bin:camera_test -> camera_test.py --- units/camera/jobs.pxu | 10 +++++----- units/graphics/jobs.pxu | 4 ++-- units/graphics/legacy.pxu | 4 ++-- units/suspend/suspend.pxu | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'units') diff --git a/units/camera/jobs.pxu b/units/camera/jobs.pxu index 1a3f807..045b062 100644 --- a/units/camera/jobs.pxu +++ b/units/camera/jobs.pxu @@ -5,7 +5,7 @@ estimated_duration: 1.2 requires: device.category == 'CAPTURE' command: - camera_test detect + camera_test.py detect _summary: This Automated test attempts to detect a camera. user: root @@ -32,7 +32,7 @@ _summary: Webcam video display test for {product_slug} estimated_duration: 120.0 depends: camera/detect command: - camera_test display -d /dev/{name} + camera_test.py display -d /dev/{name} _description: PURPOSE: This test will check that the {product_slug} camera works @@ -52,7 +52,7 @@ _summary: Webcam LED test for {product_slug} estimated_duration: 120.0 depends: camera/detect command: - camera_test led -d /dev/{name} + camera_test.py led -d /dev/{name} _description: PURPOSE: This test will check that the {product_slug} camera LED works @@ -84,7 +84,7 @@ requires: package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-1.0' {% endif -%} command: - camera_test still -d /dev/{{ name }} + camera_test.py still -d /dev/{{ name }} _description: PURPOSE: This test will check that the {{ product_slug }} works @@ -111,7 +111,7 @@ requires: package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-1.0' {% endif -%} command: - camera_test resolutions -d /dev/{{ name }} + camera_test.py resolutions -d /dev/{{ name }} _description: Takes multiple pictures based on the resolutions supported by the camera and validates their size and that they are of a valid format. diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index fdb2897..18dd1df 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -373,7 +373,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/{index}_screenshot_{product_slug} requires: package.name == 'fswebcam' -command: set -o pipefail; camera_test still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_{index}.jpg -q 2>&1 | ansi_parser.py +command: set -o pipefail; camera_test.py still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_{index}.jpg -q 2>&1 | ansi_parser.py _summary: Test grabbing a screenshot for {vendor} {product} _description: PURPOSE: @@ -404,7 +404,7 @@ command: gsettings set org.gnome.totem repeat true totem --fullscreen $PLAINBOX_PROVIDER_DATA/video/Ogg_Theora_Video.ogv 2>/dev/null & set -o pipefail - sleep 15 && camera_test still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_fullscreen_video_{index}.jpg -q 2>&1 | ansi_parser.py + sleep 15 && camera_test.py still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_fullscreen_video_{index}.jpg -q 2>&1 | ansi_parser.py sleep 5 && pkill totem gsettings set org.gnome.totem repeat false _summary: Test FSV screenshot for {vendor} {product} diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index 07bedd7..c7a403b 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -218,7 +218,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/screenshot requires: package.name == 'fswebcam' -command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot.jpg -q 2>&1 | ansi_parser.py +command: set -o pipefail; camera_test.py still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot.jpg -q 2>&1 | ansi_parser.py _summary: Test grabbing a screenshot _description: PURPOSE: @@ -245,7 +245,7 @@ command: gsettings set org.gnome.totem repeat true totem --fullscreen ${PLAINBOX_PROVIDER_DATA}/video/Ogg_Theora_Video.ogv 2>/dev/null & set -o pipefail - sleep 15 && camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_fullscreen_video.jpg -q 2>&1 | ansi_parser.py + sleep 15 && camera_test.py still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_fullscreen_video.jpg -q 2>&1 | ansi_parser.py sleep 5 && totem --quit 2>/dev/null gsettings set org.gnome.totem repeat false _summary: Test FSV screenshot diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index ddcc670..3b45096 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1223,7 +1223,7 @@ id: suspend/screenshot_after_suspend estimated_duration: 10.0 depends: suspend/suspend_advanced_auto requires: package.name == 'fswebcam' -command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_after_suspend.jpg -q 2>&1 | ansi_parser.py +command: set -o pipefail; camera_test.py still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_after_suspend.jpg -q 2>&1 | ansi_parser.py _description: PURPOSE: Take a screengrab of the current screen after suspend (logged on Unity desktop) -- cgit v1.2.3 From b5b11d64d21ce2af88ce2b55a8b9016bffbd6ce6 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:15:41 +0200 Subject: bin:check_is_laptop -> check_is_laptop.sh --- units/miscellanea/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index a011148..09d48d3 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -258,7 +258,7 @@ id: miscellanea/is_laptop user: root _description: Determine if we need to run tests specific to portable computers that may not apply to desktops. -command: check_is_laptop +command: check_is_laptop.sh plugin: shell category_id: com.canonical.plainbox::miscellanea -- cgit v1.2.3 From df108124fa5f339ad1c6bcaf2b7258b8142110fb Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:17:15 +0200 Subject: bin:check-prerelease -> check-prerelease.py --- units/miscellanea/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 09d48d3..263c3b2 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -183,7 +183,7 @@ _summary: Test that system is not a pre-release version _description: Test to verify that the system uses production, rather than pre-release, versions of the kernel and the OS. -command: check-prerelease +command: check-prerelease.py plugin: shell category_id: com.canonical.plainbox::miscellanea -- cgit v1.2.3 From 934e5020f39a2862ca3cfdf15a5ecf2b6b386ccd Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:21:08 +0200 Subject: bin:color_depth_info -> color_depth_info.py --- units/graphics/jobs.pxu | 2 +- units/graphics/legacy.pxu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 18dd1df..77c8d40 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -159,7 +159,7 @@ template-resource: graphics_card id: graphics/{index}_color_depth_{product_slug} plugin: shell category_id: com.canonical.plainbox::graphics -command: color_depth_info +command: color_depth_info.py estimated_duration: 0.150 _description: Collect info on color depth and pixel format for {vendor} {product} _summary: Test color depth info for {vendor} {product} diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index c7a403b..8fff5d4 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -102,7 +102,7 @@ _summary: Collect info on graphics modes id: graphics/color_depth plugin: shell category_id: com.canonical.plainbox::graphics -command: color_depth_info +command: color_depth_info.py estimated_duration: 0.150 _description: Collect info on color depth and pixel format. _summary: Collect info on color depth and pixel format. -- cgit v1.2.3 From 633b64d11648cc24678a4377c8feb8f5a2cd4ccb Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:23:17 +0200 Subject: bin:connect_wireless -> connect_wireless.sh --- units/suspend/suspend.pxu | 12 ++++++------ units/wireless/jobs.pxu | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'units') diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 3b45096..489136a 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -688,7 +688,7 @@ environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -728,7 +728,7 @@ environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -768,7 +768,7 @@ environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -808,7 +808,7 @@ environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -848,7 +848,7 @@ environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -888,7 +888,7 @@ environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE diff --git a/units/wireless/jobs.pxu b/units/wireless/jobs.pxu index 7165827..7bcb1b1 100644 --- a/units/wireless/jobs.pxu +++ b/units/wireless/jobs.pxu @@ -223,7 +223,7 @@ environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -262,7 +262,7 @@ environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -302,7 +302,7 @@ environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -342,7 +342,7 @@ environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -382,7 +382,7 @@ environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -422,7 +422,7 @@ environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT if create_connection wifi $ROUTER_SSID; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -461,7 +461,7 @@ environ: WPA_BG_SSID WPA_BG_PSK SERVER_IPERF command: trap "nmcli con delete id $WPA_BG_SSID" EXIT if create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link iperf -c $SERVER_IPERF -t 300 -i 30 @@ -490,7 +490,7 @@ environ: WPA_BG_SSID WPA_BG_PSK SERVER_IPERF command: trap "nmcli con delete id $WPA_BG_SSID" EXIT if create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; then - connect_wireless # lp:1471663 + connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link iperf -c $SERVER_IPERF -t 300 -i 30 -u -b 100m -p 5050 -- cgit v1.2.3 From 2d1b7b62326e2e0435cf995a5a8d9714088a1bdb Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:25:16 +0200 Subject: bin:cpu_offlining -> cpu_offlining.py --- units/cpu/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu index 33446a8..5d7421b 100644 --- a/units/cpu/jobs.pxu +++ b/units/cpu/jobs.pxu @@ -75,7 +75,7 @@ category_id: com.canonical.plainbox::cpu id: cpu/offlining_test estimated_duration: 128.0 user: root -command: cpu_offlining +command: cpu_offlining.py _summary: Test offlining of each CPU core _description: -- cgit v1.2.3 From 6ed8308d130b5de511a1f765a1ae27eff0c46027 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:27:12 +0200 Subject: bin:cpu_topology -> cpu_topology.py --- units/cpu/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu index 5d7421b..7e422ab 100644 --- a/units/cpu/jobs.pxu +++ b/units/cpu/jobs.pxu @@ -87,7 +87,7 @@ category_id: com.canonical.plainbox::cpu id: cpu/topology estimated_duration: 1.0 requires: int(cpuinfo.count) > 1 and (cpuinfo.platform == 'i386' or cpuinfo.platform == 'x86_64' or cpuinfo.platform == 's390x') -command: cpu_topology +command: cpu_topology.py _summary: Check CPU topology for accuracy between proc and sysfs _description: -- cgit v1.2.3 From c974c0e446953f75b4e6f96d886b2b1faa8d9ae3 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:29:08 +0200 Subject: bin:create_connection -> create_connection.py --- units/dock/jobs.pxu | 12 ++++++------ units/mobilebroadband/jobs.pxu | 4 ++-- units/suspend/suspend.pxu | 12 ++++++------ units/wireless/jobs.pxu | 16 ++++++++-------- 4 files changed, 22 insertions(+), 22 deletions(-) (limited to 'units') diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index 537f985..e4bb683 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -1540,7 +1540,7 @@ user: root environ: WPA_BG_SSID WPA_BG_PSK command: trap "nmcli con delete id $WPA_BG_SSID" EXIT - if create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; then + if create_connection.py wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; then INTERFACE=`nmcli dev status | awk '/802-11-wireless/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -1564,7 +1564,7 @@ user: root environ: OPEN_BG_SSID command: trap "nmcli con delete id $OPEN_BG_SSID" EXIT - if create_connection wifi $OPEN_BG_SSID; then + if create_connection.py wifi $OPEN_BG_SSID; then INTERFACE=`nmcli dev status | awk '/802-11-wireless/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -1588,7 +1588,7 @@ user: root environ: WPA_N_SSID WPA_N_PSK command: trap "nmcli con delete id $WPA_N_SSID" EXIT - if create_connection wifi $WPA_N_SSID --security=wpa --key=$WPA_N_PSK; then + if create_connection.py wifi $WPA_N_SSID --security=wpa --key=$WPA_N_PSK; then INTERFACE=`nmcli dev status | awk '/802-11-wireless/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -1612,7 +1612,7 @@ user: root environ: OPEN_N_SSID command: trap "nmcli con delete id $OPEN_N_SSID" EXIT - if create_connection wifi $OPEN_N_SSID; then + if create_connection.py wifi $OPEN_N_SSID; then INTERFACE=`nmcli dev status | awk '/802-11-wireless/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -1637,7 +1637,7 @@ user: root environ: WPA_AC_SSID WPA_AC_PSK command: trap "nmcli con delete id $WPA_AC_SSID" EXIT - if create_connection wifi $WPA_AC_SSID --security=wpa --key=$WPA_AC_PSK; then + if create_connection.py wifi $WPA_AC_SSID --security=wpa --key=$WPA_AC_PSK; then INTERFACE=`nmcli dev status | awk '/802-11-wireless/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE @@ -1662,7 +1662,7 @@ user: root environ: OPEN_AC_SSID command: trap "nmcli con delete id $OPEN_AC_SSID" EXIT - if create_connection wifi $OPEN_AC_SSID; then + if create_connection.py wifi $OPEN_AC_SSID; then INTERFACE=`nmcli dev status | awk '/802-11-wireless/ {print $1}'` iw dev $INTERFACE link gateway_ping_test --interface=$INTERFACE diff --git a/units/mobilebroadband/jobs.pxu b/units/mobilebroadband/jobs.pxu index 0c83428..544ab0f 100644 --- a/units/mobilebroadband/jobs.pxu +++ b/units/mobilebroadband/jobs.pxu @@ -11,7 +11,7 @@ environ: GSM_CONN_NAME GSM_APN GSM_USERNAME GSM_PASSWORD command: if [ -n "${GSM_APN}" ]; then trap "nmcli con delete id $GSM_CONN_NAME" EXIT - create_connection mobilebroadband gsm \ + create_connection.py mobilebroadband gsm \ `[ -n "${GSM_APN}" ] && echo "--apn=$GSM_APN"` \ `[ -n "${GSM_CONN_NAME}" ] && echo "--name=$GSM_CONN_NAME"` \ `[ -n "${GSM_USERNAME}" ] && echo "--username=$GSM_USERNAME"` \ @@ -41,7 +41,7 @@ environ: CDMA_CONN_NAME CDMA_USERNAME CDMA_PASSWORD command: if [ -n "${CDMA_USERNAME}" ]; then trap "nmcli con delete id $CDMA_CONN_NAME" EXIT - create_connection mobilebroadband cdma \ + create_connection.py mobilebroadband cdma \ `[ -n "${CDMA_CONN_NAME}" ] && echo "--name=$CDMA_CONN_NAME"` \ `[ -n "${CDMA_USERNAME}" ] && echo "--username=$CDMA_USERNAME"` \ `[ -n "${CDMA_PASSWORD}" ] && echo "--password=$CDMA_PASSWORD"` || exit 1 diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 489136a..71029ea 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -687,7 +687,7 @@ user: root environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then + if create_connection.py wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -727,7 +727,7 @@ user: root environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID; then + if create_connection.py wifi $ROUTER_SSID; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -767,7 +767,7 @@ user: root environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then + if create_connection.py wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -807,7 +807,7 @@ user: root environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID; then + if create_connection.py wifi $ROUTER_SSID; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -847,7 +847,7 @@ user: root environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then + if create_connection.py wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -887,7 +887,7 @@ user: root environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID; then + if create_connection.py wifi $ROUTER_SSID; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link diff --git a/units/wireless/jobs.pxu b/units/wireless/jobs.pxu index 7bcb1b1..8ffb102 100644 --- a/units/wireless/jobs.pxu +++ b/units/wireless/jobs.pxu @@ -222,7 +222,7 @@ user: root environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then + if create_connection.py wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -261,7 +261,7 @@ user: root environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID; then + if create_connection.py wifi $ROUTER_SSID; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -301,7 +301,7 @@ user: root environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then + if create_connection.py wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -341,7 +341,7 @@ user: root environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID; then + if create_connection.py wifi $ROUTER_SSID; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -381,7 +381,7 @@ user: root environ: ROUTER_SSID ROUTER_PSK command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then + if create_connection.py wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -421,7 +421,7 @@ user: root environ: ROUTER_SSID command: trap "nmcli con delete id $ROUTER_SSID" EXIT - if create_connection wifi $ROUTER_SSID; then + if create_connection.py wifi $ROUTER_SSID; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -460,7 +460,7 @@ user: root environ: WPA_BG_SSID WPA_BG_PSK SERVER_IPERF command: trap "nmcli con delete id $WPA_BG_SSID" EXIT - if create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; then + if create_connection.py wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link @@ -489,7 +489,7 @@ user: root environ: WPA_BG_SSID WPA_BG_PSK SERVER_IPERF command: trap "nmcli con delete id $WPA_BG_SSID" EXIT - if create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; then + if create_connection.py wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; then connect_wireless.sh # lp:1471663 INTERFACE=`nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}'` iw dev $INTERFACE link -- cgit v1.2.3 From 377093805b533b449a9ab23f9fcffd38602bea09 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:30:13 +0200 Subject: bin:cycle_vts -> cycle_vts.sh --- units/miscellanea/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 263c3b2..56d345a 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -56,7 +56,7 @@ id: miscellanea/chvt requires: package.name == 'kbd' user: root -command: cycle_vts +command: cycle_vts.sh _description: PURPOSE: This test will check that the system can switch to a virtual terminal and back to X -- cgit v1.2.3 From 9e0ef0cdbc3fc8d8594f32bd1a0acef1424d57c3 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:32:31 +0200 Subject: bin:disk_cpu_load -> disk_cpu_load.sh --- units/disk/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index caafbad..4bb8c04 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -127,7 +127,7 @@ requires: package.name == 'bc' or executable.name == 'bc' _summary: Check of CPU load imposed by {product_slug} _description: Check to ensure CPU load of {product_slug} is not too high -command: disk_cpu_load {name} +command: disk_cpu_load.sh {name} plugin: shell category_id: com.canonical.plainbox::disk -- cgit v1.2.3 From 5db6c23109f123ecfe5d79986a931da685095e4e Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:33:55 +0200 Subject: bin:disk_info -> disk_info.py --- units/disk/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index 4bb8c04..102b858 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -7,7 +7,7 @@ _summary: Gathers information about each disk detected _description: Uses lsblk to gather information about each disk detected on the system under test. -command: disk_info +command: disk_info.py estimated_duration: 0.25 unit: template -- cgit v1.2.3 From 593d97f7c5685615e25eec59ed51868d46253c57 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:35:02 +0200 Subject: bin:disk_read_performance_test -> disk_read_performance_test.sh --- units/disk/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index 102b858..a43fbe7 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -62,7 +62,7 @@ _summary: Disk performance test for {product_slug} _description: Verify that disk storage performs at or above baseline performance user: root environ: DISK_READ_PERF -command: disk_read_performance_test {name} +command: disk_read_performance_test.sh {name} unit: template template-resource: device -- cgit v1.2.3 From 5b265154ab790f592b93a817f2a7861abf636c26 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:37:26 +0200 Subject: bin:disk_smart -> disk_smart.py --- units/disk/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index a43fbe7..75ac4f2 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -48,7 +48,7 @@ _summary: _description: This tests the SMART capabilities for {product_slug} (Note that this test may not work against hardware RAID) user: root -command: disk_smart -b /dev/{name} -s 130 -t 530 +command: disk_smart.py -b /dev/{name} -s 130 -t 530 unit: template template-resource: device -- cgit v1.2.3 From 5b62def9bb43eb01ce05d6d67d4458b2e534ec99 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:38:47 +0200 Subject: bin:disk_stats_test -> disk_stats_test.sh --- units/disk/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index 75ac4f2..ca53e4f 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -20,7 +20,7 @@ id: disk/stats_{name} flags: deprecated user: root estimated_duration: 10.0 -command: disk_stats_test {name} +command: disk_stats_test.sh {name} _summary: Disk statistics for {product_slug} _description: This test checks disk stats, generates some activity and rechecks stats to -- cgit v1.2.3 From e426b57bbf74dacc567345ad70336e3e69cdd45a Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:42:30 +0200 Subject: bin:dmitest -> dmitest.py --- units/miscellanea/jobs.pxu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 56d345a..ba42da8 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -218,7 +218,7 @@ requires: dmi_present.state == 'supported' estimated_duration: 0.5 user: root -command: dmitest cpu-check +command: dmitest.py cpu-check _description: Sanity check of CPU information; fails if CPU is an engineering sample _summary: @@ -232,7 +232,7 @@ requires: dmi_present.state == 'supported' estimated_duration: 0.5 user: root -command: dmitest server +command: dmitest.py server _description: Sanity check of DMI system identification data (for servers) _summary: @@ -246,7 +246,7 @@ requires: dmi_present.state == 'supported' estimated_duration: 0.5 user: root -command: dmitest --test_versions --test_serials desktop +command: dmitest.py --test_versions --test_serials desktop _description: Sanity check of DMI system identification data (for desktops & laptops) _summary: -- cgit v1.2.3 From 582e7612f4e997aa2f294d0335b0553ec6e58a9d Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:45:21 +0200 Subject: bin:efi-pxeboot -> efi-pxeboot.py --- units/miscellanea/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index ba42da8..96b8562 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -173,7 +173,7 @@ _summary: Test that system booted from the network _description: Test to verify that the system booted from the network. Works only on EFI-based systems. -command: efi-pxeboot +command: efi-pxeboot.py plugin: shell category_id: com.canonical.plainbox::miscellanea -- cgit v1.2.3 From 429f8d95313f32542c1097410467f7decdeac8ec Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:48:42 +0200 Subject: bin:floppy_test: Deleted Idem for the legacy job unit --- units/floppy/jobs.pxu | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 units/floppy/jobs.pxu (limited to 'units') diff --git a/units/floppy/jobs.pxu b/units/floppy/jobs.pxu deleted file mode 100644 index ff4018d..0000000 --- a/units/floppy/jobs.pxu +++ /dev/null @@ -1,9 +0,0 @@ -unit: template -template-resource: device -template-filter: device.driver == 'floppy' -plugin: shell -category_id: com.canonical.plainbox::floppy -id: floppy/check_{name} -_description: Floppy test for {product} -user: root -command: floppy_test /dev/{name} -- cgit v1.2.3 From a59b7e3c1646faa022ae15c25403728049af1a30 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:50:04 +0200 Subject: bin:frequency_governors_test -> frequency_governors_test.py --- units/cpu/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu index 7e422ab..94c2277 100644 --- a/units/cpu/jobs.pxu +++ b/units/cpu/jobs.pxu @@ -99,7 +99,7 @@ category_id: com.canonical.plainbox::cpu id: cpu/frequency_governors estimated_duration: 22.0 user: root -command: nice -n -20 frequency_governors_test --debug +command: nice -n -20 frequency_governors_test.py --debug _description: This test checks that CPU frequency governors are obeyed when set. -- cgit v1.2.3 From 3cc0bde4692104af9a44737da3a953a3802cb8fe Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:51:57 +0200 Subject: bin:fresh_rate_info -> fresh_rate_info.py --- units/graphics/jobs.pxu | 2 +- units/graphics/legacy.pxu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 77c8d40..8bde5e7 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -169,7 +169,7 @@ template-resource: graphics_card id: graphics/{index}_fresh_rate_{product_slug} plugin: shell category_id: com.canonical.plainbox::graphics -command: fresh_rate_info +command: fresh_rate_info.py _description: Collect info on fresh rate for {vendor} {product}. _summary: Test refresh rate for {vendor} {product} diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index 8fff5d4..9e9609d 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -110,7 +110,7 @@ _summary: Collect info on color depth and pixel format. id: graphics/fresh_rate plugin: shell category_id: com.canonical.plainbox::graphics -command: fresh_rate_info +command: fresh_rate_info.py _description: Collect info on fresh rate. _summary: Collect info on fresh rate. -- cgit v1.2.3 From f88c0978d3414bd234fc639f96ef155aabf0cf78 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:53:04 +0200 Subject: bin:fstrim_test -> fstrim_test.py --- units/disk/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index ca53e4f..91559de 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -89,7 +89,7 @@ requires: block_device.rotation == 'no' and block_device.name == '{name}' _summary: Filesystem TRIM check for {product_slug} _description: Take the path of the storage device and test its TRIM capabilities -command: fstrim_test --device-file {name} +command: fstrim_test.py --device-file {name} unit: template template-resource: device -- cgit v1.2.3 From d3758298e6aab2dd8992a7b424bcfe066cf04ccb Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:54:15 +0200 Subject: bin:gcov_tarball -> gcov_tarball.sh --- units/info/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index 08b5cb6..045a825 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -202,7 +202,7 @@ plugin: attachment category_id: com.canonical.plainbox::info requires: package.name == 'lcov' user: root -command: gcov_tarball +command: gcov_tarball.sh _description: Attaches a tarball of gcov data if present. id: lsmod_attachment -- cgit v1.2.3 From 04875c5e8523e6f46a032072d25fd761cd78fa5f Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 10:55:23 +0200 Subject: bin:get_make_and_model -> get_make_and_model.py --- units/miscellanea/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 96b8562..8fd16f5 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -403,7 +403,7 @@ category_id: com.canonical.plainbox::miscellanea estimated_duration: 30.0 id: miscellanea/get_make_and_model user: root -command: get_make_and_model +command: get_make_and_model.py requires: dmi_present.state == 'supported' _description: Retrieve the computer's make and model for easier access than digging through the dmidecode output. -- cgit v1.2.3 From 5c3546fe1753f4451b1e8e22eac204b2e17f5721 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:16:46 +0200 Subject: bin:gpu_test -> gpu_test.py --- units/suspend/suspend.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 71029ea..f2fe233 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1249,7 +1249,7 @@ requires: package.name == 'firefox' package.name == 'unity' depends: suspend/suspend_advanced_auto -command: gpu_test +command: gpu_test.py _description: PURPOSE: Do some challenging operations then check for lockup on the GPU -- cgit v1.2.3 From dc679a4c360a9e8d6013fc9e6348e9468036a7e2 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:18:57 +0200 Subject: bin:gputest_benchmark -> gputest_benchmark.py --- units/benchmarks/jobs.pxu | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'units') diff --git a/units/benchmarks/jobs.pxu b/units/benchmarks/jobs.pxu index 504401b..0c23557 100644 --- a/units/benchmarks/jobs.pxu +++ b/units/benchmarks/jobs.pxu @@ -269,7 +269,7 @@ id: benchmarks/graphics/gputest_furmark_fullscreen_1920x1080 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark fur --width 1920 --height 1080 -f +command: gputest_benchmark.py fur --width 1920 --height 1080 -f estimated_duration: 75.000 _description: Run a stress test based on FurMark (OpenGL 2.1 or 3.2) @@ -281,7 +281,7 @@ id: benchmarks/graphics/gputest_furmark_windowed_1024x640 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark fur +command: gputest_benchmark.py fur estimated_duration: 75.000 _description: Run a stress test based on FurMark (OpenGL 2.1 or 3.2) @@ -293,7 +293,7 @@ id: benchmarks/graphics/gputest_gimark_fullscreen_1920x1080 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark gi --width 1920 --height 1080 -f +command: gputest_benchmark.py gi --width 1920 --height 1080 -f estimated_duration: 75.00 _description: Run GiMark, a geometry instancing test (OpenGL 3.3) @@ -305,7 +305,7 @@ id: benchmarks/graphics/gputest_gimark_windowed_1024x640 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark gi +command: gputest_benchmark.py gi estimated_duration: 75.500 _description: Run GiMark, a geometry instancing test (OpenGL 3.3) @@ -317,7 +317,7 @@ id: benchmarks/graphics/gputest_tessmark_fullscreen_1920x1080 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark tess --width 1920 --height 1080 -f +command: gputest_benchmark.py tess --width 1920 --height 1080 -f estimated_duration: 75.000 _description: Run a tessellation test based on TessMark (OpenGL 4.0) @@ -329,7 +329,7 @@ id: benchmarks/graphics/gputest_tessmark_windowed_1024x640 requires: package.name == 'gputest' cpuinfo.platform == 'x86_64' -command: gputest_benchmark tess +command: gputest_benchmark.py tess _description: Run a tessellation test based on TessMark (OpenGL 4.0) Windowed 1024x640 no antialiasing -- cgit v1.2.3 From 1da7ca74e0a5e60c6cb5ec46a3782c09b1e2b0de Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:20:40 +0200 Subject: bin:graphic_memory_info -> graphic_memory_info.py --- units/graphics/jobs.pxu | 2 +- units/graphics/legacy.pxu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 8bde5e7..b56f7f4 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -178,7 +178,7 @@ template-resource: graphics_card id: graphics/{index}_graphic_memory_{product_slug} plugin: shell category_id: com.canonical.plainbox::graphics -command: graphic_memory_info +command: graphic_memory_info.py _description: Collect info on graphic memory for {vendor} {product}. _summary: Test graphic memory info for {vendor} {product}. diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index 9e9609d..f76c4d3 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -117,7 +117,7 @@ _summary: Collect info on fresh rate. id: graphics/graphic_memory plugin: shell category_id: com.canonical.plainbox::graphics -command: graphic_memory_info +command: graphic_memory_info.py _description: Collect info on graphic memory. _summary: Collect info on graphic memory. -- cgit v1.2.3 From 4a58715d7d6b165d4e3b5a4169570a5b2e680429 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:24:38 +0200 Subject: bin:graphics_driver -> graphics_driver.py --- units/graphics/jobs.pxu | 2 +- units/graphics/legacy.pxu | 2 +- units/suspend/suspend-graphics.pxu | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index b56f7f4..3e82694 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -6,7 +6,7 @@ category_id: com.canonical.plainbox::graphics id: graphics/{index}_driver_version_{product_slug} command: source graphics_env {driver} {index} - graphics_driver + graphics_driver.py estimated_duration: 0.5 _description: Parses Xorg.0.log and discovers the running X driver and version for the {vendor} {product} graphics card _summary: Test X driver/version for {vendor} {product} diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index f76c4d3..2e002a9 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -1,7 +1,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/driver_version -command: graphics_driver +command: graphics_driver.py estimated_duration: 0.500 _description: Parses Xorg.0.Log and discovers the running X driver and version _summary: Test X driver/version diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index 812508b..056be9e 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -200,7 +200,7 @@ depends: {%- endif %} command: source graphics_env {{ driver }} {{ index }} - graphics_driver + graphics_driver.py estimated_duration: 0.500 _description: Parses Xorg.0.Log and discovers the running X driver and version after suspend for the {{ vendor }} {{ product }} graphics card _summary: Test X driver/version after suspend for {{ vendor }} {{ product }} -- cgit v1.2.3 From 258f3177860c34a2b772c62b99bfc88ce1c755f7 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:26:52 +0200 Subject: bin:graphics_env -> graphics_env.sh --- units/graphics/jobs.pxu | 16 ++++++++-------- units/suspend/suspend-graphics.pxu | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 3e82694..c3b883d 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -5,7 +5,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/{index}_driver_version_{product_slug} command: - source graphics_env {driver} {index} + source graphics_env.sh {driver} {index} graphics_driver.py estimated_duration: 0.5 _description: Parses Xorg.0.log and discovers the running X driver and version for the {vendor} {product} graphics card @@ -108,7 +108,7 @@ id: graphics/{index}_minimum_resolution_{product_slug} requires: device.category == 'VIDEO' command: - source graphics_env {driver} {index} + source graphics_env.sh {driver} {index} resolution_test --horizontal 800 --vertical 600 estimated_duration: 0.331 _summary: Test that {vendor} {product} meets minimum resolution requirement @@ -127,7 +127,7 @@ requires: device.category == 'VIDEO' package.name == 'zenity' command: - source graphics_env {driver} {index} + source graphics_env.sh {driver} {index} maxi="$(xrandr -q |grep -A 1 "connected\( primary\)* [0-9]" |tail -1 |awk '{{print $1}}')" now="$(python3 -c 'from gi.repository import Gdk; screen=Gdk.Screen.get_default(); geo = screen.get_monitor_geometry(screen.get_primary_monitor()); print(geo.width, "x", geo.height, sep="")')" test "$maxi" != "$now" && notify="\nPlease switch to the maximum resolution \nfor every graphic tests" @@ -191,7 +191,7 @@ requires: package.name == 'xorg' package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' command: - source graphics_env {driver} {index} + source graphics_env.sh {driver} {index} gst_pipeline_test -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' _summary: Test that video can be displayed with {vendor} {product} _description: @@ -219,7 +219,7 @@ id: graphics/{index}_cycle_resolution_{product_slug} requires: package.name == 'xorg' depends: graphics/VESA_drivers_not_in_use command: - source graphics_env {driver} {index} + source graphics_env.sh {driver} {index} xrandr_cycle --screenshot-dir $PLAINBOX_SESSION_SHARE estimated_duration: 250.000 _summary: Test resolution cycling for {vendor} {product} @@ -239,7 +239,7 @@ category_id: com.canonical.plainbox::graphics id: graphics/{index}_rotation_{product_slug} depends: graphics/xorg-version command: - source graphics_env {driver} {index} + source graphics_env.sh {driver} {index} rotation_test estimated_duration: 20.000 _summary: Test rotation for {vendor} {product} @@ -286,7 +286,7 @@ category_id: com.canonical.plainbox::graphics id: graphics/{index}_glxgears_{product_slug} requires: executable.name == 'glxgears' command: - source graphics_env {driver} {index} + source graphics_env.sh {driver} {index} glxgears true _summary: Test that glxgears works for {vendor} {product} @@ -307,7 +307,7 @@ category_id: com.canonical.plainbox::graphics id: graphics/{index}_glxgears_fullscreen_{product_slug} requires: executable.name == 'glxgears' command: - source graphics_env {driver} {index} + source graphics_env.sh {driver} {index} glxgears -fullscreen true _summary: Test that glxgears works on fullscreen for {vendor} {product} diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index 056be9e..d55ad69 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -8,7 +8,7 @@ after: graphics/{index}_auto_switch_card_{product_slug} estimated_duration: 1.2 _description: Record the current resolution before suspending. command: - source graphics_env {driver} {index} + source graphics_env.sh {driver} {index} xrandr -q | grep '*'| awk '{{print $1}}' > $PLAINBOX_SESSION_SHARE/{index}_resolution_before_suspend.txt unit: template @@ -48,7 +48,7 @@ depends: {%- endif %} _description: Test to see that we have the same resolution after resuming as before. command: - source graphics_env {{ driver }} {{ index }} + source graphics_env.sh {{ driver }} {{ index }} xrandr -q | grep '*'| awk '{print $1}' | diff $PLAINBOX_SESSION_SHARE/{{ index }}_resolution_before_suspend.txt - unit: template @@ -89,7 +89,7 @@ depends: {%- endif %} estimated_duration: 120.0 command: - source graphics_env {{ driver }} {{ index }} + source graphics_env.sh {{ driver }} {{ index }} xrandr_cycle --keyword={{ index }}_after_suspend --screenshot-dir $PLAINBOX_SESSION_SHARE _description: PURPOSE: @@ -124,7 +124,7 @@ depends: {%- endif %} requires: package.name == 'nux-tools' command: - source graphics_env {{ driver }} {{ index }} + source graphics_env.sh {{ driver }} {{ index }} ! /usr/lib/nux/unity_support_test -p 2>&1 | ansi_parser.py | grep -e ":\(\s\+\)no$" -ie "error" estimated_duration: 0.130 _description: Check that {{ product }} hardware is able to run a desktop session (OpenGL) @@ -144,7 +144,7 @@ depends: {%- endif %} requires: executable.name == 'glxgears' command: - source graphics_env {{ driver }} {{ index }} + source graphics_env.sh {{ driver }} {{ index }} glxgears true _summary: Test that glxgears works for {{ vendor }} {{ product }} after suspend @@ -174,7 +174,7 @@ requires: package.name == 'xorg' package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' command: - source graphics_env {{ driver }} {{ index }} + source graphics_env.sh {{ driver }} {{ index }} gst_pipeline_test -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' _summary: Test that video can be displayed after suspend with {{ vendor }} {{ product }} _description: @@ -199,7 +199,7 @@ depends: suspend/suspend_advanced {%- endif %} command: - source graphics_env {{ driver }} {{ index }} + source graphics_env.sh {{ driver }} {{ index }} graphics_driver.py estimated_duration: 0.500 _description: Parses Xorg.0.Log and discovers the running X driver and version after suspend for the {{ vendor }} {{ product }} graphics card @@ -277,7 +277,7 @@ depends: suspend/suspend_advanced {%- endif %} command: - source graphics_env {{ driver }} {{ index }} + source graphics_env.sh {{ driver }} {{ index }} rotation_test estimated_duration: 20.000 _summary: Test rotation for {{ vendor }} {{ product }} after suspend -- cgit v1.2.3 From 303f3f74d26c8d6a6aa438403f44c7552c4e9444 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:28:57 +0200 Subject: bin:graphics_modes_info -> graphics_modes_info.py --- units/graphics/jobs.pxu | 2 +- units/graphics/legacy.pxu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index c3b883d..bfc2c1f 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -149,7 +149,7 @@ template-resource: graphics_card id: graphics/{index}_modes_{product_slug} plugin: shell category_id: com.canonical.plainbox::graphics -command: graphics_modes_info +command: graphics_modes_info.py estimated_duration: 0.250 _description: Collect info on graphics modes (screen resolution and refresh rate) for {vendor} {product} _summary: Test graphic modes info for {vendor} {product} diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index 2e002a9..c254476 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -94,7 +94,7 @@ _description: id: graphics/modes plugin: shell category_id: com.canonical.plainbox::graphics -command: graphics_modes_info +command: graphics_modes_info.py estimated_duration: 0.250 _description: Collect info on graphics modes (screen resolution and refresh rate) _summary: Collect info on graphics modes -- cgit v1.2.3 From 8ea5b85fcab2b101157419c5c7feb634542c4d40 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:30:20 +0200 Subject: bin:graphics_stress_test -> graphics_stress_test.py --- units/stress/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index 0a1ce27..cff2bd7 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -434,7 +434,7 @@ requires: package.name == 'x11-apps' user: root environ: PLAINBOX_SESSION_SHARE -command: graphics_stress_test --iterations 20 -b repeat -d -o $PLAINBOX_SESSION_SHARE/graphics-stress-results && echo "Graphics Stress Test completed successfully" || echo "Graphics Stress Test completed, but there are errors. Please see the log $PLAINBOX_SESSION_SHARE/graphics-stress-results for details" && false +command: graphics_stress_test.py --iterations 20 -b repeat -d -o $PLAINBOX_SESSION_SHARE/graphics-stress-results && echo "Graphics Stress Test completed successfully" || echo "Graphics Stress Test completed, but there are errors. Please see the log $PLAINBOX_SESSION_SHARE/graphics-stress-results for details" && false _description: Run the graphics stress test. This test can take a few minutes. -- cgit v1.2.3 From 06f88fc75c416f0cfd1e5fa33795962e33d87033 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:32:04 +0200 Subject: bin:gst_pipeline_test -> gst_pipeline_test.py --- units/audio/jobs.pxu | 22 +++++++++++----------- units/bluetooth/jobs.pxu | 2 +- units/dock/jobs.pxu | 20 ++++++++++---------- units/graphics/jobs.pxu | 2 +- units/suspend/suspend-graphics.pxu | 2 +- units/suspend/suspend.pxu | 6 +++--- 6 files changed, 27 insertions(+), 27 deletions(-) (limited to 'units') diff --git a/units/audio/jobs.pxu b/units/audio/jobs.pxu index 0f9fc7b..cf21a93 100644 --- a/units/audio/jobs.pxu +++ b/units/audio/jobs.pxu @@ -21,7 +21,7 @@ requires: command: audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --device=pci --volume=50 - gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -53,7 +53,7 @@ flags: also-after-suspend-manual command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -82,7 +82,7 @@ flags: also-after-suspend-manual command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -112,7 +112,7 @@ flags: also-after-suspend-manual command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -142,7 +142,7 @@ flags: also-after-suspend-manual command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -173,7 +173,7 @@ flags: also-after-suspend-manual command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -204,7 +204,7 @@ flags: also-after-suspend-manual command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -229,7 +229,7 @@ requires: command: audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --device=pci --volume=50 - gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -487,7 +487,7 @@ requires: command: audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --device=pci --volume=50 - gst_pipeline_test -t 10 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 10 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -515,7 +515,7 @@ requires: command: audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --device=pci --volume=50 - gst_pipeline_test -t 10 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 10 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -554,7 +554,7 @@ requires: command: audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --device=pci --volume=50 - gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu index b97ee5c..71101e7 100644 --- a/units/bluetooth/jobs.pxu +++ b/units/bluetooth/jobs.pxu @@ -103,7 +103,7 @@ command: bt_sink=`pactl list sinks short | awk '/bluez/{print $2}'` pactl set-card-profile $idx a2dp pactl set-default-sink $bt_sink - gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index e4bb683..d440fbb 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -247,7 +247,7 @@ estimated_duration: 30.0 command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -275,7 +275,7 @@ estimated_duration: 30.0 command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -302,7 +302,7 @@ estimated_duration: 30.0 command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -330,7 +330,7 @@ estimated_duration: 30.0 command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -360,7 +360,7 @@ estimated_duration: 30.0 command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -389,7 +389,7 @@ requires: command: audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --device=pci --volume=50 - gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -1103,7 +1103,7 @@ estimated_duration: 30.0 command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -1131,7 +1131,7 @@ estimated_duration: 30.0 command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -1159,7 +1159,7 @@ estimated_duration: 30.0 command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -1187,7 +1187,7 @@ estimated_duration: 30.0 command: audio_settings.py store --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --verbose --device=hdmi --volume=50 - gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --verbose --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index bfc2c1f..ca6cc99 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -192,7 +192,7 @@ requires: package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' command: source graphics_env.sh {driver} {index} - gst_pipeline_test -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' + gst_pipeline_test.py -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test.py -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' _summary: Test that video can be displayed with {vendor} {product} _description: PURPOSE: diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index d55ad69..124878e 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -175,7 +175,7 @@ requires: package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' command: source graphics_env.sh {{ driver }} {{ index }} - gst_pipeline_test -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' + gst_pipeline_test.py -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test.py -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' _summary: Test that video can be displayed after suspend with {{ vendor }} {{ product }} _description: PURPOSE: diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index f2fe233..d063274 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -512,7 +512,7 @@ requires: command: audio_settings.py store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings.py set --device=pci --volume=50 - gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' + gst_pipeline_test.py -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink' EXIT_CODE=$? audio_settings.py restore --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings exit $EXIT_CODE @@ -2185,7 +2185,7 @@ category_id: com.canonical.plainbox::suspend requires: package.name == 'xorg' package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' -command: gst_pipeline_test -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' +command: gst_pipeline_test.py -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test.py -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' _summary: Test that video can be displayed after suspend with {vendor} {product} _description: PURPOSE: @@ -2203,7 +2203,7 @@ requires: device.category == 'VIDEO' package.name == 'xorg' package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' -command: gst_pipeline_test -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' +command: gst_pipeline_test.py -t 2 'videotestsrc ! videoconvert ! autovideosink' || gst_pipeline_test.py -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink' _summary: Test that video can be displayed after suspend _description: PURPOSE: -- cgit v1.2.3 From bf2a950f06c727604f99111d5dba3828fa429072 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:33:15 +0200 Subject: bin:hdd_parking -> hdd_parking.py --- units/disk/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index 91559de..fc85e9d 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -150,7 +150,7 @@ requires: executable.name == 'hdapsd' depends: input/accelerometer user: root -command: hdd_parking +command: hdd_parking.py _description: PURPOSE: This test checks that a systems drive protection mechanism works properly. -- cgit v1.2.3 From 9d3ade02975a1b27add850a0e00a3560eba3ee5a Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:35:08 +0200 Subject: bin:kernel_taint_test -> kernel_taint_test.py --- units/miscellanea/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 8fd16f5..c5e8294 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -193,7 +193,7 @@ _summary: Test that kernel is not tainted _description: Test to verify that the kernel is not tainted by out-of-tree drivers, live patches, proprietary modules, etc. -command: kernel_taint_test +command: kernel_taint_test.py plugin: shell category_id: com.canonical.plainbox::miscellanea -- cgit v1.2.3 From c22ca8af02e67fb4627d754e7a456ddbddecbb84 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:37:05 +0200 Subject: bin:keyboard_test -> keyboard_test.py --- units/bluetooth/jobs.pxu | 2 +- units/dock/jobs.pxu | 4 ++-- units/input/jobs.pxu | 2 +- units/led/jobs.pxu | 2 +- units/suspend/suspend.pxu | 2 +- units/usb/usb.pxu | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'units') diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu index 71101e7..8b9b405 100644 --- a/units/bluetooth/jobs.pxu +++ b/units/bluetooth/jobs.pxu @@ -145,7 +145,7 @@ category_id: com.canonical.plainbox::bluetooth id: bluetooth/HID depends: bluetooth/detect-output estimated_duration: 120.0 -command: keyboard_test +command: keyboard_test.py _description: PURPOSE: This test will check that you can use a BlueTooth HID device diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index d440fbb..1a9f1a7 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -611,7 +611,7 @@ id: dock/usb-HID category_id: dock-usb estimated_duration: 20.0 _summary: USB HID device test -command: keyboard_test +command: keyboard_test.py _purpose: This test will check that you can use a USB HID device _steps: @@ -1350,7 +1350,7 @@ category_id: dock-usb depends: suspend/suspend_advanced estimated_duration: 20.0 _summary: USB HID device test after resuming -command: keyboard_test +command: keyboard_test.py _purpose: This test will check that you can use a USB HID device _steps: diff --git a/units/input/jobs.pxu b/units/input/jobs.pxu index 899d547..5f5cde0 100644 --- a/units/input/jobs.pxu +++ b/units/input/jobs.pxu @@ -30,7 +30,7 @@ plugin: user-interact-verify category_id: com.canonical.plainbox::input id: input/keyboard estimated_duration: 30.0 -command: keyboard_test +command: keyboard_test.py requires: device.category == 'KEYBOARD' _description: PURPOSE: diff --git a/units/led/jobs.pxu b/units/led/jobs.pxu index 2df4758..2be3b8f 100644 --- a/units/led/jobs.pxu +++ b/units/led/jobs.pxu @@ -96,7 +96,7 @@ plugin: user-interact-verify category_id: led id: led/numeric-keypad estimated_duration: 30.0 -command: keyboard_test +command: keyboard_test.py _description: PURPOSE: Numeric keypad LED verification diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index d063274..df1d571 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1384,7 +1384,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/led_after_suspend/numeric-keypad estimated_duration: 120.0 depends: suspend/suspend_advanced -command: keyboard_test +command: keyboard_test.py _description: PURPOSE: Validate that the numeric keypad LED operates the same before and after resuming from suspend diff --git a/units/usb/usb.pxu b/units/usb/usb.pxu index 77dd601..26da9af 100644 --- a/units/usb/usb.pxu +++ b/units/usb/usb.pxu @@ -36,7 +36,7 @@ category_id: com.canonical.plainbox::usb id: usb/HID depends: usb/detect estimated_duration: 1.0 -command: keyboard_test +command: keyboard_test.py _description: PURPOSE: This test will check that you can use a USB HID device -- cgit v1.2.3 From fe0ae8be75c77f94f9463798746dab839632dcaa Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:39:04 +0200 Subject: bin:key_test -> key_test.py --- units/keys/jobs.pxu | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'units') diff --git a/units/keys/jobs.pxu b/units/keys/jobs.pxu index d06eb98..9dc3450 100644 --- a/units/keys/jobs.pxu +++ b/units/keys/jobs.pxu @@ -41,7 +41,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' flags: also-after-suspend-manual user: root -command: key_test -s '0xe02e,0xe0ae:Volume Down' '0xe030,0xe0b0:Volume Up' +command: key_test.py -s '0xe02e,0xe0ae:Volume Down' '0xe030,0xe0b0:Volume Up' _description: PURPOSE: This test will test the volume keys of your keyboard @@ -60,7 +60,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' flags: also-after-suspend-manual user: root -command: key_test -s '0xe020,0xe0a0:Mute' +command: key_test.py -s '0xe020,0xe0a0:Mute' _description: PURPOSE: This test will test the mute key of your keyboard @@ -94,7 +94,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' flags: also-after-suspend-manual user: root -command: key_test -s '0xe071,0xef1:Battery Info' +command: key_test.py -s '0xe071,0xef1:Battery Info' _description: PURPOSE: This test will test the battery information key @@ -136,7 +136,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' flags: also-after-suspend-manual user: root -command: key_test -s 0xe010,0xe090:Previous 0xe024,0xe0a4:Stop 0xe019,0xe099:Next 0xe022,0xe0a2:Play +command: key_test.py -s 0xe010,0xe090:Previous 0xe024,0xe0a4:Stop 0xe019,0xe099:Next 0xe022,0xe0a2:Play _description: PURPOSE: This test will test the media keys of your keyboard @@ -155,7 +155,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' flags: also-after-suspend-manual user: root -command: key_test -s '0xe05b,0xe0db:Left Super Key' +command: key_test.py -s '0xe05b,0xe0db:Left Super Key' _description: PURPOSE: This test will test the super key of your keyboard -- cgit v1.2.3 From 37c974184114445314b9f381148333f79dc21e4e Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:42:01 +0200 Subject: bin:led_hdd_test -> led_hdd_test.sh --- units/led/jobs.pxu | 2 +- units/suspend/suspend.pxu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/led/jobs.pxu b/units/led/jobs.pxu index 2be3b8f..1ff3c38 100644 --- a/units/led/jobs.pxu +++ b/units/led/jobs.pxu @@ -82,7 +82,7 @@ plugin: user-interact-verify category_id: led id: led/hdd estimated_duration: 30.0 -command: led_hdd_test +command: led_hdd_test.sh _description: PURPOSE: HDD LED verification diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index df1d571..6d8d96a 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1369,7 +1369,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/led_after_suspend/hdd depends: suspend/suspend_advanced estimated_duration: 120.0 -command: led_hdd_test +command: led_hdd_test.sh _description: PURPOSE: Validate that the HDD LED still operates as expected after resuming from suspend -- cgit v1.2.3 From ba6c7a3fa1c4247e7dc3019c0d242d966f41e4de Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:55:23 +0200 Subject: bin:light_sensor_test -> light_sensor_test.sh --- units/power-management/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/power-management/jobs.pxu b/units/power-management/jobs.pxu index 8ba9e7c..c748924 100644 --- a/units/power-management/jobs.pxu +++ b/units/power-management/jobs.pxu @@ -345,7 +345,7 @@ id: power-management/light_sensor estimated_duration: 10.0 requires: dmi.product in ['Notebook','Laptop','Portable'] and executable.name == 'monitor-sensor' flags: also-after-suspend-manual -command: light_sensor_test +command: light_sensor_test.sh _description: _purpose: This test will check your Ambient Light Sensor work, if you don't have it, please skip this test. -- cgit v1.2.3 From c99957ad389b3e383b9155cb528000bfa197a077 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 11:59:39 +0200 Subject: bin:lock_screen_watcher -> lock_screen_watcher.py --- units/keys/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/keys/jobs.pxu b/units/keys/jobs.pxu index 9dc3450..6eec1d4 100644 --- a/units/keys/jobs.pxu +++ b/units/keys/jobs.pxu @@ -5,7 +5,7 @@ estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' flags: also-after-suspend-manual -command: lock_screen_watcher +command: lock_screen_watcher.py _description: PURPOSE: This test will test the screen lock key -- cgit v1.2.3 From c1d386c331254f48126654d1d835afd66ab00e6f Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 12:22:52 +0200 Subject: bin:lsmod_info -> lsmod_info.py --- units/info/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index 045a825..43d9e37 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -208,7 +208,7 @@ _description: Attaches a tarball of gcov data if present. id: lsmod_attachment plugin: attachment category_id: com.canonical.plainbox::info -command: lsmod_info +command: lsmod_info.py estimated_duration: 0.5 _description: Attaches a list of the currently running kernel modules. _summary: Attach a list of currently running kernel modules -- cgit v1.2.3 From fb3c19a57fa867af1e6e6badac5c4b2dd1750ec9 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 13:07:54 +0200 Subject: bin:maas-version-check -> maas-version-check.sh --- units/miscellanea/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index c5e8294..6c98181 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -394,7 +394,7 @@ plugin: shell category_id: com.canonical.plainbox::miscellanea estimated_duration: 0.1 id: miscellanea/get_maas_version -command: maas-version-check +command: maas-version-check.sh _description: If system was installed via MAAS from a cert server, the MAAS version used should be contained in /etc/installed-by-maas _summary: Verify MAAS version used to deploy the SUT -- cgit v1.2.3 From 11513071a3149a54cf19ba7bb9c401ccf7c3c69b Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 13:12:44 +0200 Subject: bin:manage_compiz_plugin -> manage_compiz_plugin.py --- units/touchscreen/jobs.pxu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'units') diff --git a/units/touchscreen/jobs.pxu b/units/touchscreen/jobs.pxu index 3a8a33a..39a2a98 100644 --- a/units/touchscreen/jobs.pxu +++ b/units/touchscreen/jobs.pxu @@ -151,11 +151,11 @@ _description: {% endif %} command: {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %} - manage_compiz_plugin unityshell disable + manage_compiz_plugin.py unityshell disable qmlscene -qt5 3 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml 2>&1 | grep -o PASS EXIT=$? sleep 5 - manage_compiz_plugin unityshell enable + manage_compiz_plugin.py unityshell enable {%- else %} timeout 20 multitap_test.py 3 || (>&2 echo "FAILED TO DETECT TAP"; false) EXIT=$? @@ -186,11 +186,11 @@ _description: {% endif %} command: {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %} - manage_compiz_plugin unityshell disable + manage_compiz_plugin.py unityshell disable qmlscene -qt5 4 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml 2>&1 | grep -o PASS EXIT=$? sleep 5 - manage_compiz_plugin unityshell enable + manage_compiz_plugin.py unityshell enable {%- else %} timeout 20 multitap_test.py 4 || (>&2 echo "FAILED TO DETECT TAP"; false) EXIT=$? -- cgit v1.2.3 From d9f8c41df90a2e64908c93c9fd55bce987a2099c Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 13:14:33 +0200 Subject: bin:memory_compare -> memory_compare.py --- units/memory/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/memory/jobs.pxu b/units/memory/jobs.pxu index 5fad4f4..d0b8dbb 100644 --- a/units/memory/jobs.pxu +++ b/units/memory/jobs.pxu @@ -3,7 +3,7 @@ category_id: com.canonical.plainbox::memory id: memory/info estimated_duration: 5.0 user: root -command: memory_compare +command: memory_compare.py _summary: Check amount of memory reported by meminfo against DMI _description: -- cgit v1.2.3 From 42edfd1e9eedd432696b9363d18b22bbfdba0773 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 13:19:34 +0200 Subject: bin:memory_test -> memory_test.py --- units/memory/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/memory/jobs.pxu b/units/memory/jobs.pxu index d0b8dbb..d1fabb4 100644 --- a/units/memory/jobs.pxu +++ b/units/memory/jobs.pxu @@ -17,7 +17,7 @@ estimated_duration: 1000.0 user: root requires: uname.name == 'Linux' -command: memory_test +command: memory_test.py _summary: Run memory stress test including swapping to disk _description: -- cgit v1.2.3 From 3cd31751511031cb148724ed12ca082bcec3fb5e Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 13:21:44 +0200 Subject: bin:net_driver_info -> net_driver_info.py --- units/wireless/jobs.pxu | 18 +++++++++--------- units/wireless/nm-hotspot.pxu | 4 ++-- units/wireless/wireless-connection-netplan.pxu | 16 ++++++++-------- 3 files changed, 19 insertions(+), 19 deletions(-) (limited to 'units') diff --git a/units/wireless/jobs.pxu b/units/wireless/jobs.pxu index 8ffb102..c4ee54c 100644 --- a/units/wireless/jobs.pxu +++ b/units/wireless/jobs.pxu @@ -18,7 +18,7 @@ template-unit: job id: wireless/wireless_scanning_{{ interface }} _summary: Test system can discover Wi-Fi networks on {{ interface }} command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py scan {{ interface }} plugin: shell category_id: com.canonical.plainbox::wireless @@ -43,7 +43,7 @@ _purpose: Check system can connect to 802.11b/g AP with wpa security plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py secured {{ interface }} "$WPA_BG_SSID" "$WPA_BG_PSK" category_id: com.canonical.plainbox::wireless estimated_duration: 30.0 @@ -65,7 +65,7 @@ _purpose: Check system can connect to insecure 802.11b/g AP plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py open {{ interface }} "$OPEN_BG_SSID" category_id: com.canonical.plainbox::wireless estimated_duration: 30.0 @@ -87,7 +87,7 @@ _purpose: Check system can connect to 802.11n AP with wpa security plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py secured {{ interface }} "$WPA_N_SSID" "$WPA_N_PSK" category_id: com.canonical.plainbox::wireless estimated_duration: 30.0 @@ -109,7 +109,7 @@ _purpose: Check system can connect to insecure 802.11n AP plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py open {{ interface }} "$OPEN_N_SSID" category_id: com.canonical.plainbox::wireless estimated_duration: 30.0 @@ -131,7 +131,7 @@ _purpose: Check system can connect to 802.11ac AP with wpa security plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py secured {{ interface }} "$WPA_AC_SSID" "$WPA_AC_PSK" category_id: com.canonical.plainbox::wireless estimated_duration: 30.0 @@ -154,7 +154,7 @@ _purpose: Check system can connect to insecure 802.11ac AP plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py open {{ interface }} "$OPEN_AC_SSID" category_id: com.canonical.plainbox::wireless estimated_duration: 30.0 @@ -177,7 +177,7 @@ _purpose: Check system can connect to 802.11ax AP with wpa security plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py secured {{ interface }} "$WPA_AX_SSID" "$WPA_AX_PSK" category_id: com.canonical.plainbox::wireless estimated_duration: 30.0 @@ -200,7 +200,7 @@ _purpose: Check system can connect to insecure 802.11ax AP plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py open {{ interface }} "$OPEN_AX_SSID" category_id: com.canonical.plainbox::wireless estimated_duration: 30.0 diff --git a/units/wireless/nm-hotspot.pxu b/units/wireless/nm-hotspot.pxu index 5ffbe2b..3baa742 100644 --- a/units/wireless/nm-hotspot.pxu +++ b/units/wireless/nm-hotspot.pxu @@ -7,7 +7,7 @@ template-unit: job id: wireless/nmcli_wifi_ap_bg_{{ interface }} _summary: Create 802.11b/g Wi-Fi AP on {{ interface }} using NetworkManager command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py ap {{ interface }} bg plugin: shell category_id: com.canonical.plainbox::wireless @@ -28,7 +28,7 @@ template-unit: job id: wireless/nmcli_wifi_ap_a_{{ interface }} _summary: Create 802.11a Wi-Fi AP on {{ interface }} using NetworkManager command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_nmcli_test.py ap {{ interface }} a plugin: shell category_id: com.canonical.plainbox::wireless diff --git a/units/wireless/wireless-connection-netplan.pxu b/units/wireless/wireless-connection-netplan.pxu index 0483ac1..2127b8c 100644 --- a/units/wireless/wireless-connection-netplan.pxu +++ b/units/wireless/wireless-connection-netplan.pxu @@ -10,7 +10,7 @@ _purpose: Check system can connect to insecure 802.11ax AP using netplan plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_client_test_netplan.py -i {{ interface }} -s $OPEN_AX_SSID -d user: root environ: LD_LIBRARY_PATH OPEN_AX_SSID NET_DRIVER_INFO @@ -34,7 +34,7 @@ _purpose: Check system can connect to insecure 802.11ac AP using netplan plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_client_test_netplan.py -i {{ interface }} -s $OPEN_AC_SSID -d user: root environ: LD_LIBRARY_PATH OPEN_AC_SSID NET_DRIVER_INFO @@ -59,7 +59,7 @@ _purpose: Check system can connect to insecure 802.11b/g AP using netplan plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_client_test_netplan.py -i {{ interface }} -s $OPEN_BG_SSID -d user: root environ: LD_LIBRARY_PATH OPEN_BG_SSID NET_DRIVER_INFO @@ -82,7 +82,7 @@ _purpose: Check system can connect to insecure 802.11n AP using netplan plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_client_test_netplan.py -i {{ interface }} -s $OPEN_N_SSID -d user: root environ: LD_LIBRARY_PATH OPEN_N_SSID NET_DRIVER_INFO @@ -105,7 +105,7 @@ _purpose: Check system can connect to 802.11ax AP with wpa security using netplan plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_client_test_netplan.py -i {{ interface }} -s $WPA_AX_SSID -k $WPA_AX_PSK -d user: root environ: LD_LIBRARY_PATH WPA_AX_SSID WPA_AX_PSK NET_DRIVER_INFO @@ -129,7 +129,7 @@ _purpose: Check system can connect to 802.11ac AP with wpa security using netplan plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_client_test_netplan.py -i {{ interface }} -s $WPA_AC_SSID -k $WPA_AC_PSK -d user: root environ: LD_LIBRARY_PATH WPA_AC_SSID WPA_AC_PSK NET_DRIVER_INFO @@ -153,7 +153,7 @@ _purpose: Check system can connect to 802.11b/g AP with wpa security using netplan plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_client_test_netplan.py -i {{ interface }} -s $WPA_BG_SSID -k $WPA_BG_PSK -d user: root environ: LD_LIBRARY_PATH WPA_BG_SSID WPA_BG_PSK NET_DRIVER_INFO @@ -176,7 +176,7 @@ _purpose: Check system can connect to 802.11n AP with wpa security using netplan plugin: shell command: - net_driver_info $NET_DRIVER_INFO + net_driver_info.py $NET_DRIVER_INFO wifi_client_test_netplan.py -i {{ interface }} -s $WPA_N_SSID -k $WPA_N_PSK -d user: root environ: LD_LIBRARY_PATH WPA_N_SSID WPA_N_PSK NET_DRIVER_INFO -- cgit v1.2.3 From ca44b79993c98dcc4dfece6dd8820b55a26021e1 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 13:33:37 +0200 Subject: bin:network -> network.py --- units/ethernet/jobs.pxu | 14 +++++++------- units/mobilebroadband/jobs.pxu | 4 ++-- units/suspend/suspend.pxu | 14 +++++++------- 3 files changed, 16 insertions(+), 16 deletions(-) (limited to 'units') diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 94dcda3..6b32382 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -68,7 +68,7 @@ requires: package.name == 'nmap' or executable.name == 'nmap' user: root environ: TEST_TARGET_IPERF -command: network test -i {interface} -t iperf --scan-timeout 3600 --fail-threshold 80 --runtime 900 --num_runs 4 +command: network.py test -i {interface} -t iperf --scan-timeout 3600 --fail-threshold 80 --runtime 900 --num_runs 4 _description: This test uses iperf to ensure network devices pass data at an acceptable minimum percentage of advertized speed. @@ -87,7 +87,7 @@ requires: package.name == 'nmap' or executable.name == 'nmap' user: root environ: TEST_TARGET_IPERF -command: network test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 900 --num_runs 4 +command: network.py test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 900 --num_runs 4 _description: This test uses iperf3 to ensure network devices pass data at an acceptable minimum percentage of advertized speed. @@ -106,7 +106,7 @@ requires: package.name == 'nmap' or executable.name == 'nmap' user: root environ: TEST_TARGET_IPERF -command: network test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 900 --num_runs 4 --underspeed-ok +command: network.py test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 900 --num_runs 4 --underspeed-ok _description: This is the standard Multi-NIC Iperf3 test with the speed check disabled for retesting systems that are incorrectly reporting supported speeds. @@ -154,7 +154,7 @@ requires: package.name == 'iperf' user: root environ: TEST_TARGET_IPERF -command: network test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'ethernet max bw {interface}' +command: network.py test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'ethernet max bw {interface}' _purpose: User verification of whether the observed transfer throughput is acceptable for the type and maximum speed of each ethernet interface. @@ -175,7 +175,7 @@ _summary: Stress and performance test of ethernet device {__index__} ({interface estimated_duration: 330.0 requires: package.name == 'ethtool' -command: network test -i {interface} -t stress +command: network.py test -i {interface} -t stress _description: Automated test that tests performance of ethernet device {__index__} ({interface}). @@ -415,7 +415,7 @@ user: root environ: TEST_TARGET_IPERF LD_LIBRARY_PATH -command: network test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 90 --num_runs 4 +command: network.py test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 90 --num_runs 4 _description: This test uses iperf3 to ensure network devices pass data at an acceptable minimum percentage of advertized speed. @@ -433,7 +433,7 @@ user: root environ: TEST_TARGET_IPERF LD_LIBRARY_PATH -command: network test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 50 --cpu-load-fail-threshold 90 --runtime 90 --num_runs 4 --reverse +command: network.py test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 50 --cpu-load-fail-threshold 90 --runtime 90 --num_runs 4 --reverse _description: This test uses iperf3 to ensure network devices pass data at an acceptable minimum percentage of advertized speed (Reverse). diff --git a/units/mobilebroadband/jobs.pxu b/units/mobilebroadband/jobs.pxu index 544ab0f..c7a2ab5 100644 --- a/units/mobilebroadband/jobs.pxu +++ b/units/mobilebroadband/jobs.pxu @@ -70,7 +70,7 @@ requires: package.name == 'iperf' environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS user: root -command: network test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'mobile broadband max bw {interface}' +command: network.py test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'mobile broadband max bw {interface}' _purpose: User verification of whether the observed transfer throughput is acceptable for the type and maximum speed of device {__index__} ({interface}). @@ -94,7 +94,7 @@ requires: package.name == 'iperf' environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS user: root -command: network test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'mobile broadband max bw {interface}' +command: network.py test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'mobile broadband max bw {interface}' _purpose: User verification of whether the observed transfer throughput is acceptable for the type and maximum speed of device {__index__} ({interface}). diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 6d8d96a..afb33d7 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -60,7 +60,7 @@ requires: package.name == 'iperf' user: root environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS -command: network test -i {interface} -t iperf +command: network.py test -i {interface} -t iperf _summary: Before suspend iperf test ethernet {interface} _description: This test executes iperf connection performance/stability against device {__index__} ({interface}) before suspend. @@ -75,7 +75,7 @@ environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS command: INTERFACE=`(nmcli -t -f GENERAL -m tabular dev list 2>/dev/null || nmcli -t -f GENERAL -m tabular dev show) |grep gsm |cut -d ":" -f 13` [ -z $INTERFACE ] && exit 1 - network test -i $INTERFACE -t iperf + network.py test -i $INTERFACE -t iperf _summary: Before suspend iperf test GSM mobilebroadband _description: This test executes iperf connection performance/stability against the broadband device found on the system before suspend. @@ -90,7 +90,7 @@ environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS command: INTERFACE=`(nmcli -t -f GENERAL -m tabular dev list 2>/dev/null || nmcli -t -f GENERAL -m tabular dev show) |grep cdma |cut -d ":" -f 13` [ -z $INTERFACE ] && exit 1 - network test -i $INTERFACE -t iperf + network.py test -i $INTERFACE -t iperf _summary: Before suspend iperf test CDMA mobilebroadband _description: This test executes iperf connection performance/stability against the broadband device found on the system before suspend. @@ -627,7 +627,7 @@ requires: package.name == 'iperf' user: root environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS -command: network test -i {interface} -t iperf +command: network.py test -i {interface} -t iperf _description: This test executes iperf connection performance/stability against device {__index__} ({interface}) after suspend. @@ -643,7 +643,7 @@ requires: package.name == 'iperf' user: root environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS -command: network test -i {interface} -t iperf +command: network.py test -i {interface} -t iperf _description: This test executes iperf connection performance/stability against device {__index__} ({interface}) after suspend. @@ -657,7 +657,7 @@ environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS command: INTERFACE=`(nmcli -t -f GENERAL -m tabular dev list 2>/dev/null || nmcli -t -f GENERAL -m tabular dev show) |grep gsm |cut -d ":" -f 13` [ -z $INTERFACE ] && exit 1 - network test -i $INTERFACE -t iperf + network.py test -i $INTERFACE -t iperf _description: This test executes iperf connection performance/stability against the broadband device found on the system after suspend. @@ -671,7 +671,7 @@ environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS command: INTERFACE=`(nmcli -t -f GENERAL -m tabular dev list 2>/dev/null || nmcli -t -f GENERAL -m tabular dev show) |grep cdma |cut -d ":" -f 13` [ -z $INTERFACE ] && exit 1 - network test -i $INTERFACE -t iperf + network.py test -i $INTERFACE -t iperf _description: This test executes iperf connection performance/stability against the broadband device found on the system after suspend. -- cgit v1.2.3 From b3e91ffc62820b5133ccff0a1a1b1c9ed255a641 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 17:13:13 +0200 Subject: bin:network_check -> network_check.py --- units/dock/jobs.pxu | 6 +++--- units/ethernet/jobs.pxu | 2 +- units/networking/jobs.pxu | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'units') diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index 1a9f1a7..7b39fd4 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -980,7 +980,7 @@ plugin: user-interact-verify category_id: dock-hotplug id: dock/hotplug-ethernet depends: dock/hot-plug -command: network_check +command: network_check.py estimated_duration: 10 _description: PURPOSE: @@ -2023,7 +2023,7 @@ plugin: user-interact-verify category_id: dock-hotplug id: dock/hotplug-ethernet-after-suspend depends: suspend/suspend_advanced -command: network_check +command: network_check.py estimated_duration: 10 _description: PURPOSE: @@ -2152,7 +2152,7 @@ plugin: user-interact-verify category_id: suspend-dock-resume id: dock/ethernet-after-suspend-dock-resume depends: dock/suspend-dock-resume -command: network_check +command: network_check.py estimated_duration: 10 _description: PURPOSE: diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 6b32382..5e559fa 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -42,7 +42,7 @@ _description: plugin: user-interact-verify category_id: com.canonical.plainbox::ethernet id: ethernet/wired_connection -command: network_check +command: network_check.py estimated_duration: 1.2 _description: PURPOSE: diff --git a/units/networking/jobs.pxu b/units/networking/jobs.pxu index b697b84..9593669 100644 --- a/units/networking/jobs.pxu +++ b/units/networking/jobs.pxu @@ -27,7 +27,7 @@ _description: plugin: user-interact-verify category_id: com.canonical.plainbox::networking id: networking/modem_connection -command: network_check +command: network_check.py _description: PURPOSE: This test will check that a DSL modem can be configured and connected. -- cgit v1.2.3 From 54a510db5c9db9721f6658758fd806f36855b495 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 17:14:37 +0200 Subject: bin:network_configs -> network_configs.sh --- units/info/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index 43d9e37..79e4949 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -458,7 +458,7 @@ plugin: attachment category_id: com.canonical.plainbox::info estimated_duration: 0.2 _summary: attach network configuration -command: network_configs +command: network_configs.sh id: parts_meta_info_attachment plugin: attachment -- cgit v1.2.3 From a13107b388b1d13d568ef37efcf045a4170cd2a0 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 11:58:56 +0200 Subject: bin:network_ntp_test -> network_ntp_test.py --- units/dock/jobs.pxu | 2 +- units/networking/jobs.pxu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index 7b39fd4..ddc064a 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -571,7 +571,7 @@ plugin: user-interact-verify depends: dock/cold-plug requires: package.name == 'ntpdate' user: root -command: network_ntp_test +command: network_ntp_test.py estimated_duration: 10.00 _summary: NTP sync test using dock's Ethernet connectivity _purpose: diff --git a/units/networking/jobs.pxu b/units/networking/jobs.pxu index 9593669..7de077f 100644 --- a/units/networking/jobs.pxu +++ b/units/networking/jobs.pxu @@ -61,7 +61,7 @@ category_id: com.canonical.plainbox::networking id: networking/ntp requires: package.name == 'ntpdate' user: root -command: network_ntp_test +command: network_ntp_test.py _description: Test to see if we can sync local clock to an NTP server plugin: shell -- cgit v1.2.3 From 9522360ae301365b8816f7d0c7cd48a86a488d4e Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:00:27 +0200 Subject: bin:network_predictable_names -> network_predictable_names.sh --- units/networking/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/networking/jobs.pxu b/units/networking/jobs.pxu index 7de077f..bf9254f 100644 --- a/units/networking/jobs.pxu +++ b/units/networking/jobs.pxu @@ -82,7 +82,7 @@ plugin: shell category_id: com.canonical.plainbox::networking template-engine: jinja2 id: networking/predictable_names -command: network_predictable_names +command: network_predictable_names.sh _summary: Verify that all network interfaces have predictable names. _description: Verify that all network interfaces have predictable names. requires: -- cgit v1.2.3 From f94f80685652c3dc37d7ca40a27e779f2cf3e3a0 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:01:43 +0200 Subject: bin:network_printer_test -> network_printer_test.sh --- units/networking/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/networking/jobs.pxu b/units/networking/jobs.pxu index bf9254f..b5a6805 100644 --- a/units/networking/jobs.pxu +++ b/units/networking/jobs.pxu @@ -75,7 +75,7 @@ plugin: shell category_id: com.canonical.plainbox::networking id: networking/printer requires: package.name == 'cups-client' -command: network_printer_test -s $CHECKBOX_SERVER +command: network_printer_test.sh -s $CHECKBOX_SERVER _description: Try to enable a remote printer on the network and print a test page. plugin: shell -- cgit v1.2.3 From e0c72ac299f46e46b91d6cd6871ad6831db329ff Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:03:13 +0200 Subject: bin:network_reconnect_resume_test -> network_reconnect_resume_test.py --- units/ethernet/jobs.pxu | 2 +- units/suspend/suspend.pxu | 8 ++++---- units/wireless/wireless-connection-manual.pxu | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'units') diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 5e559fa..95ae719 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -491,7 +491,7 @@ depends: suspend/suspend_advanced_auto estimated_duration: 1.2 requires: device.category == 'NETWORK' -command: network_reconnect_resume_test -t 10 -d wired +command: network_reconnect_resume_test.py -t 10 -d wired _summary: Network reconnect resume test (wired) _description: Checks the length of time it takes to reconnect an existing wired connection diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index afb33d7..2eb02e2 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1266,7 +1266,7 @@ id: suspend/wifi_resume_time depends: suspend/suspend_advanced requires: device.category == 'WIRELESS' -command: network_reconnect_resume_test -t 90 -d wifi +command: network_reconnect_resume_test.py -t 90 -d wifi estimated_duration: 0.530 _description: Checks the length of time it takes to reconnect an existing wifi connection @@ -1279,7 +1279,7 @@ estimated_duration: 1.2 depends: suspend/suspend_advanced_auto requires: device.category == 'WIRELESS' -command: network_reconnect_resume_test -t 90 -d wifi +command: network_reconnect_resume_test.py -t 90 -d wifi _description: Checks the length of time it takes to reconnect an existing wifi connection after a suspend/resume cycle. @@ -1291,7 +1291,7 @@ depends: suspend/suspend_advanced estimated_duration: 1.2 requires: device.category == 'NETWORK' -command: network_reconnect_resume_test -t 10 -d wired +command: network_reconnect_resume_test.py -t 10 -d wired _description: Checks the length of time it takes to reconnect an existing wired connection after a suspend/resume cycle. @@ -1303,7 +1303,7 @@ depends: suspend/suspend_advanced_auto estimated_duration: 1.2 requires: device.category == 'NETWORK' -command: network_reconnect_resume_test -t 10 -d wired +command: network_reconnect_resume_test.py -t 10 -d wired _description: Checks the length of time it takes to reconnect an existing wired connection after a suspend/resume cycle. diff --git a/units/wireless/wireless-connection-manual.pxu b/units/wireless/wireless-connection-manual.pxu index 13ff465..7ffd6bb 100644 --- a/units/wireless/wireless-connection-manual.pxu +++ b/units/wireless/wireless-connection-manual.pxu @@ -204,7 +204,7 @@ estimated_duration: 1.2 depends: suspend/suspend_advanced_auto requires: device.category == 'WIRELESS' -command: network_reconnect_resume_test -t 90 -d wifi +command: network_reconnect_resume_test.py -t 90 -d wifi _summary: Network reconnect resume test (wifi) _description: Checks the length of time it takes to reconnect an existing wifi connection -- cgit v1.2.3 From 68db088272ae18f9e0a7493667219e0398616874 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:09:21 +0200 Subject: bin:network_restart -> network_restart.py --- units/stress/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index cff2bd7..b7b37bb 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -481,7 +481,7 @@ id: stress/network_restart estimated_duration: 1500.0 user: root environ: PLAINBOX_SESSION_SHARE -command: network_restart -t 100 -o $PLAINBOX_SESSION_SHARE +command: network_restart.py -t 100 -o $PLAINBOX_SESSION_SHARE _description: Ping ubuntu.com and restart network interfaces 100 times plugin: attachment -- cgit v1.2.3 From 202336b118c7bf3e2b28e299ecdcad40f1a0e37e Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:10:56 +0200 Subject: bin:network_wait -> network_wait.sh --- units/suspend/suspend.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 2eb02e2..1889004 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -407,7 +407,7 @@ id: suspend/network_after_suspend estimated_duration: 20.0 depends: suspend/suspend_advanced suspend/network_before_suspend _description: Test the network after resuming. -command: network_wait; gateway_ping_test | diff $PLAINBOX_SESSION_SHARE/network_before_suspend.txt - +command: network_wait.py; gateway_ping_test | diff $PLAINBOX_SESSION_SHARE/network_before_suspend.txt - plugin: shell category_id: com.canonical.plainbox::suspend -- cgit v1.2.3 From 7fd50f209e22b290542c3f5b7dbcf7a49e9947dd Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:12:01 +0200 Subject: bin:nvidia_nvlink_check -> nvidia_nvlink_check.sh --- units/graphics/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index ca6cc99..b00af02 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -532,7 +532,7 @@ id: graphics/nvlink-status-check requires: dmi.product in ['Desktop','Low Profile Desktop','Tower','Mini Tower', 'Space-saving'] graphics_card.driver == 'nvidia' -command: nvidia_nvlink_check +command: nvidia_nvlink_check.sh _summary: Check NVIDIA NVLINK status _description: Check NVLINK are supported and NVLINK are connected properly on system, please make sure below items before testing: 1. More than one NVIDIA Graphic card are installed. -- cgit v1.2.3 From 1467847edd5f8b2f67d4b0f413acd05cb9aaa6ad Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:14:45 +0200 Subject: bin:optical_read_test -> optical_read_test.py --- units/optical/jobs.pxu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/optical/jobs.pxu b/units/optical/jobs.pxu index 8b92eb1..9914a57 100644 --- a/units/optical/jobs.pxu +++ b/units/optical/jobs.pxu @@ -15,7 +15,7 @@ category_id: com.canonical.plainbox::optical id: optical/read_{name} estimated_duration: 120.0 user: root -command: optical_read_test /dev/{name} +command: optical_read_test.py /dev/{name} flags: also-after-suspend-manual _description: PURPOSE: @@ -35,7 +35,7 @@ category_id: com.canonical.plainbox::optical id: optical/read-automated_{name} estimated_duration: 120.0 user: root -command: optical_read_test /dev/{name} +command: optical_read_test.py /dev/{name} _summary: Tests read functionality of optical drive {name} _description: @@ -164,7 +164,7 @@ estimated_duration: 120.0 requires: optical_drive_{name}.bd_read == "supported" user: root -command: optical_read_test /dev/{name} +command: optical_read_test.py /dev/{name} flags: also-after-suspend-manual _description: PURPOSE: -- cgit v1.2.3 From 0967ad9412abd47c53e45151dba7b36b9543b718 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:16:15 +0200 Subject: bin:optical_write_test -> optical_write_test.sh --- units/optical/jobs.pxu | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'units') diff --git a/units/optical/jobs.pxu b/units/optical/jobs.pxu index 9914a57..ed50e74 100644 --- a/units/optical/jobs.pxu +++ b/units/optical/jobs.pxu @@ -51,7 +51,7 @@ estimated_duration: 120.0 requires: optical_drive_{name}.cd_write == 'supported' user: root -command: set -o pipefail; optical_write_test /dev/{name} cd | ansi_parser.py +command: set -o pipefail; optical_write_test.sh /dev/{name} cd | ansi_parser.py _description: PURPOSE: This test will check your system's {product} CD writing capabilities. This test requires a blank CD-R or CD+R. @@ -73,7 +73,7 @@ estimated_duration: 120.0 requires: optical_drive_{name}.cd_write == 'supported' user: root -command: set -o pipefail; optical_write_test /dev/{name} cd | ansi_parser.py +command: set -o pipefail; optical_write_test.sh /dev/{name} cd | ansi_parser.py _description: This is an automated version of optical/cdrom-write. It assumes you have already inserted a data CD into your {product} optical drive prior to running Checkbox. @@ -111,7 +111,7 @@ requires: optical_drive_{name}.dvd_write == 'supported' estimated_duration: 120.0 user: root -command: set -o pipefail; optical_write_test /dev/{name} dvd | ansi_parser.py +command: set -o pipefail; optical_write_test.sh /dev/{name} dvd | ansi_parser.py _description: PURPOSE: This test will check your system's {product} writing capabilities. This test requires a blank DVD-R or DVD+R. @@ -133,7 +133,7 @@ estimated_duration: 120.0 requires: optical_drive_{name}.dvd_write == 'supported' user: root -command: set -o pipefail; optical_write_test /dev/{name} dvd | ansi_parser.py +command: set -o pipefail; optical_write_test.sh /dev/{name} dvd | ansi_parser.py _description: This is an automated version of optical/dvd-write. It assumes you have already inserted a data DVD into your {product} optical drive prior to running Checkbox. @@ -186,7 +186,7 @@ requires: optical_drive_{name}.bd_write == "supported" package.name == "growisofs" user: root -command: set -o pipefail; optical_write_test /dev/{name} bd | ansi_parser.py +command: set -o pipefail; optical_write_test.sh /dev/{name} bd | ansi_parser.py estimated_duration: 120.00 _description: PURPOSE: -- cgit v1.2.3 From c2740a470ab02c5b20db897a007cdc369087307d Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:35:50 +0200 Subject: bin:pm_test -> pm_test.py --- units/graphics/jobs.pxu | 2 +- units/power-management/jobs.pxu | 4 ++-- units/stress/jobs.pxu | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index b00af02..20eda41 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -523,7 +523,7 @@ plugin: shell user: root command: {switch_to_cmd} - pm_test --silent --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox reboot --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE + pm_test.py --silent --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox reboot --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE flags: noreturn preserve-locale also-after-suspend plugin: shell diff --git a/units/power-management/jobs.pxu b/units/power-management/jobs.pxu index c748924..76fd6db 100644 --- a/units/power-management/jobs.pxu +++ b/units/power-management/jobs.pxu @@ -38,7 +38,7 @@ depends: power-management/fwts_wakealarm user: root environ: PLAINBOX_SESSION_SHARE PM_TEST_DRY_RUN requires: executable.name == 'fwts' -command: pm_test --silent --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox poweroff --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE +command: pm_test.py --silent --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox poweroff --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE flags: noreturn _description: This test will check the system's ability to power-off and boot. @@ -60,7 +60,7 @@ estimated_duration: 120.0 user: root environ: PLAINBOX_SESSION_SHARE PM_TEST_DRY_RUN requires: executable.name == 'fwts' -command: pm_test --silent --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox reboot --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE +command: pm_test.py --silent --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox reboot --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE flags: noreturn _description: This test will check the system's ability to reboot cleanly. 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 -- cgit v1.2.3 From e81deb71299b0cdbe31fff2471faa339a80982c5 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:41:30 +0200 Subject: bin:pm_log_check -> pm_log_check.py --- units/stress/jobs.pxu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'units') 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 -- cgit v1.2.3 From 4033c97e5a069bdb27044c73619db3fef668f8ab Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:42:49 +0200 Subject: bin:process_wait -> process_wait.py --- units/info/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index 79e4949..45878ea 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -236,7 +236,7 @@ _description: Bootchart information. requires: package.name == 'bootchart' or package.name == 'pybootchartgui' user: root command: - process_wait -u root bootchart collector ureadahead; \ + process_wait.py -u root bootchart collector ureadahead; \ [ `ls /var/log/bootchart/*.tgz 2>/dev/null | wc -l` -lt 2 ] && reboot && sleep 100 unit: template -- cgit v1.2.3 From 88862bfc95fa644f94def1dce8a0ae6df34e58b9 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:53:15 +0200 Subject: bin:pts_run: Deleted All PTS tests are now in https://launchpad.net/checkbox-provider-phoronix The legacy tests still present in units/benchmarks are deleted too. --- units/benchmarks/jobs.pxu | 179 ---------------------------------------------- 1 file changed, 179 deletions(-) (limited to 'units') diff --git a/units/benchmarks/jobs.pxu b/units/benchmarks/jobs.pxu index 0c23557..a144d7b 100644 --- a/units/benchmarks/jobs.pxu +++ b/units/benchmarks/jobs.pxu @@ -40,38 +40,6 @@ command: /usr/bin/time -f "%e Seconds" render_bench 2>&1 >/dev/null estimated_duration: 52.000 _description: Run Render-Bench XRender/Imlib2 benchmark -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/graphics/qgears2-Xrender-gearsfancy -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="qgears2.render-backend=1; qgears2.test-mode=0" pts_run qgears2 -estimated_duration: 180.000 -_description: Run Qgears2 XRender Extension gearsfancy benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/graphics/qgears2-Xrender-compo -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="qgears2.render-backend=1; qgears2.test-mode=2" pts_run qgears2 -estimated_duration: 31.500 -_description: Run Qgears2 XRender Extension image scaling benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/graphics/qgears2-gl-gearsfancy -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="qgears2.render-backend=2; qgears2.test-mode=0" pts_run qgears2 -estimated_duration: 52.000 -_description: Run Qgears2 OpenGL gearsfancy benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/graphics/qgears2-gl-compo -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="qgears2.render-backend=2; qgears2.test-mode=2" pts_run qgears2 -estimated_duration: 23.000 -_description: Run Qgears2 OpenGL image scaling benchmark - plugin: shell category_id: com.canonical.plainbox::benchmarks id: benchmarks/graphics/glmark2-es2 @@ -93,98 +61,6 @@ command: estimated_duration: 306.000 _description: Run GLmark2 benchmark -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/graphics/unigine-sanctuary -requires: package.name == 'phoronix-test-suite' -command: pts_run unigine-sanctuary -_description: Run Unigine Santuary benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/graphics/unigine-tropics -requires: package.name == 'phoronix-test-suite' -command: pts_run unigine-tropics -_description: Run Unigine Tropics benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/graphics/unigine-heaven -requires: package.name == 'phoronix-test-suite' -command: pts_run unigine-heaven -_description: Run Unigine Heaven benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/graphics/lightsmark -requires: package.name == 'phoronix-test-suite' -command: pts_run lightsmark -_description: Run Lightsmark benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/memory/cachebench-read -estimated_duration: 160.0 -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="cachebench.test=0" pts_run cachebench -_description: Run Cachebench Read benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/memory/cachebench-write -estimated_duration: 130.0 -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="cachebench.test=1" pts_run cachebench -_description: Run Cachebench Write benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/memory/cachebench-read-modify-write -estimated_duration: 140.0 -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="cachebench.test=2" pts_run cachebench -_description: Run Cachebench Read / Modify / Write benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/memory/stream-copy -estimated_duration: 6.0 -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="stream.run-type=0" pts_run stream -_description: Run Stream Copy benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/memory/stream-scale -estimated_duration: 6.0 -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="stream.run-type=1" pts_run stream -_description: Run Stream Scale benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/memory/stream-add -estimated_duration: 5.0 -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="stream.run-type=2" pts_run stream -_description: Run Stream Add benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/memory/stream-triad -estimated_duration: 4.0 -requires: package.name == 'phoronix-test-suite' -command: PRESET_OPTIONS="stream.run-type=3" pts_run stream -_description: Run Stream Triad benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/network/network-loopback -requires: package.name == 'phoronix-test-suite' -command: pts_run network-loopback -estimated_duration: 85.0 -_description: Run Network Loopback benchmark - plugin: shell category_id: com.canonical.plainbox::benchmarks id: benchmarks/network/wifi_time_to_reconnect @@ -192,61 +68,6 @@ requires: device.category == 'WIRELESS' command: wifi_time2reconnect _description: Check the time needed to reconnect to a WIFI access point -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/processor/encode-mp3 -estimated_duration: 140.0 -requires: package.name == 'phoronix-test-suite' -command: pts_run encode-mp3 -_description: Run Encode MP3 benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/processor/x264 -estimated_duration: 400.0 -requires: package.name == 'phoronix-test-suite' -command: pts_run x264 -_description: Run x264 H.264/AVC encoder benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/processor/gnupg -requires: package.name == 'phoronix-test-suite' -command: pts_run gnupg -_description: Run GnuPG benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/processor/compress-pbzip2 -estimated_duration: 90.0 -requires: package.name == 'phoronix-test-suite' -command: pts_run compress-pbzip2 -_description: Run Compress PBZIP2 benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/processor/compress-7zip -estimated_duration: 1400 -requires: package.name == 'phoronix-test-suite' -command: pts_run compress-7zip -_description: Run Compress 7ZIP benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/processor/n-queens -estimated_duration: 330.0 -requires: package.name == 'phoronix-test-suite' -command: pts_run n-queens -_description: Run N-Queens benchmark - -plugin: shell -category_id: com.canonical.plainbox::benchmarks -id: benchmarks/processor/himeno -estimated_duration: 75.0 -requires: package.name == 'phoronix-test-suite' -command: pts_run himeno -_description: Run Himeno benchmark - plugin: shell category_id: com.canonical.plainbox::benchmarks id: benchmarks/system/cpu_on_idle -- cgit v1.2.3 From 64033b06a5b09255926f0b9d58f8c1062cb8634b Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 12:55:07 +0200 Subject: bin:pulse-active-port-change -> pulse-active-port-change.py --- units/audio/jobs.pxu | 4 ++-- units/dock/jobs.pxu | 4 ++-- units/suspend/suspend.pxu | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'units') diff --git a/units/audio/jobs.pxu b/units/audio/jobs.pxu index cf21a93..b1d3a91 100644 --- a/units/audio/jobs.pxu +++ b/units/audio/jobs.pxu @@ -438,7 +438,7 @@ estimated_duration: 60.0 requires: device.category == 'AUDIO' package.name == 'pulseaudio-utils' -command: pulse-active-port-change sinks +command: pulse-active-port-change.py sinks _description: PURPOSE: Check that system detects speakers or headphones being plugged in @@ -459,7 +459,7 @@ estimated_duration: 60.0 requires: device.category == 'AUDIO' package.name == 'pulseaudio-utils' -command: pulse-active-port-change sources +command: pulse-active-port-change.py sources _description: PURPOSE: Check that system detects a microphone being plugged in diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index ddc064a..4decc95 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -509,7 +509,7 @@ _summary: Headphones recognized when plugged to the dock test requires: device.category == 'AUDIO' package.name == 'pulseaudio-utils' -command: pulse-active-port-change sinks +command: pulse-active-port-change.py sinks _purpose: Check that system detects speakers or headphones being plugged in (Skip this test if the dock does not have headphones connector) @@ -532,7 +532,7 @@ _summary: Microphone recognized when plugged to the dock test requires: device.category == 'AUDIO' package.name == 'pulseaudio-utils' -command: pulse-active-port-change sources +command: pulse-active-port-change.py sources _purpose: Check that system detects a microphone being plugged in (Skip this test if the dock does not have a microphone connector) diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 1889004..f5b2b9d 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -462,7 +462,7 @@ estimated_duration: 60.0 requires: device.category == 'AUDIO' package.name == 'pulseaudio-utils' -command: pulse-active-port-change sinks +command: pulse-active-port-change.py sinks _description: PURPOSE: Check that system detects speakers or headphones being plugged in after suspend @@ -484,7 +484,7 @@ estimated_duration: 60.0 requires: device.category == 'AUDIO' package.name == 'pulseaudio-utils' -command: pulse-active-port-change sources +command: pulse-active-port-change.py sources _description: PURPOSE: Check that system detects a microphone being plugged in after suspend -- cgit v1.2.3 From c8806559e248aef5ed1196c63fcb5d53a2e6e0eb Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:03:55 +0200 Subject: bin:removable_storage_test -> removable_storage_test.py --- units/dock/jobs.pxu | 38 +++++++++++++++++++------------------- units/esata/jobs.pxu | 2 +- units/firewire/jobs.pxu | 2 +- units/mediacard/jobs.pxu | 36 ++++++++++++++++++------------------ units/stress/jobs.pxu | 4 ++-- units/suspend/suspend.pxu | 28 ++++++++++++++-------------- units/thunderbolt/jobs.pxu | 10 +++++----- units/usb/usb-c.pxu | 4 ++-- units/usb/usb.pxu | 16 ++++++++-------- 9 files changed, 70 insertions(+), 70 deletions(-) (limited to 'units') diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index 4decc95..9196f44 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -701,7 +701,7 @@ depends: dock/usb-insert user: root estimated_duration: 45.0 _summary: USB drive storage test -command: removable_storage_test -s 268400000 usb +command: removable_storage_test.py -s 268400000 usb _description: This test is automated and executes after the dock/usb_insert test is run. @@ -712,7 +712,7 @@ depends: dock/usb3-insert user: root estimated_duration: 45.0 _summary: USB3 drive storage test -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the dock/usb3_insert test is run. @@ -812,7 +812,7 @@ requires: depends: dock/usb-c/c-to-a-adapter/insert user: root estimated_duration: 45.0 -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the usb-c/c-to-a-adapter/insert test is run. @@ -827,7 +827,7 @@ requires: depends: dock/usb-c/insert user: root estimated_duration: 45.0 -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the usb-c/insert test is run. @@ -928,7 +928,7 @@ requires: depends: dock/usb-c/c-to-a-adapter/insert user: root estimated_duration: 45.0 -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the usb-c/c-to-a-adapter/insert test is run. @@ -943,7 +943,7 @@ requires: depends: dock/usb-c/insert user: root estimated_duration: 45.0 -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the usb-c/insert test is run. @@ -1039,7 +1039,7 @@ depends: dock/hotplug-usb-insert user: root estimated_duration: 45.0 _summary: USB drive storage test -command: removable_storage_test -s 268400000 usb +command: removable_storage_test.py -s 268400000 usb _description: This test is automated and executes after the dock/usb_insert test is run. @@ -1050,7 +1050,7 @@ depends: dock/hotplug-usb3-insert user: root estimated_duration: 45.0 _summary: USB3 drive storage test -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the dock/usb3_insert test is run. @@ -1329,7 +1329,7 @@ depends: dock/usb-insert-after-suspend user: root estimated_duration: 45.0 _summary: USB drive storage test after resuming -command: removable_storage_test -s 268400000 usb +command: removable_storage_test.py -s 268400000 usb _description: This test is automated and executes after the dock/usb-insert test is run. @@ -1340,7 +1340,7 @@ depends: dock/usb3-insert-after-suspend user: root estimated_duration: 45.0 _summary: USB3 drive storage test after resuming -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the dock/usb3-insert test is run. @@ -1732,7 +1732,7 @@ depends: dock/usb3-insert-after-suspend-undock-resume user: root estimated_duration: 45.0 _summary: USB3 drive storage test -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the dock/usb3_insert test is run. @@ -1822,7 +1822,7 @@ estimated_duration: 45.0 _summary: FireWire HDD storage test depends: dock/cold-plug dock/firewire-insert user: root -command: removable_storage_test -s 268400000 firewire +command: removable_storage_test.py -s 268400000 firewire _description: This is an automated test which performs read/write operations on an attached FireWire HDD @@ -1870,7 +1870,7 @@ estimated_duration: 20.0 _summary: eSATA HDD storage test user: root depends: dock/esata-insert -command: removable_storage_test -s 268400000 ata_serial_esata +command: removable_storage_test.py -s 268400000 ata_serial_esata _description: This is an automated test which performs read/write operations on an attached eSATA HDD @@ -1954,7 +1954,7 @@ depends: dock/thunderbolt3-insert imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt3 == 'True' flags: also-after-suspend-manual -command: removable_storage_test -s 268400000 scsi +command: removable_storage_test.py -s 268400000 scsi _summary: Thunderbolt3 storage test _description: This is an automated test which performs read/write operations on an attached @@ -1987,7 +1987,7 @@ flags: also-after-suspend-manual estimated_duration: 45.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt3 == 'True' -command: removable_storage_test -s 268400000 scsi +command: removable_storage_test.py -s 268400000 scsi _summary: Daisy-chain testing for Thunderbolt 3 storage and display device _description: _purpose: @@ -2082,7 +2082,7 @@ depends: dock/hotplug-usb-insert-after-suspend user: root estimated_duration: 45.0 _summary: USB drive storage test after resuming -command: removable_storage_test -s 268400000 usb +command: removable_storage_test.py -s 268400000 usb _description: This test is automated and executes after the dock/usb-insert test is run. @@ -2093,7 +2093,7 @@ depends: dock/hotplug-usb3-insert-after-suspend user: root estimated_duration: 45.0 _summary: USB3 drive storage test -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the dock/usb3_insert test is run. @@ -2211,7 +2211,7 @@ depends: dock/usb-insert-after-suspend-dock-resume user: root estimated_duration: 45.0 _summary: USB drive storage test after resuming -command: removable_storage_test -s 268400000 usb +command: removable_storage_test.py -s 268400000 usb _description: This test is automated and executes after the dock/usb-insert test is run. @@ -2222,7 +2222,7 @@ depends: dock/usb3-insert-after-suspend-dock-resume user: root estimated_duration: 45.0 _summary: USB3 drive storage test -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the dock/usb3_insert test is run. diff --git a/units/esata/jobs.pxu b/units/esata/jobs.pxu index 65778eb..7067e9e 100644 --- a/units/esata/jobs.pxu +++ b/units/esata/jobs.pxu @@ -18,7 +18,7 @@ category_id: com.canonical.plainbox::esata id: esata/storage-test user: root depends: esata/insert -command: removable_storage_test -s 268400000 ata_serial_esata +command: removable_storage_test.py -s 268400000 ata_serial_esata _description: This is an automated test which performs read/write operations on an attached eSATA HDD diff --git a/units/firewire/jobs.pxu b/units/firewire/jobs.pxu index 9a0df3f..b0ca229 100644 --- a/units/firewire/jobs.pxu +++ b/units/firewire/jobs.pxu @@ -20,7 +20,7 @@ id: firewire/storage-test user: root require: device.category == 'FIREWIRE' depends: firewire/insert -command: removable_storage_test -s 268400000 firewire +command: removable_storage_test.py -s 268400000 firewire _description: This is an automated test which performs read/write operations on an attached FireWire HDD diff --git a/units/mediacard/jobs.pxu b/units/mediacard/jobs.pxu index 1d27f48..f1f7e0d 100644 --- a/units/mediacard/jobs.pxu +++ b/units/mediacard/jobs.pxu @@ -37,7 +37,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 67120000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 67120000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} _description: This test is automated and executes after the mediacard/mmc-insert @@ -107,7 +107,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} _summary: Test reading & writing to a SD Card _description: @@ -145,7 +145,7 @@ id: mediacard/sd-preinserted estimated_duration: 30.0 user: root flags: preserve-cwd -command: removable_storage_test -s 268400000 --memorycard -l sdio usb scsi && removable_storage_test --memorycard sdio usb scsi +command: removable_storage_test.py -s 268400000 --memorycard -l sdio usb scsi && removable_storage_test.py --memorycard sdio usb scsi imports: from com.canonical.plainbox import manifest requires: package.name == 'udisks2' or snap.name == 'udisks2' @@ -162,7 +162,7 @@ id: mediacard/sd-preinserted-server estimated_duration: 30.0 user: root flags: preserve-cwd -command: removable_storage_test -s 268400000 --memorycard -l sdio usb && removable_storage_test --memorycard sdio usb +command: removable_storage_test.py -s 268400000 --memorycard -l sdio usb && removable_storage_test.py --memorycard sdio usb requires: package.name == 'udisks2' or snap.name == 'udisks2' _summary: Automated test of SD Card reading & writing (udisk2) for servers @@ -211,7 +211,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} _summary: Test that insertion of an SDHC card is detected _description: @@ -282,7 +282,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} _description: This test is automated and executes after the mediacard/cf-insert @@ -352,7 +352,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} _summary: Test reading & writing to a SDXC Card _description: @@ -423,7 +423,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} _description: This test is automated and executes after the mediacard/ms-insert @@ -492,7 +492,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} _description: This test is automated and executes after the mediacard/msp-insert @@ -561,7 +561,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} _description: This test is automated and executes after the mediacard/xd-insert @@ -603,7 +603,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} environ: LD_LIBRARY_PATH GI_TYPELIB_PATH _description: @@ -627,7 +627,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} environ: LD_LIBRARY_PATH GI_TYPELIB_PATH _description: @@ -651,7 +651,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 209715200 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 209715200 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} environ: LD_LIBRARY_PATH GI_TYPELIB_PATH _description: @@ -675,7 +675,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} environ: LD_LIBRARY_PATH GI_TYPELIB_PATH _description: @@ -699,7 +699,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} environ: LD_LIBRARY_PATH GI_TYPELIB_PATH _description: @@ -723,7 +723,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} environ: LD_LIBRARY_PATH GI_TYPELIB_PATH _description: @@ -747,7 +747,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} environ: LD_LIBRARY_PATH GI_TYPELIB_PATH _description: @@ -771,7 +771,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 --memorycard sdio usb scsi --auto-reduce-size + removable_storage_test.py -s 268400000 --memorycard sdio usb scsi --auto-reduce-size {% endif -%} environ: LD_LIBRARY_PATH GI_TYPELIB_PATH _description: diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index cdd1ed8..21e06c2 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -452,7 +452,7 @@ category_id: com.canonical.plainbox::stress id: stress/usb estimated_duration: 710.0 user: root -command: removable_storage_test -s 10240000 -c 100 -i 3 usb +command: removable_storage_test.py -s 10240000 -c 100 -i 3 usb _description: Runs a test that transfers 100 10MB files 3 times to usb. plugin: user-interact @@ -461,7 +461,7 @@ id: stress/sdhc user: root _summary: Stress test for SDHC card estimated_duration: 780.0 -command: removable_storage_test -s 10240000 -c 100 -i 3 sdio scsi usb --memorycard +command: removable_storage_test.py -s 10240000 -c 100 -i 3 sdio scsi usb --memorycard _description: PURPOSE: This test will transfers 100 10MB files 3 times to a SDHC card, to diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index f5b2b9d..91608d3 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1574,7 +1574,7 @@ id: suspend/usb_storage_automated_after_suspend estimated_duration: 1.2 depends: suspend/usb_insert_after_suspend user: root -command: removable_storage_test -s 268400000 usb +command: removable_storage_test.py -s 268400000 usb _description: This test is automated and executes after the suspend/usb_insert_after_suspend test is run. @@ -1587,7 +1587,7 @@ requires: usb.usb3 == 'supported' depends: suspend/usb3_insert_after_suspend user: root -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test is automated and executes after the suspend/usb3_insert_after_suspend test is run. @@ -1598,7 +1598,7 @@ id: suspend/usb_storage_preinserted_after_suspend estimated_duration: 1.2 user: root depends: suspend/suspend_advanced_auto -command: removable_storage_test -l usb && removable_storage_test -s 268400000 usb +command: removable_storage_test.py -l usb && removable_storage_test.py -s 268400000 usb _description: This is an automated version of usb/storage-automated and assumes that the server has usb storage devices plugged in prior to checkbox execution. It @@ -1612,7 +1612,7 @@ user: root requires: usb.usb3 == 'supported' depends: suspend/suspend_advanced_auto -command: removable_storage_test -l usb && removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -l usb && removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This is an automated version of usb3/storage-automated and assumes that the server has usb 3.0 storage devices plugged in prior to checkbox execution. It @@ -1624,7 +1624,7 @@ id: suspend/usb_performance_after_suspend depends: suspend/usb_insert_after_suspend user: root estimated_duration: 45.00 -command: removable_storage_test -s 268400000 -p 15 usb +command: removable_storage_test.py -s 268400000 -p 15 usb _description: This test will check that your USB 2.0 port transfers data at a minimum expected speed. @@ -1637,7 +1637,7 @@ requires: depends: suspend/usb3_insert_after_suspend user: root estimated_duration: 45.00 -command: removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _description: This test will check that your USB 3.0 port could be recognized as SuperSpeed USB device using xhci_hcd driver and transfers data correctly. @@ -1671,7 +1671,7 @@ id: suspend/mmc-storage-after-suspend depends: suspend/mmc-insert-after-suspend estimated_duration: 10.0 user: root -command: removable_storage_test -s 67120000 --memorycard sdio usb scsi +command: removable_storage_test.py -s 67120000 --memorycard sdio usb scsi _description: This test is automated and executes after the mediacard/mmc-insert-after-suspend test is run. It tests reading and writing to the MMC card after the system has been suspended. @@ -1723,7 +1723,7 @@ id: suspend/sd-storage-after-suspend estimated_duration: 10.0 depends: suspend/sd-insert-after-suspend user: root -command: removable_storage_test -s 268400000 --memorycard sdio usb scsi +command: removable_storage_test.py -s 268400000 --memorycard sdio usb scsi _description: This test is automated and executes after the mediacard/sd-insert-after-suspend test is run. It tests reading and writing to the SD card after the system has been suspended. @@ -1776,7 +1776,7 @@ id: suspend/sdhc-storage-after-suspend estimated_duration: 10.0 depends: suspend/sdhc-insert-after-suspend user: root -command: removable_storage_test -s 268400000 --memorycard sdio usb scsi +command: removable_storage_test.py -s 268400000 --memorycard sdio usb scsi _description: This test is automated and executes after the mediacard/sdhc-insert-after-suspend test is run. It tests reading and writing to the SDHC card after the system has been suspended. @@ -1827,7 +1827,7 @@ id: mediacard/cf-storage-after-suspend estimated_duration: 10.0 depends: mediacard/cf-insert-after-suspend user: root -command: removable_storage_test -s 268400000 --memorycard sdio usb scsi +command: removable_storage_test.py -s 268400000 --memorycard sdio usb scsi _description: This test is automated and executes after the mediacard/cf-insert-after-suspend test is run. It tests reading and writing to the CF card after the system has been suspended. @@ -1878,7 +1878,7 @@ id: mediacard/sdxc-storage-after-suspend estimated_duration: 10.0 depends: mediacard/sdxc-insert-after-suspend user: root -command: removable_storage_test -s 268400000 --memorycard sdio usb scsi +command: removable_storage_test.py -s 268400000 --memorycard sdio usb scsi _description: This test is automated and executes after the mediacard/sdxc-insert-after-suspend test is run. It tests reading and writing to the SDXC card after the system has been suspended. @@ -1929,7 +1929,7 @@ id: mediacard/ms-storage-after-suspend estimated_duration: 10.0 depends: mediacard/ms-insert-after-suspend user: root -command: removable_storage_test -s 268400000 --memorycard sdio usb scsi +command: removable_storage_test.py -s 268400000 --memorycard sdio usb scsi _description: This test is automated and executes after the mediacard/ms-insert-after-suspend test is run. It tests reading and writing to the MS card after the system has been suspended. @@ -1980,7 +1980,7 @@ id: mediacard/msp-storage-after-suspend estimated_duration: 10.0 depends: mediacard/msp-insert-after-suspend user: root -command: removable_storage_test -s 268400000 --memorycard sdio usb scsi +command: removable_storage_test.py -s 268400000 --memorycard sdio usb scsi _description: This test is automated and executes after the mediacard/msp-insert-after-suspend test is run. It tests reading and writing to the MSP card after the system has been suspended. @@ -2031,7 +2031,7 @@ id: mediacard/xd-storage-after-suspend estimated_duration: 10.0 depends: mediacard/xd-insert-after-suspend user: root -command: removable_storage_test -s 268400000 --memorycard sdio usb scsi +command: removable_storage_test.py -s 268400000 --memorycard sdio usb scsi _description: This test is automated and executes after the mediacard/xd-insert-after-suspend test is run. It tests reading and writing to the xD card after the system has been suspended. diff --git a/units/thunderbolt/jobs.pxu b/units/thunderbolt/jobs.pxu index 8bb54c4..5095267 100644 --- a/units/thunderbolt/jobs.pxu +++ b/units/thunderbolt/jobs.pxu @@ -31,7 +31,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt == 'True' depends: thunderbolt/insert estimated_duration: 45.0 -command: removable_storage_test -s 268400000 scsi +command: removable_storage_test.py -s 268400000 scsi _siblings: [ { "id": "after-suspend-manual-thunderbolt/storage-test", "_summary": "thunderbolt/storage-test after suspend", @@ -74,7 +74,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt == 'True' flags: also-after-suspend-manual estimated_duration: 45.0 -command: removable_storage_test -s 268400000 scsi +command: removable_storage_test.py -s 268400000 scsi _summary: Daisy-chain testing for Thunderbolt storage and display device _description: PURPOSE: @@ -123,7 +123,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt3 == 'True' depends: thunderbolt3/insert estimated_duration: 45.0 -command: removable_storage_test -s 268400000 scsi +command: removable_storage_test.py -s 268400000 scsi _siblings: [ { "id": "after-suspend-manual-thunderbolt3/storage-test", "_summary": "thunderbolt3/storage-test after suspend", @@ -141,7 +141,7 @@ user: root imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt3 == 'True' estimated_duration: 45.0 -command: removable_storage_test -s 268400000 scsi +command: removable_storage_test.py -s 268400000 scsi flags: also-after-suspend _summary: Storage test on Thunderbolt 3 -preinserted _description: @@ -180,7 +180,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt3 == 'True' flags: also-after-suspend-manual estimated_duration: 45.0 -command: removable_storage_test -s 268400000 scsi +command: removable_storage_test.py -s 268400000 scsi _summary: Daisy-chain testing for Thunderbolt 3 storage and display device _description: PURPOSE: diff --git a/units/usb/usb-c.pxu b/units/usb/usb-c.pxu index 0d709e2..a1f24c4 100644 --- a/units/usb/usb-c.pxu +++ b/units/usb/usb-c.pxu @@ -56,7 +56,7 @@ command: if [[ -v SNAP ]]; then checkbox-support-usb_read_write else - removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd + removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd fi category_id: com.canonical.plainbox::usb imports: from com.canonical.plainbox import manifest @@ -151,7 +151,7 @@ command: if [[ -v SNAP ]]; then checkbox-support-usb_read_write else - removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd + removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd fi category_id: com.canonical.plainbox::usb imports: from com.canonical.plainbox import manifest diff --git a/units/usb/usb.pxu b/units/usb/usb.pxu index 26da9af..ccf4528 100644 --- a/units/usb/usb.pxu +++ b/units/usb/usb.pxu @@ -21,7 +21,7 @@ depends: usb/detect requires: package.name == 'udisks2' or snap.name == 'udisks2' estimated_duration: 1.0 -command: removable_storage_test -l usb +command: removable_storage_test.py -l usb _description: PURPOSE: This test will check that your system detects USB storage devices. @@ -153,7 +153,7 @@ id: usb/storage-transfer depends: usb/insert user: root estimated_duration: 45.0 -command: removable_storage_test -s 268400000 usb +command: removable_storage_test.py -s 268400000 usb _description: PURPOSE: This test will check your USB connection. @@ -173,7 +173,7 @@ requires: depends: usb3/insert user: root estimated_duration: 45.0 -command: removable_storage_test -s 268400000 -m 500000000 usb +command: removable_storage_test.py -s 268400000 -m 500000000 usb _description: PURPOSE: This test will check your USB 3.0 connection. @@ -202,7 +202,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 usb + removable_storage_test.py -s 268400000 usb {% endif -%} category_id: com.canonical.plainbox::usb estimated_duration: 300 @@ -224,7 +224,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-usb_read_write {%- else %} - removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd + removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd {% endif -%} category_id: com.canonical.plainbox::usb estimated_duration: 300 @@ -234,7 +234,7 @@ category_id: com.canonical.plainbox::usb id: usb/storage-preinserted user: root estimated_duration: 45.0 -command: removable_storage_test -l usb && timeout 300 removable_storage_test -s 268400000 usb +command: removable_storage_test.py -l usb && timeout 300 removable_storage_test.py -s 268400000 usb flags: also-after-suspend preserve-cwd requires: cpuinfo.platform != 's390x' @@ -258,7 +258,7 @@ requires: package.name == 'udisks2' or snap.name == 'udisks2' package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804) estimated_duration: 45.0 -command: removable_storage_test -l usb && timeout 300 removable_storage_test -s 268400000 -m 500000000 usb --driver xhci_hcd +command: removable_storage_test.py -l usb && timeout 300 removable_storage_test.py -s 268400000 -m 500000000 usb --driver xhci_hcd _summary: Test USB 3.0 or 3.1 ports _description: @@ -288,7 +288,7 @@ id: usb/performance depends: usb/insert user: root estimated_duration: 45.00 -command: removable_storage_test -s 268400000 -p 15 usb +command: removable_storage_test.py -s 268400000 -p 15 usb _description: This test will check that your USB 2.0 port transfers data at a minimum expected speed. -- cgit v1.2.3 From 97fd53123fa4bbde2787729f509da6e8458b47ea Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:05:19 +0200 Subject: bin:removable_storage_watcher -> removable_storage_watcher.py --- units/dock/jobs.pxu | 72 +++++++++++++++++++++++----------------------- units/esata/jobs.pxu | 4 +-- units/firewire/jobs.pxu | 4 +-- units/mediacard/jobs.pxu | 32 ++++++++++----------- units/suspend/suspend.pxu | 40 +++++++++++++------------- units/thunderbolt/jobs.pxu | 8 +++--- units/usb/usb-c.pxu | 8 +++--- units/usb/usb.pxu | 8 +++--- 8 files changed, 88 insertions(+), 88 deletions(-) (limited to 'units') diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu index 9196f44..19b5983 100644 --- a/units/dock/jobs.pxu +++ b/units/dock/jobs.pxu @@ -626,7 +626,7 @@ id: dock/usb-insert category_id: dock-usb estimated_duration: 10.0 _summary: USB drive insertion test -command: removable_storage_watcher insert usb +command: removable_storage_watcher.py insert usb _purpose: This test will check that the system correctly detects the insertion of a USB storage device plugged on the dock @@ -646,7 +646,7 @@ id: dock/usb3-insert category_id: dock-usb estimated_duration: 10.0 _summary: USB3 drive insertion test -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3.0 storage device @@ -666,7 +666,7 @@ category_id: dock-usb depends: dock/usb-insert estimated_duration: 10.0 _summary: USB drive removal test -command: removable_storage_watcher remove usb +command: removable_storage_watcher.py remove usb _purpose: This test will check that the system correctly detects the removal of a USB storage device @@ -683,7 +683,7 @@ category_id: dock-usb depends: dock/usb3-insert estimated_duration: 10.0 _summary: USB3 drive removal test -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3.0 storage device @@ -726,7 +726,7 @@ requires: usb.usb3 == 'supported' manifest.has_usb_type_c == 'True' estimated_duration: 10.0 -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3 storage device in a USB Type-C connector on the dock using a @@ -748,7 +748,7 @@ requires: usb.usb3 == 'supported' manifest.has_usb_type_c == 'True' estimated_duration: 10.0 -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3 storage device in a USB Type-C connector on the dock @@ -770,7 +770,7 @@ requires: usb.usb3 == 'supported' manifest.has_usb_type_c == 'True' estimated_duration: 10.0 -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3 storage device connected to a USB Type-C port using a "USB Type-C @@ -791,7 +791,7 @@ requires: usb.usb3 == 'supported' manifest.has_usb_type_c == 'True' estimated_duration: 10.0 -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3 storage device connected to a USB Type-C port. @@ -841,7 +841,7 @@ requires: usb.usb3 == 'supported' manifest.has_usb_type_c == 'True' estimated_duration: 10.0 -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3 storage device in a USB Type-C connector on the dock using a @@ -864,7 +864,7 @@ requires: usb.usb3 == 'supported' manifest.has_usb_type_c == 'True' estimated_duration: 10.0 -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3 storage device in a USB Type-C connector on the dock after suspend @@ -886,7 +886,7 @@ requires: usb.usb3 == 'supported' manifest.has_usb_type_c == 'True' estimated_duration: 10.0 -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3 storage device connected to a USB Type-C port using a "USB Type-C @@ -907,7 +907,7 @@ requires: usb.usb3 == 'supported' manifest.has_usb_type_c == 'True' estimated_duration: 10.0 -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3 storage device connected to a USB Type-C port after suspend. @@ -997,7 +997,7 @@ category_id: dock-hotplug depends: dock/hot-plug estimated_duration: 10.0 _summary: USB drive insertion test -command: removable_storage_watcher insert usb +command: removable_storage_watcher.py insert usb _purpose: This test will check that the system correctly detects the insertion of a USB storage device plugged on the dock @@ -1018,7 +1018,7 @@ category_id: dock-hotplug depends: dock/hot-plug estimated_duration: 10.0 _summary: USB3 drive insertion test -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3.0 storage device after dock hot plugged in @@ -1060,7 +1060,7 @@ category_id: dock-hotplug depends: dock/hotplug-usb-insert estimated_duration: 10.0 _summary: USB drive removal test -command: removable_storage_watcher remove usb +command: removable_storage_watcher.py remove usb _purpose: This test will check that the system correctly detects the removal of a USB storage device @@ -1077,7 +1077,7 @@ category_id: dock-hotplug depends: dock/hotplug-usb3-insert estimated_duration: 10.0 _summary: USB3 drive removal test -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3.0 storage device after dock hot plugged in @@ -1239,7 +1239,7 @@ category_id: dock-usb depends: suspend/suspend_advanced estimated_duration: 10.0 _summary: USB drive insertion after resuming -command: removable_storage_watcher insert usb +command: removable_storage_watcher.py insert usb _purpose: This test will check that the system correctly detects the insertion of a USB storage device plugged on the dock after suspend @@ -1274,7 +1274,7 @@ category_id: dock-usb depends: suspend/suspend_advanced estimated_duration: 10.0 _summary: USB3 drive insertion after resuming -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3.0 storage device after suspend @@ -1294,7 +1294,7 @@ category_id: dock-usb depends: dock/usb-insert-after-suspend estimated_duration: 10.0 _summary: USB drive removal after resuming -command: removable_storage_watcher remove usb +command: removable_storage_watcher.py remove usb _purpose: This test will check that the system correctly detects the removal of a USB storage device after suspend @@ -1311,7 +1311,7 @@ category_id: dock-usb depends: dock/usb3-insert-after-suspend estimated_duration: 10.0 _summary: USB3 drive removal after resuming -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3.0 storage device after suspend @@ -1711,7 +1711,7 @@ category_id: suspend-undock-resume depends: dock/suspend-undock-resume estimated_duration: 10.0 _summary: USB3 drive insertion test -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3.0 storage device after suspend, undocked, resume. @@ -1742,7 +1742,7 @@ category_id: suspend-undock-resume depends: dock/usb3-insert-after-suspend-undock-resume estimated_duration: 10.0 _summary: USB3 drive removal test -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3.0 storage device after suspend, undocked, resume. @@ -1803,7 +1803,7 @@ category_id: dock estimated_duration: 20.0 _summary: FireWire HDD insertion test depends: dock/cold-plug -command: removable_storage_watcher insert firewire +command: removable_storage_watcher.py insert firewire _purpose: This test will check the system can detect the insertion of a FireWire HDD on the dock _steps: @@ -1833,7 +1833,7 @@ category_id: dock estimated_duration: 20.0 _summary: FireWire HDD removal test depends: dock/firewire-insert -command: removable_storage_watcher remove firewire +command: removable_storage_watcher.py remove firewire _purpose: This test will check the system can detect the removal of a FireWire HDD _steps: @@ -1851,7 +1851,7 @@ category_id: dock estimated_duration: 20.0 _summary: eSATA HDD insertion test depends: dock/cold-plug -command: removable_storage_watcher insert ata_serial_esata +command: removable_storage_watcher.py insert ata_serial_esata _purpose: This test will check the system can detect the insertion of an eSATA HDD on the dock _steps: @@ -1881,7 +1881,7 @@ category_id: dock estimated_duration: 20.0 _summary: eSATA HDD removal test depends: dock/esata-insert -command: removable_storage_watcher remove ata_serial_esata +command: removable_storage_watcher.py remove ata_serial_esata _purpose: This test will check the system can detect the removal of an eSATA HDD from the dock _steps: @@ -1932,7 +1932,7 @@ depends: dock/cold-plug imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt3 == 'True' flags: also-after-suspend-manual -command: removable_storage_watcher insert --timeout 40 scsi +command: removable_storage_watcher.py insert --timeout 40 scsi _summary: Thunderbolt3 storage insertion detection _purpose: This test will check if the connection of a Thunderbolt3 HDD to the dock could be detected @@ -1968,7 +1968,7 @@ depends: dock/thunderbolt3-insert imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt3 == 'True' flags: also-after-suspend-manual -command: removable_storage_watcher remove scsi +command: removable_storage_watcher.py remove scsi _summary: Thunderbolt3 storage removal detection _purpose: This test will check the system can detect the removal of a Thunderbolt3 HDD @@ -2040,7 +2040,7 @@ category_id: dock-hotplug depends: dock/hot-plug-after-suspend estimated_duration: 10.0 _summary: USB drive insertion after resuming -command: removable_storage_watcher insert usb +command: removable_storage_watcher.py insert usb _purpose: This test will check that the system correctly detects the insertion of a USB storage device plugged on the dock after suspend @@ -2061,7 +2061,7 @@ category_id: dock-hotplug depends: dock/hot-plug-after-suspend estimated_duration: 10.0 _summary: USB3 drive insertion test -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3.0 storage device after dock hot plugged in @@ -2103,7 +2103,7 @@ category_id: dock-hotplug depends: dock/hotplug-usb-insert-after-suspend estimated_duration: 10.0 _summary: USB drive removal after resuming -command: removable_storage_watcher remove usb +command: removable_storage_watcher.py remove usb _purpose: This test will check that the system correctly detects the removal of a USB storage device after suspend @@ -2120,7 +2120,7 @@ category_id: dock-hotplug depends: dock/hotplug-usb3-insert-after-suspend estimated_duration: 10.0 _summary: USB3 drive removal test -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3.0 storage device after dock hot plugged in @@ -2169,7 +2169,7 @@ category_id: suspend-dock-resume depends: dock/suspend-dock-resume estimated_duration: 10.0 _summary: USB drive insertion after resuming -command: removable_storage_watcher insert usb +command: removable_storage_watcher.py insert usb _purpose: This test will check that the system correctly detects the insertion of a USB storage device plugged on the dock after suspend @@ -2190,7 +2190,7 @@ category_id: suspend-dock-resume depends: dock/suspend-dock-resume estimated_duration: 10.0 _summary: USB3 drive insertion test -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _purpose: This test will check that the system correctly detects the insertion of a USB 3.0 storage device after suspend, undocked, docked, resume. @@ -2232,7 +2232,7 @@ category_id: suspend-dock-resume depends: dock/usb-insert-after-suspend-dock-resume estimated_duration: 10.0 _summary: USB drive removal after resuming -command: removable_storage_watcher remove usb +command: removable_storage_watcher.py remove usb _purpose: This test will check that the system correctly detects the removal of a USB storage device after suspend @@ -2249,7 +2249,7 @@ category_id: suspend-dock-resume depends: dock/usb3-insert-after-suspend-dock-resume estimated_duration: 10.0 _summary: USB3 drive removal test -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _purpose: This test will check that the system correctly detects the removal of a USB 3.0 storage device after suspend, undocked, docked, resume. diff --git a/units/esata/jobs.pxu b/units/esata/jobs.pxu index 7067e9e..1559f30 100644 --- a/units/esata/jobs.pxu +++ b/units/esata/jobs.pxu @@ -1,7 +1,7 @@ plugin: user-interact category_id: com.canonical.plainbox::esata id: esata/insert -command: removable_storage_watcher insert ata_serial_esata +command: removable_storage_watcher.py insert ata_serial_esata _description: PURPOSE: This test will check the system can detect the insertion of an eSATA HDD @@ -27,7 +27,7 @@ plugin: user-interact category_id: com.canonical.plainbox::esata id: esata/remove depends: esata/insert -command: removable_storage_watcher remove ata_serial_esata +command: removable_storage_watcher.py remove ata_serial_esata _description: PURPOSE: This test will check the system can detect the removal of an eSATA HDD diff --git a/units/firewire/jobs.pxu b/units/firewire/jobs.pxu index b0ca229..ced87cc 100644 --- a/units/firewire/jobs.pxu +++ b/units/firewire/jobs.pxu @@ -2,7 +2,7 @@ plugin: user-interact category_id: com.canonical.plainbox::firewire id: firewire/insert require: device.category == 'FIREWIRE' -command: removable_storage_watcher insert firewire +command: removable_storage_watcher.py insert firewire _description: PURPOSE: This test will check the system can detect the insertion of a FireWire HDD @@ -30,7 +30,7 @@ category_id: com.canonical.plainbox::firewire id: firewire/remove depends: firewire/insert require: device.category == 'FIREWIRE' -command: removable_storage_watcher remove firewire +command: removable_storage_watcher.py remove firewire _description: PURPOSE: This test will check the system can detect the removal of a FireWire HDD diff --git a/units/mediacard/jobs.pxu b/units/mediacard/jobs.pxu index f1f7e0d..05b8345 100644 --- a/units/mediacard/jobs.pxu +++ b/units/mediacard/jobs.pxu @@ -7,7 +7,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -53,7 +53,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi {% endif -%} user: root _description: @@ -76,7 +76,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -124,7 +124,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi {% endif -%} user: root _summary: Test that removal of an SD card is detected @@ -179,7 +179,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -228,7 +228,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi {% endif -%} user: root _summary: Test that removal of an SDHC card is detected @@ -252,7 +252,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -298,7 +298,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi {% endif -%} user: root _description: @@ -321,7 +321,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -369,7 +369,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi {% endif -%} user: root _summary: Test that removal of an SDXC card is detected @@ -393,7 +393,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -439,7 +439,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi {% endif -%} user: root _description: @@ -462,7 +462,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi {% endif -%} user: root imports: from com.canonical.plainbox import manifest @@ -508,7 +508,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi {% endif -%} user: root _description: @@ -531,7 +531,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -577,7 +577,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi {% endif -%} user: root _description: diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 91608d3..c6af51f 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1496,7 +1496,7 @@ id: suspend/usb_insert_after_suspend estimated_duration: 30.0 depends: suspend/suspend_advanced -command: removable_storage_watcher insert usb +command: removable_storage_watcher.py insert usb _description: PURPOSE: This test will check that the system correctly detects the insertion of @@ -1517,7 +1517,7 @@ requires: usb.usb3 == 'supported' depends: suspend/suspend_advanced -command: removable_storage_watcher -m 500000000 insert usb +command: removable_storage_watcher.py -m 500000000 insert usb _description: PURPOSE: This test will check that the system correctly detects the insertion of @@ -1536,7 +1536,7 @@ id: suspend/usb_remove_after_suspend estimated_duration: 30.0 depends: suspend/usb_insert_after_suspend -command: removable_storage_watcher remove usb +command: removable_storage_watcher.py remove usb _description: PURPOSE: This test will check that the system correctly detects the removal of @@ -1556,7 +1556,7 @@ depends: suspend/usb3_insert_after_suspend requires: usb.usb3 == 'supported' -command: removable_storage_watcher -m 500000000 remove usb +command: removable_storage_watcher.py -m 500000000 remove usb _description: PURPOSE: This test will check that the system correctly detects the removal of @@ -1651,7 +1651,7 @@ imports: from com.canonical.plainbox import manifest requires: package.name == 'udisks2' or snap.name == 'udisks2' manifest.has_card_reader == 'True' -command: removable_storage_watcher --memorycard insert sdio usb scsi +command: removable_storage_watcher.py --memorycard insert sdio usb scsi _description: PURPOSE: This test will check that the systems media card reader can @@ -1681,7 +1681,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/mmc-remove-after-suspend depends: suspend/mmc-insert-after-suspend estimated_duration: 30.0 -command: removable_storage_watcher --memorycard remove sdio usb scsi +command: removable_storage_watcher.py --memorycard remove sdio usb scsi _description: PURPOSE: This test will check that the system correctly detects the removal @@ -1702,7 +1702,7 @@ imports: from com.canonical.plainbox import manifest requires: package.name == 'udisks2' or snap.name == 'udisks2' manifest.has_card_reader == 'True' -command: removable_storage_watcher --memorycard insert sdio usb scsi +command: removable_storage_watcher.py --memorycard insert sdio usb scsi _description: PURPOSE: This test will check that the systems media card reader can @@ -1733,7 +1733,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/sd-remove-after-suspend estimated_duration: 30.0 depends: suspend/sd-insert-after-suspend -command: removable_storage_watcher --memorycard remove sdio usb scsi +command: removable_storage_watcher.py --memorycard remove sdio usb scsi _description: PURPOSE: This test will check that the system correctly detects @@ -1755,7 +1755,7 @@ imports: from com.canonical.plainbox import manifest requires: package.name == 'udisks2' or snap.name == 'udisks2' manifest.has_card_reader == 'True' -command: removable_storage_watcher --memorycard insert sdio usb scsi +command: removable_storage_watcher.py --memorycard insert sdio usb scsi _description: PURPOSE: This test will check that the systems media card reader can @@ -1786,7 +1786,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/sdhc-remove-after-suspend estimated_duration: 30.0 depends: suspend/sdhc-insert-after-suspend -command: removable_storage_watcher --memorycard remove sdio usb scsi +command: removable_storage_watcher.py --memorycard remove sdio usb scsi _description: PURPOSE: This test will check that the system correctly detects the removal @@ -1807,7 +1807,7 @@ imports: from com.canonical.plainbox import manifest requires: package.name == 'udisks2' or snap.name == 'udisks2' manifest.has_card_reader == 'True' -command: removable_storage_watcher --memorycard insert sdio usb scsi +command: removable_storage_watcher.py --memorycard insert sdio usb scsi _description: PURPOSE: This test will check that the systems media card reader can @@ -1837,7 +1837,7 @@ category_id: com.canonical.plainbox::suspend id: mediacard/cf-remove-after-suspend estimated_duration: 30.0 depends: mediacard/cf-insert-after-suspend -command: removable_storage_watcher --memorycard remove sdio usb scsi +command: removable_storage_watcher.py --memorycard remove sdio usb scsi _description: PURPOSE: This test will check that the system correctly detects the removal @@ -1858,7 +1858,7 @@ imports: from com.canonical.plainbox import manifest requires: package.name == 'udisks2' or snap.name == 'udisks2' manifest.has_card_reader == 'True' -command: removable_storage_watcher --memorycard insert sdio usb scsi +command: removable_storage_watcher.py --memorycard insert sdio usb scsi _description: PURPOSE: This test will check that the systems media card reader can @@ -1888,7 +1888,7 @@ category_id: com.canonical.plainbox::suspend id: mediacard/sdxc-remove-after-suspend depends: mediacard/sdxc-insert-after-suspend estimated_duration: 30.0 -command: removable_storage_watcher --memorycard remove sdio usb scsi +command: removable_storage_watcher.py --memorycard remove sdio usb scsi _description: PURPOSE: This test will check that the system correctly detects the removal @@ -1909,7 +1909,7 @@ imports: from com.canonical.plainbox import manifest requires: package.name == 'udisks2' or snap.name == 'udisks2' manifest.has_card_reader == 'True' -command: removable_storage_watcher --memorycard insert sdio usb scsi +command: removable_storage_watcher.py --memorycard insert sdio usb scsi _description: PURPOSE: This test will check that the systems media card reader can @@ -1939,7 +1939,7 @@ category_id: com.canonical.plainbox::suspend id: mediacard/ms-remove-after-suspend estimated_duration: 30.0 depends: mediacard/ms-insert-after-suspend -command: removable_storage_watcher --memorycard remove sdio usb scsi +command: removable_storage_watcher.py --memorycard remove sdio usb scsi _description: PURPOSE: This test will check that the system correctly detects the removal @@ -1960,7 +1960,7 @@ imports: from com.canonical.plainbox import manifest requires: package.name == 'udisks2' or snap.name == 'udisks2' manifest.has_card_reader == 'True' -command: removable_storage_watcher --memorycard insert sdio usb scsi +command: removable_storage_watcher.py --memorycard insert sdio usb scsi _description: PURPOSE: This test will check that the systems media card reader can @@ -1990,7 +1990,7 @@ category_id: com.canonical.plainbox::suspend id: mediacard/msp-remove-after-suspend estimated_duration: 30.0 depends: mediacard/msp-insert-after-suspend -command: removable_storage_watcher --memorycard remove sdio usb scsi +command: removable_storage_watcher.py --memorycard remove sdio usb scsi _description: PURPOSE: This test will check that the system correctly detects the removal @@ -2011,7 +2011,7 @@ imports: from com.canonical.plainbox import manifest requires: package.name == 'udisks2' or snap.name == 'udisks2' manifest.has_card_reader == 'True' -command: removable_storage_watcher --memorycard insert sdio usb scsi +command: removable_storage_watcher.py --memorycard insert sdio usb scsi _description: PURPOSE: This test will check that the systems media card reader can @@ -2041,7 +2041,7 @@ category_id: com.canonical.plainbox::suspend id: mediacard/xd-remove-after-suspend estimated_duration: 30.0 depends: mediacard/xd-insert-after-suspend -command: removable_storage_watcher --memorycard remove sdio usb scsi +command: removable_storage_watcher.py --memorycard remove sdio usb scsi _description: PURPOSE: This test will check that the system correctly detects the removal diff --git a/units/thunderbolt/jobs.pxu b/units/thunderbolt/jobs.pxu index 5095267..73fadb5 100644 --- a/units/thunderbolt/jobs.pxu +++ b/units/thunderbolt/jobs.pxu @@ -4,7 +4,7 @@ id: thunderbolt/insert imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt == 'True' estimated_duration: 20.0 -command: removable_storage_watcher insert --timeout 40 scsi +command: removable_storage_watcher.py insert --timeout 40 scsi _siblings: [ { "id": "after-suspend-manual-thunderbolt/insert", "_summary": "thunderbolt/insert after suspend", @@ -49,7 +49,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt == 'True' depends: thunderbolt/insert estimated_duration: 10.0 -command: removable_storage_watcher remove scsi +command: removable_storage_watcher.py remove scsi _summary: Storage removal detection on Thunderbolt _siblings: [ { "id": "after-suspend-manual-thunderbolt/remove", @@ -96,7 +96,7 @@ id: thunderbolt3/insert imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt3 == 'True' estimated_duration: 20.0 -command: removable_storage_watcher insert --timeout 40 scsi +command: removable_storage_watcher.py insert --timeout 40 scsi _siblings: [ { "id": "after-suspend-manual-thunderbolt3/insert", "_summary": "thunderbolt3/insert after suspend", @@ -155,7 +155,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_thunderbolt3 == 'True' depends: thunderbolt3/insert estimated_duration: 10.0 -command: removable_storage_watcher remove scsi +command: removable_storage_watcher.py remove scsi _siblings: [ { "id": "after-suspend-manual-thunderbolt3/remove", "_summary": "thunderbolt3/remove after suspend", diff --git a/units/usb/usb-c.pxu b/units/usb/usb-c.pxu index a1f24c4..ac17664 100644 --- a/units/usb/usb-c.pxu +++ b/units/usb/usb-c.pxu @@ -36,7 +36,7 @@ command: if [[ -v SNAP ]]; then checkbox-support-run_watcher insertion usb3 else - removable_storage_watcher -m 500000000 insert usb + removable_storage_watcher.py -m 500000000 insert usb fi category_id: com.canonical.plainbox::usb imports: from com.canonical.plainbox import manifest @@ -84,7 +84,7 @@ command: if [[ -v SNAP ]]; then checkbox-support-run_watcher removal usb3 else - removable_storage_watcher -m 500000000 remove usb + removable_storage_watcher.py -m 500000000 remove usb fi category_id: com.canonical.plainbox::usb depends: usb-c/c-to-a-adapter/insert @@ -130,7 +130,7 @@ command: if [[ -v SNAP ]]; then checkbox-support-run_watcher insertion usb3 else - removable_storage_watcher -m 500000000 insert usb + removable_storage_watcher.py -m 500000000 insert usb fi category_id: com.canonical.plainbox::usb imports: from com.canonical.plainbox import manifest @@ -178,7 +178,7 @@ command: if [[ -v SNAP ]]; then checkbox-support-run_watcher removal usb3 else - removable_storage_watcher -m 500000000 remove usb + removable_storage_watcher.py -m 500000000 remove usb fi category_id: com.canonical.plainbox::usb depends: usb-c/insert diff --git a/units/usb/usb.pxu b/units/usb/usb.pxu index ccf4528..3a0b232 100644 --- a/units/usb/usb.pxu +++ b/units/usb/usb.pxu @@ -66,7 +66,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion usb2 {%- else %} - removable_storage_watcher --unmounted insert usb + removable_storage_watcher.py --unmounted insert usb {% endif -%} category_id: com.canonical.plainbox::usb estimated_duration: 120 @@ -92,7 +92,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion usb3 {%- else %} - removable_storage_watcher --unmounted -m 500000000 insert usb + removable_storage_watcher.py --unmounted -m 500000000 insert usb {% endif -%} category_id: com.canonical.plainbox::usb estimated_duration: 120 @@ -117,7 +117,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal usb2 {%- else %} - removable_storage_watcher --unmounted remove usb + removable_storage_watcher.py --unmounted remove usb {% endif -%} category_id: com.canonical.plainbox::usb estimated_duration: 120 @@ -142,7 +142,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal usb3 {%- else %} - removable_storage_watcher --unmounted -m 500000000 remove usb + removable_storage_watcher.py --unmounted -m 500000000 remove usb {% endif -%} category_id: com.canonical.plainbox::usb estimated_duration: 120 -- cgit v1.2.3 From 3d69541c675faf77efa26f68cc69e781f09f2b92 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:10:10 +0200 Subject: bin:resolution_test -> resolution_test.py --- units/graphics/jobs.pxu | 4 ++-- units/graphics/legacy.pxu | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 20eda41..652eeea 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -68,7 +68,7 @@ id: graphics/{index}_resolution_{product_slug} requires: device.category == 'VIDEO' package.name == 'zenity' -command: resolution_test | zenity --text-info +command: resolution_test.py | zenity --text-info estimated_duration: 10.00 _summary: Test default resolution for {vendor} {product} _description: @@ -109,7 +109,7 @@ requires: device.category == 'VIDEO' command: source graphics_env.sh {driver} {index} - resolution_test --horizontal 800 --vertical 600 + resolution_test.py --horizontal 800 --vertical 600 estimated_duration: 0.331 _summary: Test that {vendor} {product} meets minimum resolution requirement _description: diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index c254476..1970287 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -29,7 +29,7 @@ id: graphics/resolution requires: device.category == 'VIDEO' flags: deprecated -command: resolution_test +command: resolution_test.py estimated_duration: 0.750 _summary: Test default resolution (for old checkbox) _description: @@ -64,7 +64,7 @@ category_id: com.canonical.plainbox::graphics id: graphics/minimum_resolution requires: device.category == 'VIDEO' -command: resolution_test --horizontal 800 --vertical 600 +command: resolution_test.py --horizontal 800 --vertical 600 estimated_duration: 0.331 _summary: Test that system meets minimum resolution requirement _description: -- cgit v1.2.3 From 6cc1e39222975c2e7a5065296fa36db70b52fba7 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:13:25 +0200 Subject: bin:rotation_test -> rotation_test.py --- units/graphics/jobs.pxu | 2 +- units/graphics/legacy.pxu | 2 +- units/suspend/suspend-graphics.pxu | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 652eeea..7cf080d 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -240,7 +240,7 @@ id: graphics/{index}_rotation_{product_slug} depends: graphics/xorg-version command: source graphics_env.sh {driver} {index} - rotation_test + rotation_test.py estimated_duration: 20.000 _summary: Test rotation for {vendor} {product} _description: diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index 1970287..7b8d860 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -141,7 +141,7 @@ plugin: user-interact-verify category_id: com.canonical.plainbox::graphics id: graphics/rotation depends: graphics/xorg-version -command: rotation_test +command: rotation_test.py estimated_duration: 20.000 _summary: Test rotation _description: diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index 124878e..6f270de 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -278,7 +278,7 @@ depends: {%- endif %} command: source graphics_env.sh {{ driver }} {{ index }} - rotation_test + rotation_test.py estimated_duration: 20.000 _summary: Test rotation for {{ vendor }} {{ product }} after suspend _description: -- cgit v1.2.3 From 77b17f872c9ad1780a018eef9cea1ab4c957b5a7 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:22:54 +0200 Subject: bin:sleep_test -> sleep_test.py --- units/hibernate/jobs.pxu | 8 ++++---- units/stress/jobs.pxu | 16 ++++++++-------- units/suspend/suspend-graphics.pxu | 4 ++-- units/suspend/suspend.pxu | 8 ++++---- 4 files changed, 18 insertions(+), 18 deletions(-) (limited to 'units') diff --git a/units/hibernate/jobs.pxu b/units/hibernate/jobs.pxu index 75f233f..e33c0b7 100644 --- a/units/hibernate/jobs.pxu +++ b/units/hibernate/jobs.pxu @@ -11,8 +11,8 @@ command: echo "Calling fwts" checkbox-support-fwts_test -l $PLAINBOX_SESSION_SHARE/hibernate-single -f none -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120 else - echo "Calling sleep_test" - sleep_test -s disk -w 120 + echo "Calling sleep_test.py" + sleep_test.py -s disk -w 120 fi estimated_duration: 300.00 _description: @@ -56,8 +56,8 @@ command: echo "Calling fwts" checkbox-support-fwts_test -l $PLAINBOX_SESSION_SHARE/{index}_hibernate-single -f none -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120 else - echo "Calling sleep_test" - sleep_test -s disk -w 120 + echo "Calling sleep_test.py" + sleep_test.py -s disk -w 120 fi _purpose: This test will check to make sure your system can successfully hibernate (if supported) diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index 21e06c2..21c7b57 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -50,8 +50,8 @@ command: echo "Calling fwts" checkbox-support-fwts_test -l $PLAINBOX_SESSION_SHARE/hibernate_30_cycles -f none -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120 --s4-multiple=30 else - echo "Calling sleep_test" - set -o pipefail; sleep_test -s disk -i 30 -w 120 | tee $PLAINBOX_SESSION_SHARE/hibernate_30_cycles.log + echo "Calling sleep_test.py" + set -o pipefail; sleep_test.py -s disk -i 30 -w 120 | tee $PLAINBOX_SESSION_SHARE/hibernate_30_cycles.log fi _description: PURPOSE: @@ -113,8 +113,8 @@ command: echo "Calling fwts" set -o pipefail; checkbox-support-fwts_test -l $PLAINBOX_SESSION_SHARE/suspend_30_cycles -f none -s s3 --s3-device-check --s3-device-check-delay=60 --s3-sleep-delay=60 --s3-multiple=30 | tee $PLAINBOX_SESSION_SHARE/suspend_30_cycles_times.log else - echo "Calling sleep_test" - set -o pipefail; sleep_test -p -s mem -i 30 | tee $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log + echo "Calling sleep_test.py" + set -o pipefail; sleep_test.py -p -s mem -i 30 | tee $PLAINBOX_SESSION_SHARE/suspend_30_cycles.log fi _description: PURPOSE: @@ -213,8 +213,8 @@ command: echo "Calling fwts" checkbox-support-fwts_test -l $PLAINBOX_SESSION_SHARE/hibernate_250_cycles -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120 --s4-multiple=250 else - echo "Calling sleep_test" - set -o pipefail; sleep_test -s disk -i 250 -w 120 | tee $PLAINBOX_SESSION_SHARE/hibernate_250_cycles.log + echo "Calling sleep_test.py" + set -o pipefail; sleep_test.py -s disk -i 250 -w 120 | tee $PLAINBOX_SESSION_SHARE/hibernate_250_cycles.log fi _description: PURPOSE: @@ -240,8 +240,8 @@ command: echo "Calling fwts" set -o pipefail; checkbox-support-fwts_test -l $PLAINBOX_SESSION_SHARE/suspend_250_cycles -s s3 --s3-device-check --s3-device-check-delay=45 --s3-sleep-delay=30 --s3-multiple=250 | tee $PLAINBOX_SESSION_SHARE/suspend_250_cycles_times.log else - echo "Calling sleep_test" - set -o pipefail; sleep_test -p -s mem -i 250 | tee $PLAINBOX_SESSION_SHARE/suspend_250_cycles.log + echo "Calling sleep_test.py" + set -o pipefail; sleep_test.py -p -s mem -i 250 | tee $PLAINBOX_SESSION_SHARE/suspend_250_cycles.log fi _description: PURPOSE: diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index 6f270de..f108249 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -257,8 +257,8 @@ command: echo "Calling fwts" set -o pipefail; checkbox-support-fwts_test -f none -l $PLAINBOX_SESSION_SHARE/{index}_suspend_single -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log else - echo "Calling sleep_test" - set -o pipefail; sleep_test -p | tee $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log + echo "Calling sleep_test.py" + set -o pipefail; sleep_test.py -p | tee $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log fi _purpose: Suspend SUT 30 times while using {product_slug} graphics card diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index c6af51f..e59d931 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -198,8 +198,8 @@ command: fi set -o pipefail; checkbox-support-fwts_test -f none -l $PLAINBOX_SESSION_SHARE/suspend_single -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee $PLAINBOX_SESSION_SHARE/suspend_single_times.log else - echo "Calling sleep_test" - set -o pipefail; sleep_test -p | tee $PLAINBOX_SESSION_SHARE/2_suspend_single_times.log + echo "Calling sleep_test.py" + set -o pipefail; sleep_test.py -p | tee $PLAINBOX_SESSION_SHARE/2_suspend_single_times.log fi estimated_duration: 90.0 _summary: Manual test of suspend function @@ -235,8 +235,8 @@ command: fi set -o pipefail; checkbox-support-fwts_test -f none -l $PLAINBOX_SESSION_SHARE/{index}_suspend_single -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log else - echo "Calling sleep_test" - set -o pipefail; sleep_test -p | tee $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log + echo "Calling sleep_test.py" + set -o pipefail; sleep_test.py -p | tee $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log fi estimated_duration: 90.0 _summary: Test suspend/resume after switching to {vendor} {product} -- cgit v1.2.3 From 48c38f969deb767935fe2b6212b428fecd79b69c Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:24:20 +0200 Subject: bin:sleep_test_log_check -> sleep_test_log_check.py --- units/hibernate/jobs.pxu | 2 +- units/stress/jobs.pxu | 8 ++++---- units/stress/s3s4.pxu | 4 ++-- units/suspend/suspend.pxu | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'units') 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 -- cgit v1.2.3 From 57f33b64fb975c672d19494fe872d8a3a3bb0e30 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:25:36 +0200 Subject: bin:sleep_time_check -> sleep_time_check.py --- units/stress/jobs.pxu | 8 ++++---- units/suspend/suspend-graphics.pxu | 2 +- units/suspend/suspend.pxu | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'units') diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index 78d3bb1..682f8fc 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -179,7 +179,7 @@ category_id: com.canonical.plainbox::stress id: power-management/suspend-30-cycles-time-check estimated_duration: 1.0 depends: power-management/suspend_30_cycles -command: [ -e $PLAINBOX_SESSION_SHARE/suspend_30_cycles_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/suspend_30_cycles_times.log +command: [ -e $PLAINBOX_SESSION_SHARE/suspend_30_cycles_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/suspend_30_cycles_times.log _description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold @@ -188,14 +188,14 @@ category_id: com.canonical.plainbox::stress id: power-management/suspend-30-cycles-time-check-with-reboots estimated_duration: 1.0 depends: power-management/suspend_30_cycles_with_reboots -command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log +command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log _summary: 30 suspend/resume cycles and 1 reboot, 3 times (check logs for timing issues) _description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold (warm boots) _siblings: [ { "id": "power-management/suspend-30-cycles-time-check-with-coldboots", "depends": "power-management/suspend_30_cycles_with_coldboots", - "command": "[ -e $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log", + "command": "[ -e $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log", "_description": "Checks the sleep times to ensure that a machine suspends and resumes within a given threshold (cold boots)", "_summary": "30 suspend/resume cycles and 1 poweroff, 3 times (check logs for timing issues)" } @@ -259,7 +259,7 @@ plugin: shell category_id: com.canonical.plainbox::stress id: stress/suspend-250-cycles-time-check estimated_duration: 1.0 -command: [ -e $PLAINBOX_SESSION_SHARE/suspend_250_cycles_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/suspend_250_cycles_times.log +command: [ -e $PLAINBOX_SESSION_SHARE/suspend_250_cycles_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/suspend_250_cycles_times.log _description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index f108249..74b5cb1 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -236,7 +236,7 @@ depends: suspend/suspend_advanced {%- endif %} estimated_duration: 1.2 -command: [ -e $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log +command: [ -e $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log _description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold unit: template diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 101e27f..5c6656e 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -350,7 +350,7 @@ plugin: shell category_id: com.canonical.plainbox::suspend id: suspend/suspend-time-check estimated_duration: 1.2 -command: [ -e $PLAINBOX_SESSION_SHARE/suspend_single_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/suspend_single_times.log +command: [ -e $PLAINBOX_SESSION_SHARE/suspend_single_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/suspend_single_times.log _summary: Ensure time to suspend/resume is under threshold _description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold @@ -363,7 +363,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/{index}_suspend-time-check_{product_slug} depends: suspend/{index}_suspend_after_switch_to_card_{product_slug} estimated_duration: 1.2 -command: [ -e $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log +command: [ -e $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log _summary: Ensure time to suspend/resume is under threshold _description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold -- cgit v1.2.3 From 6a33e9843086ab120912fe5bb0213c7bd31a2368 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:26:37 +0200 Subject: bin:sources_test -> sources_test.sh --- units/miscellanea/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 6c98181..4f337ba 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -271,7 +271,7 @@ _description: plugin: shell category_id: com.canonical.plainbox::miscellanea id: miscellanea/sources-list -command: sources_test $SOURCES_LIST "$REPOSITORIES" +command: sources_test.sh $SOURCES_LIST "$REPOSITORIES" _description: Checks that a specified sources list file contains the requested repositories unit: template -- cgit v1.2.3 From 41b385b0763d7b12a83cdeb3baab518391230c72 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:27:41 +0200 Subject: bin:spindown -> spindown.sh --- units/disk/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index fc85e9d..cb16a46 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -137,7 +137,7 @@ requires: device.category == 'DISK' package.name == 'smartmontools' user: root -command: spindown +command: spindown.sh _description: Some new hard drives include a feature that parks the drive heads after a short period of inactivity. This is a power-saving feature, but it can have a bad interaction with the operating system that results in the drive constantly parked then activated. This produces excess wear on the drive, potentially leading to early failures. -- cgit v1.2.3 From 7e03b20df216cc773d14b78ec54db07c976bac09 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:29:53 +0200 Subject: bin:stress_ng_test -> stress_ng_test.py --- units/disk/jobs.pxu | 4 ++-- units/memory/jobs.pxu | 2 +- units/stress/jobs.pxu | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'units') diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index cb16a46..1df012f 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -108,10 +108,10 @@ command: if [ -n "$STRESS_NG_DISK_TIME" ] then echo "Found STRESS_NG_DISK_TIME env var, stress_ng disk running time is now: $STRESS_NG_DISK_TIME seconds" - stress_ng_test disk --device {name} --base-time $STRESS_NG_DISK_TIME + stress_ng_test.py disk --device {name} --base-time $STRESS_NG_DISK_TIME else echo "STRESS_NG_DISK_TIME env var is not found, stress_ng disk running time is default value" - stress_ng_test disk --device {name} --base-time 240 + stress_ng_test.py disk --device {name} --base-time 240 fi unit: template diff --git a/units/memory/jobs.pxu b/units/memory/jobs.pxu index d1fabb4..9d55649 100644 --- a/units/memory/jobs.pxu +++ b/units/memory/jobs.pxu @@ -47,7 +47,7 @@ user: root environ: STRESS_NG_MIN_SWAP_SIZE requires: package.name == 'stress-ng' or executable.name == 'stress-ng' -command: stress_ng_test memory +command: stress_ng_test.py memory _summary: Stress test of system memory _description: Test to perform some basic stress and exercise of system memory via the diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index 682f8fc..302fae3 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -22,10 +22,10 @@ command: if [ -n "$STRESS_NG_CPU_TIME" ] then echo "Found STRESS_NG_CPU_TIME env var, stress_ng cpu running time is now: $STRESS_NG_CPU_TIME seconds" - stress_ng_test cpu --base-time $STRESS_NG_CPU_TIME + stress_ng_test.py cpu --base-time $STRESS_NG_CPU_TIME else echo STRESS_NG_CPU_TIME env var is not found, stress_ng cpu running time is default value - stress_ng_test cpu --base-time 7200 + stress_ng_test.py cpu --base-time 7200 fi _summary: Stress of CPUs (very long runtime) -- cgit v1.2.3 From 0e15af9e23bf05da3217b88987be30f8118526f0 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:30:52 +0200 Subject: bin:test_bt_keyboard -> test_bt_keyboard.py --- units/bluetooth/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu index 8b9b405..7f4272a 100644 --- a/units/bluetooth/jobs.pxu +++ b/units/bluetooth/jobs.pxu @@ -351,7 +351,7 @@ _verification: plugin: user-verify user: root flags: also-after-suspend -command: test_bt_keyboard +command: test_bt_keyboard.py category_id: com.canonical.plainbox::bluetooth estimated_duration: 1m -- cgit v1.2.3 From 8458b7ef4ae033839d786b0d6cd921ef857f113d Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:33:13 +0200 Subject: bin:touchpad_driver_info -> touchpad_driver_info.py --- units/info/jobs.pxu | 2 +- units/touchpad/jobs.pxu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index 45878ea..337305f 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -290,7 +290,7 @@ plugin: attachment category_id: com.canonical.plainbox::info id: info/touchpad_driver requires: device.category == 'TOUCHPAD' -command: touchpad_driver_info +command: touchpad_driver_info.py estimated_duration: 0.384 _description: Returns the name, driver name and driver version of any touchpad discovered on diff --git a/units/touchpad/jobs.pxu b/units/touchpad/jobs.pxu index a7b7e35..0c89823 100644 --- a/units/touchpad/jobs.pxu +++ b/units/touchpad/jobs.pxu @@ -189,7 +189,7 @@ id: touchpad/detected-as-mouse requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] estimated_duration: 1.2 command: - info=`touchpad_driver_info` + info=`touchpad_driver_info.py` if [ $? -eq 0 ]; then echo -e "touchpad detected with:\n$info" else -- cgit v1.2.3 From 324cd2ec1764e2da25346ba687bdffd7b78c3004 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:34:30 +0200 Subject: bin:touchpad_test -> touchpad_test.py --- units/touchpad/jobs.pxu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'units') diff --git a/units/touchpad/jobs.pxu b/units/touchpad/jobs.pxu index 0c89823..5e5a4f2 100644 --- a/units/touchpad/jobs.pxu +++ b/units/touchpad/jobs.pxu @@ -20,7 +20,7 @@ id: touchpad/horizontal requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] 'Button Horiz Wheel Left' in xinput.button_labels and 'Button Horiz Wheel Right' in xinput.button_labels -command: touchpad_test right left --edge-scroll +command: touchpad_test.py right left --edge-scroll estimated_duration: 120.0 _purpose: Touchpad horizontal scroll verification @@ -39,7 +39,7 @@ id: touchpad/vertical requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] 'Button Wheel Up' in xinput.button_labels and 'Button Wheel Down' in xinput.button_labels -command: touchpad_test up down --edge-scroll +command: touchpad_test.py up down --edge-scroll estimated_duration: 120.0 _purpose: Touchpad vertical scroll verification @@ -104,7 +104,7 @@ plugin: user-interact category_id: com.canonical.plainbox::touchpad id: touchpad/multitouch-horizontal requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] -command: touchpad_test right left +command: touchpad_test.py right left estimated_duration: 120.0 _purpose: Touchpad 2-touch horizontal scroll verification @@ -121,7 +121,7 @@ plugin: user-interact category_id: com.canonical.plainbox::touchpad id: touchpad/multitouch-vertical requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] -command: touchpad_test up down +command: touchpad_test.py up down estimated_duration: 120.0 _purpose: Touchpad 2-touch vertical scroll verification -- cgit v1.2.3 From 6d44b75eb61ffc6eb16b2ef98afbfce932c6387c Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:38:01 +0200 Subject: bin:virtualization -> virtualization.py --- units/virtualization/jobs.pxu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/virtualization/jobs.pxu b/units/virtualization/jobs.pxu index faccf65..1bf566c 100644 --- a/units/virtualization/jobs.pxu +++ b/units/virtualization/jobs.pxu @@ -8,7 +8,7 @@ requires: package.name == 'qemu-system' package.name == 'qemu-utils' virtualization.kvm == 'supported' -command: virtualization --debug kvm --log-file=$PLAINBOX_SESSION_SHARE/virt_debug +command: virtualization.py --debug kvm --log-file=$PLAINBOX_SESSION_SHARE/virt_debug _description: Verifies that a KVM guest can be created and booted using an Ubuntu Server cloud image. @@ -23,7 +23,7 @@ estimated_duration: 30.0 requires: package.name == 'lxd-client' or executable.name == 'lxc' package.name == 'lxd' or snap.name == 'lxd' -command: virtualization --debug lxd +command: virtualization.py --debug lxd _description: Verifies that an LXD container can be created and launched _summary: -- cgit v1.2.3 From 0a9b9abedf23749c6f155b04864a98b3df2636ee Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:39:17 +0200 Subject: bin:volume_test -> volume_test.py --- units/audio/jobs.pxu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'units') diff --git a/units/audio/jobs.pxu b/units/audio/jobs.pxu index b1d3a91..c1dbfe1 100644 --- a/units/audio/jobs.pxu +++ b/units/audio/jobs.pxu @@ -378,7 +378,7 @@ estimated_duration: 1.0 requires: package.name == 'pulseaudio-utils' device.category == 'AUDIO' -command: volume_test --minvol 1 --maxvol 100 +command: volume_test.py --minvol 1 --maxvol 100 _description: This test will verify that the volume levels are at an acceptable level on your local system. The test will validate that the volume is greater than @@ -595,7 +595,7 @@ depends: power-management/suspend_30_cycles requires: package.name == 'pulseaudio-utils' device.category == 'AUDIO' -command: volume_test --minvol 1 --maxvol 100 +command: volume_test.py --minvol 1 --maxvol 100 _description: This test will verify that the volume levels are at an acceptable level on your local system. The test will validate that the volume is greater than -- cgit v1.2.3 From f0b3effba6e2e64b747dc4f909cd703e6dc44cf4 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:43:55 +0200 Subject: bin:wifi_client_test -> wifi_client_test.py --- units/wireless/wireless-connection-manual.pxu | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'units') diff --git a/units/wireless/wireless-connection-manual.pxu b/units/wireless/wireless-connection-manual.pxu index 7ffd6bb..7eb06cb 100644 --- a/units/wireless/wireless-connection-manual.pxu +++ b/units/wireless/wireless-connection-manual.pxu @@ -12,7 +12,7 @@ _steps: _verification: If there's "Connection test passed" message in result, mark the test as passed. plugin: user-interact -command: wifi_client_test -i {interface} -s "$OPEN_AX_SSID" +command: wifi_client_test.py -i {interface} -s "$OPEN_AX_SSID" environ: OPEN_AX_SSID user: root category_id: com.canonical.plainbox::wireless @@ -33,7 +33,7 @@ _steps: _verification: If there's "Connection test passed" message in result, mark the test as passed. plugin: user-interact -command: wifi_client_test -i {interface} -s "$OPEN_AC_SSID" +command: wifi_client_test.py -i {interface} -s "$OPEN_AC_SSID" environ: OPEN_AC_SSID user: root category_id: com.canonical.plainbox::wireless @@ -54,7 +54,7 @@ _steps: _verification: If there's "Connection test passed" message in result, mark the test as passed. plugin: user-interact -command: wifi_client_test -i {interface} -s "$OPEN_BG_SSID" +command: wifi_client_test.py -i {interface} -s "$OPEN_BG_SSID" environ: OPEN_BG_SSID user: root category_id: com.canonical.plainbox::wireless @@ -75,7 +75,7 @@ _steps: _verification: If there's "Connection test passed" message in result, mark the test as passed. plugin: user-interact -command: wifi_client_test -i {interface} -s "$OPEN_N_SSID" +command: wifi_client_test.py -i {interface} -s "$OPEN_N_SSID" environ: OPEN_N_SSID user: root category_id: com.canonical.plainbox::wireless @@ -96,7 +96,7 @@ _steps: _verification: If there's "Connection test passed" message in result, mark the test as passed. plugin: user-interact -command: wifi_client_test -i {interface} -s "$WPA_AX_SSID" -k "$WPA_AX_PSK" +command: wifi_client_test.py -i {interface} -s "$WPA_AX_SSID" -k "$WPA_AX_PSK" environ: WPA_AX_SSID WPA_AX_PSK user: root category_id: com.canonical.plainbox::wireless @@ -117,7 +117,7 @@ _steps: _verification: If there's "Connection test passed" message in result, mark the test as passed. plugin: user-interact -command: wifi_client_test -i {interface} -s "$WPA_AC_SSID" -k "$WPA_AC_PSK" +command: wifi_client_test.py -i {interface} -s "$WPA_AC_SSID" -k "$WPA_AC_PSK" environ: WPA_AC_SSID WPA_AC_PSK user: root category_id: com.canonical.plainbox::wireless @@ -138,7 +138,7 @@ _steps: _verification: If there's "Connection test passed" message in result, mark the test as passed. plugin: user-interact -command: wifi_client_test -i {interface} -s "$WPA_BG_SSID" -k "$WPA_BG_PSK" +command: wifi_client_test.py -i {interface} -s "$WPA_BG_SSID" -k "$WPA_BG_PSK" environ: WPA_BG_SSID WPA_BG_PSK user: root category_id: com.canonical.plainbox::wireless @@ -159,7 +159,7 @@ _steps: _verification: If there's "Connection test passed" message in result, mark the test as passed. plugin: user-interact -command: wifi_client_test -i {interface} -s "$WPA_N_SSID" -k "$WPA_N_PSK" +command: wifi_client_test.py -i {interface} -s "$WPA_N_SSID" -k "$WPA_N_PSK" environ: WPA_N_SSID WPA_N_PSK user: root category_id: com.canonical.plainbox::wireless -- cgit v1.2.3 From aecc2138b889af0aacbfd964be4be6f0576e709d Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:45:13 +0200 Subject: bin:wifi_time2reconnect -> wifi_time2reconnect.py --- units/benchmarks/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/benchmarks/jobs.pxu b/units/benchmarks/jobs.pxu index a144d7b..0216ed8 100644 --- a/units/benchmarks/jobs.pxu +++ b/units/benchmarks/jobs.pxu @@ -65,7 +65,7 @@ plugin: shell category_id: com.canonical.plainbox::benchmarks id: benchmarks/network/wifi_time_to_reconnect requires: device.category == 'WIRELESS' -command: wifi_time2reconnect +command: wifi_time2reconnect.py _description: Check the time needed to reconnect to a WIFI access point plugin: shell -- cgit v1.2.3 From 0e2f68cff39f617c1571cf98e48002c7c05890ab Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:46:47 +0200 Subject: bin:window_test -> window_test.py --- units/graphics/jobs.pxu | 8 ++++---- units/graphics/legacy.pxu | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 7cf080d..09ce03c 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -327,7 +327,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/{index}_3d_window_open_close_{product_slug} requires: executable.name == 'glxgears' -command: window_test -t open-close -i 10 +command: window_test.py -t open-close -i 10 estimated_duration: 60.525 _description: Open and close a 3D window multiple times on the {vendor} {product} video card _summary: Test 3D window open/close for {vendor} {product} @@ -338,7 +338,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/{index}_3d_window_suspend_resume_{product_slug} requires: executable.name == 'glxgears' -command: window_test -t suspend-resume -i 10 +command: window_test.py -t suspend-resume -i 10 estimated_duration: 121.00 _description: Open, suspend resume and close a 3D window multiple times on the {vendor} {product} video card _summary: Test a 3D window with suspend/resume for {vendor} {product} @@ -349,7 +349,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/{index}_multi_3d_windows_open_close_{product_slug} requires: executable.name == 'glxgears' -command: window_test -t open-close-multi -i 10 -w 4 +command: window_test.py -t open-close-multi -i 10 -w 4 estimated_duration: 60.000 _description: Open and close 4 3D windows multiple times on the {vendor} {product} video card _summary: Test Multi 3D window open/close for {vendor} {product} @@ -362,7 +362,7 @@ id: graphics/{index}_3d_window_move_{product_slug} requires: executable.name == 'glxgears' executable.name == 'wmctrl' -command: window_test -t move +command: window_test.py -t move estimated_duration: 50.000 _description: Move a 3D window around the screen on the {vendor} {product} video card _summary: Test 3D window movement for {vendor} {product} diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index 7b8d860..498c559 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -182,7 +182,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/3d_window_open_close requires: executable.name == 'glxgears' -command: window_test -t open-close -i 10 +command: window_test.py -t open-close -i 10 estimated_duration: 60.525 _summary: Test 3D window open/close _description: Open and close a 3D window multiple times @@ -191,7 +191,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/3d_window_suspend_resume requires: executable.name == 'glxgears' -command: window_test -t suspend-resume -i 10 +command: window_test.py -t suspend-resume -i 10 estimated_duration: 121.00 _description: Open, suspend resume and close a 3D window multiple times _summary: Test a 3D window with suspend/resume @@ -200,7 +200,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/multi_3d_windows_open_close requires: executable.name == 'glxgears' -command: window_test -t open-close-multi -i 10 -w 4 +command: window_test.py -t open-close-multi -i 10 -w 4 estimated_duration: 60.000 _description: Open and close 4 3D windows multiple times _summary: Test Multi 3D window open/close @@ -209,7 +209,7 @@ plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/3d_window_move requires: executable.name == 'glxgears' -command: window_test -t move +command: window_test.py -t move estimated_duration: 50.000 _description: Move a 3D window around the screen _summary: Test 3D window movement -- cgit v1.2.3 From 9e45ca37e8e621faf24271a7e6131de06f197859 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 13:48:34 +0200 Subject: bin:xrandr_cycle -> xrandr_cycle.py --- units/graphics/jobs.pxu | 2 +- units/graphics/legacy.pxu | 2 +- units/suspend/suspend-graphics.pxu | 2 +- units/suspend/suspend.pxu | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'units') diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 09ce03c..30da64e 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -220,7 +220,7 @@ requires: package.name == 'xorg' depends: graphics/VESA_drivers_not_in_use command: source graphics_env.sh {driver} {index} - xrandr_cycle --screenshot-dir $PLAINBOX_SESSION_SHARE + xrandr_cycle.py --screenshot-dir $PLAINBOX_SESSION_SHARE estimated_duration: 250.000 _summary: Test resolution cycling for {vendor} {product} _description: diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu index 498c559..5f20f7b 100644 --- a/units/graphics/legacy.pxu +++ b/units/graphics/legacy.pxu @@ -126,7 +126,7 @@ category_id: com.canonical.plainbox::graphics id: graphics/cycle_resolution requires: package.name == 'xorg' depends: graphics/VESA_drivers_not_in_use -command: xrandr_cycle --screenshot-dir $PLAINBOX_SESSION_SHARE +command: xrandr_cycle.py --screenshot-dir $PLAINBOX_SESSION_SHARE estimated_duration: 250.000 _summary: Test resolution cycling _description: diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index 74b5cb1..ec1be28 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -90,7 +90,7 @@ depends: estimated_duration: 120.0 command: source graphics_env.sh {{ driver }} {{ index }} - xrandr_cycle --keyword={{ index }}_after_suspend --screenshot-dir $PLAINBOX_SESSION_SHARE + xrandr_cycle.py --keyword={{ index }}_after_suspend --screenshot-dir $PLAINBOX_SESSION_SHARE _description: PURPOSE: This test will cycle through the detected display modes diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 5c6656e..44790da 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1121,7 +1121,7 @@ id: suspend/cycle_resolutions_after_suspend estimated_duration: 120.0 requires: package.name == 'xorg' depends: suspend/suspend_advanced -command: xrandr_cycle --keyword=after_suspend --screenshot-dir $PLAINBOX_SESSION_SHARE +command: xrandr_cycle.py --keyword=after_suspend --screenshot-dir $PLAINBOX_SESSION_SHARE _description: PURPOSE: This test will cycle through the detected display modes @@ -1139,7 +1139,7 @@ id: suspend/{index}_cycle_resolutions_after_suspend_{product_slug} requires: package.name == 'xorg' depends: suspend/{index}_suspend_after_switch_to_card_{product_slug} estimated_duration: 120.0 -command: xrandr_cycle --keyword={index}_after_suspend --screenshot-dir $PLAINBOX_SESSION_SHARE +command: xrandr_cycle.py --keyword={index}_after_suspend --screenshot-dir $PLAINBOX_SESSION_SHARE _description: PURPOSE: This test will cycle through the detected display modes @@ -1157,7 +1157,7 @@ depends: suspend/suspend_advanced_auto _description: This test will check to make sure supported video modes work after a suspend and resume. This is done automatically by taking screenshots and uploading them as an attachment. -command: xrandr_cycle --keyword=after_suspend --screenshot-dir $PLAINBOX_SESSION_SHARE +command: xrandr_cycle.py --keyword=after_suspend --screenshot-dir $PLAINBOX_SESSION_SHARE plugin: attachment category_id: com.canonical.plainbox::suspend -- cgit v1.2.3 From 0cd78674904b3a27cc18682095a0f51446cded90 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 14:49:51 +0200 Subject: p-p-r:bin:cpuinfo_resource -> cpuinfo_resource.py --- units/cpu/jobs.pxu | 4 ++-- units/stress/jobs.pxu | 2 +- units/suspend/suspend.pxu | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'units') diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu index 94c2277..2953d16 100644 --- a/units/cpu/jobs.pxu +++ b/units/cpu/jobs.pxu @@ -170,10 +170,10 @@ category_id: com.canonical.plainbox::cpu id: cpu/cpuinfo_before_suspend estimated_duration: 1.2 _summary: Verify that all the CPUs are online before suspending -command: cpuinfo_resource > $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend +command: cpuinfo_resource.py > $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend _siblings: [ { "id": "after-suspend-cpu/cpuinfo_after_suspend", "_summary": "Verify that all the CPUs are online after suspending", - "command": "cpuinfo_resource | diff $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend -", + "command": "cpuinfo_resource.py | diff $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend -", "depends": "com.canonical.certification::suspend/suspend_advanced_auto"} ] diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index 302fae3..37c9472 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -5,7 +5,7 @@ estimated_duration: 7200.0 requires: package.name == 'stress' user: root -command: num_vm=$(awk '/MemTotal/ {x=$2/262144; print ((x == int(x)) ? x : int(x) +1)}' /proc/meminfo); vm_bytes=$(($(awk '/MemTotal/ {print int($2/1024)}' /proc/meminfo)/$num_vm/4))M; stress --cpu `cpuinfo_resource | awk '/count:/ {print $2}'` --vm $num_vm --vm-bytes $vm_bytes --timeout 7200s +command: num_vm=$(awk '/MemTotal/ {x=$2/262144; print ((x == int(x)) ? x : int(x) +1)}' /proc/meminfo); vm_bytes=$(($(awk '/MemTotal/ {print int($2/1024)}' /proc/meminfo)/$num_vm/4))M; stress --cpu `cpuinfo_resource.py | awk '/count:/ {print $2}'` --vm $num_vm --vm-bytes $vm_bytes --timeout 7200s _description: Simulate high system load using the 'stress' tool to exercise the CPU for several hours. The test is considered passed if the system does not freeze or diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 44790da..c111dce 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -39,7 +39,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/cpu_before_suspend estimated_duration: 1.2 _summary: Verify that all the CPUs are online before suspending -command: cpuinfo_resource > $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend +command: cpuinfo_resource.py > $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend plugin: shell category_id: com.canonical.plainbox::suspend @@ -558,7 +558,7 @@ id: suspend/cpu_after_suspend estimated_duration: 1.2 depends: suspend/suspend_advanced suspend/cpu_before_suspend _description: Verify that all CPUs are online after resuming. -command: cpuinfo_resource | diff $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend - +command: cpuinfo_resource.py | diff $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend - plugin: shell category_id: com.canonical.plainbox::suspend @@ -566,7 +566,7 @@ id: suspend/cpu_after_suspend_auto estimated_duration: 1.2 depends: suspend/suspend_advanced_auto suspend/cpu_before_suspend _description: Verify that all CPUs are online after resuming. -command: cpuinfo_resource | diff $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend - +command: cpuinfo_resource.py | diff $PLAINBOX_SESSION_SHARE/cpuinfo_before_suspend - plugin: shell category_id: com.canonical.plainbox::suspend -- cgit v1.2.3 From 55f20fbef52f64fbff61cdae403670212259e1e3 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 15:00:14 +0200 Subject: p-p-r:bin:meminfo_resource -> meminfo_resource.py --- units/memory/jobs.pxu | 4 ++-- units/suspend/suspend.pxu | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'units') diff --git a/units/memory/jobs.pxu b/units/memory/jobs.pxu index 9d55649..a44975e 100644 --- a/units/memory/jobs.pxu +++ b/units/memory/jobs.pxu @@ -31,11 +31,11 @@ category_id: com.canonical.plainbox::memory id: memory/meminfo_before_suspend estimated_duration: 1.2 _summary: Store memory info before suspending -command: meminfo_resource > $PLAINBOX_SESSION_SHARE/meminfo_before_suspend +command: meminfo_resource.py > $PLAINBOX_SESSION_SHARE/meminfo_before_suspend _siblings: [ { "id": "after-suspend-memory/meminfo_after_suspend", "_summary": "Compare memory info to the state prior to suspend", - "command": "meminfo_resource | diff $PLAINBOX_SESSION_SHARE/meminfo_before_suspend -", + "command": "meminfo_resource.py | diff $PLAINBOX_SESSION_SHARE/meminfo_before_suspend -", "depends": "com.canonical.certification::suspend/suspend_advanced_auto"} ] diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index c111dce..a610b55 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -46,7 +46,7 @@ category_id: com.canonical.plainbox::suspend id: suspend/memory_before_suspend estimated_duration: 1.2 _summary: Dumps memory info to a file for comparison after suspend -command: meminfo_resource > $PLAINBOX_SESSION_SHARE/meminfo_before_suspend +command: meminfo_resource.py > $PLAINBOX_SESSION_SHARE/meminfo_before_suspend unit: template template-resource: device @@ -575,7 +575,7 @@ estimated_duration: 1.2 depends: suspend/suspend_advanced suspend/memory_before_suspend _description: Verify that all memory is available after resuming from suspend. -command: meminfo_resource | diff $PLAINBOX_SESSION_SHARE/meminfo_before_suspend - +command: meminfo_resource.py | diff $PLAINBOX_SESSION_SHARE/meminfo_before_suspend - plugin: shell category_id: com.canonical.plainbox::suspend @@ -584,7 +584,7 @@ estimated_duration: 1.2 depends: suspend/suspend_advanced_auto suspend/memory_before_suspend _description: Verify that all memory is available after resuming from suspend. -command: meminfo_resource | diff $PLAINBOX_SESSION_SHARE/meminfo_before_suspend - +command: meminfo_resource.py | diff $PLAINBOX_SESSION_SHARE/meminfo_before_suspend - plugin: manual category_id: com.canonical.plainbox::suspend -- cgit v1.2.3 From 9b694442bcc3afa5145c9d3aa731f1df223f3d4e Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 14 Jul 2020 15:17:58 +0200 Subject: p-p-r:bin:udev_resource -> udev_resource.py --- units/camera/jobs.pxu | 2 +- units/info/jobs.pxu | 4 ++-- units/miscellanea/jobs.pxu | 2 +- units/optical/jobs.pxu | 2 +- units/submission/jobs.pxu | 6 +++--- units/usb/usb.pxu | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'units') diff --git a/units/camera/jobs.pxu b/units/camera/jobs.pxu index 045b062..7c0b1d0 100644 --- a/units/camera/jobs.pxu +++ b/units/camera/jobs.pxu @@ -17,7 +17,7 @@ imports: from com.canonical.plainbox import manifest requires: manifest.has_rpi_camera == 'True' command: - udev_resource -f MMAL | grep "category: MMAL" + udev_resource.py -f MMAL | grep "category: MMAL" _summary: Detect presence of a MMAL camera. unit: template diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index 337305f..1e48eee 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -184,9 +184,9 @@ _summary: Attach dump of udev database id: udev_resource_attachment plugin: attachment category_id: com.canonical.plainbox::info -command: udev_resource +command: udev_resource.py estimated_duration: 0.432 -_description: Attaches the output of udev_resource, for debugging purposes +_description: Attaches the output of udev_resource.py, for debugging purposes id: lsblk_attachment estimated_duration: 0.1 diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 4f337ba..e5d6965 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -413,7 +413,7 @@ plugin: user-interact-verify category_id: com.canonical.plainbox::miscellanea estimated_duration: 5.0 id: miscellanea/device_check -command: udev_resource -l VIDEO NETWORK WIRELESS BLUETOOTH DISK CAPTURE ACCELEROMETER | tee >([[ $DISPLAY ]] && zenity --text-info --title="Device report") +command: udev_resource.py -l VIDEO NETWORK WIRELESS BLUETOOTH DISK CAPTURE ACCELEROMETER | tee >([[ $DISPLAY ]] && zenity --text-info --title="Device report") _summary: Device Check _purpose: Device check diff --git a/units/optical/jobs.pxu b/units/optical/jobs.pxu index ed50e74..bcb93c3 100644 --- a/units/optical/jobs.pxu +++ b/units/optical/jobs.pxu @@ -5,7 +5,7 @@ requires: device.category == 'CDROM' estimated_duration: 1.2 _summary: Displays discovered optical drives _description: Detects optical drives (CD/DVD) attached to the system. -command: udev_resource -l CDROM +command: udev_resource.py -l CDROM unit: template template-resource: device diff --git a/units/submission/jobs.pxu b/units/submission/jobs.pxu index e0829b6..d33b49e 100644 --- a/units/submission/jobs.pxu +++ b/units/submission/jobs.pxu @@ -11,8 +11,8 @@ id: udev_json plugin: attachment category_id: com.canonical.plainbox::info command: udevadm info --export-db | python3 -m plainbox dev parse udevadm -_description: Attaches json dumps of udev_resource -_summary: Attaches json dumps of udev_resource +_description: Attaches json dumps of udev_resource.py +_summary: Attaches json dumps of udev_resource.py id: raw_devices_dmi_json plugin: attachment @@ -26,7 +26,7 @@ command: jq '[.[] | ._attributes + {"category": .category}]' estimated_duration: 1 _description: Attaches dmidecode output -_summary: Attaches json dumps of udev_resource raw dmi devices +_summary: Attaches json dumps of raw dmi devices id: modprobe_json plugin: attachment diff --git a/units/usb/usb.pxu b/units/usb/usb.pxu index 3a0b232..29ad795 100644 --- a/units/usb/usb.pxu +++ b/units/usb/usb.pxu @@ -298,7 +298,7 @@ category_id: com.canonical.plainbox::usb plugin: shell _summary: Detect storage partitions on a device on the USB bus command: - udev_resource -f PARTITION | grep "bus: usb" + udev_resource.py -f PARTITION | grep "bus: usb" estimated_duration: 1.0 flags: also-after-suspend imports: from com.canonical.plainbox import manifest -- cgit v1.2.3