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

Updating from 16.0.1 to 16.0.2 breaks things on TravisCI #1995

Closed
Overtorment opened this issue Apr 5, 2020 · 5 comments
Closed

Updating from 16.0.1 to 16.0.2 breaks things on TravisCI #1995

Overtorment opened this issue Apr 5, 2020 · 5 comments

Comments

@Overtorment
Copy link

Overtorment commented Apr 5, 2020

Description

when I update from 16.0.1 to 16.0.2 my tests on travisci break with error

""/home/travis/android-sdk/emulator/emulator" -version" failed with code = 127, stdout and stderr:
detox[11585] ERROR: [exec.js/EXEC_FAIL, #1] 
detox[11585] ERROR: [exec.js/EXEC_FAIL, #1] /home/travis/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory

it worked fine on 16.0.0. and 16.0.1
here's the full log and travis config: https://travis-ci.com/github/BlueWallet/BlueWallet/builds/157474607

Change in the PR is rather simple: just up deto ver: https://github.com/BlueWallet/BlueWallet/pull/932/files

Steps to Reproduce

Could not reproduce on localhost from the first try. Will try again

Detox, Node, Device, Xcode and macOS Versions

Ubuntu Bionic

  • Detox: 16.0.2
  • React Native: 0.61.5
  • Node: latest
  • Device: android-28 x86_64
  • Xcode: -
  • macOS: -

Device and verbose Detox logs

https://travis-ci.com/github/BlueWallet/BlueWallet/builds/157474607

iOS build logs

@LeoNatan
Copy link
Contributor

LeoNatan commented Apr 5, 2020

Please use normal templates for opening issues.

@Overtorment
Copy link
Author

Sorry, I thought thats the normal template. I clicked here:

image

@Overtorment
Copy link
Author

I added verbose output to Detox but I think log didn't really change: https://travis-ci.com/github/BlueWallet/BlueWallet/builds/158676304
Changes: BlueWallet/BlueWallet#951

@ericschaal
Copy link
Contributor

ericschaal commented Apr 7, 2020

I am facing the same issue on Gitlab CI with a headless android emulator running in Docker, had to revert to 16.0.1 :/

@noomorph
Copy link
Collaborator

noomorph commented Apr 7, 2020

You should install libxcursor1 (for Ubuntu 18.04) package or its equivalent if you are running another distro. It is just not all dependencies of the Android emulator are installed.

@noomorph noomorph closed this as completed Apr 7, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants