You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2019/03/07 19:37:00 UTC

[jira] [Created] (KUDU-2738) linked_list-test occasionally fails with webserver port bind failure: address already in use

Mike Percy created KUDU-2738:
--------------------------------

             Summary: linked_list-test occasionally fails with webserver port bind failure: address already in use
                 Key: KUDU-2738
                 URL: https://issues.apache.org/jira/browse/KUDU-2738
             Project: Kudu
          Issue Type: Bug
          Components: test
    Affects Versions: 1.9.0
            Reporter: Mike Percy


Occasionally I see linked_list-test fail with the following error on Linux in an automated test environment:
{code:java}
E0306 23:35:25.207222 19523 webserver.cc:369] Webserver: set_ports_option: cannot bind to 127.14.25.194:49008: 98 (Address already in use)
W0306 23:35:25.207244 19523 net_util.cc:457] Trying to use lsof to find any processes listening on 0.0.0.0:49008
I0306 23:35:25.207249 19523 net_util.cc:460] $ export PATH=$PATH:/usr/sbin ; lsof -n -i 'TCP:49008' -sTCP:LISTEN ; for pid in $(lsof -F p -n -i 'TCP:49008' -sTCP:LISTEN | grep p | cut -f 2 -dp) ; do while [ $pid -gt 1 ] ; do ps h -fp $pid ; stat=($(</proc/$pid/stat)) ; pid=${stat[3]} ; done ; done
...
W0306 23:35:25.583075 19523 net_util.cc:467]
F0306 23:35:25.583206 19523 tablet_server_main.cc:89] Check failed: _s.ok() Bad status: Runtime error: Webserver: could not start on address 127.14.25.194:49008: set_ports_option: cannot bind to 127.14.25.194:49008: 98 (Address already in use){code}
I am not sure what would have bound to 0.0.0.0:49008 for a short period of time, or used 126.14.25.194:49008 as an ephemeral address / port pair since it's such a unique loopback IP address.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)