Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Impala 4.1.0
-
None
-
ghx-label-10
Description
27 shell test scenarios fail when runningĀ impala-py.test tests/shell with a python3 installation of impala-shell.
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]
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.
Attachments
Attachments
Issue Links
- relates to
-
IMPALA-3343 Impala-shell compatibility with python 3
- Resolved
-
IMPALA-11313 impala-shell's PyPi form factor still suffers from IMPALA-10299
- Resolved
-
IMPALA-11249 Precommits are not running strict_hs2_protocol=True configurations for shell tests
- Resolved
-
IMPALA-11251 TestImpalaShellInteractive.test_unicode_input fails on Ubuntu 20
- Resolved
-
IMPALA-11315 TestImpalaShellInteractive.test_multiline_queries_in_history fails with python3
- Resolved
-
IMPALA-11316 TestImpalaShell.test_http_socket_timeout fails on Python3 with different message
- Resolved
-
IMPALA-11317 TestImpalaShellInteractive.test_http_interactions_extra fails on Python 3
- Resolved