Usb related of remove test cases sometimes failed.

Bug #1705612 reported by candicehuang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Maciej Kisielewski

Bug Description

Title: Usb related of remove test cases sometimes failed.

Summary: Usb related of remove test cases sometimes failed.

Steps:
1. Install with the stable version as below:
    - checkbox-support 0.35.0
    - plainbox 0.36.0
    - checkbox-ng 0.34.0
    - plainbox-provider-resource 0.33.0
    - plainbox-provider-checkbox 0.37.0
    - plainbox-provider-tpm2 1.5.0
    - plainbox-provider-certification-client 0.31.0

2. Execute Full test tests by checkbox tool.

3. Found it sometimes failed in Usb related of remove test cases.

PS: Some platforms can reproduce easily...

Expected results: Usb related of remove test cases should be passed.

Actual results: Usb related of remove test cases sometimes failed.

Additional information:

Sku: AMN3-DVT1-C1

Bios: 0.2.4

Manifest: dell-bto-xenial-loki-13-armani-13-14-X75-iso-20170713-0

Image: somerville-xenial-amd64-rebase-20170621-3

CPU: Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz (4x)

GPU: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)

Manufacturer: n/a

ProductName: n/a

BiosVersion: n/a

Revision history for this message
candicehuang (candice) wrote :

Automatically attached

Changed in plainbox-provider-checkbox:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
candicehuang (candice) wrote :

attached failed of Usb related of remove test cases picture, for reference.

description: updated
Revision history for this message
candicehuang (candice) wrote :

This bug can be reproduced with plainbox-provider-checkbox v0.39.0rc1; attach session.tar for reference.

Failed test case on: USB 2.0 storage device removel detected.

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Could you check if the device insertion/removal are properly detected using "udisksctl monitor"?

You should see for example:

10:03:01.370: Added /org/freedesktop/UDisks2/block_devices/sdb1

[...]

10:03:17.618: Removed /org/freedesktop/UDisks2/block_devices/sdb1

Revision history for this message
candicehuang (candice) wrote :

Hi

I am not sure, I did not see this "Removed /org/freedesktop/UDisks2/block_devices/sdb1"

Means what???

I saw system has no USB2.0 icon. And this bug has fail rate on some platforms, thanks.

Revision history for this message
candicehuang (candice) wrote :

Hi spineau,

attached logs are:

udisksctl monitor logs_usb2.0 *5 times

udisksctl monitor logs_usb3.0 *5 times

and attached picture is:

checkbox-support-run_watcher removal usb2
checkbox-support-run_watcher insertion usb2
checkbox-support-run_watcher removal usb3
checkbox-support-run_watcher insertion usb3

You can see, udiskstl monitor were passed 10 times (I need you to double check it...);

But checkbox-support-run_watcher removal usb2/usb3 looks like has problems...

Revision history for this message
candicehuang (candice) wrote :

Hi spineau,

attached files are:

"PLAINBOX_SESSION_SHARE=/tmp checkbox-support-run_watcher insertion usb2"

"PLAINBOX_SESSION_SHARE=/tmp checkbox-support-run_watcher removal usb2"

"PLAINBOX_SESSION_SHARE=/tmp checkbox-support-run_watcher insertion usb3"

"PLAINBOX_SESSION_SHARE=/tmp checkbox-support-run_watcher removal usb3"

Changed in plainbox-provider-checkbox:
assignee: nobody → Maciej Kisielewski (kissiel)
status: Confirmed → In Progress
Revision history for this message
Maciej Kisielewski (kissiel) wrote :
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
milestone: none → 0.42.0
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.