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

ci: android delete AVD lockfile when running from cached image #5917

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

kralo
Copy link
Contributor

@kralo kralo commented Jan 30, 2024

working against


  /bin/sh -c \/Users/runner/Library/Android/sdk/emulator/emulator -avd test -no-window -no-snapshot-save -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -snapshot 28-x86+termux-v0.118.0 &
  INFO    | Android emulator version 33.1.24.0 (build_id 11237101) (CL:N/A)
  INFO    | Found systemPath /Users/runner/Library/Android/sdk/system-images/android-28/default/x86/
  ERROR   | Running multiple emulators with the same AVD 
  ERROR   | is an experimental feature.
  ERROR   | Please use -read-only flag to enable this feature.
  INFO    | Storing crashdata in: , detection is enabled for process: 1367
  INFO    | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
  INFO    | Increasing RAM size to 1536MB

@kralo
Copy link
Contributor Author

kralo commented Jan 30, 2024

this has the launch of the emulator running more nicely, as evidenced by execution runs/7709233736/job/21009988876

next up will be fixing the test issues in a separate PR

/bin/sh -c util/android-commands.sh tests
Running tests
launching termux
Starting: Intent { cmp=com.termux/.HomeActivity }
Warning: Activity not started, intent has been delivered to currently running top-most instance.
waiting for launch.probe
waiting for launch.probe
/sdcard/launch.probe
found launch.probe
removed launch.probe
Running command: export PATH=$HOME/.cargo/bin:$PATH; export RUST_BACKTRACE=1; export CARGO_TERM_COLOR=always; export CARGO_INCREMENTAL=0; cd ~/coreutils; timeout --preserve-status --verbose -k 1m 60m cargo nextest run --profile ci --hide-progress-bar --features feat_os_unix_android; echo $? >/sdcard/tests.probe
run_termux_command with timeout=3600 / retries=10 / sleep_interval=10
Waiting for /sdcard/tests.probe: adb: error: failed to stat remote object '/sdcard/tests.log': No such file or directory
Waiting for /sdcard/tests.probe: adb: error: failed to stat remote object '/sdcard/tests.log': No such file or directory
Waiting for /sdcard/tests.probe: adb: error: failed to stat remote object '/sdcard/tests.log': No such file or directory
No output received. Trying to fix the issue ... (9 retries left)
Waiting for /sdcard/tests.probe: adb: error: failed to stat remote object '/sdcard/tests.log': No such file or directory
Waiting for /sdcard/tests.probe: adb: error: failed to stat remote object '/sdcard/tests.log': No such file or directory
Waiting for /sdcard/tests.probe: adb: error: failed to stat remote object '/sdcard/tests.log': No such file or directory
No output received. Trying to fix the issue ... (8 retries left)

@cakebaker cakebaker merged commit 9bd531b into uutils:main Jan 30, 2024
60 of 61 checks passed
@cakebaker
Copy link
Contributor

Thanks for your PR :)

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

Successfully merging this pull request may close these issues.

2 participants