false alarm raised by usb3/storage-server xhci_hcd detection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Taihsiang Ho |
Bug Description
Platform: Ampere Mt. Jade Server
Release: Ubuntu 20.04
Kernel: Linux howzit 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 17:43:26 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
[Description]
A usb3 port is expected run with xhci_hcd but checkbox reports it didn't.
[Steps to Reproduce]
checkbox-cli run com.canonical.
[Expected Result]
The test job passes
[Actual Result]
ubuntu@howzit:~$ checkbox-cli run com.canonical.
<skipped many messages>
--------------[ Running job 7 / 7. Estimated time left: 0:00:45 ]---------------
-------
ID: com.canonical.
Category: com.canonical.
... 8< -------
-------
Removable devices currently mounted:
/dev/sda1 : /home/ubuntu/
/dev/sdc1 : /home/ubuntu/
/dev/sdb1 : /home/ubuntu/
Removable devices currently not mounted:
None
-------
Found the following mounted usb partitions:
/dev/sda1 : /home/ubuntu/
/dev/sdc1 : /home/ubuntu/
/dev/sdb1 : /home/ubuntu/
-------
/dev/sda1 (Total Data Size / iteration: 255.9662 MB):
[Iteration 0] Average Speed: 16.1157
Summary:
/dev/sdc1 (Total Data Size / iteration: 255.9662 MB):
[Iteration 0] Average Speed: 18.5906
Summary:
-------
Outcome: job failed
Finalizing session that hasn't been submitted anywhere: checkbox-
=======
☑ : Collect information about hardware devices (udev)
☑ : Collect information about installed snap packages
☑ : Collect information about installed software packages
☑ : Collect information about the CPU
☑ : Test USB 2.0 or 1.1 ports
☑ : Collect information about supported types of USB
☒ : Test USB 3.0 or 3.1 ports
ubuntu@howzit:~$
[Additional Information]
ubuntu@howzit:~$ lsusb -t -v
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
|__ Port 3: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
ID 0781:5583 SanDisk Corp. Ultra Fit
|__ Port 4: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
ID 0781:5583 SanDisk Corp. Ultra Fit
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
ID 046b:ff01 American Megatrends, Inc.
|__ Port 1: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
ID 046b:ff20 American Megatrends, Inc.
|__ Port 2: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
ID 046b:ff31 American Megatrends, Inc.
|__ Port 3: Dev 6, If 0, Class=Communica
ID 046b:ffb0 American Megatrends, Inc.
|__ Port 3: Dev 6, If 1, Class=CDC Data, Driver=cdc_ether, 480M
ID 046b:ffb0 American Megatrends, Inc.
|__ Port 4: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
|__ Port 4: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
|__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
ID 0781:5583 SanDisk Corp. Ultra Fit
Related branches
- Taihsiang Ho: Approve
- Devices Certification Bot: Needs Fixing
- Jeff Lane : Approve
-
Diff: 14 lines (+2/-1)1 file modifiedbin/removable_storage_test.py (+2/-1)
Changed in plainbox-provider-checkbox: | |
milestone: | none → 0.60.0 |
assignee: | nobody → Taihsiang Ho (taihsiangho) |
Changed in plainbox-provider-checkbox: | |
milestone: | 0.60.0 → 0.61.0 |
status: | Confirmed → In Progress |
Changed in plainbox-provider-checkbox: | |
milestone: | 0.61.0 → 0.60.0 |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
tags: | added: cbox-24 |
It seems the fix has been merged. See the commit 182f27d6eb131a4 9df247c1b9d7928 8622f41f9f of plainbox- provider- checkbox project.
Next step:
I will try to run the same usb3 job with checkbox codebase from checkbox dev PPA.