Test failures with networkmanager-qt

Hartmut Goebel h.goebel at crazy-compilers.com
Mon Mar 27 16:02:05 UTC 2017


Hi,

I try building networkmanager-qt for GNU Guix [1]. Gnu Guix build all
software within a container, which does not have any network interface.

networkmanager-qt build fine, but one test (ActiveConnectionTest) fails
with activeConnectionStateChangedSpy.count()) being 0 instead of 1.
There are also some non-fatal "Unhandled property" errors.

Any hints what could cause this or how to debug it?

networkmanager-qt is 5.28.0, compared to the up-to-date version I could
not spot any related change.
I tried with both (gnome) network-manger is 1.4.4 and 1.6.2

[1] https://www.gnu.org/software/guix/

--8<---------------cut here---------------start------------->8---
3: Test command:
/tmp/guix-build-networkmanager-qt-5.28.0.drv-0/build/autotests/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-lp64 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:
virtual void NetworkManager::DevicePrivate::propertyChanged(const
QString&, const QVariant&) Unhandled property "Carrier"
3: QWARN  : ActiveConnectionTest::initTestCase() networkmanager-qt:
virtual void NetworkManager::DevicePrivate::propertyChanged(const
QString&, const QVariant&) Unhandled property "HwAddress"
3: QWARN  : ActiveConnectionTest::initTestCase() networkmanager-qt:
virtual void NetworkManager::DevicePrivate::propertyChanged(const
QString&, const QVariant&) Unhandled property "PermHwAddress"
3: QWARN  : ActiveConnectionTest::initTestCase() networkmanager-qt:
virtual void NetworkManager::DevicePrivate::propertyChanged(const
QString&, const 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
--8<---------------cut here---------------end--------------->8---



-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel at crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |





More information about the Kde-frameworks-devel mailing list