Bug 90506

Summary: make check fails in git master
Product: ModemManager Reporter: Kjartan Maraas <kmaraas>
Component: generalAssignee: ModemManager bug user <modemmanager>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Kjartan Maraas 2015-05-18 11:13:10 UTC
make[1]: Entering directory '/home/kmaraas/src/gnome/ModemManager/plugins'
make  check-local
make[2]: Entering directory '/home/kmaraas/src/gnome/ModemManager/plugins'
TEST: test-modem-helpers-icera... (pid=29699)
  /MM/icera/ipdpaddr:                                                  OK
PASS: test-modem-helpers-icera
TEST: test-service-generic... (pid=29719)
  /MM/Service/Generic:                                                 Activating service name='org.freedesktop.ModemManager1'
Failed to activate service 'org.freedesktop.ModemManager1': timed out

** (/home/kmaraas/src/gnome/ModemManager/plugins/.libs/lt-test-service-generic:29719): ERROR **: Error starting ModemManager in test bus: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.freedesktop.ModemManager1 timed out
cleaning up pid 29739
FAIL
GTester: last random seed: R02S8e8e1cc18fdc11916e5be352ee0781fc
/bin/sh: line 1: 29698 Terminert               G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) gtester --verbose test-modem-helpers-icera test-service-generic test-modem-helpers-huawei test-modem-helpers-mbm test-modem-helpers-cinterion test-modem-helpers-altair-lte
Makefile:3350: recipe for target 'test-nonrecursive' failed
make[2]: *** [test-nonrecursive] Error 143
make[2]: Leaving directory '/home/kmaraas/src/gnome/ModemManager/plugins'
Makefile:3143: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/kmaraas/src/gnome/ModemManager/plugins'
Makefile:513: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
*** Error during phase check of ModemManager: ########## Error running make -j 5 check *** [8/214]
Comment 1 Aleksander Morgado 2015-12-02 19:23:08 UTC
I cannot reproduce the issue in any of my systems.

What Glib/GIO version do you have installed?
Any chance you can retry with latest git?
Comment 2 Aleksander Morgado 2016-01-16 17:03:07 UTC
I've fixed several things in the DBus tests in git master:

 * http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=87bafa33dc6b1d58a67147a802bd498f9a2f80d6
 * http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=dfd111f29112918d7f2046297670a7481a883354
 * http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=7136c0b32103eda1d62a16a47dfdb37b166fa610

I'm not sure whether those would also fix the issue you're seeing here, so please reopen if you still experience the error:
Comment 3 Adrian Bjugård 2016-04-16 17:07:32 UTC
I have the same issue building the latest RC on Arch, bunch of tests pass, then starting the service on test bus fails. Building 1.4.14 fails as well. What are Kjartan and I doing wrong?
Comment 4 Aleksander Morgado 2016-09-15 05:29:13 UTC
Could you try with git master or 1.6 instead of 1.4.14?
Comment 5 Aleksander Morgado 2016-10-24 11:06:25 UTC
Any update?
Comment 6 Aleksander Morgado 2017-03-25 17:37:11 UTC
Closing this.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.