[
https://issues.apache.org/jira/browse/IMPALA-11308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540323#comment-17540323
]
Michael Smith commented on IMPALA-11308:
----------------------------------------
Some of the failures are caused by IMPALA-11251.
> Shell tests fail when run with a python3 install of impala-shell
> ----------------------------------------------------------------
>
> Key: IMPALA-11308
> URL: https://issues.apache.org/jira/browse/IMPALA-11308
> Project: IMPALA
> Issue Type: Bug
> Components: Clients
> Affects Versions: Impala 4.1.0
> Reporter: Michael Smith
> Priority: Major
> Attachments: python3 test failures
>
>
> 27 shell test scenarios fail when runningĀ {{impala-py.test tests/shell}} with
> a python3 installation of impala-shell.
> {code}
> AIL
> tests/shell/test_shell_commandline.py::TestImpalaShell::()::test_utf8_decoding_error_handling[strict_hs2_protocol:
> False | protocol: beeswax]
> FAIL
> tests/shell/test_shell_commandline.py::TestImpalaShell::()::test_utf8_decoding_error_handling[strict_hs2_protocol:
> True | protocol: hs2]
> FAIL
> tests/shell/test_shell_commandline.py::TestImpalaShell::()::test_utf8_decoding_error_handling[strict_hs2_protocol:
> True | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_commandline.py::TestImpalaShell::()::test_utf8_decoding_error_handling[strict_hs2_protocol:
> False | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_commandline.py::TestImpalaShell::()::test_utf8_decoding_error_handling[strict_hs2_protocol:
> False | protocol: hs2]
> FAIL
> tests/shell/test_shell_commandline.py::TestImpalaShell::()::test_http_socket_timeout[strict_hs2_protocol:
> False | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_reconnect[strict_hs2_protocol:
> False | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_reconnect[strict_hs2_protocol:
> False | protocol: hs2]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_ddl_queries_are_closed[strict_hs2_protocol:
> False | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_ddl_queries_are_closed[strict_hs2_protocol:
> False | protocol: hs2]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_multiline_queries_in_history[strict_hs2_protocol:
> False | protocol: beeswax]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_multiline_queries_in_history[strict_hs2_protocol:
> False | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_multiline_queries_in_history[strict_hs2_protocol:
> False | protocol: hs2]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_history_does_not_duplicate_on_interrupt[strict_hs2_protocol:
> False | protocol: beeswax]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_history_does_not_duplicate_on_interrupt[strict_hs2_protocol:
> False | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_history_does_not_duplicate_on_interrupt[strict_hs2_protocol:
> False | protocol: hs2]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_rerun[strict_hs2_protocol:
> False | protocol: beeswax]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_rerun[strict_hs2_protocol:
> False | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_rerun[strict_hs2_protocol:
> False | protocol: hs2]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_commandline_flag_disable_live_progress[strict_hs2_protocol:
> True | protocol: hs2]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_commandline_flag_disable_live_progress[strict_hs2_protocol:
> True | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_commandline_flag_strict_hs2_protocol[strict_hs2_protocol:
> True | protocol: hs2]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_commandline_flag_strict_hs2_protocol[strict_hs2_protocol:
> True | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_live_option_configuration[strict_hs2_protocol:
> True | protocol: hs2]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_live_option_configuration[strict_hs2_protocol:
> True | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_http_interactions_extra[strict_hs2_protocol:
> True | protocol: hs2-http]
> FAIL
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_http_interactions_extra[strict_hs2_protocol:
> False | protocol: hs2-http]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> False | protocol: beeswax]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> False | protocol: beeswax]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> True | protocol: hs2]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> True | protocol: hs2]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> True | protocol: hs2-http]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> True | protocol: hs2-http]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> False | protocol: hs2-http]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> False | protocol: hs2-http]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> False | protocol: hs2]
> ERROR
> tests/shell/test_shell_interactive.py::TestImpalaShellInteractive::()::test_line_with_leading_comment[strict_hs2_protocol:
> False | protocol: hs2] {code}
> Steps to reproduce:
> 1. build an impala-shell archive; {{make shell_pypi_package}} mostly works
> for me
> 2. {{pip3 install shell/dist/impala_shell-<version>.tar.gz}} (optionally use
> a venv)
> 3. start an impala cluster
> 4. run {{impala-py.test --shell_executable=/path/to/impala-shell
> tests/shell}} (likely installed to {{~/.local/bin/impala-shell}})
> Full test output attached.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]