Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337989 - sys-apps/dbus-1.4.0: fails "bus-test-launch-helper" test because of missing "org.freedesktop.DBus.TestSuiteEchoService"
Summary: sys-apps/dbus-1.4.0: fails "bus-test-launch-helper" test because of missing "...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
: 337962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-19 02:52 UTC by Jeremy Murphy
Modified: 2010-09-20 17:07 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
FAIL: bus-test-launch-helper (build.log,159.13 KB, text/plain)
2010-09-19 02:54 UTC, Jeremy Murphy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Murphy 2010-09-19 02:52:41 UTC
Fails 1 out of 3 tests.


Reproducible: Always

Steps to Reproduce:
1. emerge =dbus-1.4.0

Actual Results:  
FAIL: bus-test-launch-helper


Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3-asneeded, glibc-2.11.2-r0, 2.6.34-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 19 Sep 2010 00:15:03 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA skype-eula AdobeFlash-10.1 dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/home/portage/distfiles"
FEATURES="assume-digests collision-protect distcc distlocks fixpackages news parallel-fetch prelink protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.iinet.net.au/pub/Gentoo "
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 avahi bash-completion berkdb blas branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl cxx dbus djvu dri dts dv dvb dvd dvdr emboss encode exif expat fam ffmpeg fftw flac fontconfig fortran gd gdbm geoip gif gmp gnutls gphoto2 gpm graphviz gsl gtk hal iconv icu ieee1394 imagemagick imlib ipod ipv6 java java5 java6 javascript jpeg kde kqemu lame lapack laptop latex lcms ldap libsamplerate lirc lzo mad matroska mikmod mmap mmx mng modules mp3 mp4 mpeg mplayer mtp mudflap musepack mysql mysqli ncurses nls nptl nptlonly nsplugin odbc offensive ogg openal opengl openmp pam pango pch pcre pdf perl php png ppds pppd python qt3support qt4 readline recode reflection samba sdl session sharedmem sndfile sockets spell sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog sysvipc taglib tcpd theora threads tiff timidity truetype unicode usb vorbis wavpack wifi wmf wxwindows x264 x86 xcb xcomposite xml xorg xpm xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Murphy 2010-09-19 02:54:53 UTC
Created attachment 247923 [details]
FAIL: bus-test-launch-helper
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-09-19 11:18:30 UTC
Was dbus-1.4.0 installed, and running (restarted) from /etc/init.d/dbus when you ran the tests? Or was old dbus-1.2.24 still installed, and running when you ran the tests? I'm asking because I can't reproduce, and I suspect running old dbus during the tests might interfere...
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-09-19 11:27:58 UTC
Nevermind, reproduced:

# FEATURES=test emerge -1 =dbus-1.4.0

And by manual:

# cd /var/tmp/portage/sys-apps/dbus-1.4.0/work/dbus-1.4.0-tests-build/bus
# DBUS_TEST_DATA=../test/data DBUS_TEST_HOMEDIR=../dbus DBUS_FATAL_WARNINGS=1 DBUS_BLOCK_ON_ABORT=1 ./bus-test-launch-helper

Result:

./bus-test-launch-helper: Running launch helper OOM checks
FAILED SELF TEST: Error: The name org.freedesktop.DBus.TestSuiteEchoService was not provided by any .service files
  ./bus-test-launch-helper(_dbus_print_backtrace+0x1c) [0x417a0c]
  ./bus-test-launch-helper(_dbus_abort+0x9) [0x417c29]
  ./bus-test-launch-helper() [0x4123de]
  ./bus-test-launch-helper() [0x40f044]
  ./bus-test-launch-helper(_dbus_test_oom_handling+0x23) [0x412623]
  ./bus-test-launch-helper(main+0xd3) [0x40f123]
  /lib/libc.so.6(__libc_start_main+0xfd) [0x7f44b7a4bcdd]
  ./bus-test-launch-helper() [0x40ee79]
  Process 4275 sleeping for gdb attach
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-09-19 14:14:00 UTC
*** Bug 337962 has been marked as a duplicate of this bug. ***
Comment 5 Xake 2010-09-20 14:51:10 UTC
Hehe, I think this will be somewhat of a facepalm-moment for someone having a user "lennart":
USE="debug test" emerge -1 dbus:

<snip>


