-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Core Audio taking 3 minutes to open audio device #10902
Comments
Hi @miketoon We will look into the issue and keep you posted with updates. |
@miketoon , I can't seem to reproduce this. I tried using an application that utilizes |
@NorseGaud |
Here is what I'm seeing on the first run. Second run, without clicking "Allow", sits for a long time and then finally fails at: Once I allow the Microphone, I see things work fast for the core audio logs: I am not using a GitHub runner Mac though, so this is a pure VM. @susmitamane , check with the team and see if the Microphone permissions are the issue by manually testing this in Github's environment/VMs. |
The timing matches up with what I am seeing when on a runner. This is strange because we are attempting to start the device without any audio input so I am not sure why access is even being requested. |
It may be a consequence of Apple's design :( I think there is a way around this. Can you clarify what binaries/commands you run to build/test? There is a way to preapprove certain binaries for certain permissions in the Github runner images but the team needs to know exactly what you're running that does the build. |
We are building our binary using XCode |
Sorry, so the issue isn't with building but running your binary? Let's see what the Github team recommends here. It could be the permissions for rake weren't added to the VM when it was created, so try running the binary without it and see if it's still a problem. Is your binary and rake script something you could share privately with us so we can test again? Maybe you can create a tiny version of the script with just the necessities? |
The same issue happens when running the binary directly on the runner. I think this is what you've already seen when running the example app and the popup appears. Output running directly on runner:
|
@NorseGaud any updates from the GitHub team? Or suggestions to how the required permissions can be given for our binary? |
@NorseGaud any update on this? |
Hey @miketoon , I actually don't work for Github, I was just helping out. You'll need to wait for their team to get back to you. I've let them know what I recommend to test and fix this. |
Hi @miketoon , |
@aartis17 Is this running on the runner image? I don't get the prompt on my dev machine running locally. |
@miketoon No, It was from Xcode tool which was running on my local machine. We have investigated the issue, we couldn't able to reproduce it, as we cannot see any Yaml files there in zip file, can you please share the path if the files are present. Also, could you please share complete repro steps, Github workflow (.yaml files) and please share public Github repository link if any. Thanks. |
I am also facing some issue in playing audio on agent with macos-14 image #11251 |
Description
When starting an audio device with CoreAudio it takes 3 minutes to return when calling:
We are trying to upgrade from macosx12 but are running into this issue with our tests where we need to repeatedly start an audio device. This is causing a massive delay to the tests which is unworkable.
Platforms affected
Runner images affected
Image version and build link
macos13:
Current image version: '20241023.237'
macos 15:
Current image version: '20241022.244'
Is it regression?
Yes macosx12
Expected behavior
Audio device is started in a few seconds or less
Actual behavior
Audio device doesn't start for 3 minutes hanging the application
Repro steps
call to
The text was updated successfully, but these errors were encountered: