[wily-proposed] --config option not respected any more (causes test failures)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
Pretty much all NM integration tests fail on the wily-proposed version (1.0.4), as NM tears down the (fake) "remote" side of the hwsim wifi and veth interfaces. Turns out this is due to not respecting the local --config option any more, which blacklists these devices to avoid NM tearing them down at startup:
$ NetworkManager --log-level=debug --debug --config=
NetworkManager-
NetworkManager[
[...]
In the Ubuntu packaging bzr I reverted most of the disabling of tests, and also tuned the timeouts back down to reasonable values. On top of that, if you change
--- debian/tests/nm 2015-09-04 09:06:44 +0000
+++ debian/tests/nm 2015-09-04 09:07:05 +0000
@@ -75,7 +75,8 @@
- conf = os.path.
+ #conf = os.path.
+ conf = '/etc/NetworkMa
extra_main = ''
if not auto_connect:
to work around this bug, all the tests succeed again, at least on amd64. On i386 they still fail because NM crashes right away (bug 1492126).
Related branches
Changed in network-manager (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in network-manager (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
This bug was fixed in the package network-manager - 1.0.4-0ubuntu3
---------------
network-manager (1.0.4-0ubuntu3) wily; urgency=medium
* New upstream NM release post-feature- freeze. (LP: #1493934)
(previous revisions never transitioned from proposed)
[ Martin Pitt ] test_no_ ap: with 1.0 the state is now
* debian/tests/nm: Revert the previous disabling of tests, they are all
conceptually still valid.
* debian/tests/nm: Reduce timeouts to something reasonable; waiting 3
minutes for detecing an AP should not count as "success", and it takes too
long for tests to fail.
* debian/tests/nm: Fix ColdplugWifi.
"UNAVAILABLE" instead of "DISCONNECTED"; so check for either.
[ Mathieu Trudel-Lapierre ] patches/ git_config_ parse_cmdline_ args_8a22a981. patch: don't shadow wwan-add- support- for-using- oFono-as- a-modem- manager. patch: fix ModemRemoved. Inspired patches/ git_fix_ duplicate_ unittest_ names_7b70a840. patch: replace
* debian/
the config_cli parameter for early config with a local copy. (LP: #1492168)
* d/p/0001-
signal handling for oFono using GDBus; it's a little simpler now, watching
for signals in general and matching only ModemAdded/
from urfkill code. (LP: #1492126)
* debian/
duplicate unit test names, which is a new restriction set by GLib.
-- Mathieu Trudel-Lapierre <email address hidden> Thu, 10 Sep 2015 14:53:16 -0400