Skip to content

Any ideas why I would be getting a "failed to install stream.apk" error? #2017

@tking16

Description

@tking16

This has randomly started happening in the past week or so, I've made no changes to my environment.

Env:

At first I thought it was a space issue, but there's about 100GB free on the phone!

error:

        if exception_class == UnexpectedAlertPresentException:
            alert_text = None
            if "data" in value:
                alert_text = value["data"].get("text")
            elif "alert" in value:
                alert_text = value["alert"].get("text")
            raise exception_class(message, screen, stacktrace, alert_text)  # type: ignore[call-arg]  # mypy is not smart enough here
>       raise exception_class(message, screen, stacktrace)
E       selenium.common.exceptions.WebDriverException: Message: Error executing adbExec. Original error: 'Command '/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 10.63.162.49\:5555 install -r /Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/node_modules/appium-device-farm/lib/stream.apk' exited with code 1'; Command output: adb: failed to install /Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/node_modules/appium-device-farm/lib/stream.apk: 
E       
E       Stacktrace:
E       UnknownError: Error executing adbExec. Original error: 'Command '/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 10.63.162.49\:5555 install -r /Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/node_modules/appium-device-farm/lib/stream.apk' exited with code 1'; Command output: adb: failed to install /Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/node_modules/appium-device-farm/lib/stream.apk: 
E       
E           at getResponseForW3CError (/Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/node_modules/@appium/base-driver/lib/protocol/errors.ts:1103:34)
E           at asyncHandler (/Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/node_modules/@appium/base-driver/lib/protocol/protocol.ts:507:57)
E       The above error is caused by
E       Error: Error executing adbExec. Original error: 'Command '/Users/jenkins/Library/Android/sdk/platform-tools/adb -P 5037 -s 10.63.162.49\:5555 install -r /Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/node_modules/appium-device-farm/lib/stream.apk' exited with code 1'; Command output: adb: failed to install /Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/node_modules/appium-device-farm/lib/stream.apk: 
E       
E           at ChildProcess.<anonymous> (/Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/node_modules/teen_process/lib/exec.js:110:19)
E           at ChildProcess.emit (node:events:518:28)
E           at maybeClose (node:internal/child_process:1101:16)
E           at Socket.<anonymous> (node:internal/child_process:456:11)
E           at Socket.emit (node:events:518:28)
E           at Pipe.<anonymous> (node:net:346:12)
E           at Pipe.callbackTrampoline (node:internal/async_hooks:130:17)

_env/lib/python3.13/site-packages/selenium/webdriver/remote/errorhandler.py:232: WebDriverException[gw4] darwin -- Python 3.13.7 /Users/jenkins/actions-runner/_at-tests/guacamole/guacamole/testing/app-at/_env/bin/python

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