Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 307165

Summary: media-sound/pulseaudio-0.9.21.1 fails tests (ipacl-test tries to connect to port 22)
Product: Gentoo Linux Reporter: Paweł Hajdan, Jr. (RETIRED) <phajdan.jr>
Component: [OLD] LibraryAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: brant, creffett, sound, tomka
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
build.log.gz

Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-02-28 11:28:14 UTC
This is on x86 stable:

ipacl-test: tests/ipacl-test.c:49: main: Assertion `r >= 0' failed.
/bin/sh: line 5: 20032 Aborted                 ${dir}$tst
FAIL: ipacl-test

Will attach the full build log.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-02-28 11:29:17 UTC
Created attachment 221525 [details]
build.log
Comment 2 Claes 2010-03-10 22:10:36 UTC
I can reproduce the error.
ipacl-test tries to connect to port 22 on 127.0.0.1 and that will normally yield "connection refused" unless sshd is running.
Starting the sshd deamon solves this particular failing assert on line 49 for me, but I still get a failed assert on line 89, so ipacl-test still fails.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-10 22:44:48 UTC
I'll see to find a workaround for this.
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2011-04-19 15:41:29 UTC
I also get permission issues as another failure.  Separate bug?

PASS: proplist-test
1, Trying to acquire lock.
3, Trying to acquire lock.
2, Trying to acquire lock.
4, Trying to acquire lock.
Home directory /var/tmp/portage/media-sound/pulseaudio-0.9.22/homedir not ours.
Assertion 'pa_autospawn_lock_acquire(TRUE) > 0' failed at tests/lock-autospawn-test.c:39, function thread_func(). Aborting.
/bin/sh: line 5:  1880 Aborted                 ${dir}$tst
FAIL: lock-autospawn-test
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2011-05-18 04:10:26 UTC
Do you see this with 0.9.22?
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-06-15 16:31:54 UTC
Created attachment 277133 [details]
build.log.gz

(In reply to comment #5)
> Do you see this with 0.9.22?

Yes, attaching full log for reference.
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-10-19 17:35:08 UTC
(In reply to comment #5)
> Do you see this with 0.9.22?

Still here with 0.9.22-r2, over a year after the original report. Please consider disabling the test, this really slows down my arch testing.
Comment 8 Chris Reffett (RETIRED) gentoo-dev Security 2012-02-25 04:54:41 UTC
Is still present in pulseaudio 1.1-r1
Comment 9 Arun Raghavan (RETIRED) gentoo-dev 2012-02-25 05:04:15 UTC
Try starting up sshd. This test needs to connect to something to set up a TCP socket, and it picks port 22.
Comment 10 Chris Reffett (RETIRED) gentoo-dev Security 2012-02-25 05:19:16 UTC
That works fine as a workaround, but I'd be in favor of disabling the test or finding some alternative to it (or, at the very least, print a message for people with FEATURES="test" saying that you need an ssh server running)
Comment 11 Arun Raghavan (RETIRED) gentoo-dev 2013-12-23 16:21:35 UTC
This test was removed from the defaul test set upstream.