setup-examples icon indicating copy to clipboard operation
setup-examples copied to clipboard

'Filtered out device' on coreos cluster

Open bobLang opened this issue 9 years ago • 2 comments

Hi The use of Bare Metal to install coreos cluster, STF deployment of stand-alone normal, and clustering, "adb devices" can see the equipment, but STF does not display mobile phone. View provider log shows "Filtered out device ..."

$ sudo docker exec b714d3de2123 stf doctor INF/util:doctor 10 [] OS Arch: x64 INF/util:doctor 10 [] OS Platform: linux INF/util:doctor 10 [] OS Platform: 4.7.3-coreos-r2 INF/util:doctor 10 [] Using Node 6.9.1 INF/util:doctor 10 [] Using RethinkDB client 2.3.3 INF/util:doctor 10 [] Using ZeroMQ 4.1.4 WRN/util:doctor 10 [] Executable was not found WRN/util:doctor 10 [] Executable was not found WRN/util:doctor 10 [] Executable was not found INF/util:doctor 10 [] GraphicsMagick 1.3.23

Look forward to your help!

bobLang avatar Nov 21 '16 08:11 bobLang

My solution is that add phone ID into stf - provider@. service , as shown below:

[Unit] Description=STF provider After=adbd.service BindsTo=adbd.service

[Service] EnvironmentFile=/etc/environment TimeoutStartSec=0 Restart=always ExecStartPre=/usr/bin/docker pull openstf/stf:latest ExecStartPre=-/usr/bin/docker kill %p-%i ExecStartPre=-/usr/bin/docker rm %p-%i ExecStart=/usr/bin/docker run --rm
--name %p-%i
--net host
openstf/stf:latest
stf provider
"f2410dd34"
--name "%H/%i"
--connect-sub tcp://devside.stf.example.org:7250
--connect-push tcp://devside.stf.example.org:7270
--storage-url https://stf.example.org/
--public-ip ${COREOS_PRIVATE_IPV4}
--min-port=15000
--max-port=25000
--heartbeat-interval 10000
--screen-ws-url-pattern "wss://stf.example.org/d/%i/<%= serial %>/<%= publicPort %>/" ExecStop=-/usr/bin/docker stop -t 10 %p-%i

If there are other solutions?

bobLang avatar Nov 22 '16 02:11 bobLang

@bobLang did you find any other solutions

terminalone avatar Jun 14 '18 13:06 terminalone