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 connecting to DeviceFarmer(STF) device without Google play services Huawei P40 Lite #1354

Open
VitaliySohatskiy opened this issue Feb 2, 2025 · 0 comments

Comments

@VitaliySohatskiy
Copy link

When connecting the Huawei P40 Lite device to STF, the Prepare status is displayed, then the Disconected status, this is a problem with Huawei devices, other devices connect successfully. Maybe someone has encountered a similar problem?
Log
2025-02-02 10:59:09 stf | 2025-02-02T08:59:09.554Z INF/provider 29 [] Found device "EPHUT20B19020611" (offline)
2025-02-02 10:59:09 stf | 2025-02-02T08:59:09.574Z INF/provider 29 [
] Registered device "EPHUT20B19020611"
2025-02-02 10:59:09 stf | 2025-02-02T08:59:09.574Z INF/provider 29 [] Device "EPHUT20B19020611" is now "authorizing" (was "offline")
2025-02-02 10:59:09 stf | 2025-02-02T08:59:09.575Z INF/provider 29 [
] Device "EPHUT20B19020611" is now "offline" (was "authorizing")
2025-02-02 10:59:09 stf | 2025-02-02T08:59:09.575Z INF/provider 29 [] Device "EPHUT20B19020611" is now "device" (was "offline")
2025-02-02 10:59:09 stf | 2025-02-02T08:59:09.577Z INF/reaper 28 [reaper001] Device "EPHUT20B19020611" is present
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.125Z INF/device:support:push 5980 [EPHUT20B19020611] Sending output to "tcp://127.0.0.1:7116"
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.133Z INF/device 5980 [EPHUT20B19020611] Preparing device
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.316Z INF/device:support:sub 5980 [EPHUT20B19020611] Receiving input from "tcp://127.0.0.1:7114"
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.319Z INF/device:support:sub 5980 [EPHUT20B19020611] Subscribing to permanent channel "ALL"
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.382Z INF/device:support:properties 5980 [EPHUT20B19020611] Loading properties
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.434Z INF/device:support:sdk 5980 [EPHUT20B19020611] Supports SDK 29
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.435Z INF/device:support:abi 5980 [EPHUT20B19020611] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.551Z INF/device:resources:minicap 5980 [EPHUT20B19020611] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/arm64-v8a/bin/minicap" as "/data/local/tmp/minicap"
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.552Z INF/device:resources:minicap 5980 [EPHUT20B19020611] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/arm64-v8a/lib/android-29/minicap.so" as "/data/local/tmp/minicap.so"
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.553Z INF/device:resources:minicap 5980 [EPHUT20B19020611] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.738Z INF/device:resources:service 5980 [EPHUT20B19020611] Checking whether we need to install STFService
2025-02-02 10:59:10 stf | 2025-02-02T08:59:10.804Z INF/device:resources:service 5980 [EPHUT20B19020611] Running version check
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.626Z INF/device:resources:service 5980 [EPHUT20B19020611] Installing STFService
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.630Z FTL/device 5980 [EPHUT20B19020611] Setup had an error TypeError: adb.uninstall(...).timeout(...).then(...).progressed is not a function
2025-02-02 10:59:11 stf | at /app/lib/units/device/resources/service.js:92:14
2025-02-02 10:59:11 stf | at tryCatcher (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/release/util.js:16:23)
2025-02-02 10:59:11 stf | at Promise._settlePromiseFromHandler (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/release/promise.js:547:31)
2025-02-02 10:59:11 stf | at Promise._settlePromise (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/release/promise.js:604:18)
2025-02-02 10:59:11 stf | at Promise._settlePromise0 (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/release/promise.js:649:10)
2025-02-02 10:59:11 stf | at Promise._settlePromises (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/release/promise.js:725:18)
2025-02-02 10:59:11 stf | at _drainQueueStep (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/release/async.js:93:12)
2025-02-02 10:59:11 stf | at _drainQueue (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/release/async.js:86:9)
2025-02-02 10:59:11 stf | at Async._drainQueues (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/release/async.js:102:5)
2025-02-02 10:59:11 stf | at Async.drainQueues (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/release/async.js:15:14)
2025-02-02 10:59:11 stf | at process.processImmediate (node:internal/timers:491:21)
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.631Z FTL/util:lifecycle 5980 [EPHUT20B19020611] Shutting down due to fatal error
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.647Z INF/provider 29 [
] Cleaning up device worker "EPHUT20B19020611"
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.647Z ERR/provider 29 [
] Device worker "EPHUT20B19020611" died with code 1
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.647Z INF/provider 29 [] Restarting device worker "EPHUT20B19020611"
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.747Z INF/provider 29 [
] Device "EPHUT20B19020611" is now "offline" (was "device")
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.853Z INF/provider 29 [] Shutting down device worker "EPHUT20B19020611"
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.859Z INF/provider 29 [
] Lost device "EPHUT20B19020611" (offline)
2025-02-02 10:59:11 stf | 2025-02-02T08:59:11.861Z INF/provider 29 [*] Shutting down device worker "EPHUT20B19020611"

@VitaliySohatskiy VitaliySohatskiy changed the title Not connecting to DeviceFarmer(STF) device without Google play servicws Huawei P40 Lite Not connecting to DeviceFarmer(STF) device without Google play services Huawei P40 Lite Feb 2, 2025
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