Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Filtered out device' on coreos cluster #15

Open
bobLang opened this issue Nov 21, 2016 · 2 comments
Open

'Filtered out device' on coreos cluster #15

bobLang opened this issue Nov 21, 2016 · 2 comments

Comments

@bobLang
Copy link

bobLang commented Nov 21, 2016

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
Copy link
Author

bobLang commented Nov 22, 2016

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?

@terminalone
Copy link

@bobLang did you find any other solutions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants