Test failures with networkmanager-qt

Jan Grulich jgrulich at redhat.com
Tue Mar 28 06:10:15 UTC 2017


Hi,

I can't think of any reason why the test fails for you. Looking to the git log 
the only relevant change is fixed uninitialized state variable in 
ActiveConnection, which may affect ActiveConnection::stateChanged() signal. 

Regards,
Jan

On pondělí 27. března 2017 18:02:05 CEST Hartmut Goebel wrote:
> 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/activeconnect
> iontest 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/aut
> otests/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---



More information about the Kde-frameworks-devel mailing list