From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqLUp-0002MU-09 for guix-patches@gnu.org; Fri, 08 Sep 2017 11:47:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqLUk-00078h-VF for guix-patches@gnu.org; Fri, 08 Sep 2017 11:47:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqLUk-00078V-R9 for guix-patches@gnu.org; Fri, 08 Sep 2017 11:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dqLUj-0005W0-UU for guix-patches@gnu.org; Fri, 08 Sep 2017 11:47:02 -0400 Subject: [bug#26211] [PATCH] gnu: networkmanager-qt: Disable a failing test. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <1490126369-10238-1-git-send-email-h.goebel@crazy-compilers.com> <87lgrtwidy.fsf@gnu.org> Date: Fri, 08 Sep 2017 17:46:23 +0200 In-Reply-To: <87lgrtwidy.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 25 Mar 2017 15:17:13 +0100") Message-ID: <87a8259os0.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Hartmut Goebel Cc: 26211@debbugs.gnu.org Hi Hartmut, Any update on this? Thanks, Ludo=E2=80=99. ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Hi Hartmut, > > Hartmut Goebel skribis: > >> The error-message was: "D-Bus library appears to be incorrectly set up; >> failed to read machine uuid: Failed to open '/etc/machine-id': >> No such file or directory". > > The output is: > > starting phase `check' > process 2014: D-Bus library appears to be incorrectly set up; failed to r= ead machine uuid: Failed to open "/etc/machine-id": No such file or directo= ry > See the manual page for dbus-uuidgen to correct this issue. > Test project /tmp/guix-build-networkmanager-qt-5.28.0.drv-0/build > Start 1: managertest > 1/25 Test #1: managertest ...................... Passed 0.01 sec > Start 2: settingstest > 2/25 Test #2: settingstest ..................... Passed 0.01 sec > Start 3: activeconnectiontest > 3/25 Test #3: activeconnectiontest .............***Failed 0.81 sec > Start 4: 8021xsettingtest > > [...] > > 96% tests passed, 1 tests failed out of 25 > > Total Test time (real) =3D 0.97 sec > > The following tests FAILED: > 3 - activeconnectiontest (Failed) > Errors while running CTest > phase `check' failed after 1.0 seconds > > > So the failure is the =E2=80=98activeconnectiontest=E2=80=99 test, not th= e D-Bus thing. > Outside the chroot build environment (and outside of =E2=80=98guix enviro= nment > -C=E2=80=99), this test passes. > > When running =E2=80=9Cctest --verbose=E2=80=9D, we see: > > 3: Test command: /tmp/guix-build-networkmanager-qt-5.28.0.drv-0/build/aut= otests/activeconnectiontest > 3: Test timeout computed to be: 9.99988e+06 > 3: ********* Start testing of ActiveConnectionTest ********* > 3: Config: Using QtTest library 5.7.1, Qt 5.7.1 (x86_64-little_endian-lp6= 4 shared (dynamic) release build; by GCC 4.9.4) > 3: QWARN : ActiveConnectionTest::initTestCase() networkmanager-qt: void = NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&= ) Unhandled property "Devices" > 3: QWARN : ActiveConnectionTest::initTestCase() networkmanager-qt: virtu= al void NetworkManager::DevicePrivate::propertyChanged(const QString&, cons= t QVariant&) Unhandled property "Carrier" > 3: QWARN : ActiveConnectionTest::initTestCase() networkmanager-qt: virtu= al void NetworkManager::DevicePrivate::propertyChanged(const QString&, cons= t QVariant&) Unhandled property "HwAddress" > 3: QWARN : ActiveConnectionTest::initTestCase() networkmanager-qt: virtu= al void NetworkManager::DevicePrivate::propertyChanged(const QString&, cons= t QVariant&) Unhandled property "PermHwAddress" > 3: QWARN : ActiveConnectionTest::initTestCase() networkmanager-qt: virtu= al void NetworkManager::DevicePrivate::propertyChanged(const QString&, cons= t QVariant&) Unhandled property "Speed" > 3: PASS : ActiveConnectionTest::initTestCase() > 3: FAIL! : ActiveConnectionTest::testActiveConnection() Compared values = are not the same > 3: Actual (activeConnectionStateChangedSpy.count()): 0 > 3: Expected (1) : 1 > 3: Loc: [/tmp/guix-build-networkmanager-qt-5.28.0.drv-0/networkmanager= -qt-5.28.0/autotests/activeconnectiontest.cpp(118)] > 3: PASS : ActiveConnectionTest::cleanupTestCase() > 3: Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 805ms > 3: ********* Finished testing of ActiveConnectionTest ********* > 3/25 Test #3: activeconnectiontest .............***Failed 0.81 sec > > We can get more details as explained at > by running: > > dbus-launch /tmp/guix-build-networkmanager-qt-5.28.0.drv-0/build/autote= sts/activeconnectiontest -vs > > That didn=E2=80=99t really help me though. The strace output shows nothi= ng > obvious either (such uses code looking for actual network interfaces via > /proc/net/dev or using ioctls); it seems the code has complete mocks for > network interfaces and shouldn=E2=80=99t depend on the real network inter= faces. > > Could be maybe seek advice from upstream? > > HTH, > Ludo=E2=80=99.