network_device_info script should be able to show all the network devices from udev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Critical
|
Sylvain Pineau |
Bug Description
The network_device_info script should be able to detect all of the networking devices from udev output, and tester will be able to know there is a difference between the udev output and the network manager. However, this did not happen on ROUM3-DVT2-C2 as reported in comment 6 of bug 1517312
udev result for ROUM3-DVT2-C2:
path: /devices/
bus: pci
category: NETWORK
product_id: 33128
vendor_id: 4332
subproduct_id: 1804
subvendor_id: 4136
product: RTL8111/8168 PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
u@ROUM3-DVT2-C2:~$ cd /usr/lib/
-------
Category: WIRELESS
Interface: wlan0
Vendor: Intel Corporation
Driver: iwlwifi (ver: 3.19.0-30-generic)
Path: /devices/
-------
Category: WiFi
Interface: wlan0
IP: 10.101.46.68
Driver: iwlwifi (ver: 3.19.0-30-generic)
State: Activated
Related branches
- Po-Hsu Lin: Approve
- Paul Larson: Approve
-
Diff: 18 lines (+5/-3)1 file modifiedcheckbox-support/checkbox_support/parsers/udevadm.py (+5/-3)
Changed in plainbox-provider-checkbox: | |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
status: | Confirmed → In Progress |
importance: | Undecided → Critical |
milestone: | none → 0.24 |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
This issue cannot be reproduced on 201508-19020 (ROUM3-DVT2-C1), It looks like the difference lies within the udev output:
------- ------- ------- ------[ Devices found by udev ]------ ------- ------- ------- - pci0000: 00/0000: 00:1c.2/ 0000:03: 00.0
Category: NETWORK
Interface: UNKNOWN
Product: RTL8111/8168 PCI Express Gigabit Ethernet controller
Vendor: Realtek Semiconductor Co., Ltd.
Path: /devices/
Category: WIRELESS pci0000: 00/0000: 00:1c.3/ 0000:04: 00.0
Interface: wlan0
Vendor: Intel Corporation
Driver: iwlwifi (ver: 3.19.0-23-generic)
Path: /devices/
------- ------- ------- -[ Devices found by Network Manager ]------ ------- ------- --
Category: WiFi
Interface: wlan0
IP: 192.168.158.100
Driver: iwlwifi (ver: 3.19.0-23-generic)
State: Activated
ERROR: devices missing - udev showed 1 NETWORK devices, but NetworkManager saw 0 devices in ('Ethernet', 'Modem')
udev output from ROUM3-DVT2-C1: pci0000: 00/0000: 00:1c.2/ 0000:03: 00.0
path: /devices/
bus: pci
category: NETWORK
product_id: 33128
vendor_id: 4332
subproduct_id: 1804
subvendor_id: 4136
product: RTL8111/8168 PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
interface: UNKNOWN