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

Bug 690376

Summary: media-sound/bluez-alsa-1.4.0 fails tests: FAIL: test-ctl
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 716456    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-sound:bluez-alsa-1.4.0:20190721-185019.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-07-21 18:56:05 UTC
PASS: test-at
PASS: test-ba
FAIL: test-ctl
PASS: test-io
FAIL: test-pcm
PASS: test-utils

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl_test-20190718-142211

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





emerge -qpvO media-sound/bluez-alsa
[ebuild  N    ] media-sound/bluez-alsa-1.4.0  USE="test -aac -debug -hcitop -ldac -ofono -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-07-21 18:56:07 UTC
Created attachment 583956 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-21 18:56:10 UTC
Created attachment 583958 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-07-21 18:56:13 UTC
Created attachment 583960 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-07-21 18:56:15 UTC
Created attachment 583962 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-07-21 18:56:18 UTC
Created attachment 583964 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-07-21 18:56:21 UTC
Created attachment 583966 [details]
media-sound:bluez-alsa-1.4.0:20190721-185019.log
Comment 7 Toralf Förster gentoo-dev 2019-07-21 18:56:23 UTC
Created attachment 583968 [details]
temp.tbz2
Comment 8 Arkadiusz Bokowy 2019-10-16 17:11:00 UTC
Hi,

I might shed some light, as a bluez-alsa developer, on the test failure thingy :)

The problem is that both tests test-ctl and test-pcm require specific environment to run. In the log file you can see "Couldn't create run-state directory: /var/run/bluealsa: Permission denied" which is the root cause of failure.

Regarding test-ctl, this interface has been recently removed. There is no "test-ctl" in the bluez-alsa 2.0.0.

Regarding test-pcm, maybe it can be removed from the test when building bluez-alsa, because this test sometimes fails :) The problem is, that the alsa-lib is very buggy (in the area of software IO plug-in), and test-pcm tests behavior which is not very well documented nor tested on the alsa-lib side. However, in order to create PCM which is compatible with already existing applications, I have to have such test (just to detect regressions). If test-pcm fails (during development) I run it few times and see whether it fails always or I've been unlucky this time.
Comment 9 Agostino Sarubbo gentoo-dev 2022-02-13 09:57:51 UTC
Update summary. [something] is used when something refers to an overlay