Skip to content

Github worklow for Android tests is broken #11015

@HatakeKakashri

Description

@HatakeKakashri

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

N/A

Steps to reproduce the bug

  1. Create a PR
  2. Wait for the github actions.
  3. The github action for android-tests fails to start
  4. Example: https://github.com/TeamNewPipe/NewPipe/actions/runs/8841573544/job/24278881185?pr=10876

Expected behavior

Workflow should start and run all tests.

Actual behavior

Workflow fails during setup

Screenshots/Screen recordings

Screenshot_20240429_020808

Logs

Relevant logs added below. Find full logs here: https://github.com/TeamNewPipe/NewPipe/actions/runs/8841573544/job/24278881185?pr=10876

Creating AVD.
  /bin/sh -c \echo no | avdmanager create avd --force -n test --abi 'default/x86' --package 'system-images;android-21;default;x86'
  Loading local repository...                                                     
  [=========                              ] 25% Loading local repository...       
  [=========                              ] 25% Fetch remote repository...        
  [=======================================] 100% Fetch remote repository...       
  sh to create a custom hardware profile? [no] [command]/bin/sh -c \printf 'hw.cpu.ncore=2
  ' >> /Users/runner/.android/avd/test.avd/config.ini
  Starting emulator.
  /bin/sh -c \/Users/runner/Library/Android/sdk/emulator/emulator -avd test -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim &
  INFO    | Storing crashdata in: /tmp/android-runner/emu-crash-34.1.20.db, detection is enabled for process: 4011
  INFO    | Android emulator version 34.1.20.0 (build_id 11610631) (CL:N/A)
  INFO    | Found systemPath /Users/runner/Library/Android/sdk/system-images/android-21/default/x86/
  PANIC: Avd's CPU Architecture 'x86' is not supported by the QEMU2 emulator on aarch64 host.
  /Users/runner/Library/Android/sdk/platform-tools/adb shell getprop sys.boot_completed
  * daemon not running; starting now at tcp:5037
  * daemon started successfully
  adb: no devices/emulators found
  The process '/Users/runner/Library/Android/sdk/platform-tools/adb' failed with exit code 1

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

Metadata

Metadata

Labels

bugIssue is related to a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions