Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions providers/base/units/dock/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -2652,6 +2652,73 @@ _siblings:
{"id": "dock/all-poweroff-thunderbolt3-storage-manual"}]


id: dock/all-init-usb3-storage-manual
category_id: dock
estimated_duration: 120
plugin: user-interact
imports: from com.canonical.plainbox import manifest
requires:
usb.usb3 == 'supported'
user: root
flags: also-after-suspend
command: checkbox-support-run_watcher storage usb3
_summary: USB3 storage insertion + read/write + removal
_purpose:
This test will check if the connection of a USB3 storage to the dock could be detected,
then performs read/write operations on the attached USB3 storage and
checks if the removal of the USB3 storage can be detected.
_steps:
1. Click 'Test' to begin the test. This test will
timeout and fail if the insertion has not been detected within 30 seconds.
2. Plug a USB3 storage into an available USB3 port on the dock.
If it's not mounted automatically, please click the storage icon to mount it.
3. Wait for the read/write operations to complete.
4. Press Enter to start the removal test.
5. Remove the previously attached USB3 storage from the USB3 port.
_verification:
The verification of this test is automated. Do not change the automatically
selected result.
_siblings:
[{"id": "dock/all-reboot-usb3-storage-manual"},
{"id": "dock/all-hotplug-usb3-storage-manual"},
{"id": "dock/all-suspend-usb3-storage-manual"},
{"id": "dock/all-poweroff-usb3-storage-manual"}]


id: dock/all-init-usb-c-storage-manual
category_id: dock
estimated_duration: 120
plugin: user-interact
imports: from com.canonical.plainbox import manifest
requires:
usb.usb3 == 'supported'
manifest.has_usbc_data == 'True'
user: root
flags: also-after-suspend
command: checkbox-support-run_watcher storage usb3
_summary: USB3 storage insertion + read/write + removal
_purpose:
This test will check if the connection of a usb-c storage to the dock could be detected,
then performs read/write operations on the attached usb-c storage and
checks if the removal of the usb-c storage can be detected.
_steps:
1. Click 'Test' to begin the test. This test will
timeout and fail if the insertion has not been detected within 30 seconds.
2. Plug a USB3 storage into an available usb-c port on the dock.
If it's not mounted automatically, please click the storage icon to mount it.
3. Wait for the read/write operations to complete.
4. Press Enter to start the removal test.
5. Remove the previously attached usb-c storage from the usb-c port.
_verification:
The verification of this test is automated. Do not change the automatically
selected result.
_siblings:
[{"id": "dock/all-reboot-usb-c-storage-manual"},
{"id": "dock/all-hotplug-usb-c-storage-manual"},
{"id": "dock/all-suspend-usb-c-storage-manual"},
{"id": "dock/all-poweroff-usb-c-storage-manual"}]


