Description
stf is latest downloaded from you repo
No image on webui while using phone (endless loading animation)
Output of adb devices -l:
root@docker:/home/galax_ts4/updated/devicehub# adb devices -l
List of devices attached
CNXNU20A09207688 device 1-8.2 product:PPAH-L22 model:PPA_LX2 device:HWPPA-H transport_id:2
RFCX10SVVXM device 1-7.3 product:m34xdxx model:SM_M346B1 device:m34x transport_id:5
RFCX2038KTD device 1-7.1 product:m34xdxx model:SM_M346B1 device:m34x transport_id:3
RFCX90RBQAB device 1-7.2 product:a35xxx model:SM_A356B device:a35x transport_id:1
Happening everytime when trying to use any phone in the system
One of the errors from stf local run for phone on android 10 (maybe it's the lead for the rest of the errors but please don't focus on this one. Just dummy phone to test):
"2025-01-09T15:18:43.331Z DBG/device:resources:service 118381 [CNXNU20A09207688] output of granting permissions to STFService:
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.BLUETOOTH_CONNECT
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:2298)
at com.android.server.pm.permission.PermissionManagerService.access$1100(PermissionManagerService.java:129)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.grantRuntimePermission(PermissionManagerService.java:3274)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:6413)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1997)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:241)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:24368)
at android.os.Binder.shellCommand(Binder.java:888)
at android.os.Binder.onTransact(Binder.java:772)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4858)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4614)
at com.android.server.pm.HwPackageManagerService.onTransact(HwPackageManagerService.java:524)
at android.os.Binder.execTransactInternal(Binder.java:1028)
at android.os.Binder.execTransact(Binder.java:1001)"
Second error for the phone above (this one repeats for every phone in the system [4] ):
2025-01-09T15:18:43.643Z INF/groups-scheduler 118041 [*] groups-engine tick. now: 1736435923643
Error in waitForLocalSocket: AdbFailError: Failure: 'closed' lastMessage:localabstract:stfagent
at Parser.readError (/home/galax_ts4/updated/devicehub/node_modules/@u4/adbkit/dist/adb/parser.js:233:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Parser.readCode (/home/galax_ts4/updated/devicehub/node_modules/@u4/adbkit/dist/adb/parser.js:106:19)
at async LocalCommand.readOKAY (/home/galax_ts4/updated/devicehub/node_modules/@u4/adbkit/dist/adb/command.js:72:9)
at async LocalCommand.execute (/home/galax_ts4/updated/devicehub/node_modules/@u4/adbkit/dist/adb/command/host-transport/local.js:10:9)
at async devutil.waitForLocalSocket (file:///home/galax_ts4/updated/devicehub/lib/util/devutil.js:25:26)
at async openAgent (file:///home/galax_ts4/updated/devicehub/lib/units/device/plugins/service.js:219:26)
at async file:///home/galax_ts4/updated/devicehub/lib/units/device/plugins/service.js:605:9
Error in waitForLocalSocket: AdbFailError: Failure: 'closed' lastMessage:localabstract:stfagent
at Parser.readError (/home/galax_ts4/updated/devicehub/node_modules/@u4/adbkit/dist/adb/parser.js:233:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Parser.readCode (/home/galax_ts4/updated/devicehub/node_modules/@u4/adbkit/dist/adb/parser.js:106:19)
at async LocalCommand.readOKAY (/home/galax_ts4/updated/devicehub/node_modules/@u4/adbkit/dist/adb/command.js:72:9)
at async LocalCommand.execute (/home/galax_ts4/updated/devicehub/node_modules/@u4/adbkit/dist/adb/command/host-transport/local.js:10:9)
at async devutil.waitForLocalSocket (file:///home/galax_ts4/updated/devicehub/lib/util/devutil.js:25:26)
at async openAgent (file:///home/galax_ts4/updated/devicehub/lib/units/device/plugins/service.js:219:26)
at async file:///home/galax_ts4/updated/devicehub/lib/units/device/plugins/service.js:605:9
Some warnings:
2025-01-09T15:18:47.482Z WRN/device:plugins:data 118389 [RFCX90RBQAB] Unable to find device data - SM-A356B
2025-01-09T15:18:47.483Z INF/device:plugins:browser 118381 [CNXNU20A09207688] Updating browser list
2025-01-09T15:18:47.483Z INF/device:plugins:touch 118389 [RFCX90RBQAB] Touch origin is top left
2025-01-09T15:18:47.484Z WRN/device:plugins:browser 118381 [CNXNU20A09207688] Unmapped browser "com.huawei.browser"
2025-01-09T15:18:47.484Z WRN/device:plugins:browser 118381 [CNXNU20A09207688] Unmapped browser "com.huawei.hwsearch"
2025-01-09T15:18:47.484Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.482,"priority":5,"tag":"device:plugins:data","pid":118389,"message":"Unable to find device data - SM-A356B","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.485Z WRN/device:plugins:browser 118381 [CNXNU20A09207688] Unmapped browser "com.huawei.search"
2025-01-09T15:18:47.486Z INF/device:plugins:mute 118381 [CNXNU20A09207688] Will not mute master volume
2025-01-09T15:18:47.489Z INF/wire:router 118010 [*] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.482,"priority":5,"tag":"device:plugins:data","pid":118389,"message":"Unable to find device data - SM-A356B","identifier":"RFCX90RBQAB"}
And errors that repeats for every phone as well:
2025-01-09T15:18:47.730Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "open: Permission denied"
2025-01-09T15:18:47.731Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "Unable to open device /dev/input/event7 for inspectionopen: Permission denied"
2025-01-09T15:18:47.732Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied"
2025-01-09T15:18:47.732Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.73,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "open: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.732Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.731,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event7 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.733Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "Unable to open device /dev/input/event6 for inspectionopen: Permission denied"
2025-01-09T15:18:47.733Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.73,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "open: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.733Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied"
2025-01-09T15:18:47.733Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.732,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.733Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.731,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event7 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.734Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.733,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event6 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.734Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.732,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.734Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "Unable to open device /dev/input/event8 for inspectionopen: Permission denied"
2025-01-09T15:18:47.734Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.733,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event6 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.735Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.733,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.735Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "Unable to open device /dev/input/event2 for inspectionopen: Permission denied"
2025-01-09T15:18:47.735Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.733,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.735Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.734,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event8 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.736Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "Unable to open device /dev/input/event5 for inspectionopen: Permission denied"
2025-01-09T15:18:47.736Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.734,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event8 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.736Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.735,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event2 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.737Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied"
2025-01-09T15:18:47.737Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.735,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event2 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.737Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.736,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event5 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.737Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "Unable to open device /dev/input/event1 for inspectionUnable to find a suitable touch device"
2025-01-09T15:18:47.737Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.736,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event5 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.738Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.737,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.738Z INF/device:plugins:touch 118389 [RFCX90RBQAB] minitouch says: "using Android InputManager"
2025-01-09T15:18:47.738Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.737,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.739Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.737,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event1 for inspectionUnable to find a suitable touch device"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.739Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.737,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "Unable to open device /dev/input/event1 for inspectionUnable to find a suitable touch device"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.739Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.738,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "using Android InputManager"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.740Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX90RBQAB","timestamp":1736435927.738,"priority":3,"tag":"device:plugins:touch","pid":118389,"message":"minitouch says: "using Android InputManager"","identifier":"RFCX90RBQAB"}
2025-01-09T15:18:47.783Z WRN/device:plugins:data 118382 [RFCX10SVVXM] Unable to find device data - SM-M346B1
2025-01-09T15:18:47.784Z INF/device:plugins:touch 118382 [RFCX10SVVXM] Touch origin is top left
2025-01-09T15:18:47.784Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX10SVVXM","timestamp":1736435927.783,"priority":5,"tag":"device:plugins:data","pid":118382,"message":"Unable to find device data - SM-M346B1","identifier":"RFCX10SVVXM"}
2025-01-09T15:18:47.785Z INF/wire:router 118009 [proc001] Received message with type "DeviceLogMessage", and data {"serial":"RFCX10SVVXM","timestamp":1736435927.784,"priority":3,"tag":"device:plugins:touch","pid":118382,"message":"Touch origin is top left","identifier":"RFCX10SVVXM"}
2025-01-09T15:18:47.785Z INF/wire:router 118010 [] Received message with type "DeviceLogMessage", and data {"serial":"RFCX10SVVXM","timestamp":1736435927.783,"priority":5,"tag":"device:plugins:data","pid":118382,"message":"Unable to find device data - SM-M346B1","identifier":"RFCX10SVVXM"}
stf doctor run:
root@docker:/home/galax_ts4/updated/devicehub# stf doctor
Initialized sentry for environment: unset
Warning: Sentry sample_rate is 0
192.168.10.237
2025-01-09T15:27:43.070Z INF/cli:doctor 121591 [] OS Arch: x64
2025-01-09T15:27:43.071Z INF/cli:doctor 121591 [] OS Platform: linux
2025-01-09T15:27:43.071Z INF/cli:doctor 121591 [] OS Platform: 6.8.12-4-pve
2025-01-09T15:27:43.071Z INF/cli:doctor 121591 [] Using Node 20.17.0
2025-01-09T15:27:43.071Z INF/cli:doctor 121591 [] Using MongoDB 6.1.0
2025-01-09T15:27:43.081Z INF/cli:doctor 121591 [] Using ZeroMQ 4.2.2
Starting stf
(node:121591) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use node --trace-warnings ...
to show where the warning was created)
2025-01-09T15:27:43.099Z INF/cli:doctor 121591 [] Using ADB 1.0.41
2025-01-09T15:27:43.100Z INF/cli:doctor 121591 [] Using ProtoBuf 3.21.12
2025-01-09T15:27:43.103Z INF/cli:doctor 121591 [*] Using GraphicsMagick 1.3.40
Also running on node 20.17, done everything as setup guide says on main github repo page. One of the phones is also rooted and that didn't change anything