create_connection fails to find the created connection if network-manager doesn't detect it quickly enough
Bug #944662 reported by
Brendan Donegan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Medium
|
Brendan Donegan |
Bug Description
This is a problem I thought we solved before but apparently not, since it's hitting quite a few systems which are running the tests in our labs.
Basically the create_connection script runs 'nmcli con up' to try and bring up the newly created connection. This allows it to be sure that the connection is ready to use. It seems though that network-manager can be a little slow with actually registering the connection so that it appears to nmcli. I think we need to add a time delay between each retry, otherwise the script just jumps through the attempts in rapid succession, and exits without any certainty of a proper connection being active.
Related branches
lp:~javier.collado/ubuntu/precise/checkbox/0.13.4
- Daniel Holbach (community): Approve
-
Diff: 8665 lines (+4575/-636)21 files modifiedcheckbox/lib/process.py (+1/-1)
checkbox/parsers/udevadm.py (+5/-3)
debian/changelog (+62/-27)
debian/checkbox-gtk.install (+0/-1)
debian/control (+1/-1)
debian/po/cs.po (+119/-0)
debian/po/oc.po (+119/-0)
gtk/checkbox-gtk.desktop.in (+0/-11)
jobs/disk.txt.in (+6/-6)
jobs/local.txt.in (+114/-38)
jobs/wireless.txt.in (+6/-6)
plugins/backend_info.py (+2/-2)
po/POTFILES.in (+1/-1)
po/de.po (+158/-106)
po/nl.po (+263/-137)
po/ru.po (+129/-109)
po/sd.po (+2994/-0)
po/uk.po (+375/-121)
scripts/create_connection (+23/-8)
scripts/removable_storage_test (+196/-57)
setup.cfg (+1/-1)
Changed in checkbox: | |
milestone: | none → 0.13.4 |
Changed in checkbox: | |
status: | New → Fix Committed |
assignee: | nobody → Brendan Donegan (brendan-donegan) |
Changed in checkbox: | |
importance: | Undecided → Medium |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.