
On 08/29/2013 11:01 AM, Viktor Mihajlovski wrote:
I see make check fail on a machine not running systemd (Ubuntu 12.04), not overly concerned about that, but maybe this test should be skipped in non-systemd environments?
The point of this test is to mock out the system calls, so that it should work even on systems that lack systemd. It passes on both RHEL 5 and RHEL 6, both of which lack systemd. So that's not the real problem.
TEST: virsystemdtest process 23356: arguments to dbus_message_set_reply_serial() were incorrect, assertion "reply_serial != 0" failed in file
We are already providing an LD_PRELOAD override of dbus_message_set_reply_serial as part of that test, which SHOULD be avoiding that assert (at least, it did so on both RHEL 5 and current Fedora) (see commit 524f52c). Can you do some debugging under gdb to see why the preload is not being used on Ubuntu's version of dbus?
../../dbus/dbus-message.c line 1010. This is normally a bug in some application using the D-Bus library. /bin/bash: line 5: 23356 Segmentation fault (core dumped) abs_top_builddir=`cd '..'; pwd` abs_top_srcdir=`cd '../..'; pwd` abs_builddir=`pwd` abs_srcdir=`cd '../../tests'; pwd` CONFIG_HEADER="`cd '..'; pwd`/config.h" PATH=" `cd '..'; pwd`/daemon:`cd '..'; pwd`/tools:`cd '..'; pwd`/tests:$PATH" SHELL="/bin/bash" LIBVIRT_DRIVER_DIR="/home/mihajlov/src/checkout-tuxgit/libvirt/build/src/.libs" LIBVIRT_AUTOSTART=0 LC_ALL=C VIR_TEST_EXPENSIVE=0 ${dir}$tst
-- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org