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

Not enought devices to run shards #2159

Open
1 task done
christian-hess-94 opened this issue Nov 27, 2024 · 1 comment
Open
1 task done

Not enought devices to run shards #2159

christian-hess-94 opened this issue Nov 27, 2024 · 1 comment

Comments

@christian-hess-94
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

After upgrading to maestro version 1.39.2, I get this error when trying to run the test (I am using windows and WSL)

image

Actual results

The test fails to run. WSL seems to not be able to run and identify the opened emulator on windows size, even though adb devices does return the device

Expected results

The test runs as it was before (we were using version 1.33.0)

About app

It's a simple app, we are trying to run an E2E flow for the authentication, with mocked data and users. The test runs fine locally in version 1.33.0

About environment

openjdk 21.0.5 2024-10-15
OpenJDK Runtime Environment (build 21.0.5+11-Ubuntu-1ubuntu124.04)
OpenJDK 64-Bit Server VM (build 21.0.5+11-Ubuntu-1ubuntu124.04, mixed mode, sharing)

Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble

Logs

Logs
chris@Christian-PC:~$ adb kill-server
chris@Christian-PC:~$ export ADB_SERVER_SOCKET=tcp:192.168.0.101:5037
chris@Christian-PC:~$ adb devices
List of devices attached
emulator-5554   device

chris@Christian-PC:~$ cd /mnt/c/Users/chris/Projetos/truckup/truckup-pro/e2e
chris@Christian-PC:/mnt/c/Users/chris/Projetos/truckup/truckup-pro/e2e$ maestro --host 192.168.0.101 test e2e.yml

Want to use 0 devices, which is not enough to run 1 shards. Missing 1 device(s).
Not enough devices connected (1) to run the requested number of shards (1).
chris@Christian-PC:/mnt/c/Users/chris/Projetos/truckup/truckup-pro/e2e$
chris@Christian-PC:/mnt/c/Users/chris/Projetos/truckup/truckup-pro/e2e$ maestro --version
1.39.2

Maestro version

1.39.2

How did you install Maestro?

install script (https://get.maestro.mobile.dev)

Anything else?

No response

Copy link

linear bot commented Nov 27, 2024

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

No branches or pull requests

1 participant