DeviceFarmer / stf

Control and manage Android devices from your browser.
https://devicefarmer.github.io
Other
3.47k stars 489 forks source link

A device OPPO_R9s_Plus is in a status of 'preparing' forever from a STF app #145

Closed jay0129 closed 3 years ago

jay0129 commented 3 years ago

Yes

What is the issue or idea you have?

Does it only happen on a specific device? Please run adb devices -l and paste the corresponding row. 99292447 is the subject device

72V7N16607005229       device usb:1-3.3 product:VNS-L22 model:HUAWEI_VNS_L22 device:HWVNS-H transport_id:2
99292447               device usb:1-3.1.4 product:R9sPlus model:OPPO_R9s_Plus device:R9sPlus transport_id:3
BH903Z8VB5             device usb:1-1.1 product:SO-02K model:SO_02K device:SO-02K transport_id:6
F5AZFG04S191           device usb:1-3.1.3 product:JP_Z00A model:ASUS_Z00AD device:Z00A transport_id:4
FA72A1701109           device usb:1-1.4 product:ocedugl_00708 model:HTC_U_Ultra device:htc_ocedugl transport_id:5
J7R0220309000125       device usb:1-3.4 product:LIO-N29 model:LIO_N29 device:HWLIO transport_id:8
QV7100LK3E             device usb:1-3.1.2 product:SOG01_jp_kdi model:SOG01 device:SOG01 transport_id:1
ZX1G42265V             offline usb:1-3.2 transport_id:7

Please provide the steps to reproduce the issue.

What is the expected behavior? OPPO_R9s_Plus should be available from the STF app

Do you see errors or warnings in the stf local output? If so, please paste them or the full log here. No

Please run stf doctor and paste the output here. On a master side:

2020-11-22T06:05:47.124Z INF/cli:doctor 20 [*] OS Arch: x64
2020-11-22T06:05:47.125Z INF/cli:doctor 20 [*] OS Platform: linux
2020-11-22T06:05:47.125Z INF/cli:doctor 20 [*] OS Platform: 5.4.0-52-generic
2020-11-22T06:05:47.126Z INF/cli:doctor 20 [*] Using Node 8.9.3
2020-11-22T06:05:47.136Z INF/cli:doctor 20 [*] Using ZeroMQ 4.1.4
2020-11-22T06:05:47.145Z ERR/cli:doctor 20 [*] RethinkDB is not installed (`rethinkdb` is missing)
2020-11-22T06:05:47.146Z ERR/cli:doctor 20 [*] ProtoBuf is not installed (`protoc` is missing)
2020-11-22T06:05:47.146Z ERR/cli:doctor 20 [*] ADB is not installed (`adb` is missing)
2020-11-22T06:05:47.146Z INF/cli:doctor 20 [*] Using GraphicsMagick 1.3.23

On a provider side:

2020-11-22T06:04:37.602Z INF/cli:doctor 238 [*] OS Arch: x64
2020-11-22T06:04:37.603Z INF/cli:doctor 238 [*] OS Platform: linux
2020-11-22T06:04:37.604Z INF/cli:doctor 238 [*] OS Platform: 5.4.0-52-generic
2020-11-22T06:04:37.604Z INF/cli:doctor 238 [*] Using Node 8.9.3
2020-11-22T06:04:37.644Z INF/cli:doctor 238 [*] Using ZeroMQ 4.1.4
2020-11-22T06:04:37.656Z ERR/cli:doctor 238 [*] RethinkDB is not installed (`rethinkdb` is missing)
2020-11-22T06:04:37.656Z ERR/cli:doctor 238 [*] ProtoBuf is not installed (`protoc` is missing)
2020-11-22T06:04:37.656Z ERR/cli:doctor 238 [*] ADB is not installed (`adb` is missing)
2020-11-22T06:04:37.793Z INF/cli:doctor 238 [*] Using GraphicsMagick 1.3.23

**The device details:**

[debug.oppo.morning.time]: [2 : 48]

[gsm.sim.operator.spn]: [Emergency calls only,No service]

[gsm.version.ril-impl]: [Qualcomm RIL 1.0]

[rild.libargs]: [-d /dev/smd0]

[ro.bootimage.build.date]: [Thu Dec 22 22:53:14 CST 2016]

[ro.build.date]: [Thu Dec 22 22:46:50 CST 2016]

[ro.build.description]: [msm8952_64-user 6.0.1 MMB29M eng.root.20161222.224308 dev-keys]

[ro.product.cpuinfo]: [MSM8976 Pro]

[ro.product.model]: [OPPO R9s Plus]

jay0129 commented 3 years ago

Additional log FYI.

FTL/device 464 [99292447]
Setup had an error Error: /data/local/tmp/STFService.apk could not be installed [-99]
    at /app/node_modules/@devicefarmer/adbkit/lib/adb/command/host-transport/install.js:28:23
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)
jay0129 commented 3 years ago

https://github.com/openstf/stf/issues/978