[
https://issues.apache.org/jira/browse/IMPALA-7181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17065288#comment-17065288
]
Fang-Yu Rao commented on IMPALA-7181:
-------------------------------------
We have seen the same failed tests in a recent build atÂ
[https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/9868/testReport/junit/shell.test_shell_commandline/TestImpalaShell/test_socket_opening_table_format_and_file_extension____textfile_____txt_____protocol__hs2_/]
with the following stack trace.
{noformat}
shell/test_shell_commandline.py:819: in test_socket_opening
self._validate_expected_socket_connected(vector, args1, s)
shell/test_shell_commandline.py:792: in _validate_expected_socket_connected
connection, client_address = sock.accept()
/usr/lib/python2.7/socket.py:206: in accept
sock, addr = self._sock.accept()
E error: [Errno 4] Interrupted system call
{noformat}
> 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]