You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2022/08/24 18:39:00 UTC

[jira] [Resolved] (IMPALA-11523) TestImpalaShell.test_http_socket_timeout fails for docker-based test runs

     [ https://issues.apache.org/jira/browse/IMPALA-11523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe McDonnell resolved IMPALA-11523.
------------------------------------
     Fix Version/s: Impala 4.2.0
    Target Version: Impala 4.2.0
        Resolution: Fixed

> TestImpalaShell.test_http_socket_timeout fails for docker-based test runs
> -------------------------------------------------------------------------
>
>                 Key: IMPALA-11523
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11523
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>    Affects Versions: Impala 4.2.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>             Fix For: Impala 4.2.0
>
>
> When running the docker-based test method, TestImpalaShell.test_http_socket_timeout fails with this message:
> {noformat}
> shell/test_shell_commandline.py:1247: in test_http_socket_timeout
>     assert actual_err == expected_err_py2 or actual_err == expected_err_py3
> E   assert ('Caught excep...ning tries: 3' == 'Caught except...ning tries: 3'
> E     Skipping 36 identical trailing characters in diff, use -v to show
> E     - Caught exception [Errno 99] Cannot assign requested address, type=<class 'OSError'> in
> E     + Caught exception [Errno 115] Operation now in progress, type=<class 'socket.error'> in or 'Caught excep...ning tries: 3' == 'Caught except...ning tries: 3'
> E     - Caught exception [Errno 99] Cannot assign requested address, type=<class 'OSError'> in OpenSession. Num remaining tries: 3
> E     ?                         ^^  ^    ^^^^^  ---------------                    -
> E     + Caught exception [Errno 115] Operation now in progress, type=<class 'BlockingIOError'> in OpenSession. Num remaining tries: 3
> E     ?                         ^^^  ^^^^ +++ +  ^^ +++++                    +++++++++){noformat}
> This is testing the case where the socket timeout is set to zero and expecting an error. The error in Docker is different from the one expected. All the other shell tests pass, so it doesn't seem to be indicating a real issue.
> We might want to just add this as a possible error message.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)