-
Notifications
You must be signed in to change notification settings - Fork 380
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
ALSA lib confmisc.c:768:(parse_card) cannot find card '0' #52
Comments
Just a follow up on what i have seen. this happens with the electron browser on the base images. Also needs ipc: host on your docker-compose file |
Same situation. Happens with electron |
Any news here? How to solve this issue? What if this is happening in CI and I need electron browser that's the only supported browser can run headless? |
@kschingiz despite this error happens tests are going fine |
@aldarund no, my tests was broken when this error was thrown. I fixed this bug, electron browser required sound cards, but my virtual server doesn't have any physical sound card. If you see this bug happening, that means you have not setup ALSA in your OS. And don't forget to add "jenkins" user to the "audio" group, in case if jenkins doesn't see any sound cards. |
For me tests not broken although this error printed on every test. |
@bahmutov is there a better way to workaround this? |
Which website requires sound to work? We never hit this problem before, so would be interesting to see this.
…Sent from my iPhone
On Jul 26, 2018, at 14:11, Dmitry Molotkov ***@***.***> wrote:
@bahmutov is there a better way to workaround this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@bahmutov i dont use any of sound myself on my website but its still throwing this error. Maybe freshchat widget do smthing.. [12:21:05] Rendering url /auth/login/ |
@aldarund can you see why it would pass on our CI machines (cypress-io/cypress-test-tiny#32) and not in your docker container? |
@bahmutov for me it pass too unlike the someone who said it crash completely. But it also print that error in output. |
Maybe your ci have an audio device configured? |
Ye, it probably goes from freshchat since its loading https://wchat.freshchat.com/assets/audio/notif.mp3 |
Excellent @aldarund I added
and I see same errors on Codeship (also, not failing the build)
|
Ye, exactly, for me it also just spam this error into console on wercker ci but build still successful and tests passed. |
hmm, I wonder if there is a way to disable the sound completely to remove these errors, ughhh |
Getting this error on my local machine in WSL. It, however, does not prevent the tests from running, it just clogs up the logs. |
I was able to suppress these warnings by configuring ALSA to use a example
example
|
@calaldees weirdly enough, I am still getting the warning ONCE using your trick :) |
is there a way to disable sound for cypress tests? |
You need to install pulseaudio or pulseaudio-alsa and run your container like |
Not sure if this is a good solution but here is what I just experienced: Using docker image Tried to apply this comment workaround but then ALSA was complaining about the configuration file being old or corrupted. Took a look at Xvfb and tried to start X11 server before running cypress even if nothing is running in parallel. Adding these commands before running cypress is what removed both
Hope this can help. If you think this is not a good solution I would be happy to know 😅 |
This is an old issue for versions which are no longer supported. If the issue is still occurring, please open a new issue with details.
|
Hi,
Using all images that you have provided I get the following error:
My configuration is:
Is there anything we need to do to surpass this problem?
The text was updated successfully, but these errors were encountered: