Libelektra: testmod_dbusrecv: sporadic fails

Created on 9 Jan 2019  Â·  6Comments  Â·  Source: ElektraInitiative/libelektra

Confirmed sporadic failure on travis builds.

Log 1

Full log: log.txt

 74/225 Test  #74: testmod_dbusrecv .........................***Failed    0.04 sec
DBUSRECV TESTS
==============
testing prerequisites
detecting available bus types - please ignore single error messages prefixed with "connect:"
connect: Failed to open connection to system message bus: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: No such file or directory
test commit
../src/plugins/dbusrecv/testmod_dbusrecv.c:180: error in test_commit: string "system/tests/testmod_dbusrecv/changed" is not equal to "user/tests/foo/bar"
test adding keys
../src/plugins/dbusrecv/testmod_dbusrecv.c:228: error in test_keyAdded: string "system/tests/testmod_dbusrecv/added" is not equal to "user/tests/foo"
test adding keys
../src/plugins/dbusrecv/testmod_dbusrecv.c:276: error in test_keyChanged: string "system/tests/testmod_dbusrecv/changed" is not equal to "user/tests/foo/bar"
testmod_dbusrecv Results: 34 Tests done — 3 errors.

Log 2

 74/225 Test  #74: testmod_dbusrecv .........................***Failed    0.04 sec
DBUSRECV TESTS
==============
testing prerequisites
detecting available bus types - please ignore single error messages prefixed with "connect:"
connect: Failed to open connection to system message bus: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: No such file or directory
test commit
../src/plugins/dbusrecv/testmod_dbusrecv.c:180: error in test_commit: string "system/tests/testmod_dbusrecv/changed" is not equal to "user/tests/foo/bar"
test adding keys
../src/plugins/dbusrecv/testmod_dbusrecv.c:228: error in test_keyAdded: string "system/tests/testmod_dbusrecv/added" is not equal to "user/tests/foo"
test adding keys
../src/plugins/dbusrecv/testmod_dbusrecv.c:276: error in test_keyChanged: string "system/tests/testmod_dbusrecv/changed" is not equal to "user/tests/foo/bar"
testmod_dbusrecv Results: 34 Tests done — 3 errors.

Log 3

No error.

System Information

  • Elektra Version: master
  • travis macOS: Compiler: gcc Xcode: xcode9.2 C++
bug

All 6 comments

Two more instances of this:

macOS: Compiler: clang Xcode: xcode10.1 C++

Full log: log.txt

 49/214 Test  #59: testmod_dbusrecv .........................***Failed    0.13 sec
DBUSRECV TESTS
==============
testing prerequisites
detecting available bus types - please ignore single error messages prefixed with "connect:"
connect: Failed to open connection to system message bus: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: No such file or directory
test commit
test adding keys
../src/plugins/dbusrecv/testmod_dbusrecv.c:228: error in test_keyAdded: string "system/tests/testmod_dbusrecv/added" is not equal to "user/tests/foo/bar"
test adding keys

Linux gcc8

Full log: log.txt

 54/216 Test  #65: testmod_dbusrecv .........................***Failed    0.01 sec
DBUSRECV TESTS
==============
testing prerequisites
detecting available bus types - please ignore single error messages prefixed with "connect:"
connect: Failed to open connection to session message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
test commit
../src/plugins/dbusrecv/testmod_dbusrecv.c:180: error in test_commit: string "system/tests/testmod_dbusrecv/changed" is not equal to "system/tests/foo"
test adding keys
test adding keys
testmod_dbusrecv Results: 34 Tests done — 1 error.

@waht Do you have an idea?

@mpranj thank you for reporting the problem!

As written in #2364:

I already saw a Cirrus build job that failed because of testmod_dbus and testmod_dbusrecv

I think this is superseded by #2439 and can be closed. Feel free to reopen if needed.

Thank you for closing the issue!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

e1528532 picture e1528532  Â·  4Comments

sanssecours picture sanssecours  Â·  4Comments

markus2330 picture markus2330  Â·  4Comments

markus2330 picture markus2330  Â·  4Comments

mpranj picture mpranj  Â·  3Comments