Skip to content

stf_device_ios restarts endlessly #129

@khda

Description

@khda

Hi all!
I encountered an error: stf_device_ios restarts endlessly.

I am attaching the logs: ./logs/coordinator and ./logs/procs:
coordinator.json
procs.json

I think the problem is due to an error from ./logs/procs:
{"iserr":true,"line":"2024-07-16T11:36:04.303Z FTL/device 82294 [00008110-001230360E78401E] Setup had an error Error: Command failed: /usr/local/bin/idevicescreenshot -u 00008110-001230360E78401E /tmp/00008110-001230360E78401E.png","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at genericNodeError (node:internal/errors:984:15)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at wrappedFn (node:internal/errors:538:14)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at checkExecSyncError (node:child_process:890:11)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at execFileSync (node:child_process:926:15)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at readInfo (/Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/lib/units/device-ios/util/display.js:47:9)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at /Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/lib/units/device-ios/util/display.js:79:12","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at SerialSyrup.ParallelSyrup.invoke (/Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/node_modules/stf-syrup/lib/parallel.js:54:24)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at /Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/node_modules/stf-syrup/lib/serial.js:43:33","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at tryCatch1 (/Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/node_modules/stf-syrup/node_modules/bluebird/js/main/util.js:63:19)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at Promise$_callHandler [as _callHandler] (/Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:708:13)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:724:18)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at Promise$_settlePromiseAt [as _settlePromiseAt] (/Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:896:14)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at Promise$_fulfillPromises [as _fulfillPromises] (/Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:1041:14)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (/Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/node_modules/stf-syrup/node_modules/bluebird/js/main/async.js:74:12)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at Async$consumeFunctionBuffer (/Users/d_khlebest/DeviceFarmer/stf-ios/repos/stf-ios-provider/node_modules/stf-syrup/node_modules/bluebird/js/main/async.js:37:14)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":" at processTicksAndRejections (node:internal/process/task_queues:77:11)","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}
{"iserr":true,"line":"2024-07-16T11:36:04.303Z FTL/util:lifecycle 82294 [00008110-001230360E78401E] Shutting down due to fatal error","proc":"stf_device_ios","time":"2024-07-16T14:36:04+03:00","uuid":"***401E"}

./run --debug:
image

Because of this, the device is in the status "preparing":
image

Config:
{
...
"video": {
"enabled": false,
"use_vnc": true,
"vnc_scale": 2,
"vnc_password": "",
"frame_rate": 10
},
...
}

Maybe someone has a solution for this?:
"FTL/device 82294 [00008110-001230360E78401E] Setup had an error Error: Command failed: /usr/local/bin/idevicescreenshot -u 00008110-001230360E78401E /tmp/00008110-001230360E78401E.png"

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