./bus-test-launch-helper: Running launch helper OOM checks
4595: [dbus/dbus-internals.c(982):_dbus_test_oom_handling] Running once to count mallocs
4595: [bus/activation-helper.c(450):get_correct_parser] dbus-daemon-activation-helper: using config file: ../test/data/valid-config-files-system/debug-allow-all-pass.conf
4595: [dbus/dbus-file-unix.c(80):_dbus_file_get_contents] file fd 3 opened
4595: [bus/config-parser-trivial.c(191):bus_config_parser_start_element]  START We dont care about 'busconfig' type '1'
4595: [bus/config-parser-trivial.c(191):bus_config_parser_start_element]  START We dont care about 'listen' type '4'
4595: [bus/config-parser-trivial.c(292):bus_config_parser_content]  CONTENTS We dont care 'debug-pipe:name=test-server' type '4'
4595: [bus/config-parser-trivial.c(191):bus_config_parser_start_element]  START We dont care about 'listen' type '4'
4595: [bus/config-parser-trivial.c(292):bus_config_parser_content]  CONTENTS We dont care 'unix:tmpdir=/tmp' type '4'
4595: [bus/config-parser-trivial.c(191):bus_config_parser_start_element]  START We dont care about 'servicedir' type '12'
4595: [bus/config-parser-trivial.c(191):bus_config_parser_start_element]  START We dont care about 'policy' type '6'
4595: [bus/config-parser-trivial.c(191):bus_config_parser_start_element]  START We dont care about 'allow' type '8'
4595: [bus/config-parser-trivial.c(191):bus_config_parser_start_element]  START We dont care about 'allow' type '8'
4595: [bus/config-parser-trivial.c(191):bus_config_parser_start_element]  START We dont care about 'allow' type '8'
4595: [bus/config-parser-trivial.c(191):bus_config_parser_start_element]  START We dont care about 'allow' type '8'
4595: [bus/config-parser-trivial.c(311):bus_config_parser_finished] finished scanning!
4595: [bus/activation-helper.c(88):desktop_file_for_name] Looking at '/home/lennart/git/dbus/test/data/valid-service-files-system'
4595: [bus/activation-helper.c(103):desktop_file_for_name] Trying to load file '/home/lennart/git/dbus/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteEchoService.service'
4595: [bus/activation-helper.c(110):desktop_file_for_name] Could not load /home/lennart/git/dbus/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteEchoService.service: org.freedesktop.DBus.Error.FileNotFound: No such file or directory
FAILED SELF TEST: Error: The name org.freedesktop.DBus.TestSuiteEchoService was not provided by any .service files
  ./bus-test-launch-helper(_dbus_print_backtrace+0x2f) [0x1f0e32f46bf]
  ./bus-test-launch-helper(_dbus_abort+0x19) [0x1f0e32f5079]
  ./bus-test-launch-helper(+0x1330b) [0x1f0e32ee30b]
  ./bus-test-launch-helper(+0xf384) [0x1f0e32ea384]
  ./bus-test-launch-helper(_dbus_test_oom_handling+0x58) [0x1f0e32ee368]
  ./bus-test-launch-helper(main+0xeb) [0x1f0e32ea1ab]
  /lib/libc.so.6(__libc_start_main+0xfd) [0x2fbfb7204d6d]
  ./bus-test-launch-helper(+0xefa9) [0x1f0e32e9fa9]
  Process 4595 sleeping for gdb attach
/bin/bash: line 5:  4595 Aborted                 (core dumped) DBUS_TEST_DATA=../test/data DBUS_TEST_HOMEDIR=../dbus DBUS_FATAL_WARNINGS=1 DBUS_BLOCK_ON_ABORT=1 ${dir}$tst
FAIL: bus-test-launch-helper
===================
1 of 3 tests failed
===================
make[2]: *** [check-TESTS] Error 1
Comment 6 Xake 2010-09-20 15:46:20 UTC
the fix is to add the following to src_prepare()

rm ${S}/test/data/*/*.service ${S}/test/data/*/debug-*.conf


Those files will be re-generated during ./configure but with correct paths this time around. after that everything seems to pass.
Comment 7 Xake 2010-09-20 16:44:30 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=30285

posted here since I am not able to change URL...
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-09-20 17:07:39 UTC
+  20 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> dbus-1.4.0.ebuild:
+  Remove pregenerated files from tarball wrt #337989 by Xake.