Bug#873827: dbus: test-bus fails on kfreebsd-*: activation times out while simulating OOM
(X-Debbugs-Cc to debian-bsd)
I recently enabled build-time tests for dbus, after fixing the home
directory issue that had previously meant they failed on all Debian
buildds. Unfortunately this led to build failures on kfreebsd-*.
Because it's reasonably clear that nobody with an interest in FreeBSD
is currently contributing to dbus, and the test results indicate that
dbus does basically work, I'm going to ignore the test failures on
!linux for the moment.
On the kfreebsd porterboxes fala and fischer, this is easy to reproduce
by building dbus, then running:
make VERBOSE=1 -C debian/build-debug -k check
The bug I'm describing in this bug report manifests as a failure of
the test case test-bus.sh. The log in debian/build-debug/test/test-bus.log
> Failed to activate service 'org.freedesktop.DBus.TestSuiteEchoService': timed out
> Did not expect error org.freedesktop.DBus.Error.TimedOut
Unfortunately test-bus is a bit of a minefield: it's part of the old
unit tests, from before I started to add more focused test coverage. I
believe this failure is in an area where we spam a particular operation
(in this case repeatedly activating an activatable service) while making
increasingly many malloc() calls appear to fail (simulating an OOM
Any help with debugging and fixing this would be appreciated.