ReactiveCircus / android-emulator-runner

A GitHub Action for installing, configuring and running hardware-accelerated Android Emulators on macOS virtual machines.
Apache License 2.0
977 stars 193 forks source link

Job hangs after UI testing is terminated #381

Open JorisBodin opened 8 months ago

JorisBodin commented 8 months ago

👋

We switch to macmini arm for our CI, we're now on api 34 emulator in arm. The entire CI runs without a problem, after the "Terminate Emulator" step, which runs correctly (you can see the emulator disappear from the GUI on the macmini). The job hangs and never completes the CI

If you look at what's running on the machine, you'll notice this:

51861 ??         0:00.01 /Users/xxx/Library/Android/sdk/emulator/crashpad_handler --no-rate-limit --database=/tmp/android-runner/emu-crash-34.1.18.db --url=https://clients2.google.com/cr/report --annotation=prod=Andro
51863 ??         0:00.01 /Users/xxx/Library/Android/sdk/emulator/crashpad_handler --no-rate-limit --database=/tmp/android-runner/emu-crash-34.1.18.db --url=https://clients2.google.com/cr/report --annotation=prod=Andro

If we kill, it ends the CI correctly ...

Here's an example, where the CI was completed in 3 min, and remained blocked for almost 30min until we killed this crashpad_handler. https://github.com/Infomaniak/android-kDrive/actions/runs/8094185227/job/22160757207

Do you have any idea why this is happening? We've re-run a clean install of the machine to be sure.

Thank you