dryark / stf_ios_support

Central repo to connect and document components/repos needed for IOS stf support
Other
153 stars 65 forks source link

Not able to see devices on the stf dashboard #96

Open sai-tirunagiri opened 3 years ago

sai-tirunagiri commented 3 years ago

Hi,

Have followed the instructions and was able to get ./run working, now the other side, did follow the instructions mentioned on https://github.com/DeviceFarmer/stf_ios_support/blob/master/server/README.md, still no luck in seeing the devices list on the STF dashboard.

Provider logs:

(base) mac-mini-1:ios-provider-dist-doc blr-cauvery$ ./run
INFO[0000] auto network interface set; using en0         interface_name=en0 type=default_iface
INFO[0000] Process start - device_trigger                binary=bin/ios-deploy proc=device_trigger type=proc_start
INFO[0000] Process start - stf_ios_provider              binary=/usr/local/opt/node@12/bin/node client_hostname=mac-mini-1.local client_ip=10.30.21.22 location=macmini/mac-mini-1.local proc=stf_ios_provider server_hostname=127.0.0.1 server_ip=127.0.0.1 type=proc_start

cat .env PUBLIC_IP=127.0.0.1 SECRET=secret RETHINKDB_PORT_28015_TCP=tcp://rethinkdb:28015 HOSTNAME=127.0.0.1 STF_IMAGE=livxtrm/devicefarmer:latest

Even generated the certs but still no luck. Would somebody help us with this?

Thanks

nanoscopic commented 3 years ago

Is that all that appears in the provider log? The logs should be much more extensive coming out of the coordinator as it detects a device and starts the various services needed.

If that is all that you see, for some reason your device is not being detected.

I would recommend not bothering to try to make this work and to move to controlfloor / ios_remote_provider ( as described in the stickied issue ). There is much less complexity in the new software setup and less ways to have problems as a result.

anamgangwar commented 3 years ago

I am also facing the same issue of not being able to see the device on STF dashboard.

./run logs ./run

INFO[0000] auto network interface set; using en0 interface_name=en0 type=default_iface INFO[0000] Process start - device_trigger binary=bin/ios-deploy proc=device_trigger type=proc_start INFO[0000] Process start - stf_ios_provider binary=/usr/local/opt/node@12/bin/node client_hostname=88e9fe822e94.*.**.* client_ip=192.168.29.169 location=macmini/88e9fe822e94.*.**.* proc=stf_ios_provider server_hostname=88e9fe822e94.*.**.* server_ip=192.168.29.169 type=proc_start INFO[0001] Device object created dev_ios_port=9240 dev_name="Anamika’s iPhone" dev_uuid="f12d" type=devd_create usbmuxd_port=9920 vid_port=8000 vnc_port=5901 wda_port=8100 INFO[0001] Device connected dev_name="Anamika’s iPhone" dev_uuid="f12d" type=dev_connect INFO[0001] Process start - ios_video_stream binary=bin/ios_video_stream port=8000 proc=ios_video_stream pullSpec="tcp://127.0.0.1:7879" tunName=en0 type=proc_start uuid="f12d" INFO[0001] Process start - video_enabler binary=bin/video_enabler proc=video_enabler type=proc_start uuid="f12d" INFO[0001] Process start - ivf binary=bin/ivf_pull outSpec="tcp://127.0.0.1:7879" proc=ivf type=proc_start uuid="f12d" INFO[1734] Device disconnected dev_name="Anamika’s iPhone" dev_uuid="f12d" type=dev_disconnect INFO[1741] Closing running dev type=proc_cleanup_kill uuid="f12d" WARN[1741] Process end - ios_video_stream proc=ios_video_stream type=proc_end uuid="f12d" WARN[1741] Process end - video_enabler proc=video_enabler type=proc_end uuid="f12d" WARN[1741] Process end - ivf proc=ivf type=proc_end uuid="f12d" ^CINFO[21428] Shutdown started state=begun type=sigterm WARN[21428] Process end - device_trigger proc=device_trigger type=proc_end ^C^CWARN[21428] Process end - stf_ios_provider proc=stf_ios_provider type=proc_end ^CINFO[21429] Shutdown finished state=done type=sigterm