Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398643 - media-sound/pulseaudio-1.1-r1: two tests failed
Summary: media-sound/pulseaudio-1.1-r1: two tests failed
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-01-12 10:31 UTC by Pacho Ramos
Modified: 2014-02-16 21:16 UTC (History)
3 users (show)

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


Attachments
build.log.xz (pulseaudio-1.1-r1:20120112-102126.log.xz,81.24 KB, application/octet-stream)
2012-01-12 10:33 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2012-01-12 10:31:32 UTC
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.13-r4, 3.0.15-tuxonice x86_64)
=================================================================
System uname: Linux-3.0.15-tuxonice-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 09 Jan 2012 22:30:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1, 4.6.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo rainyday x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -pipe -march=native"
DISTDIR="/usr/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/local/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/rainyday /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli colord consolekit cracklib crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi eds emboss enchant encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle iconv jpeg kpathsea latex lcms ldap libnotify lyx mad mms mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl nptlonly ntfs ntp numa nvidia ogg opengl openmp optimized-qmake pam pango pch pcre pdf png policykit ppds pppd pulseaudio qt3support readline reiserfs scanner sdl session smp sna socialweb spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs t1lib tcpd test theora threads tiff truetype udev unicode usb v4l vaapi vcd vdpau vorbis wifi x264 xcb xml xorg xulrunner xv xvid youtube zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa intel i915 i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2012-01-12 10:33:11 UTC
Created attachment 298733 [details]
build.log.xz
Comment 2 Arun Raghavan (RETIRED) gentoo-dev 2012-02-13 03:45:12 UTC
The ipacl-test relies on sshd running (it could be any service, really, but it needs to make a TCP connection, basically). I'll try to figure out a proper fix for this, but in the mean time it can be ignored.

For the lock-autospawn-test, what user is emerge running as and who owns /var/tmp/.../pulseaudio/homedir?
Comment 3 Pacho Ramos gentoo-dev 2012-02-13 09:49:11 UTC
(In reply to comment #2)
> The ipacl-test relies on sshd running (it could be any service, really, but it
> needs to make a TCP connection, basically). I'll try to figure out a proper fix
> for this, but in the mean time it can be ignored.
> 
> For the lock-autospawn-test, what user is emerge running as and who owns
> /var/tmp/.../pulseaudio/homedir?

# ls -l /var/tmp/portage/media-sound/pulseaudio-1.1-r1/homedir -d
drwxrwxr-x 2 portage portage 40 feb 13 10:45 /var/tmp/portage/media-sound/pulseaudio-1.1-r1/homedir

I am NOT using userpriv and, then, it should be running as root no? :-/
Comment 4 Arun Raghavan (RETIRED) gentoo-dev 2012-02-15 02:55:51 UTC
Elijah: as I noted these tests are false-positives. The actual failures are related to (a) ipacl-test requiring something to be listening on TCP port 22, (b) /var/tmp/.../homedir belonging to the same user as the one executing tests (so FEATURES=userpriv should "fix" it).

IOW: these tests are only really breaking if they fail with something running on port 22 and with FEATURES=userpriv. I've tried to figure out a way to fix this upstream, but there really isn't anything straightforward to do,
Comment 5 Pacho Ramos gentoo-dev 2012-02-15 11:16:46 UTC
What about skipping tests when userpriv is not used? And the same to check if sshd is running or not
Comment 6 Arun Raghavan (RETIRED) gentoo-dev 2012-02-15 11:39:33 UTC
(In reply to comment #5)
> What about skipping tests when userpriv is not used? And the same to check if
> sshd is running or not

Is there a simple way to do this with automake generated test targets? I can't seem to find anything that does this.
Comment 7 Pacho Ramos gentoo-dev 2012-02-15 11:49:12 UTC
I think this could be done with conditional sedding over src/Makefile.am dropping offending tests when needed :-/
Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-05-18 16:38:24 UTC
How about just always skipping the problematic tests?

This slows down arch testing, really. For example here, I had to find this old bug to confirm the test failure is bogus.
Comment 9 Pacho Ramos gentoo-dev 2014-02-16 21:16:01 UTC
tests are now restricted as they are always failing in multiple ways for ages