Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11523

TestImpalaShell.test_http_socket_timeout fails for docker-based test runs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.2.0
    • Impala 4.2.0
    • Clients
    • None

    Description

      When running the docker-based test method, TestImpalaShell.test_http_socket_timeout fails with this message:

      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     ?                         ^^^  ^^^^ +++ +  ^^ +++++                    +++++++++)

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            joemcdonnell Joe McDonnell
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment