[Pkg-utopia-maintainers] Bug#835631: ERROR: test-link-linux

jean-christophe manciot actionmystique at gmail.com
Sat Aug 27 18:37:01 UTC 2016


Package: network-manager
Version: 1.4.0-2

On Ubuntu 16.04 4.4.0-34
x86_64 system
dpkg -s libc6 | grep ^Version
  Version: 2.23-0ubuntu3
Libvirt 2.1.0
OvS 2.5.0

Building from sources @ git://anonscm.debian.org/pkg
-utopia/network-manager.git

        echo --------
        echo Cleaning
        echo --------
        cd git-network-manager
        git checkout master
        git reset --hard
        git clean -fxd :/
        git pull -v --progress --rebase
        git checkout debian/${release_number}

        echo ---------------------------
        echo Checking Build Dependencies
        echo ---------------------------
        dpkg-checkbuilddeps

        echo --------
        echo Building
        echo --------
        dpkg-buildpackage -b -m"Jean-Christophe Manciot <
manciot.jeanchristophe at gmail.com>"
...
=============================================================
   NetworkManager 1.4.0: src/platform/tests/test-suite.log
=============================================================

# TOTAL: 38
# PASS:  36
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 2

.. contents:: :depth: 2

ERROR: test-link-linux
======================

# random seed: R02Se804f8728416a0e9b562138de45a0724
1..46
# Start of link tests
ok 1 /link/bogus
PASS: test-link-linux 1 /link/bogus
ok 2 /link/loopback
PASS: test-link-linux 2 /link/loopback

nmtst: initialize nmtst_get_rand() with NMTST_SEED_RAND=3948062492
ok 3 /link/internal
PASS: test-link-linux 3 /link/internal
ok 4 /link/external
PASS: test-link-linux 4 /link/external
**
NetworkManager:ERROR:*test-link.c:403:test_software: assertion failed*
(value == "789"): *("788" == "789")*
# Start of software tests
Aborted (core dumped)
# NetworkManager:ERROR:test-link.c:403:test_software: assertion failed
(value == "789"): ("788" == "789")
ERROR: test-link-linux - too few tests run (expected 46, got 4)
ERROR: test-link-linux - exited with status 134 (terminated by signal 6?)

Around src/platform/tests/*test-link.c:403*
/* Set master option */
switch (link_type) {
case NM_LINK_TYPE_BRIDGE:
if (nmtstp_is_sysfs_writable ()) {
g_assert (nm_platform_sysctl_master_set_option (NM_PLATFORM_GET, ifindex,
"forward_delay", "789"));
value = nm_platform_sysctl_master_get_option (NM_PLATFORM_GET, ifindex,
"forward_delay");
g_assert_cmpstr (value, ==, "789");
g_free (value);
}
break;

As a matter of fact, multiple virsh virtual networks, Linux bridges & 1 OvS
are defined on my system:
#virsh net-list --all
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 default              active     yes           yes
 loopback             active     yes           yes
 ovs-net              active     yes           yes
 virl-data-flat       active     yes           yes
 virl-data-flat1      active     yes           yes
 virl-data-snat       active     yes           yes
 virl-openstack       active     yes           yes
 virtual-bridge-3     active     yes           yes
 virtual-bridge-4     active     yes           yes
 virtual-mgt-5        active     yes           yes
 virtual-router       active     yes           yes

# brctl show
bridge name bridge id STP enabled interfaces
docker0 8000.02429fafb802 no
virbr0 8000.52540001fb60 no virbr0-nic
virbr1 8000.000000000000 no
virbr12 8000.000000000000 no
virbr13 8000.5254001b43cc no virbr13-nic
virbr14 8000.525400cb1e3a no virbr14-nic
virbr15 8000.525400d30f13 no virbr15-nic
virbr2 8000.000000000000 no
virbr3 8000.000000000000 no
virbr4 8000.000000000000 no
virbr5 8000.000000000000 no

# ovs-vsctl show
630d1d19-ce8b-4f5b-83d2-a1ea886c9c8e
    Bridge "ovsbr0"
        Port "ovsbr0"
            Interface "ovsbr0"
                type: internal
    ovs_version: "2.5.0"

*However, if I completely uninstall libvirt, openvswitch & docker (removing
the bridges may have been enough), reboot and rebuild network-manager, the
exact same error appears during the build process*.
-- 
Jean-Christophe Manciot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20160827/a8b4440d/attachment-0001.html>


More information about the Pkg-utopia-maintainers mailing list