id: dock/all-init-usb-c/insert
plugin: user-interact
category_id: dock-usb
Expand Down
40 changes: 10 additions & 30 deletions providers/base/units/dock/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ include:
dock/all-init-networking-gateway-ping certification-status=blocker
dock/all-init-networking-ntp certification-status=blocker
dock/all-init-thunderbolt3-storage-manual certification-status=blocker
dock/all-init-usb-c/insert certification-status=blocker
dock/all-init-usb-c/storage-automated certification-status=blocker
dock/all-init-usb-c/remove certification-status=blocker
dock/all-init-usb3-insert certification-status=blocker
dock/all-init-usb3-storage-automated certification-status=blocker
dock/all-init-usb3-remove certification-status=blocker
dock/all-init-usb-c-storage-manual certification-status=blocker
dock/all-init-usb3-storage-manual certification-status=blocker
dock/all-init-audio-speaker-headphone-plug-detection certification-status=blocker
dock/all-init-audio-playback-headphones certification-status=blocker
dock/all-init-audio-microphone-plug-detection certification-status=blocker
Expand All @@ -46,12 +42,8 @@ include:
dock/all-reboot-networking-gateway-ping certification-status=blocker
dock/all-reboot-networking-ntp certification-status=blocker
dock/all-reboot-thunderbolt3-storage-manual certification-status=blocker
dock/all-reboot-usb-c/insert certification-status=blocker
dock/all-reboot-usb-c/storage-automated certification-status=blocker
dock/all-reboot-usb-c/remove certification-status=blocker
dock/all-reboot-usb3-insert certification-status=blocker
dock/all-reboot-usb3-storage-automated certification-status=blocker
dock/all-reboot-usb3-remove certification-status=blocker
dock/all-reboot-usb-c-storage-manual certification-status=blocker
dock/all-reboot-usb3-storage-manual certification-status=blocker
dock/all-reboot-audio-speaker-headphone-plug-detection certification-status=blocker
dock/all-reboot-audio-playback-headphones certification-status=blocker
dock/all-reboot-audio-microphone-plug-detection certification-status=blocker
Expand All @@ -69,12 +61,8 @@ include:
dock/all-hotplug-networking-gateway-ping certification-status=blocker
dock/all-hotplug-networking-ntp certification-status=blocker
dock/all-hotplug-thunderbolt3-storage-manual certification-status=blocker
dock/all-hotplug-usb-c/insert certification-status=blocker
dock/all-hotplug-usb-c/storage-automated certification-status=blocker
dock/all-hotplug-usb-c/remove certification-status=blocker
dock/all-hotplug-usb3-insert certification-status=blocker
dock/all-hotplug-usb3-storage-automated certification-status=blocker
dock/all-hotplug-usb3-remove certification-status=blocker
dock/all-hotplug-usb-c-storage-manual certification-status=blocker
dock/all-hotplug-usb3-storage-manual certification-status=blocker
dock/all-hotplug-audio-speaker-headphone-plug-detection certification-status=blocker
dock/all-hotplug-audio-playback-headphones certification-status=blocker
dock/all-hotplug-audio-microphone-plug-detection certification-status=blocker
Expand All @@ -92,12 +80,8 @@ include:
dock/all-suspend-networking-gateway-ping certification-status=blocker
dock/all-suspend-networking-ntp certification-status=blocker
dock/all-suspend-thunderbolt3-storage-manual certification-status=blocker
dock/all-suspend-usb-c/insert certification-status=blocker
dock/all-suspend-usb-c/storage-automated certification-status=blocker
dock/all-suspend-usb-c/remove certification-status=blocker
dock/all-suspend-usb3-insert certification-status=blocker
dock/all-suspend-usb3-storage-automated certification-status=blocker
dock/all-suspend-usb3-remove certification-status=blocker
dock/all-suspend-usb-c-storage-manual certification-status=blocker
dock/all-suspend-usb3-storage-manual certification-status=blocker
dock/all-suspend-audio-speaker-headphone-plug-detection certification-status=blocker
dock/all-suspend-audio-playback-headphones certification-status=blocker
dock/all-suspend-audio-microphone-plug-detection certification-status=blocker
Expand All @@ -115,12 +99,8 @@ include:
dock/all-poweroff-networking-gateway-ping certification-status=blocker
dock/all-poweroff-networking-ntp certification-status=blocker
dock/all-poweroff-thunderbolt3-storage-manual certification-status=blocker
dock/all-poweroff-usb-c/insert certification-status=blocker
dock/all-poweroff-usb-c/storage-automated certification-status=blocker
dock/all-poweroff-usb-c/remove certification-status=blocker
dock/all-poweroff-usb3-insert certification-status=blocker
dock/all-poweroff-usb3-storage-automated certification-status=blocker
dock/all-poweroff-usb3-remove certification-status=blocker
dock/all-poweroff-usb-c-storage-manual certification-status=blocker
dock/all-poweroff-usb3-storage-manual certification-status=blocker
dock/all-poweroff-audio-speaker-headphone-plug-detection certification-status=blocker
dock/all-poweroff-audio-playback-headphones certification-status=blocker
dock/all-poweroff-audio-microphone-plug-detection certification-status=blocker
Expand Down
Loading