Systems with 3G devices may cause false failure in networking/detect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
High
|
Sylvain Pineau |
Bug Description
If a 3G modem appears as a USB device, the networking detect script may falsely fail because network manager may not know about it... See this output:
-------
Category: WIRELESS
Interface: wlan0
Product: Centrino Wireless-N 2230
Vendor: Intel Corporation
Driver: iwlwifi (ver: 3.5.0-34-generic)
Path: /devices/
Category: NETWORK
Interface: eth0
Product: AR8161 Gigabit Ethernet
Vendor: Atheros Communications Inc.
Driver: alx (ver: 1.2.3)
Path: /devices/
Category: NETWORK
Interface: usb0
Vendor: Dell Computer Corp.
Driver: cdc_ncm (ver: 3.5.0-34-generic)
Path: /devices/
-------
Category: WiFi
Interface: wlan0
IP: 10.101.46.252
Driver: iwlwifi (ver: 3.5.0-34-generic)
State: Disconnected
Category: Ethernet
Interface: eth0
IP: 0.0.0.0
Driver: alx (ver: 1.2.3)
State: Unavailable
ERROR: Ethernet devices missing: udev showed 2 devices, but NetworkManager saw 1 devices
It appears that udev's "NETWORK" category is the same as the "Ethernet" category for NM, however, NM is not showing the 3G modem. This causes a count mismatch and forces the test to fail.
This will cause several other networking related tests to be skipped, because they depend on this test to pass:
REQUIRED: networking/internet
REQUIRED: suspend/
REQUIRED: suspend/
software/
Related branches
- Sylvain Pineau: Approve
- Po-Hsu Lin: Needs Resubmitting
- Zygmunt Krynicki (community): Approve
-
Diff: 62 lines (+13/-8)2 files modifiedcheckbox-old/debian/changelog (+5/-0)
checkbox-old/scripts/network_device_info (+8/-8)
Changed in checkbox: | |
status: | Triaged → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
As some wwan devices appear as USB devices, the udev parser can't set a different category, e.g MODEM. So they'll stay identified as just NETWORK devices.
NM reports Modem devices but the network_device_info script omitted such devices so far.
The fix will be to properly map NM modem devices to the udev NETWORK category