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

custom_cluster/test_client_ssl.py takes over an hour due to many combinations

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.2.0
    • Impala 4.2.0
    • Clients
    • None
    • ghx-label-6

    Description

      test_client_ssl.py runs for multiple different client protocols (beeswax, hs2, hs2-http) as well as multiple versions of impala-shell. This adds up to a significant amount of time. On this debug core run, it takes 1.5 hours:

      15:26:01 custom_cluster/test_client_ssl.py::TestClientSsl::test_ssl[impala_shell: dev | protocol: beeswax | exec_option: {'test_replan': 1, 'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen': False, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0} | table_format: text/none] PASSED
      15:26:13 custom_cluster/test_client_ssl.py::TestClientSsl::test_ssl[impala_shell: dev3 | protocol: hs2 | exec_option: {'test_replan': 1, 'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen': False, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0} | table_format: text/none] PASSED
      ...
      17:06:50 custom_cluster/test_client_ssl.py::TestClientSsl::test_wildcard_san_ssl[impala_shell: python3 | protocol: beeswax | exec_option: {'test_replan': 1, 'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen': False, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0} | table_format: text/none] xfail
      17:10:55 custom_cluster/test_client_ssl.py::TestClientSslUnsupported::test_shell_warning[protocol: beeswax | exec_option: {'test_replan': 1, 'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen': False, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0} | table_format: text/none] SKIPPED

      In particular, there are some tests that run but are marked xfail (TestClientSsl::test_wildcard_ssl, TestClientSsl::test_wildcard_san_ssl) that each take 4 minutes. We should reduce the number of combinations.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: