The wireless_connection_wpa_n job of checkbox sru process seems to run forever on 16.04 sometimes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Dell Latitude 3330 (CID 201302-12843)
16.04 (kernel 4.4.0-21-generic)
Steps to Reproduce:
1. Install 16.04 on Dell Latitude 3330 (CID 201302-12843) and the associated packages[1] to run certification SRU test.
2. issue "checkbox sru" to run the test.
Expected Result:
The test completes in one hour.
Actual Result:
The test seems to run forever. I watched the process status and got:
root 12761 0.0 0.0 21296 2692 ? S 04:47 0:00 bash -c trap "nmcli con delete id $WPA_N_SSID" EXIT if create_connection wifi $WPA_N_SSID --security=wpa --key=$WPA_N_PSK; then connect
root 12762 0.0 0.3 61644 14672 ? S 04:47 0:00 python3 /tmp/nest-
root 12784 0.0 0.2 406980 9428 ? Sl 04:47 0:00 nmcli con up id ubuntu-cert-n-wpa
Process tree view:
ubuntu 1510 0.0 0.0 700692 3060 ? Ssl 04:09 0:00 \_ /usr/lib/
ubuntu 1702 0.0 0.0 4508 0 ? S 04:09 0:00 | \_ sh -c if [ -e /usr/share/
ubuntu 2004 1.6 0.5 344380 23340 ? Sl 04:11 1:07 | | \_ /usr/bin/python3 /usr/bin/checkbox sru --check-config
root 12736 0.0 0.9 87268 38104 ? S 04:47 0:01 | | \_ /usr/bin/python3 /usr/bin/
root 12761 0.0 0.0 21296 2692 ? S 04:47 0:00 | | \_ bash -c trap "nmcli con delete id $WPA_N_SSID" EXIT if create_connection wifi $WPA_N_SSID --security=wpa --key=
root 12762 0.0 0.3 61644 14672 ? S 04:47 0:00 | | \_ python3 /tmp/nest-
root 12784 0.0 0.2 406980 9428 ? Sl 04:47 0:00 | | \_ nmcli con up id ubuntu-cert-n-wpa
Reproducing Rate:
4 out of 5
This happens on some machines as well, but has lower reproducing rate.
-------
[1]
ubuntu@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
un checkbox <none> <none> (no description available)
ii checkbox-
ii checkbox-ci-mailer 0.3+git20170522
ii checkbox-converged 1.7.0+git201705
ii checkbox-ng 0.33.0+
ii plainbox 0.35.0+
ii plainbox-
ii plainbox-
ii plainbox-
ii plainbox-
ii plainbox-
ii plainbox-
un plainbox-
ii python3-checkbox-ng 0.33.0+
ii python3-
ii python3-plainbox 0.35.0+
Changed in plainbox-provider-checkbox: | |
status: | New → Invalid |
wireless_ connection_ wpa_n test job is here:
plainbox- provider- checkbox: :jobs/wireless. txt.in
plugin: shell canonical. plainbox: :wireless wireless_ connection_ wpa_n ROUTERS == 'multiple'
connect_ wireless # lp:1471663
INTERFACE= `nmcli dev status | awk '/802-11- wireless| wifi/ {print $1}'`
gateway_ ping_test --interface= $INTERFACE
WIRED= $(nmcli -f UUID,TYPE c | grep -oP ".*(?=\ s+.*ethernet) ")
category_id: 2013.com.
id: wireless/
requires:
device.category == 'WIRELESS'
environment.
user: root
environ: WPA_N_SSID WPA_N_PSK
command:
trap "nmcli con delete id $WPA_N_SSID" EXIT
if create_connection wifi $WPA_N_SSID --security=wpa --key=$WPA_N_PSK; then
iw dev $INTERFACE link
STATUS=$?
# We reconnect the Ethernet connection if any (lp:1471663)
if [[ ! -z $WIRED ]]; then
nmcli c up uuid $WIRED
fi
exit $STATUS
else
exit 1
fi