New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 648374 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Connection to device is flaky on Android Release (Nexus 5X) swarmed GPU.FYI bot

Project Member Reported by ynovikov@chromium.org, Sep 19 2016

Issue description

Different tests fail, and they have this error in the log:
(CRITICAL) 2016-09-19 10:09:51,439 cmd_helper.GetCmdStatusAndOutput:175  STDERR: [0919/100951:ERROR:host_forwarder_main.cc(392)] ERROR: Connection to device failed.ERROR: Existing controllers:ERROR:   40052:37278

See
https://build.chromium.org/p/chromium.gpu.fyi/builders/Android%20Release%20%28Nexus%205X%29/builds/2636
https://build.chromium.org/p/chromium.gpu.fyi/builders/Android%20Release%20%28Nexus%205X%29/builds/2633
https://build.chromium.org/p/chromium.gpu.fyi/builders/Android%20Release%20%28Nexus%205X%29/builds/2625
https://build.chromium.org/p/chromium.gpu.fyi/builders/Android%20Release%20%28Nexus%205X%29/builds/2618
 

Comment 2 by kbr@chromium.org, Sep 19 2016

Cc: jbudorick@chromium.org pschmidt@chromium.org
Components: Infra>Labs
The Labs team set up the Nexus 6P and might have more insight into its configuration.

It might be trying to bind a port that's already bound. In https://build.chromium.org/p/chromium.gpu.fyi/builders/Android%20Release%20%28Nexus%205X%29/builds/2636, it's trying to bind 50041:

(INFO) 2016-09-19 10:09:51,433 cmd_helper._ValidateAndLogCommand:153  [host]> /b/swarm_slave/w/irZl9wKz/third_party/catapult/devil/bin/deps/linux2/x86_64/forwarder_host --adb=/b/swarm_slave/w/irZl9wKz/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb --serial-id=00ef766769cf5067 --map 50041 50041
(CRITICAL) 2016-09-19 10:09:51,439 cmd_helper.GetCmdStatusAndOutput:175  STDERR: [0919/100951:ERROR:host_forwarder_main.cc(392)] ERROR: Connection to device failed.ERROR: Existing controllers:ERROR:   40052:37278

but 50041 (0xC379) is already bound on the device:

(WARNING) 2016-09-19 10:09:51,749 android_forwarder.Create:35  Device tcp sockets in use:
(INFO) 2016-09-19 10:09:51,749 cmd_helper._ValidateAndLogCommand:153  [host]> /b/swarm_slave/w/irZl9wKz/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb -s 00ef766769cf5067 pull /proc/net/tcp /b/swarm_slave/w/ityjedO3/tmpkjZVT3/tmp_ReadFileWithPull
(WARNING) 2016-09-19 10:09:51,950 android_forwarder.Create:39      sl  local_address rem_address   st tx_queue rx_queue tr tm->when retrnsmt   uid  timeout inode                                                     
...
(WARNING) 2016-09-19 10:09:51,956 android_forwarder.Create:39      56: 00000000:C379 00000000:0000 8A 00000000:00000000 00:00000000 00000000     0        0 22724 1 0000000000000000 100 0 0 10 0

Comment 4 by pschm...@google.com, Sep 19 2016

https://build.chromium.org/p/chromium.gpu.fyi/builders/Android%20Release%20%28Nexus%205X%29/builds/2636  was run in build325-m4

Looking there I see:

chrome-bot@build325-m4:(Linux 14.04):~$ ps auxw |grep adb
chrome-+ 14602  0.0  0.0  65376  1724 ?        Ssl  13:43   0:00 /b/swarm_slave/w/irJYErNM/third_party/catapult/devil/bin/deps/linux2/x86_64/forwarder_host --adb=/b/swarm_slave/w/irJYErNM/third_party/android_tools/sdk/platform-tools/adb --serial-id=00b8096680c09d22 --map 10236 10236

However there is no swarming tasks running on this slave so it looks like some dangling adb process is to blame?

I've terminated the slave in case someone wants to take a closer look.

Comment 5 by vhang@chromium.org, Sep 20 2016

Owner: pschmidt@chromium.org
Status: Assigned (was: Untriaged)

Comment 6 by pschm...@google.com, Sep 20 2016

Owner: ----
Status: Untriaged (was: Assigned)
Labs can't fix this.  Setting it back untriaged.
Owner: jbudorick@chromium.org
Status: Assigned (was: Untriaged)
Ping - please provide an update to your high priority bug. This bug is stale. Is it really P-1?

Comment 9 by stip@chromium.org, Feb 10 2017

Cc: -stip@chromium.org
Components: Infra>Client>Chrome
Moving Infra>Client>Android -> Infra>Client>Chrome+OS=Android
Components: -Infra>Client>Android

Sign in to add a comment