diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-09-18 20:56:16 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-09-18 20:56:16 +0200 |
commit | 06ebc0457992bddfca74c3decc554d70ffdd310d (patch) | |
tree | ddc2038690c7e0bbd7146b3375681b919e91ab95 /units/thunderbolt | |
parent | a2cbc59e55ed21f755f45a5db2df5695a2220315 (diff) |
Move all jobs definition files into pxu units
Diffstat (limited to 'units/thunderbolt')
-rw-r--r-- | units/thunderbolt/jobs.pxu | 152 | ||||
-rw-r--r-- | units/thunderbolt/manifest.pxu | 9 |
2 files changed, 161 insertions, 0 deletions
diff --git a/units/thunderbolt/jobs.pxu b/units/thunderbolt/jobs.pxu new file mode 100644 index 00000000..188b2f68 --- /dev/null +++ b/units/thunderbolt/jobs.pxu @@ -0,0 +1,152 @@ +plugin: user-interact +category_id: com.canonical.plainbox::disk +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 +_summary: Storage insert detection on Thunderbolt +_description: + PURPOSE: + This test will check if the insertion of a Thunderbolt HDD could be detected + STEPS: + 1. Click 'Test' to begin the test. This test will + timeout and fail if the insertion has not been detected within 40 seconds. + 2. Plug a Thunderbolt HDD into an available Thunderbolt port, if it's not + mounted automatically, please click the HDD icon to mount it. + VERIFICATION: + The verification of this test is automated. Do not change the automatically + selected result + +plugin: shell +category_id: com.canonical.plainbox::disk +id: thunderbolt/storage-test +user: root +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 +_summary: Storage test on Thunderbolt +_description: + This is an automated test which performs read/write operations on an attached + Thunderbolt HDD + +plugin: user-interact +category_id: com.canonical.plainbox::disk +id: thunderbolt/remove +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 +_summary: Storage removal detection on Thunderbolt +_description: + PURPOSE: + This test will check the system can detect the removal of a Thunderbolt HDD + STEPS: + 1. Click 'Test' to begin the test. This test will timeout and fail if + the removal has not been detected within 20 seconds. + 2. Remove the previously attached Thunderbolt HDD from the Thunderbolt port. + VERIFICATION: + The verification of this test is automated. Do not change the automatically + selected result + +plugin: user-interact-verify +category_id: com.canonical.plainbox::disk +id: thunderbolt/daisy-chain +imports: from com.canonical.plainbox import manifest +requires: manifest.has_thunderbolt == 'True' +estimated_duration: 45.0 +command: removable_storage_test -s 268400000 scsi +_summary: Daisy-chain testing for Thunderbolt storage and display device +_description: + PURPOSE: + This test will check if your system can support daisy-chaining of a storage + and a monitor over Thunderbolt port + STEPS: + 1. Connect your Thunderbolt monitor to your systems + 2. Connect and mount your Thunderbolt HDD to another Thunderbolt port of the + monitor (you can do this with HDD first as well) + 3. Click 'Test' to perform the storage test on the Thunderbolt HDD + VERIFICATION: + 1. The verification for storage is automated, please select the result combine + with the result for the display. + 2. Was the desktop displayed correctly on the Thunderbolt-connected screen? + +plugin: user-interact +category_id: com.canonical.plainbox::disk +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 +_summary: Storage insert detection on Thunderbolt 3 port +_description: + PURPOSE: + This test will check if the insertion of a Thunderbolt HDD could be detected + STEPS: + 1. Click 'Test' to begin the test. This test will + timeout and fail if the insertion has not been detected within 40 seconds. + 2. Plug a Thunderbolt HDD into an available Thunderbolt 3 port, if it's not + mounted automatically, please click the HDD icon to mount it. + VERIFICATION: + The verification of this test is automated. Do not change the automatically + selected result + +plugin: shell +category_id: com.canonical.plainbox::disk +id: thunderbolt3/storage-test +user: root +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 +_summary: Storage test on Thunderbolt 3 +_description: + This is an automated test which performs read/write operations on an attached + Thunderbolt HDD + +plugin: user-interact +category_id: com.canonical.plainbox::disk +id: thunderbolt3/remove +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 +_summary: Storage removal detection on Thunderbolt 3 port +_description: + PURPOSE: + This test will check the system can detect the removal of a Thunderbolt HDD + STEPS: + 1. Click 'Test' to begin the test. This test will timeout and fail if + the removal has not been detected within 20 seconds. + 2. Remove the previously attached Thunderbolt HDD from the Thunderbolt port. + VERIFICATION: + The verification of this test is automated. Do not change the automatically + selected result + +plugin: user-interact-verify +category_id: com.canonical.plainbox::disk +id: thunderbolt3/daisy-chain +imports: from com.canonical.plainbox import manifest +requires: manifest.has_thunderbolt3 == 'True' +estimated_duration: 45.0 +command: removable_storage_test -s 268400000 scsi +_summary: Daisy-chain testing for Thunderbolt 3 storage and display device +_description: + PURPOSE: + This test will check if your system can support daisy-chaining of a storage + and a monitor over Thunderbolt 3 port + STEPS: + 1. Connect your Thunderbolt monitor to your systems + 2. Connect and mount your Thunderbolt HDD to another Thunderbolt 3 port of the + monitor (you can do this with HDD first as well) + 3. Click 'Test' to perform the storage test on the Thunderbolt HDD + VERIFICATION: + 1. The verification for storage is automated, please select the result combine + with the result for the display. + 2. Was the desktop displayed correctly on the Thunderbolt-connected screen? + diff --git a/units/thunderbolt/manifest.pxu b/units/thunderbolt/manifest.pxu new file mode 100644 index 00000000..f8926f91 --- /dev/null +++ b/units/thunderbolt/manifest.pxu @@ -0,0 +1,9 @@ +unit: manifest entry +id: has_thunderbolt +_name: Thunderbolt Support +value-type: bool + +unit: manifest entry +id: has_thunderbolt3 +_name: Thunderbolt 3 Support +value-type: bool |