[GH-ISSUE #3928] CI seems broken, unsure on how to proceed. #2460

Closed
opened 2026-05-05 09:08:32 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @ghost on GitHub (Jan 30, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3928

I'm seeing Build CI / build_and_test (pull_request) failures in the last 2 PR's (#3924 and #3926). The PR's in question seem to be rather straightforward profile changes and I'm not familiar enough with that part of the process to easilly spot what could be wrong by looking at the CI logs. Just putting this out here to bring it to the attention of more experienced collaborators.

Personally I think it's wise to temporarily stop merging until the CI situation clears up, no matter how irritating this could be for people wanting to contribute.

Originally created by @ghost on GitHub (Jan 30, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/3928 I'm seeing Build `CI` / build_and_test (pull_request) `failures` in the last 2 PR's (#3924 and #3926). The PR's in question **seem** to be rather straightforward profile changes and I'm not familiar enough with that part of the process to easilly spot what could be wrong by looking at the CI logs. Just putting this out here to bring it to the attention of more experienced collaborators. Personally I think it's wise to temporarily stop merging until the CI situation clears up, no matter how irritating this could be for people wanting to contribute.
Author
Owner

@rusty-snake commented on GitHub (Jan 30, 2021):

Since 7c1dae04 every BuildCI fails (sort.py continues to work). But I don't understand how this is possible. I already searched for telegram, error, fail in the logs, but I saw nothing relevant.

<!-- gh-comment-id:770174883 --> @rusty-snake commented on GitHub (Jan 30, 2021): Since 7c1dae04 every BuildCI fails (sort.py continues to work). But I don't understand how this is possible. I already searched for telegram, error, fail in the logs, but I saw nothing relevant.
Author
Owner

@rusty-snake commented on GitHub (Jan 30, 2021):

I just re-run the BuildCI for f806d340 (the last commit where is passed) and it failed. Seems to be caused by a cahnge in GitHub Actions?

<!-- gh-comment-id:770193112 --> @rusty-snake commented on GitHub (Jan 30, 2021): I just re-run the BuildCI for f806d340 (the last commit where is passed) and it failed. Seems to be caused by a cahnge in GitHub Actions?
Author
Owner

@reinerh commented on GitHub (Jan 30, 2021):

One of the tests related to sound is now failing. No idea why it was working before, or why it's now failing:

TESTING: sound (test/environment/sound.exp)
spawn /bin/bash
firejail --nosound speaker-test
runner@fv-az102-903:~/work/firejail/firejail/test/environment$ 
<l/test/environment$ firejail --nosound speaker-test           
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc

** Note: you can use --noprofile to disable default.profile **

Parent pid 9947, child pid 9948
Warning: cleaning all supplementary groups
]0;firejail speaker-test Child process initialized in 63.87 ms

speaker-test 1.2.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -2,No such file or directory

Parent is shutting down, bye...
runner@fv-az102-903:~/work/firejail/firejail/test/environment$ 
<ejail/test/environment$ firejail --nosound aplay -l           
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc

** Note: you can use --noprofile to disable default.profile **

Parent pid 9953, child pid 9954
Warning: cleaning all supplementary groups
]0;firejail aplay -l Child process initialized in 63.01 ms
aplay: device_list:274: no soundcards found...

Parent is shutting down, bye...
runner@fv-az102-903:~/work/firejail/firejail/test/environment$ 
<ment$ firejail --profile=sound.profile speaker-test           
Reading profile sound.profile
Parent pid 9959, child pid 9960
]0;firejail speaker-test Child process initialized in 7.35 ms

speaker-test 1.2.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -2,No such file or directory

Parent is shutting down, bye...
runner@fv-az102-903:~/work/firejail/firejail/test/environment$ 
<ironment$ firejail --profile=sound.profile aplay -l           
Reading profile sound.profile
Parent pid 9963, child pid 9964
]0;firejail aplay -l Child process initialized in 6.78 ms
aplay: device_list:274: no soundcards found...

Parent is shutting down, bye...
runner@fv-az102-903:~/work/firejail/firejail/test/environment$ 
<rejail/firejail/test/environment$ firejail aplay -l           
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc

** Note: you can use --noprofile to disable default.profile **

Parent pid 9968, child pid 9969
Warning: cleaning all supplementary groups
]0;firejail aplay -l Child process initialized in 49.88 ms
aplay: device_list:274: no soundcards found...

Parent is shutting down, bye...
runner@fv-az102-903:~/work/firejail/firejail/test/environment$ TESTING ERROR 24
<!-- gh-comment-id:770197287 --> @reinerh commented on GitHub (Jan 30, 2021): One of the tests related to sound is now failing. No idea why it was working before, or why it's now failing: ``` TESTING: sound (test/environment/sound.exp) spawn /bin/bash firejail --nosound speaker-test runner@fv-az102-903:~/work/firejail/firejail/test/environment$ <l/test/environment$ firejail --nosound speaker-test  Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc ** Note: you can use --noprofile to disable default.profile ** Parent pid 9947, child pid 9948 Warning: cleaning all supplementary groups ]0;firejail speaker-test Child process initialized in 63.87 ms speaker-test 1.2.2 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default Playback open error: -2,No such file or directory Parent is shutting down, bye... runner@fv-az102-903:~/work/firejail/firejail/test/environment$ <ejail/test/environment$ firejail --nosound aplay -l  Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc ** Note: you can use --noprofile to disable default.profile ** Parent pid 9953, child pid 9954 Warning: cleaning all supplementary groups ]0;firejail aplay -l Child process initialized in 63.01 ms aplay: device_list:274: no soundcards found... Parent is shutting down, bye... runner@fv-az102-903:~/work/firejail/firejail/test/environment$ <ment$ firejail --profile=sound.profile speaker-test  Reading profile sound.profile Parent pid 9959, child pid 9960 ]0;firejail speaker-test Child process initialized in 7.35 ms speaker-test 1.2.2 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default Playback open error: -2,No such file or directory Parent is shutting down, bye... runner@fv-az102-903:~/work/firejail/firejail/test/environment$ <ironment$ firejail --profile=sound.profile aplay -l  Reading profile sound.profile Parent pid 9963, child pid 9964 ]0;firejail aplay -l Child process initialized in 6.78 ms aplay: device_list:274: no soundcards found... Parent is shutting down, bye... runner@fv-az102-903:~/work/firejail/firejail/test/environment$ <rejail/firejail/test/environment$ firejail aplay -l  Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc ** Note: you can use --noprofile to disable default.profile ** Parent pid 9968, child pid 9969 Warning: cleaning all supplementary groups ]0;firejail aplay -l Child process initialized in 49.88 ms aplay: device_list:274: no soundcards found... Parent is shutting down, bye... runner@fv-az102-903:~/work/firejail/firejail/test/environment$ TESTING ERROR 24 ```
Author
Owner

@reinerh commented on GitHub (Jan 30, 2021):

In environment.sh there is a check if aplay exists. Only then this test is actually run.
Maybe the github CI environment now contains aplay (even though there is no soundcard), so the test fails.
I'll improve the check.

<!-- gh-comment-id:770197633 --> @reinerh commented on GitHub (Jan 30, 2021): In `environment.sh` there is a check if aplay exists. Only then this test is actually run. Maybe the github CI environment now contains aplay (even though there is no soundcard), so the test fails. I'll improve the check.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2460
No description provided.