-
Notifications
You must be signed in to change notification settings - Fork 497
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
Cyclic restart of the stf service #703
Comments
@mikulski-lab , please provide your docker-compose file, what STF version do you use ? |
I'm using the docker version, so the one fetch via docker. barty@barty:~/devicefarmer/stf$ cat docker-compose.yaml services: adb: stf: |
@mikulski-lab , after discussion with @pcrepieux , it seems the STF agent now supports only mobile phones from Android 5 (API 21) version, this is why it does not work with your Android 4.4 (API 18) version. |
Thank you, much appreciate your help. Just to confirm there is no older docker image that works with Android 4.4? |
@mikulski-lab , you have to try the older versions to see if it works or not! |
Hi, I did a fallback to devicefarmer/stf:3.6.1. It works like a charm now! |
What is the issue or idea you have?
The service doesn't start and restarts loop. Web interface inicates preparation of the device.
Does it only happen on a specific device? Please run
adb devices -l
and paste the corresponding row.It happens on my custom device running android 4.4. I tried a regular phone with android 9 and it works flawlessly.
Please provide the steps to reproduce the issue.
barty@barty:~/devicefarmer/stf$ sudo docker-compose up
What is the expected behavior?
STF service up and running.
Do you see errors or warnings in the
stf local
output? If so, please paste them or the full log here.[+] Running 3/3
v Container stf Recreated 10.1s
v Container rethinkdb Running 0.0s
v Container adb Running 0.0s
Attaching to adb, rethinkdb, stf
stf | 2023-09-04T07:48:13.173Z INF/util:procutil 1 [] Forking "/app/lib/cli migrate"
stf | 2023-09-04T07:48:14.215Z INF/db 13 [] Connecting to rethinkdb:28015
stf | 2023-09-04T07:48:14.308Z INF/db:setup 13 [] Database "stf" already exists
stf | 2023-09-04T07:48:14.343Z INF/db:setup 13 [] Table "users" already exists
stf | 2023-09-04T07:48:14.345Z INF/db:setup 13 [] Table "accessTokens" already exists
stf | 2023-09-04T07:48:14.345Z INF/db:setup 13 [] Table "vncauth" already exists
stf | 2023-09-04T07:48:14.346Z INF/db:setup 13 [] Table "devices" already exists
stf | 2023-09-04T07:48:14.347Z INF/db:setup 13 [] Table "logs" already exists
stf | 2023-09-04T07:48:14.347Z INF/db:setup 13 [] Table "groups" already exists
stf | 2023-09-04T07:48:14.404Z INF/db:setup 13 [] Index "users"."adbKeys" already exists
stf | 2023-09-04T07:48:14.405Z INF/db:setup 13 [] Index "accessTokens"."email" already exists
stf | 2023-09-04T07:48:14.406Z INF/db:setup 13 [] Index "vncauth"."response" already exists
stf | 2023-09-04T07:48:14.406Z INF/db:setup 13 [] Index "vncauth"."responsePerDevice" already exists
stf | 2023-09-04T07:48:14.407Z INF/db:setup 13 [] Index "devices"."owner" already exists
stf | 2023-09-04T07:48:14.407Z INF/db:setup 13 [] Index "devices"."logs_enabled" already exists
stf | 2023-09-04T07:48:14.408Z INF/db:setup 13 [] Index "devices"."present" already exists
stf | 2023-09-04T07:48:14.409Z INF/db:setup 13 [] Index "devices"."providerChannel" already exists
stf | 2023-09-04T07:48:14.410Z INF/db:setup 13 [] Index "devices"."group" already exists
stf | 2023-09-04T07:48:14.410Z INF/db:setup 13 [] Index "groups"."privilege" already exists
stf | 2023-09-04T07:48:14.411Z INF/db:setup 13 [] Index "groups"."owner" already exists
stf | 2023-09-04T07:48:14.411Z INF/db:setup 13 [] Waiting for index "users"."adbKeys"
stf | 2023-09-04T07:48:14.414Z INF/db:setup 13 [] Waiting for index "accessTokens"."email"
stf | 2023-09-04T07:48:14.417Z INF/db:setup 13 [] Waiting for index "vncauth"."response"
stf | 2023-09-04T07:48:14.419Z INF/db:setup 13 [] Waiting for index "vncauth"."responsePerDevice"
stf | 2023-09-04T07:48:14.421Z INF/db:setup 13 [] Waiting for index "devices"."owner"
stf | 2023-09-04T07:48:14.424Z INF/db:setup 13 [] Waiting for index "devices"."logs_enabled"
stf | 2023-09-04T07:48:14.426Z INF/db:setup 13 [] Waiting for index "devices"."present"
stf | 2023-09-04T07:48:14.429Z INF/db:setup 13 [] Waiting for index "devices"."providerChannel"
stf | 2023-09-04T07:48:14.432Z INF/db:setup 13 [] Waiting for index "devices"."group"
stf | 2023-09-04T07:48:14.434Z INF/db:setup 13 [] Waiting for index "groups"."privilege"
stf | 2023-09-04T07:48:14.437Z INF/db:setup 13 [] Waiting for index "groups"."owner"
stf | 2023-09-04T07:48:14.441Z INF/db:setup 13 [] Index "groups"."startTime" already exists
stf | 2023-09-04T07:48:14.442Z INF/db:setup 13 [] Waiting for index "groups"."startTime"
stf | 2023-09-04T07:48:14.448Z INF/db:setup 13 [] Index "users"."adbKeys" is ready
stf | 2023-09-04T07:48:14.465Z INF/db:setup 13 [] Index "accessTokens"."email" is ready
stf | 2023-09-04T07:48:14.465Z INF/db:setup 13 [] Index "vncauth"."response" is ready
stf | 2023-09-04T07:48:14.466Z INF/db:setup 13 [] Index "vncauth"."responsePerDevice" is ready
stf | 2023-09-04T07:48:14.466Z INF/db:setup 13 [] Index "devices"."owner" is ready
stf | 2023-09-04T07:48:14.466Z INF/db:setup 13 [] Index "devices"."logs_enabled" is ready
stf | 2023-09-04T07:48:14.477Z INF/db:setup 13 [] Index "devices"."present" is ready
stf | 2023-09-04T07:48:14.483Z INF/db:setup 13 [] Index "devices"."providerChannel" is ready
stf | 2023-09-04T07:48:14.484Z INF/db:setup 13 [] Index "devices"."group" is ready
stf | 2023-09-04T07:48:14.485Z INF/db:setup 13 [] Index "groups"."privilege" is ready
stf | 2023-09-04T07:48:14.486Z INF/db:setup 13 [] Index "groups"."owner" is ready
stf | 2023-09-04T07:48:14.486Z INF/db:setup 13 [] Index "groups"."startTime" is ready
stf | 2023-09-04T07:48:15.542Z INF/util:procutil 1 [] Forking "/app/lib/cli triproxy app001 --bind-pub tcp://127.0.0.1:7111 --bind-dealer tcp://127.0.0.1:7112 --bind-pull tcp://127.0.0.1:7113"
stf | 2023-09-04T07:48:15.550Z INF/util:procutil 1 [] Forking "/app/lib/cli triproxy dev001 --bind-pub tcp://127.0.0.1:7114 --bind-dealer tcp://127.0.0.1:7115 --bind-pull tcp://127.0.0.1:7116"
stf | 2023-09-04T07:48:15.560Z INF/util:procutil 1 [] Forking "/app/lib/cli processor proc001 --connect-app-dealer tcp://127.0.0.1:7112 --connect-dev-dealer tcp://127.0.0.1:7115"
stf | 2023-09-04T07:48:15.570Z INF/util:procutil 1 [] Forking "/app/lib/cli processor proc002 --connect-app-dealer tcp://127.0.0.1:7112 --connect-dev-dealer tcp://127.0.0.1:7115"
stf | 2023-09-04T07:48:15.586Z INF/util:procutil 1 [] Forking "/app/lib/cli reaper reaper001 --connect-push tcp://127.0.0.1:7116 --connect-sub tcp://127.0.0.1:7111"
stf | 2023-09-04T07:48:15.611Z INF/util:procutil 1 [] Forking "/app/lib/cli provider --name 24dda9770ae9 --min-port 7400 --max-port 7500 --connect-sub tcp://127.0.0.1:7114 --connect-push tcp://127.0.0.1:7116 --group-timeout 900 --public-ip 10.216.173.151 --storage-url http://localhost:7100/ --adb-host adb --adb-port 5037 --vnc-initial-size 600x800 --mute-master never"
stf | 2023-09-04T07:48:15.644Z INF/util:procutil 1 [] Forking "/app/lib/cli auth-mock --port 7120 --secret kute kittykat --app-url http://10.216.173.151:7100/"
stf | 2023-09-04T07:48:15.669Z INF/util:procutil 1 [] Forking "/app/lib/cli app --port 7105 --secret kute kittykat --auth-url http://10.216.173.151:7100/auth/mock/ --websocket-url http://10.216.173.151:7110/"
stf | 2023-09-04T07:48:15.706Z INF/util:procutil 1 [] Forking "/app/lib/cli api --port 7106 --secret kute kittykat --connect-push tcp://127.0.0.1:7113 --connect-sub tcp://127.0.0.1:7111 --connect-push-dev tcp://127.0.0.1:7116 --connect-sub-dev tcp://127.0.0.1:7114"
stf | 2023-09-04T07:48:15.741Z INF/util:procutil 1 [] Forking "/app/lib/cli groups-engine --connect-push tcp://127.0.0.1:7113 --connect-sub tcp://127.0.0.1:7111 --connect-push-dev tcp://127.0.0.1:7116 --connect-sub-dev tcp://127.0.0.1:7114"
stf | 2023-09-04T07:48:15.797Z INF/util:procutil 1 [] Forking "/app/lib/cli websocket --port 7110 --secret kute kittykat --storage-url http://localhost:7100/ --connect-sub tcp://127.0.0.1:7111 --connect-push tcp://127.0.0.1:7113"
stf | 2023-09-04T07:48:15.825Z INF/util:procutil 1 [] Forking "/app/lib/cli storage-temp --port 7102"
stf | 2023-09-04T07:48:15.873Z INF/util:procutil 1 [] Forking "/app/lib/cli storage-plugin-image --port 7103 --storage-url http://localhost:7100/"
stf | 2023-09-04T07:48:15.927Z INF/util:procutil 1 [] Forking "/app/lib/cli storage-plugin-apk --port 7104 --storage-url http://localhost:7100/"
stf | 2023-09-04T07:48:15.972Z INF/util:procutil 1 [] Forking "/app/lib/cli poorxy --port 7100 --app-url http://localhost:7105/ --auth-url http://localhost:7120/ --api-url http://localhost:7106/ --websocket-url http://localhost:7110/ --storage-url http://localhost:7102/ --storage-plugin-image-url http://localhost:7103/ --storage-plugin-apk-url http://localhost:7104/"
stf | 2023-09-04T07:48:20.978Z INF/triproxy 24 [app001] PUB socket bound on tcp://127.0.0.1:7111
stf | 2023-09-04T07:48:21.030Z INF/triproxy 24 [app001] DEALER socket bound on tcp://127.0.0.1:7112
stf | 2023-09-04T07:48:21.056Z INF/triproxy 24 [app001] PULL socket bound on tcp://127.0.0.1:7113
stf | 2023-09-04T07:48:21.390Z INF/triproxy 25 [dev001] PUB socket bound on tcp://127.0.0.1:7114
stf | 2023-09-04T07:48:21.475Z INF/triproxy 25 [dev001] DEALER socket bound on tcp://127.0.0.1:7115
stf | 2023-09-04T07:48:21.509Z INF/triproxy 25 [dev001] PULL socket bound on tcp://127.0.0.1:7116
stf | 2023-09-04T07:48:23.946Z INF/db 31 [] Connecting to rethinkdb:28015
stf | 2023-09-04T07:48:23.887Z INF/db 37 [] Connecting to rethinkdb:28015
stf | 2023-09-04T07:48:24.489Z INF/processor 31 [proc001] App dealer connected to "tcp://127.0.0.1:7112"
stf | 2023-09-04T07:48:24.504Z INF/processor 31 [proc001] Device dealer connected to "tcp://127.0.0.1:7115"
stf | 2023-09-04T07:48:24.534Z INF/processor 37 [proc002] App dealer connected to "tcp://127.0.0.1:7112"
stf | 2023-09-04T07:48:24.552Z INF/processor 37 [proc002] Device dealer connected to "tcp://127.0.0.1:7115"
stf | 2023-09-04T07:48:24.568Z INF/reaper 44 [reaper001] Subscribing to permanent channel "ALL"
stf | 2023-09-04T07:48:24.576Z INF/groups-engine 69 [] Subscribing to permanent channel "ALL"
stf | 2023-09-04T07:48:24.623Z INF/reaper 44 [reaper001] Reaping devices with no heartbeat
stf | 2023-09-04T07:48:24.608Z INF/poorxy 103 [] Listening on port 7100
stf | 2023-09-04T07:48:24.710Z INF/db 44 [reaper001] Connecting to rethinkdb:28015
stf | 2023-09-04T07:48:24.704Z INF/groups-engine 69 [] Groups engine started
stf | 2023-09-04T07:48:24.778Z INF/db 69 [] Connecting to rethinkdb:28015
stf | 2023-09-04T07:48:24.866Z INF/reaper 44 [reaper001] Receiving input from "tcp://127.0.0.1:7111"
stf | 2023-09-04T07:48:24.889Z INF/reaper 44 [reaper001] Sending output to "tcp://127.0.0.1:7116"
stf | 2023-09-04T07:48:24.942Z INF/groups-engine 69 [] Sending output to "tcp://127.0.0.1:7113"
stf | 2023-09-04T07:48:24.962Z INF/groups-engine 69 [] Receiving input from "tcp://127.0.0.1:7111"
stf | 2023-09-04T07:48:24.972Z INF/groups-engine 69 [] Sending output to "tcp://127.0.0.1:7116"
stf | 2023-09-04T07:48:24.985Z INF/groups-engine 69 [] Receiving input from "tcp://127.0.0.1:7114"
stf | 2023-09-04T07:48:26.582Z INF/provider 49 [] Subscribing to permanent channel "queIPJxkSv+dHyrJwBwsdg=="
stf | 2023-09-04T07:48:26.691Z INF/storage:plugins:image 89 [] Listening on port 7103
stf | 2023-09-04T07:48:26.773Z INF/provider 49 [] Sending output to "tcp://127.0.0.1:7116"
stf | 2023-09-04T07:48:26.791Z INF/provider 49 [] Receiving input from "tcp://127.0.0.1:7114"
stf | 2023-09-04T07:48:26.974Z INF/provider 49 [] Tracking devices
stf | 2023-09-04T07:48:27.323Z INF/storage:plugins:apk 96 [] Listening on port 7104
stf | 2023-09-04T07:48:27.942Z INF/storage:temp 82 [] Listening on port 7102
stf | 2023-09-04T07:48:28.137Z INF/auth-mock 51 [] Listening on port 7120
stf | 2023-09-04T07:48:28.159Z INF/db 51 [] Connecting to rethinkdb:28015
stf | 2023-09-04T07:48:28.739Z INF/websocket 72 [] Subscribing to permanent channel "ALL"
stf | 2023-09-04T07:48:28.752Z INF/websocket 72 [] Listening on port 7110
stf | 2023-09-04T07:48:28.760Z INF/db 72 [] Connecting to rethinkdb:28015
stf | 2023-09-04T07:48:28.798Z INF/websocket 72 [] Sending output to "tcp://127.0.0.1:7113"
stf | 2023-09-04T07:48:28.802Z INF/websocket 72 [] Receiving input from "tcp://127.0.0.1:7111"
stf | 2023-09-04T07:48:29.084Z INF/app 56 [] Using pre-built resources
stf | 2023-09-04T07:48:29.139Z INF/app 56 [] Listening on port 7105
stf | 2023-09-04T07:48:29.159Z INF/db 56 [] Connecting to rethinkdb:28015
stf | 2023-09-04T07:48:29.245Z INF/api 62 [] Subscribing to permanent channel "ALL"
stf | 2023-09-04T07:48:29.328Z INF/api 62 [] Listening on port 7106
stf | 2023-09-04T07:48:29.366Z INF/api 62 [] Sending output to "tcp://127.0.0.1:7113"
stf | 2023-09-04T07:48:29.370Z INF/api 62 [] Receiving input from "tcp://127.0.0.1:7111"
stf | 2023-09-04T07:48:29.372Z INF/api 62 [] Sending output to "tcp://127.0.0.1:7116"
stf | 2023-09-04T07:48:29.374Z INF/api 62 [] Receiving input from "tcp://127.0.0.1:7114"
stf | 2023-09-04T07:48:31.098Z INF/db 62 [] Connecting to rethinkdb:28015
10.216.173.151 stf | 2023-09-04T07:58:08.760Z INF/auth-mock 51 [::ffff:127.0.0.1] Authenticated "[email protected]"
adb | 09-04 08:09:14.863 7 13 I adb : transport.cpp:335 2E6408F07B300122: read thread spawning
adb | 09-04 08:09:14.864 7 14 I adb : transport.cpp:307 2E6408F07B300122: write thread spawning
adb | 09-04 08:09:14.869 7 7 I adb : adb.cpp:175 2E6408F07B300122: already offline
stf | 2023-09-04T08:09:14.870Z INF/provider 49 [] Found device "2E6408F07B300122" (offline)
stf | 2023-09-04T08:09:15.025Z INF/provider 49 [] Registered device "2E6408F07B300122"
stf | 2023-09-04T08:09:15.028Z INF/provider 49 [] Device "2E6408F07B300122" is now "device" (was "offline")
stf | 2023-09-04T08:09:15.048Z INF/reaper 44 [reaper001] Device "2E6408F07B300122" is present
stf | 2023-09-04T08:09:16.403Z INF/device:support:push 187 [2E6408F07B300122] Sending output to "tcp://127.0.0.1:7116"
stf | 2023-09-04T08:09:16.417Z INF/device 187 [2E6408F07B300122] Preparing device
stf | 2023-09-04T08:09:18.184Z INF/device:support:sub 187 [2E6408F07B300122] Receiving input from "tcp://127.0.0.1:7114"
stf | 2023-09-04T08:09:18.192Z INF/device:support:sub 187 [2E6408F07B300122] Subscribing to permanent channel "ALL"
stf | 2023-09-04T08:09:18.303Z INF/device:support:properties 187 [2E6408F07B300122] Loading properties
stf | 2023-09-04T08:09:18.354Z INF/device:support:sdk 187 [2E6408F07B300122] Supports SDK 18
stf | 2023-09-04T08:09:18.359Z INF/device:support:abi 187 [2E6408F07B300122] Supports ABIs armeabi-v7a, armeabi
stf | 2023-09-04T08:09:18.452Z INF/device:resources:minicap 187 [2E6408F07B300122] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/armeabi-v7a/bin/minicap" as "/data/local/tmp/minicap"
stf | 2023-09-04T08:09:18.457Z INF/device:resources:minicap 187 [2E6408F07B300122] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/armeabi-v7a/lib/android-18/minicap.so" as "/data/local/tmp/minicap.so"
stf | 2023-09-04T08:09:18.462Z INF/device:resources:minicap 187 [2E6408F07B300122] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
stf | 2023-09-04T08:09:19.945Z INF/device:resources:service 187 [2E6408F07B300122] Checking whether we need to install STFService
stf | 2023-09-04T08:09:20.574Z INF/device:resources:service 187 [2E6408F07B300122] Installing STFService
stf | 2023-09-04T08:09:24.893Z INF/provider 49 [] Providing 0 of 1 device(s); waiting for "2E6408F07B300122"
stf | 2023-09-04T08:09:25.010Z INF/device:resources:service 187 [2E6408F07B300122] STFService up to date
stf | 2023-09-04T08:09:25.023Z INF/device:plugins:service 187 [2E6408F07B300122] Launching agent
stf | 2023-09-04T08:09:25.544Z INF/device:plugins:service 187 [2E6408F07B300122] Agent says: "Starting minitouch agent"
stf | 2023-09-04T08:09:25.575Z INF/device:plugins:service 187 [2E6408F07B300122] Agent says: "Listening on @stfagent"
stf | 2023-09-04T08:09:25.615Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:25.620Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:25.628Z INF/device:plugins:service 187 [2E6408F07B300122] Agent says: "InputClient started"
stf | 2023-09-04T08:09:26.288Z INF/device:plugins:display 187 [2E6408F07B300122] Reading display info
stf | 2023-09-04T08:09:26.328Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:26.335Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:26.338Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:26.951Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 623ms
stf | 2023-09-04T08:09:26.981Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:26.989Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:26.993Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:27.667Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 686ms
stf | 2023-09-04T08:09:27.723Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:27.738Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:27.744Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:28.355Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 632ms
stf | 2023-09-04T08:09:28.394Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:28.399Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:28.405Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:29.034Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 640ms
stf | 2023-09-04T08:09:29.063Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:29.073Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:29.079Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:29.724Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 661ms
stf | 2023-09-04T08:09:29.772Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:29.784Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:29.795Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:30.424Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 652ms
stf | 2023-09-04T08:09:30.473Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:30.480Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:30.491Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:31.091Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 618ms
stf | 2023-09-04T08:09:31.121Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:31.141Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:31.147Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:31.803Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 681ms
stf | 2023-09-04T08:09:31.837Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:31.841Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:31.846Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:32.555Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 718ms
stf | 2023-09-04T08:09:32.600Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:32.606Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:32.611Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:33.270Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 670ms
stf | 2023-09-04T08:09:33.308Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:33.315Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:33.328Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:33.963Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 655ms
stf | 2023-09-04T08:09:33.999Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:34.005Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:34.012Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:34.664Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 665ms
stf | 2023-09-04T08:09:34.671Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:34.675Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:34.686Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:34.905Z INF/provider 49 [] Providing 0 of 1 device(s); waiting for "2E6408F07B300122"
stf | 2023-09-04T08:09:35.324Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 653ms
stf | 2023-09-04T08:09:35.365Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:35.373Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:35.379Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:36.004Z IMP/device:plugins:service 187 [2E6408F07B300122] Service relaunched in 639ms
stf | 2023-09-04T08:09:36.041Z IMP/device:plugins:service 187 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:36.048Z INF/device:plugins:service 187 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:36.060Z INF/device:plugins:service 187 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:36.308Z ERR/device:resources:minicap 187 [2E6408F07B300122] Missing resources/unknown minicap grabber: -d 0 -i
stf | 2023-09-04T08:09:36.313Z INF/device:resources:minicap 187 [2E6408F07B300122] undefined
stf | 2023-09-04T08:09:36.354Z FTL/device 187 [2E6408F07B300122] Setup had an error Error: /system/bin/sh: undefined: not found
stf |
stf | at /app/lib/units/device/plugins/util/display.js:43:19
stf | at tryCatcher (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/util.js:26:23)
stf | at Promise._settlePromiseFromHandler (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/promise.js:503:31)
stf | at Promise._settlePromiseAt (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/promise.js:577:18)
stf | at Async._drainQueue (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/async.js:128:12)
stf | at Async._drainQueues (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/async.js:133:10)
stf | at Immediate.Async.drainQueues [as _onImmediate] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/async.js:15:14)
stf | at processImmediate (node:internal/timers:466:21)
stf | 2023-09-04T08:09:36.363Z FTL/util:lifecycle 187 [2E6408F07B300122] Shutting down due to fatal error
stf | 2023-09-04T08:09:36.417Z INF/provider 49 [] Cleaning up device worker "2E6408F07B300122"
stf | 2023-09-04T08:09:36.421Z ERR/provider 49 [] Device worker "2E6408F07B300122" died with code 1
stf | 2023-09-04T08:09:36.421Z INF/provider 49 [] Restarting device worker "2E6408F07B300122"
stf | 2023-09-04T08:09:38.059Z INF/device:support:push 200 [2E6408F07B300122] Sending output to "tcp://127.0.0.1:7116"
stf | 2023-09-04T08:09:38.082Z INF/device 200 [2E6408F07B300122] Preparing device
stf | 2023-09-04T08:09:39.761Z INF/device:support:sub 200 [2E6408F07B300122] Receiving input from "tcp://127.0.0.1:7114"
stf | 2023-09-04T08:09:39.769Z INF/device:support:sub 200 [2E6408F07B300122] Subscribing to permanent channel "ALL"
stf | 2023-09-04T08:09:39.880Z INF/device:support:properties 200 [2E6408F07B300122] Loading properties
stf | 2023-09-04T08:09:39.939Z INF/device:support:sdk 200 [2E6408F07B300122] Supports SDK 18
stf | 2023-09-04T08:09:39.948Z INF/device:support:abi 200 [2E6408F07B300122] Supports ABIs armeabi-v7a, armeabi
stf | 2023-09-04T08:09:40.069Z INF/device:resources:minicap 200 [2E6408F07B300122] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/armeabi-v7a/bin/minicap" as "/data/local/tmp/minicap"
stf | 2023-09-04T08:09:40.079Z INF/device:resources:minicap 200 [2E6408F07B300122] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/armeabi-v7a/lib/android-18/minicap.so" as "/data/local/tmp/minicap.so"
stf | 2023-09-04T08:09:40.087Z INF/device:resources:minicap 200 [2E6408F07B300122] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
stf | 2023-09-04T08:09:41.592Z INF/device:resources:service 200 [2E6408F07B300122] Checking whether we need to install STFService
stf | 2023-09-04T08:09:41.986Z INF/device:resources:service 200 [2E6408F07B300122] Running version check
stf | 2023-09-04T08:09:42.625Z INF/device:resources:service 200 [2E6408F07B300122] Installing STFService
stf | 2023-09-04T08:09:44.917Z INF/provider 49 [] Providing 0 of 1 device(s); waiting for "2E6408F07B300122"
stf | 2023-09-04T08:09:46.932Z INF/device:resources:service 200 [2E6408F07B300122] STFService up to date
stf | 2023-09-04T08:09:46.940Z INF/device:plugins:service 200 [2E6408F07B300122] Launching agent
stf | 2023-09-04T08:09:47.473Z INF/device:plugins:service 200 [2E6408F07B300122] Agent says: "Starting minitouch agent"
stf | 2023-09-04T08:09:47.503Z INF/device:plugins:service 200 [2E6408F07B300122] Agent says: "Listening on @stfagent"
stf | 2023-09-04T08:09:47.521Z INF/device:plugins:service 200 [2E6408F07B300122] Agent says: "InputClient started"
stf | 2023-09-04T08:09:47.531Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:47.537Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:48.169Z INF/device:plugins:display 200 [2E6408F07B300122] Reading display info
stf | 2023-09-04T08:09:48.207Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:48.211Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:48.225Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:48.870Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 663ms
stf | 2023-09-04T08:09:48.929Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:48.934Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:48.942Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:49.582Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 653ms
stf | 2023-09-04T08:09:49.640Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:49.645Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:49.656Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:50.290Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 650ms
stf | 2023-09-04T08:09:50.317Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:50.344Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:50.363Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:50.978Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 661ms
stf | 2023-09-04T08:09:51.014Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:51.020Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:51.032Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:51.731Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 717ms
stf | 2023-09-04T08:09:51.758Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:51.763Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:51.771Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:52.396Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 638ms
stf | 2023-09-04T08:09:52.422Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:52.428Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:52.445Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:53.080Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 658ms
stf | 2023-09-04T08:09:53.148Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:53.156Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:53.161Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:53.787Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 638ms
stf | 2023-09-04T08:09:53.820Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:53.825Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:53.831Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:54.468Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 648ms
stf | 2023-09-04T08:09:54.493Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:54.501Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:54.509Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:54.929Z INF/provider 49 [] Providing 0 of 1 device(s); waiting for "2E6408F07B300122"
stf | 2023-09-04T08:09:55.160Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 667ms
stf | 2023-09-04T08:09:55.187Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:55.195Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:55.202Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:55.824Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 637ms
stf | 2023-09-04T08:09:55.854Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:55.873Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:55.880Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:56.508Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 654ms
stf | 2023-09-04T08:09:56.521Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:56.526Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:56.531Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:57.159Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 638ms
stf | 2023-09-04T08:09:57.206Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:57.215Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:57.221Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:57.856Z IMP/device:plugins:service 200 [2E6408F07B300122] Service relaunched in 650ms
stf | 2023-09-04T08:09:57.876Z IMP/device:plugins:service 200 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:09:57.884Z INF/device:plugins:service 200 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:09:57.893Z INF/device:plugins:service 200 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:09:58.189Z ERR/device:resources:minicap 200 [2E6408F07B300122] Missing resources/unknown minicap grabber: -d 0 -i
stf | 2023-09-04T08:09:58.194Z INF/device:resources:minicap 200 [2E6408F07B300122] undefined
stf | 2023-09-04T08:09:58.249Z FTL/device 200 [2E6408F07B300122] Setup had an error Error: /system/bin/sh: undefined: not found
stf |
stf | at /app/lib/units/device/plugins/util/display.js:43:19
stf | at tryCatcher (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/util.js:26:23)
stf | at Promise._settlePromiseFromHandler (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/promise.js:503:31)
stf | at Promise._settlePromiseAt (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/promise.js:577:18)
stf | at Async._drainQueue (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/async.js:128:12)
stf | at Async._drainQueues (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/async.js:133:10)
stf | at Immediate.Async.drainQueues [as _onImmediate] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/async.js:15:14)
stf | at processImmediate (node:internal/timers:466:21)
stf | 2023-09-04T08:09:58.259Z FTL/util:lifecycle 200 [2E6408F07B300122] Shutting down due to fatal error
stf | 2023-09-04T08:09:58.300Z INF/provider 49 [] Cleaning up device worker "2E6408F07B300122"
stf | 2023-09-04T08:09:58.303Z ERR/provider 49 [] Device worker "2E6408F07B300122" died with code 1
stf | 2023-09-04T08:09:58.303Z INF/provider 49 [*] Restarting device worker "2E6408F07B300122"
stf | 2023-09-04T08:09:59.926Z INF/device:support:push 213 [2E6408F07B300122] Sending output to "tcp://127.0.0.1:7116"
stf | 2023-09-04T08:09:59.940Z INF/device 213 [2E6408F07B300122] Preparing device
stf | 2023-09-04T08:10:01.645Z INF/device:support:sub 213 [2E6408F07B300122] Receiving input from "tcp://127.0.0.1:7114"
stf | 2023-09-04T08:10:01.653Z INF/device:support:sub 213 [2E6408F07B300122] Subscribing to permanent channel "ALL"
stf | 2023-09-04T08:10:01.762Z INF/device:support:properties 213 [2E6408F07B300122] Loading properties
stf | 2023-09-04T08:10:01.809Z INF/device:support:sdk 213 [2E6408F07B300122] Supports SDK 18
stf | 2023-09-04T08:10:01.814Z INF/device:support:abi 213 [2E6408F07B300122] Supports ABIs armeabi-v7a, armeabi
stf | 2023-09-04T08:10:01.938Z INF/device:resources:minicap 213 [2E6408F07B300122] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/armeabi-v7a/bin/minicap" as "/data/local/tmp/minicap"
stf | 2023-09-04T08:10:01.943Z INF/device:resources:minicap 213 [2E6408F07B300122] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/armeabi-v7a/lib/android-18/minicap.so" as "/data/local/tmp/minicap.so"
stf | 2023-09-04T08:10:01.949Z INF/device:resources:minicap 213 [2E6408F07B300122] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
stf | 2023-09-04T08:10:03.471Z INF/device:resources:service 213 [2E6408F07B300122] Checking whether we need to install STFService
stf | 2023-09-04T08:10:03.856Z INF/device:resources:service 213 [2E6408F07B300122] Running version check
stf | 2023-09-04T08:10:04.493Z INF/device:resources:service 213 [2E6408F07B300122] Installing STFService
stf | 2023-09-04T08:10:04.936Z INF/provider 49 [] Providing 0 of 1 device(s); waiting for "2E6408F07B300122"
stf | 2023-09-04T08:10:08.908Z INF/device:resources:service 213 [2E6408F07B300122] STFService up to date
stf | 2023-09-04T08:10:08.918Z INF/device:plugins:service 213 [2E6408F07B300122] Launching agent
stf | 2023-09-04T08:10:09.410Z INF/device:plugins:service 213 [2E6408F07B300122] Agent says: "Starting minitouch agent"
stf | 2023-09-04T08:10:09.440Z INF/device:plugins:service 213 [2E6408F07B300122] Agent says: "Listening on @stfagent"
stf | 2023-09-04T08:10:09.507Z INF/device:plugins:service 213 [2E6408F07B300122] Agent says: "InputClient started"
stf | 2023-09-04T08:10:09.515Z INF/device:plugins:service 213 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:10:09.522Z INF/device:plugins:service 213 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:10:10.205Z INF/device:plugins:display 213 [2E6408F07B300122] Reading display info
stf | 2023-09-04T08:10:10.243Z IMP/device:plugins:service 213 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:10:10.268Z INF/device:plugins:service 213 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:10:10.270Z INF/device:plugins:service 213 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:10:10.892Z IMP/device:plugins:service 213 [2E6408F07B300122] Service relaunched in 649ms
stf | 2023-09-04T08:10:10.925Z IMP/device:plugins:service 213 [2E6408F07B300122] Service connection ended, attempting to relaunch
stf | 2023-09-04T08:10:10.930Z INF/device:plugins:service 213 [2E6408F07B300122] Launching service
stf | 2023-09-04T08:10:10.935Z INF/device:plugins:service 213 [2E6408F07B300122] using 'startservice' command for API 18
stf | 2023-09-04T08:10:11.560Z IMP/device:plugins:service 213 [2E6408F07B300122] Service relaunched in 635ms
Please run
stf doctor
and paste the output here.The text was updated successfully, but these errors were encountered: