Skip to content

error: device offline #55

Closed
Closed
@stefan-niedermann

Description

@stefan-niedermann

Hi,

i just found your GitHub action and wanted to use it for instrumented tests.

Unfortunately i don't get it working. Every run ends in an endless-loop, like this:

2020-04-18T10:50:38.3709819Z Do you wish to create a custom hardware profile? [no] Starting emulator.
2020-04-18T10:50:38.3710947Z [command]sh -c \/usr/local/lib/android/sdk/emulator/emulator -avd test -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -accel off &
2020-04-18T10:50:38.5434456Z emulator: ERROR: AdbHostServer.cpp:102: Unable to connect to adb daemon on port: 5037
2020-04-18T10:50:38.8611089Z emulator: WARNING: x86 emulation may not work without hardware acceleration!
2020-04-18T10:50:38.8611715Z emulator: Cold boot: requested by the user
2020-04-18T10:50:48.0223424Z Your emulator is out of date, please update by launching Android Studio:
2020-04-18T10:50:48.0224339Z  - Start Android Studio
2020-04-18T10:50:48.0224850Z  - Select menu "Tools > Android > SDK Manager"
2020-04-18T10:50:48.0225247Z  - Click "SDK Tools" tab
2020-04-18T10:50:48.0225575Z  - Check "Android Emulator" checkbox
2020-04-18T10:50:48.0225857Z  - Click "OK"
2020-04-18T10:50:48.0225987Z 
2020-04-18T10:50:48.0226140Z [command]adb shell getprop sys.boot_completed
2020-04-18T10:50:48.0287652Z * daemon not running; starting now at tcp:5037
2020-04-18T10:50:48.1271823Z * daemon started successfully
2020-04-18T10:50:48.1279811Z The process 'adb' failed with exit code 1
2020-04-18T10:50:48.1280228Z error: device offline
2020-04-18T10:50:50.1297670Z [command]adb shell getprop sys.boot_completed
2020-04-18T10:50:50.1334241Z error: device offline
2020-04-18T10:50:50.1343910Z The process 'adb' failed with exit code 1
2020-04-18T10:50:52.1376072Z [command]adb shell getprop sys.boot_completed
2020-04-18T10:50:52.1414803Z error: device offline
2020-04-18T10:50:52.1423024Z The process 'adb' failed with exit code 1
2020-04-18T10:50:54.1452862Z [command]adb shell getprop sys.boot_completed
2020-04-18T10:50:54.1494499Z error: device offline
2020-04-18T10:50:54.1509088Z The process 'adb' failed with exit code 1
2020-04-18T10:50:56.1540131Z [command]adb shell getprop sys.boot_completed
2020-04-18T10:50:56.1581878Z error: device offline
2020-04-18T10:50:56.1591998Z The process 'adb' failed with exit code 1
2020-04-18T10:50:58.1622531Z [command]adb shell getprop sys.boot_completed
2020-04-18T10:50:58.1657872Z error: device offline
2020-04-18T10:50:58.1667429Z The process 'adb' failed with exit code 1
2020-04-18T10:51:00.1692766Z [command]adb shell getprop sys.boot_completed
2020-04-18T10:51:00.1728925Z error: device offline
2020-04-18T10:51:00.1736781Z The process 'adb' failed with exit code 1
2020-04-18T10:51:02.1767240Z [command]adb shell getprop sys.boot_completed

You can find my configuration here: https://github.com/stefan-niedermann/nextcloud-deck/blob/instrumented-tests-ci/.github/workflows/android.yml#L25-L39 and the full log output here: https://github.com/stefan-niedermann/nextcloud-deck/runs/597664917 (raw)

Do you have any clue what i am doing wrong?

Thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions