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

Tim Armstrong commented on IMPALA-9547:
---------------------------------------

It looks like this is a known issue with Python 2.7 not handling EINTR 
transparently. It's apparently fixed in Python 3.4: 
https://www.python.org/dev/peps/pep-0475/#status-in-python-3-4. If this 
reoccurs with any frequency we could wrap this accept() call. As of now I don't 
think it's worth fixing since we need to move to running tests under python 3 
anyway.

> shell.test_shell_commandline.TestImpalaShell.test_socket_opening fails with 
> "Interrupted system call"
> -----------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-9547
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9547
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Tim Armstrong
>            Priority: Major
>              Labels: flaky
>
> {noformat}
> shell.test_shell_commandline.TestImpalaShell.test_socket_opening[table_format_and_file_extension:
>  ('parquet', '.parq') | protocol: beeswax] (from pytest)
> Failing for the past 1 build (Since Failed#1992 )
> Took 0.26 sec.
> add description
> Error Message
> shell/test_shell_commandline.py:822: in test_socket_opening     
> self._validate_expected_socket_connected(vector, args2, 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
> Stacktrace
> shell/test_shell_commandline.py:822: in test_socket_opening
>     self._validate_expected_socket_connected(vector, args2, 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}
> https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests/1992/



--
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