Activity log for bug #877752

Date Who What changed Old value New value Message
2011-10-18 21:30:51 Daniel Wiberg bug added bug
2011-10-18 21:37:36 Daniel Manrique checkbox (Ubuntu): importance Undecided High
2011-10-18 21:37:44 Daniel Manrique bug added subscriber Daniel Manrique
2011-10-19 19:08:12 Daniel Wiberg attachment added Patch to only look for wireless connection. https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/877752/+attachment/2561421/+files/connect_wireless.diff
2011-10-19 20:16:23 Ubuntu Foundations Team Bug Bot tags apport-bug i386 oneiric running-unity apport-bug i386 oneiric patch running-unity
2011-10-19 20:16:24 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2011-10-19 21:46:48 Brendan Donegan checkbox (Ubuntu): status New Confirmed
2011-10-19 21:47:00 Brendan Donegan checkbox (Ubuntu): assignee Brendan Donegan (brendan-donegan)
2011-10-19 21:47:10 Brendan Donegan checkbox (Ubuntu): milestone oneiric-updates
2011-10-20 08:32:28 Brendan Donegan summary wireless_before_suspend failed connect_wireless can unintentionally choose a non-wireless connection to connect to
2011-10-20 10:20:31 Launchpad Janitor branch linked lp:~brendan-donegan/checkbox/bug877752_connect_wireless_vpn
2011-11-09 13:56:54 Brendan Donegan bug task added checkbox
2011-11-09 13:57:01 Brendan Donegan checkbox (Ubuntu): status Confirmed In Progress
2011-11-09 13:57:05 Brendan Donegan checkbox: status New In Progress
2011-11-09 13:57:08 Brendan Donegan checkbox: assignee Brendan Donegan (brendan-donegan)
2011-11-09 13:57:10 Brendan Donegan checkbox (Ubuntu): assignee Brendan Donegan (brendan-donegan)
2011-11-09 13:57:16 Brendan Donegan checkbox: importance Undecided Medium
2011-11-09 13:57:19 Brendan Donegan checkbox: milestone 0.12.9
2011-11-09 13:57:31 Brendan Donegan checkbox (Ubuntu): importance High Medium
2011-11-10 11:57:12 Brendan Donegan checkbox: status In Progress Fix Committed
2011-11-15 09:55:19 Brendan Donegan checkbox (Ubuntu): status In Progress Fix Committed
2011-11-18 17:52:25 Launchpad Janitor branch linked lp:~roadmr/ubuntu/oneiric/checkbox/0.13
2011-11-24 11:25:12 Launchpad Janitor checkbox (Ubuntu): status Fix Committed Fix Released
2011-11-24 12:15:56 Launchpad Janitor branch linked lp:ubuntu/checkbox
2011-11-28 16:38:36 Daniel Manrique checkbox: status Fix Committed Fix Released
2011-12-02 22:04:30 Launchpad Janitor branch linked lp:~roadmr/ubuntu/oneiric/checkbox/0.12.9
2011-12-05 20:51:06 Daniel Manrique description Output from requested commands: [danne@danne-fnuttbook] ~/Downloads> nmcli con status NAME UUID DEVICES DEFAULT VPN Auto wiberg.nu 00d990e8-dac8-4e7d-b74a-aae85dfea53a wlan0 yes no [danne@danne-fnuttbook] ~/Downloads> nmcli dev list GENERAL.DEVICE: wlan0 GENERAL.TYPE: 802-11-wireless GENERAL.DRIVER: brcmsmac GENERAL.HWADDR: 48:5D:60:D1:94:CA GENERAL.STATE: connected CAPABILITIES.CARRIER-DETECT: no CAPABILITIES.SPEED: 72 Mb/s WIFI-PROPERTIES.WEP: yes WIFI-PROPERTIES.WPA: yes WIFI-PROPERTIES.WPA2: yes WIFI-PROPERTIES.TKIP: yes WIFI-PROPERTIES.CCMP: yes AP1.SSID: 'TN_private_A394FY' AP1.BSSID: 90:84:0D:F0:1D:81 AP1.MODE: Infrastructure AP1.FREQ: 2442 MHz AP1.RATE: 54 MB/s AP1.SIGNAL: 32 AP1.SECURITY: WPA AP1.ACTIVE: no AP2.SSID: 'TROSKVERK12' AP2.BSSID: 00:14:6C:78:8E:32 AP2.MODE: Infrastructure AP2.FREQ: 2462 MHz AP2.RATE: 54 MB/s AP2.SIGNAL: 35 AP2.SECURITY: WEP AP2.ACTIVE: no AP3.SSID: 'mickeHemma' AP3.BSSID: 00:1F:33:42:91:FB AP3.MODE: Infrastructure AP3.FREQ: 2417 MHz AP3.RATE: 54 MB/s AP3.SIGNAL: 45 AP3.SECURITY: WPA WPA2 AP3.ACTIVE: no AP4.SSID: 'wiberg.nu' AP4.BSSID: 68:EF:BD:FC:D3:21 AP4.MODE: Infrastructure AP4.FREQ: 2447 MHz AP4.RATE: 54 MB/s AP4.SIGNAL: 85 AP4.SECURITY: WPA2 AP4.ACTIVE: yes IP4-SETTINGS.ADDRESS: 192.168.242.23 IP4-SETTINGS.PREFIX: 24 (255.255.255.0) IP4-SETTINGS.GATEWAY: 192.168.242.1 IP4-DNS1.DNS: 192.168.243.12 IP4-DNS2.DNS: 8.8.8.8 GENERAL.DEVICE: eth0 GENERAL.TYPE: 802-3-ethernet GENERAL.DRIVER: atl1c GENERAL.HWADDR: BC:AE:C5:A4:59:09 GENERAL.STATE: unavailable CAPABILITIES.CARRIER-DETECT: yes CAPABILITIES.SPEED: unknown WIRED-PROPERTIES.CARRIER: off ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: checkbox 0.12.8 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Uname: Linux 3.0.0-12-generic i686 ApportVersion: 1.23-0ubuntu3 Architecture: i386 CheckboxSubmission: 996d1de4f6d61b166432b4fc30b66f28 CheckboxSystem: 9c26adf6eed2f681ba41f94dd24c07e4 Date: Tue Oct 18 23:24:44 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) SourcePackage: checkbox UpgradeStatus: No upgrade log present (probably fresh install) Output from requested commands: [danne@danne-fnuttbook] ~/Downloads> nmcli con status NAME UUID DEVICES DEFAULT VPN Auto wiberg.nu 00d990e8-dac8-4e7d-b74a-aae85dfea53a wlan0 yes no [danne@danne-fnuttbook] ~/Downloads> nmcli dev list GENERAL.DEVICE: wlan0 GENERAL.TYPE: 802-11-wireless GENERAL.DRIVER: brcmsmac GENERAL.HWADDR: 48:5D:60:D1:94:CA GENERAL.STATE: connected CAPABILITIES.CARRIER-DETECT: no CAPABILITIES.SPEED: 72 Mb/s WIFI-PROPERTIES.WEP: yes WIFI-PROPERTIES.WPA: yes WIFI-PROPERTIES.WPA2: yes WIFI-PROPERTIES.TKIP: yes WIFI-PROPERTIES.CCMP: yes AP1.SSID: 'TN_private_A394FY' AP1.BSSID: 90:84:0D:F0:1D:81 AP1.MODE: Infrastructure AP1.FREQ: 2442 MHz AP1.RATE: 54 MB/s AP1.SIGNAL: 32 AP1.SECURITY: WPA AP1.ACTIVE: no AP2.SSID: 'TROSKVERK12' AP2.BSSID: 00:14:6C:78:8E:32 AP2.MODE: Infrastructure AP2.FREQ: 2462 MHz AP2.RATE: 54 MB/s AP2.SIGNAL: 35 AP2.SECURITY: WEP AP2.ACTIVE: no AP3.SSID: 'mickeHemma' AP3.BSSID: 00:1F:33:42:91:FB AP3.MODE: Infrastructure AP3.FREQ: 2417 MHz AP3.RATE: 54 MB/s AP3.SIGNAL: 45 AP3.SECURITY: WPA WPA2 AP3.ACTIVE: no AP4.SSID: 'wiberg.nu' AP4.BSSID: 68:EF:BD:FC:D3:21 AP4.MODE: Infrastructure AP4.FREQ: 2447 MHz AP4.RATE: 54 MB/s AP4.SIGNAL: 85 AP4.SECURITY: WPA2 AP4.ACTIVE: yes IP4-SETTINGS.ADDRESS: 192.168.242.23 IP4-SETTINGS.PREFIX: 24 (255.255.255.0) IP4-SETTINGS.GATEWAY: 192.168.242.1 IP4-DNS1.DNS: 192.168.243.12 IP4-DNS2.DNS: 8.8.8.8 GENERAL.DEVICE: eth0 GENERAL.TYPE: 802-3-ethernet GENERAL.DRIVER: atl1c GENERAL.HWADDR: BC:AE:C5:A4:59:09 GENERAL.STATE: unavailable CAPABILITIES.CARRIER-DETECT: yes CAPABILITIES.SPEED: unknown WIRED-PROPERTIES.CARRIER: off ProblemType: BugDistroRelease: Ubuntu 11.10 Package: checkbox 0.12.8 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Uname: Linux 3.0.0-12-generic i686 ApportVersion: 1.23-0ubuntu3 Architecture: i386 CheckboxSubmission: 996d1de4f6d61b166432b4fc30b66f28 CheckboxSystem: 9c26adf6eed2f681ba41f94dd24c07e4 Date: Tue Oct 18 23:24:44 2011InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)SourcePackage: checkbox UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Under certain cases (such as the reported one, where a VPN and the wireless connection had the same name) the connect_wireless script can become confused and attempt to bring up the non-wireless connection. This obviously makes the wireless tests fail even though the wireless connection may be working fine. Wireless is considered important for portable systems, so this will also wrongly and negatively affect the Ubuntu Friendly ratings of systems. [Development fix] Checkbox revision 1113 fixes this by including the connection types when calling "nm con list" and then grepping to select only the ones with type "wireless". [Stable fix] This is fixed in http://bazaar.launchpad.net/~checkbox-dev/checkbox/trunk/revision/1113. Also, the linked branch (https://code.launchpad.net/~roadmr/ubuntu/oneiric/checkbox/0.12.9) contains this and other fixes and merges cleanly against Ubuntu checkbox 0.12.8. [Test case] - Configure a wireless and wired connections so that the name as returned in "nmcli -t -f NAME,TYPE con list" is the same for both. - Ensure that the system is connected through wireless and the wired connection is not active (disconnect the cable). - run /usr/share/checkbox/connect_wireless Expected result: - All connections are brought down, and the wireless connection is re-brought up. End result: only wireless is connected. Actual result: - All connections are brought down, and nothing is brought back up (though an attempt will be made to wrongly activate the ethernet connection). [Regression potential] An attempt to bring up an ethernet connection would fail anyway, so even if we find no wireless connections when we previously found at least one (potentially not wireless) connection (which would result in a failed test either way) this doesn't regress from a previous, known-good behavior. About the only possible regression case is if the output of nmcli con list ever returns wireless connections with a type other than "wireless", as they will then not be picked up by the grep section of the script, where previously they were picked up.
2011-12-05 22:11:07 Daniel Manrique description Output from requested commands: [danne@danne-fnuttbook] ~/Downloads> nmcli con status NAME UUID DEVICES DEFAULT VPN Auto wiberg.nu 00d990e8-dac8-4e7d-b74a-aae85dfea53a wlan0 yes no [danne@danne-fnuttbook] ~/Downloads> nmcli dev list GENERAL.DEVICE: wlan0 GENERAL.TYPE: 802-11-wireless GENERAL.DRIVER: brcmsmac GENERAL.HWADDR: 48:5D:60:D1:94:CA GENERAL.STATE: connected CAPABILITIES.CARRIER-DETECT: no CAPABILITIES.SPEED: 72 Mb/s WIFI-PROPERTIES.WEP: yes WIFI-PROPERTIES.WPA: yes WIFI-PROPERTIES.WPA2: yes WIFI-PROPERTIES.TKIP: yes WIFI-PROPERTIES.CCMP: yes AP1.SSID: 'TN_private_A394FY' AP1.BSSID: 90:84:0D:F0:1D:81 AP1.MODE: Infrastructure AP1.FREQ: 2442 MHz AP1.RATE: 54 MB/s AP1.SIGNAL: 32 AP1.SECURITY: WPA AP1.ACTIVE: no AP2.SSID: 'TROSKVERK12' AP2.BSSID: 00:14:6C:78:8E:32 AP2.MODE: Infrastructure AP2.FREQ: 2462 MHz AP2.RATE: 54 MB/s AP2.SIGNAL: 35 AP2.SECURITY: WEP AP2.ACTIVE: no AP3.SSID: 'mickeHemma' AP3.BSSID: 00:1F:33:42:91:FB AP3.MODE: Infrastructure AP3.FREQ: 2417 MHz AP3.RATE: 54 MB/s AP3.SIGNAL: 45 AP3.SECURITY: WPA WPA2 AP3.ACTIVE: no AP4.SSID: 'wiberg.nu' AP4.BSSID: 68:EF:BD:FC:D3:21 AP4.MODE: Infrastructure AP4.FREQ: 2447 MHz AP4.RATE: 54 MB/s AP4.SIGNAL: 85 AP4.SECURITY: WPA2 AP4.ACTIVE: yes IP4-SETTINGS.ADDRESS: 192.168.242.23 IP4-SETTINGS.PREFIX: 24 (255.255.255.0) IP4-SETTINGS.GATEWAY: 192.168.242.1 IP4-DNS1.DNS: 192.168.243.12 IP4-DNS2.DNS: 8.8.8.8 GENERAL.DEVICE: eth0 GENERAL.TYPE: 802-3-ethernet GENERAL.DRIVER: atl1c GENERAL.HWADDR: BC:AE:C5:A4:59:09 GENERAL.STATE: unavailable CAPABILITIES.CARRIER-DETECT: yes CAPABILITIES.SPEED: unknown WIRED-PROPERTIES.CARRIER: off ProblemType: BugDistroRelease: Ubuntu 11.10 Package: checkbox 0.12.8 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Uname: Linux 3.0.0-12-generic i686 ApportVersion: 1.23-0ubuntu3 Architecture: i386 CheckboxSubmission: 996d1de4f6d61b166432b4fc30b66f28 CheckboxSystem: 9c26adf6eed2f681ba41f94dd24c07e4 Date: Tue Oct 18 23:24:44 2011InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)SourcePackage: checkbox UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Under certain cases (such as the reported one, where a VPN and the wireless connection had the same name) the connect_wireless script can become confused and attempt to bring up the non-wireless connection. This obviously makes the wireless tests fail even though the wireless connection may be working fine. Wireless is considered important for portable systems, so this will also wrongly and negatively affect the Ubuntu Friendly ratings of systems. [Development fix] Checkbox revision 1113 fixes this by including the connection types when calling "nm con list" and then grepping to select only the ones with type "wireless". [Stable fix] This is fixed in http://bazaar.launchpad.net/~checkbox-dev/checkbox/trunk/revision/1113. Also, the linked branch (https://code.launchpad.net/~roadmr/ubuntu/oneiric/checkbox/0.12.9) contains this and other fixes and merges cleanly against Ubuntu checkbox 0.12.8. [Test case] - Configure a wireless and wired connections so that the name as returned in "nmcli -t -f NAME,TYPE con list" is the same for both. - Ensure that the system is connected through wireless and the wired connection is not active (disconnect the cable). - run /usr/share/checkbox/connect_wireless Expected result: - All connections are brought down, and the wireless connection is re-brought up. End result: only wireless is connected. Actual result: - All connections are brought down, and nothing is brought back up (though an attempt will be made to wrongly activate the ethernet connection). [Regression potential] An attempt to bring up an ethernet connection would fail anyway, so even if we find no wireless connections when we previously found at least one (potentially not wireless) connection (which would result in a failed test either way) this doesn't regress from a previous, known-good behavior. About the only possible regression case is if the output of nmcli con list ever returns wireless connections with a type other than "wireless", as they will then not be picked up by the grep section of the script, where previously they were picked up. Output from requested commands: [danne@danne-fnuttbook] ~/Downloads> nmcli con status NAME UUID DEVICES DEFAULT VPN Auto wiberg.nu 00d990e8-dac8-4e7d-b74a-aae85dfea53a wlan0 yes no [danne@danne-fnuttbook] ~/Downloads> nmcli dev list GENERAL.DEVICE: wlan0 GENERAL.TYPE: 802-11-wireless GENERAL.DRIVER: brcmsmac GENERAL.HWADDR: 48:5D:60:D1:94:CA GENERAL.STATE: connected CAPABILITIES.CARRIER-DETECT: no CAPABILITIES.SPEED: 72 Mb/s WIFI-PROPERTIES.WEP: yes WIFI-PROPERTIES.WPA: yes WIFI-PROPERTIES.WPA2: yes WIFI-PROPERTIES.TKIP: yes WIFI-PROPERTIES.CCMP: yes AP1.SSID: 'TN_private_A394FY' AP1.BSSID: 90:84:0D:F0:1D:81 AP1.MODE: Infrastructure AP1.FREQ: 2442 MHz AP1.RATE: 54 MB/s AP1.SIGNAL: 32 AP1.SECURITY: WPA AP1.ACTIVE: no AP2.SSID: 'TROSKVERK12' AP2.BSSID: 00:14:6C:78:8E:32 AP2.MODE: Infrastructure AP2.FREQ: 2462 MHz AP2.RATE: 54 MB/s AP2.SIGNAL: 35 AP2.SECURITY: WEP AP2.ACTIVE: no AP3.SSID: 'mickeHemma' AP3.BSSID: 00:1F:33:42:91:FB AP3.MODE: Infrastructure AP3.FREQ: 2417 MHz AP3.RATE: 54 MB/s AP3.SIGNAL: 45 AP3.SECURITY: WPA WPA2 AP3.ACTIVE: no AP4.SSID: 'wiberg.nu' AP4.BSSID: 68:EF:BD:FC:D3:21 AP4.MODE: Infrastructure AP4.FREQ: 2447 MHz AP4.RATE: 54 MB/s AP4.SIGNAL: 85 AP4.SECURITY: WPA2 AP4.ACTIVE: yes IP4-SETTINGS.ADDRESS: 192.168.242.23 IP4-SETTINGS.PREFIX: 24 (255.255.255.0) IP4-SETTINGS.GATEWAY: 192.168.242.1 IP4-DNS1.DNS: 192.168.243.12 IP4-DNS2.DNS: 8.8.8.8 GENERAL.DEVICE: eth0 GENERAL.TYPE: 802-3-ethernet GENERAL.DRIVER: atl1c GENERAL.HWADDR: BC:AE:C5:A4:59:09 GENERAL.STATE: unavailable CAPABILITIES.CARRIER-DETECT: yes CAPABILITIES.SPEED: unknown WIRED-PROPERTIES.CARRIER: off ProblemType: BugDistroRelease: Ubuntu 11.10 Package: checkbox 0.12.8 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Uname: Linux 3.0.0-12-generic i686 ApportVersion: 1.23-0ubuntu3 Architecture: i386 CheckboxSubmission: 996d1de4f6d61b166432b4fc30b66f28 CheckboxSystem: 9c26adf6eed2f681ba41f94dd24c07e4 Date: Tue Oct 18 23:24:44 2011InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)SourcePackage: checkbox UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Under certain cases (such as the reported one, where a VPN and the wireless connection had the same name) the connect_wireless script can become confused and attempt to bring up the non-wireless connection. This obviously makes the wireless tests fail even though the wireless connection may be working fine. Wireless is considered important for portable systems, so this will also wrongly and negatively affect the Ubuntu Friendly ratings of systems. [Development fix] Checkbox revision 1113 fixes this by including the connection types when calling "nm con list" and then grepping to select only the ones with type "wireless". [Stable fix] This is fixed in http://bazaar.launchpad.net/~checkbox-dev/checkbox/trunk/revision/1113. Also, the linked branch (https://code.launchpad.net/~roadmr/ubuntu/oneiric/checkbox/0.12.8.1) contains this and other fixes and merges cleanly against Ubuntu checkbox 0.12.8. [Test case] - Configure a wireless and wired connections so that the name as returned in "nmcli -t -f NAME,TYPE con list" is the same for both. - Ensure that the system is connected through wireless and the wired connection is not active (disconnect the cable). - run /usr/share/checkbox/connect_wireless Expected result: - All connections are brought down, and the wireless connection is re-brought up. End result: only wireless is connected. Actual result: - All connections are brought down, and nothing is brought back up (though an attempt will be made to wrongly activate the ethernet connection). [Regression potential] An attempt to bring up an ethernet connection would fail anyway, so even if we find no wireless connections when we previously found at least one (potentially not wireless) connection (which would result in a failed test either way) this doesn't regress from a previous, known-good behavior. About the only possible regression case is if the output of nmcli con list ever returns wireless connections with a type other than "wireless", as they will then not be picked up by the grep section of the script, where previously they were picked up.
2011-12-05 22:22:06 Daniel Manrique nominated for series Ubuntu Oneiric
2011-12-09 13:52:07 Martin Pitt bug task added checkbox (Ubuntu Oneiric)
2011-12-13 03:32:27 Chris Halse Rogers checkbox (Ubuntu Oneiric): status New Fix Committed
2011-12-13 03:32:30 Chris Halse Rogers bug added subscriber Ubuntu Stable Release Updates Team
2011-12-13 03:32:35 Chris Halse Rogers bug added subscriber SRU Verification
2011-12-13 03:32:41 Chris Halse Rogers tags apport-bug i386 oneiric patch running-unity apport-bug i386 oneiric patch running-unity verification-needed
2011-12-13 04:14:25 Launchpad Janitor branch linked lp:ubuntu/oneiric-proposed/checkbox
2011-12-20 17:41:42 Daniel Manrique tags apport-bug i386 oneiric patch running-unity verification-needed apport-bug i386 oneiric patch running-unity verification-failed
2012-02-01 20:39:20 Launchpad Janitor branch linked lp:~roadmr/ubuntu/precise/checkbox/0.13.1
2012-02-01 21:20:32 Daniel Manrique branch unlinked lp:~roadmr/ubuntu/precise/checkbox/0.13.1
2012-03-08 13:37:51 Martin Pitt checkbox (Ubuntu Oneiric): status Fix Committed Triaged
2012-03-08 13:38:02 Martin Pitt tags apport-bug i386 oneiric patch running-unity verification-failed apport-bug i386 oneiric patch running-unity
2014-12-03 09:37:36 Rolf Leggewie checkbox (Ubuntu Oneiric): status Triaged Won't Fix