[ 
https://issues.apache.org/jira/browse/IMPALA-7181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16979818#comment-16979818
 ] 

Sahil Takiar commented on IMPALA-7181:
--------------------------------------

Not sure if it is the same issue, but saw this fail on a recent Jenkins build 
with the following error:
{code:java}
shell.test_shell_commandline.TestImpalaShell.test_socket_opening[table_format_and_file_extension:
 ('textfile', '.txt') | protocol: beeswax] (from pytest)

Error Message
Impala/tests/shell/test_shell_commandline.py:797: in test_socket_opening     
self._validate_expected_socket_connected(vector, args2, s) 
Impala/tests/shell/test_shell_commandline.py:767: in 
_validate_expected_socket_connected     connection, client_address = 
sock.accept() /usr/lib64/python2.7/socket.py:202: in accept     sock, addr = 
self._sock.accept() E   error: [Errno 4] Interrupted system call

Stacktrace
Impala/tests/shell/test_shell_commandline.py:797: in test_socket_opening
    self._validate_expected_socket_connected(vector, args2, s)
Impala/tests/shell/test_shell_commandline.py:767: in 
_validate_expected_socket_connected
    connection, client_address = sock.accept()
/usr/lib64/python2.7/socket.py:202: in accept
    sock, addr = self._sock.accept()
E   error: [Errno 4] Interrupted system call
{code}

> Fix flaky test 
> shell/test_shell_commandline.py::TestImpalaShell::test_socket_opening 
> -------------------------------------------------------------------------------------
>
>                 Key: IMPALA-7181
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7181
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 2.13.0, Impala 3.1.0
>            Reporter: Vincent Tran
>            Assignee: Vincent Tran
>            Priority: Blocker
>              Labels: broken-build
>             Fix For: Impala 2.13.0, Impala 3.1.0
>
>
> shell/test_shell_commandline.py::TestImpalaShell::test_socket_opening uses 
> netcat to listen to an ephemeral port to verify impala-shell socket opening 
> behavior.
> The port is hardcoded to 42000 which can fail the test if this port is used 
> by an outgoing socket.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to