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

headless not respected by AVDValidator emulator version validator #3613

Closed
1 of 2 tasks
paulrostorp opened this issue Sep 27, 2022 · 2 comments · Fixed by #3614
Closed
1 of 2 tasks

headless not respected by AVDValidator emulator version validator #3613

paulrostorp opened this issue Sep 27, 2022 · 2 comments · Fixed by #3614

Comments

@paulrostorp
Copy link
Contributor

What happened?

the headless config option is not respected by the emulator version validator (it is respected by other commands however)

Example error observed on ubuntu:

09:33:44.784 detox[10068] ERROR: [EXEC_FAIL, #1] ""/usr/local/lib/android/sdk/emulator/emulator" -version " failed with error = ChildProcessError: Command failed: "/usr/local/lib/android/sdk/emulator/emulator" -version 
/usr/local/lib/android/sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64: error while loading shared libraries: libpulse.so.0: cannot open shared object file: No such file or directory
 `"/usr/local/lib/android/sdk/emulator/emulator" -version ` (exited with error code 127) (code=127), stdout and stderr:

0[9](https://github.com/letsbuilders/LbSiteDiary/actions/runs/3091392392/jobs/5012531600#step:8:10):33:44.785 detox[[10](https://github.com/letsbuilders/LbSiteDiary/actions/runs/3091392392/jobs/5012531600#step:8:11)068] ERROR: [EXEC_FAIL, #1] 
09:33:44.785 detox[10068] ERROR: [EXEC_FAIL, #1] /usr/local/lib/android/sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64: error while loading shared libraries: libpulse.so.0: cannot open shared object file: No such file or directory

What was the expected behaviour?

No response

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: 19.12.1
React Native version: N/A
Node version: 16
Device model: N/A
Android version: N/A
Test-runner (select one): N/A

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste logs here!

More data, please!

No response

@paulrostorp
Copy link
Contributor Author

fixed by #3614

asafkorem pushed a commit that referenced this issue Oct 2, 2022
This is a bug-fix to address the `headless` config when running tests (invoked as `emulator -version`) by the AVD emulator version validator. Resolves #3613
noomorph pushed a commit that referenced this issue Oct 3, 2022
This is a bug-fix to address the `headless` config when running tests (invoked as `emulator -version`) by the AVD emulator version validator. Resolves #3613
@asafkorem
Copy link
Contributor

Resolved in Detox v19.12.4, thanks to @paulrostorp!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants