stf icon indicating copy to clipboard operation
stf copied to clipboard

Cannot able to connect Samsung S20 with Openstf and throws error Unable to save the initial state of Device "R3CMC00RHXH" TypeError: Cannot read property 'email' of undefined

Open sramalinga83 opened this issue 4 years ago • 0 comments

2021-02-12T06:35:26.477Z ERR/processor 85365 [proc001] Unable to save the initial state of Device "R3CMC00RHXH" TypeError: Cannot read property 'email' of undefined at /Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/lib/units/processor/index.js:106:40 at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) From previous event: at Router. (/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/lib/units/processor/index.js:86:10) at Router.emit (/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/node_modules/eventemitter3/index.js:118:35) at Router. (/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/lib/wire/router.js:36:12) at emitTwo (events.js:126:13) at exports.Socket.emit (events.js:214:7) at exports.Socket.Socket._flushRead (/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/node_modules/zmq/lib/index.js:638:15) at exports.Socket.Socket._flushReads (/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/node_modules/zmq/lib/index.js:676:23) at Object._zmq.onReadReady (/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/node_modules/zmq/lib/index.js:297:10) 2021-02-12T06:35:26.479Z INF/provider 85368 [] Registered device "R3CMC00RHXH" 2021-02-12T06:35:26.529Z INF/storage:plugins:apk 85377 [] Listening on port 7104 2021-02-12T06:35:26.813Z INF/storage:temp 85375 [] Listening on port 7102 2021-02-12T06:35:26.870Z INF/auth-mock 85369 [] Listening on port 7120 2021-02-12T06:35:26.881Z INF/db 85369 [] Connecting to 127.0.0.1:28015 2021-02-12T06:35:27.373Z INF/websocket 85374 [] Subscribing to permanent channel "ALL" 2021-02-12T06:35:27.390Z INF/websocket 85374 [] Listening on port 7110 2021-02-12T06:35:27.469Z INF/db 85374 [] Connecting to 127.0.0.1:28015 2021-02-12T06:35:27.482Z INF/websocket 85374 [] Sending output to "tcp://127.0.0.1:7113" 2021-02-12T06:35:27.487Z INF/websocket 85374 [] Receiving input from "tcp://127.0.0.1:7111" 2021-02-12T06:35:27.485Z INF/app 85371 [] Using pre-built resources 2021-02-12T06:35:27.535Z INF/app 85371 [] Listening on port 7105 2021-02-12T06:35:27.540Z INF/db 85371 [] Connecting to 127.0.0.1:28015 2021-02-12T06:35:27.910Z INF/device:support:push 85394 [R3CMC00RHXH] Sending output to "tcp://127.0.0.1:7116" 2021-02-12T06:35:27.920Z INF/device 85394 [R3CMC00RHXH] Preparing device 2021-02-12T06:35:29.094Z INF/api 85372 [] Subscribing to permanent channel "ALL" 2021-02-12T06:35:29.152Z INF/api 85372 [] Listening on port 7106 2021-02-12T06:35:29.309Z INF/device:support:sub 85394 [R3CMC00RHXH] Receiving input from "tcp://127.0.0.1:7114" 2021-02-12T06:35:29.311Z INF/device:support:sub 85394 [R3CMC00RHXH] Subscribing to permanent channel "ALL" 2021-02-12T06:35:29.322Z INF/api 85372 [] Sending output to "tcp://127.0.0.1:7113" 2021-02-12T06:35:29.330Z INF/api 85372 [] Receiving input from "tcp://127.0.0.1:7111" 2021-02-12T06:35:29.333Z INF/api 85372 [] Sending output to "tcp://127.0.0.1:7116" 2021-02-12T06:35:29.336Z INF/api 85372 [] Receiving input from "tcp://127.0.0.1:7114" 2021-02-12T06:35:29.401Z INF/device:support:properties 85394 [R3CMC00RHXH] Loading properties 2021-02-12T06:35:29.449Z INF/device:support:sdk 85394 [R3CMC00RHXH] Supports SDK 29 2021-02-12T06:35:29.450Z INF/device:support:abi 85394 [R3CMC00RHXH] Supports ABIs arm64-v8a, armeabi-v7a, armeabi 2021-02-12T06:35:29.661Z INF/device:resources:minicap 85394 [R3CMC00RHXH] Installing "/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/arm64-v8a/bin/minicap" as "/data/local/tmp/minicap" 2021-02-12T06:35:29.663Z INF/device:resources:minicap 85394 [R3CMC00RHXH] Installing "/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/arm64-v8a/lib/android-29/minicap.so" as "/data/local/tmp/minicap.so" 2021-02-12T06:35:29.800Z INF/device:resources:service 85394 [R3CMC00RHXH] Checking whether we need to install STFService 2021-02-12T06:35:29.880Z INF/device:resources:service 85394 [R3CMC00RHXH] Running version check 2021-02-12T06:35:30.160Z INF/device:resources:service 85394 [R3CMC00RHXH] STFService up to date 2021-02-12T06:35:30.164Z INF/device:plugins:service 85394 [R3CMC00RHXH] Launching agent 2021-02-12T06:35:30.565Z INF/db 85372 [] Connecting to 127.0.0.1:28015 2021-02-12T06:35:30.638Z INF/device:plugins:service 85394 [R3CMC00RHXH] Agent says: "Starting minitouch agent" 2021-02-12T06:35:30.659Z INF/device:plugins:service 85394 [R3CMC00RHXH] Agent says: "Listening on @stfagent" 2021-02-12T06:35:30.723Z INF/device:plugins:service 85394 [R3CMC00RHXH] Launching service 2021-02-12T06:35:30.724Z INF/device:plugins:service 85394 [R3CMC00RHXH] using 'start-foreground-service' command for API 29 2021-02-12T06:35:30.735Z INF/device:plugins:service 85394 [R3CMC00RHXH] Agent says: "InputClient started" 2021-02-12T06:35:30.824Z INF/device:plugins:display 85394 [R3CMC00RHXH] Reading display info 2021-02-12T06:35:30.851Z INF/device:plugins:phone 85394 [R3CMC00RHXH] Fetching phone info 2021-02-12T06:35:30.861Z INF/device:plugins:identity 85394 [R3CMC00RHXH] Solving identity 2021-02-12T06:35:30.870Z INF/device:plugins:solo 85394 [R3CMC00RHXH] Subscribing to permanent channel "X8PLYoayCZsfHO3Ox9twlgkAkmg=" 2021-02-12T06:35:30.873Z INF/device:plugins:screen:stream 85394 [R3CMC00RHXH] Starting WebSocket server on port 7400 2021-02-12T06:35:31.097Z INF/device:resources:minitouch 85394 [R3CMC00RHXH] Installing "/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/node_modules/@devicefarmer/minitouch-prebuilt/prebuilt/arm64-v8a/bin/minitouch" as "/data/local/tmp/minitouch" 2021-02-12T06:35:31.180Z WRN/device:plugins:data 85394 [R3CMC00RHXH] Unable to find device data { serial: 'R3CMC00RHXH', platform: 'Android', manufacturer: 'SAMSUNG', operator: null, model: 'SM-G9880', version: '10', abi: 'arm64-v8a', sdk: '29', product: 'z3qzhx', cpuPlatform: 'kona', openGLESVersion: '3.2', marketName: 'Galaxy S20 Ultra 5G', display: { id: 0, width: 1080, height: 2400, xdpi: 386.3655090332031, ydpi: 383.3955078125, fps: 60.000003814697266, density: 2.625, rotation: 0, secure: true, size: 6.855608559708436, url: 'ws://192.168.0.115:7400' }, phone: { network: 'UNKNOWN' } } 2021-02-12T06:35:31.189Z INF/device:plugins:touch 85394 [R3CMC00RHXH] Touch origin is top left 2021-02-12T06:35:31.191Z INF/device:plugins:touch 85394 [R3CMC00RHXH] Requesting touch consumer to start 2021-02-12T06:35:31.193Z INF/device:plugins:touch 85394 [R3CMC00RHXH] Launching touch service 2021-02-12T06:35:31.209Z INF/device:plugins:touch 85394 [R3CMC00RHXH] Connecting to minitouch service 2021-02-12T06:35:31.242Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "open: Permission denied" 2021-02-12T06:35:31.243Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event1 for inspectionopen: Permission denied" 2021-02-12T06:35:31.244Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event6 for inspectionopen: Permission denied" 2021-02-12T06:35:31.245Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event8 for inspectionopen: Permission denied" 2021-02-12T06:35:31.246Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event2 for inspectionopen: Permission denied" 2021-02-12T06:35:31.247Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied" 2021-02-12T06:35:31.250Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event7 for inspectionopen: Permission denied" 2021-02-12T06:35:31.251Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied" 2021-02-12T06:35:31.253Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event9 for inspectionopen: Permission denied" 2021-02-12T06:35:31.255Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied" 2021-02-12T06:35:31.256Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Unable to open device /dev/input/event5 for inspectionUnable to find a suitable touch device" 2021-02-12T06:35:31.257Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "using Android InputManager" 2021-02-12T06:35:31.326Z INF/device:plugins:touch 85394 [R3CMC00RHXH] Reading minitouch banner 2021-02-12T06:35:31.335Z INF/device:plugins:touch 85394 [R3CMC00RHXH] minitouch says: "Connection established" 2021-02-12T06:35:31.341Z INF/device:plugins:vnc 85394 [R3CMC00RHXH] Starting VNC server on port 7402 2021-02-12T06:35:31.346Z INF/device:plugins:browser 85394 [R3CMC00RHXH] Loading browser list 2021-02-12T06:35:31.394Z INF/device:plugins:browser 85394 [R3CMC00RHXH] Updating browser list 2021-02-12T06:35:31.398Z INF/device:plugins:mute 85394 [R3CMC00RHXH] Will not mute master volume 2021-02-12T06:35:31.618Z INF/device:resources:minirev 85394 [R3CMC00RHXH] Installing "/Users/sathishkumarramalingam/.nvm/versions/node/v8.9.3/lib/node_modules/@devicefarmer/stf/vendor/minirev/arm64-v8a/minirev" as "/data/local/tmp/minirev" 2021-02-12T06:35:31.696Z INF/device:plugins:forward 85394 [R3CMC00RHXH] Launching reverse port forwarding service 2021-02-12T06:35:31.707Z INF/device:plugins:forward 85394 [R3CMC00RHXH] Connecting to reverse port forwarding service 2021-02-12T06:35:31.939Z INF/device 85394 [R3CMC00RHXH] Fully operational 2021-02-12T06:35:36.402Z INF/provider 85368 [] Providing all 1 device(s) 2021-02-12T06:35:39.314Z INF/reaper 85367 [reaper001] Device "R3CMC00RHXH" is present

Able to connect another Samsung device. Please help

sramalinga83 avatar Feb 12 '21 06:02 sramalinga83