Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HVM with emulated audio sometimes fails to start #9540

Closed
marmarek opened this issue Oct 25, 2024 · 1 comment · Fixed by QubesOS/qubes-vmm-xen-stubdom-linux#71
Closed

HVM with emulated audio sometimes fails to start #9540

marmarek opened this issue Oct 25, 2024 · 1 comment · Fixed by QubesOS/qubes-vmm-xen-stubdom-linux#71
Labels
affects-4.3 This issue affects Qubes OS 4.3. C: audio diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@marmarek
Copy link
Member

Observation

openQA test in scenario qubesos-4.3-pull-requests-x86_64-system_tests_audio@64bit fails in
TC_20_AudioVM_Pulse_debian-12-xfce

stubdomain log:

[2024-10-25 14:51:46] pulseaudio: pa_context_connect() failed
[2024-10-25 14:51:46] pulseaudio: Reason: Connection refused
[2024-10-25 14:51:46] pulseaudio: Failed to initialize PA contextqemu: could not connect to PulseAudio server
[2024-10-25 14:51:46] W: [pulseaudio] authkey.c: �[1mFailed to open cookie file '/tmp/pulse/cookie': No such file or directory�[0m
[2024-10-25 14:51:46] W: [pulseaudio] authkey.c: �[1mFailed to load authentication key '/tmp/pulse/cookie': No such file or directory�[0m
[2024-10-25 14:51:46] W: [pulseaudio] authkey.c: �[1mFailed to open cookie file '//.pulse-cookie': No such file or directory�[0m
[2024-10-25 14:51:46] W: [pulseaudio] authkey.c: �[1mFailed to load authentication key '//.pulse-cookie': No such file or directory�[0m
[2024-10-25 14:51:46] E: [pulseaudio] module-vchan-sink.c: �[1;31mvchan module loading�[0m
[2024-10-25 14:51:46] E: [pulseaudio] module-vchan-sink.c: �[1;31musing domid: 0�[0m
[2024-10-25 14:51:46] E: [pulseaudio] module-vchan-sink.c: �[1;31mplay libvchan_fd_for_select=14, ctrl=0x55ad4e484cd0�[0m
[2024-10-25 14:51:46] E: [pulseaudio] module-vchan-sink.c: �[1;31mrec libvchan_fd_for_select=22, ctrl=0x55ad4e485700�[0m
[2024-10-25 14:51:46] E: [vchan-sink] module-vchan-sink.c: �[1;31msink cork req state =1, now state=-2�[0m
[2024-10-25 14:51:46] E: [vchan-sink] module-vchan-sink.c: �[1;31msource cork req state =1, now state=-2�[0m

Test suite description

Audio tests

Reproducible

Fails since (at least) Build 2024102501-4.3

Expected result

Last good: 2024102420-4.3 (or more recent)

Further details

Always latest result in this scenario: latest

@marmarek marmarek added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. C: audio affects-4.3 This issue affects Qubes OS 4.3. labels Oct 25, 2024
@marmarek
Copy link
Member Author

Looks like QEMU and Pulseaudio in stubdomain are started in parallel, and the latter sometimes starts slowly enough that it isn't ready yet when QEMU tries to connect to it.

@marmarek marmarek added the diagnosed Technical diagnosis has been performed (see issue comments). label Oct 25, 2024
@andrewdavidwong andrewdavidwong added the pr submitted A pull request has been submitted for this issue. label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.3 This issue affects Qubes OS 4.3. C: audio diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants