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

TestResultSpoolingCancellation.test_cancellation failed in UBSAN build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.4.0
    • Impala 4.4.0
    • Backend

    Description

      TestResultSpoolingCancellation.test_cancellation failed in UBSAN build. The following are the error messages.

      Error Message
      
      query_test/test_result_spooling.py:356: in test_cancellation     vector.get_value('cancel_delay')) util/cancel_util.py:99: in cancel_query_and_validate_state     assert 'Invalid or unknown query handle' in str(close_error) E   assert 'Invalid or unknown query handle' in "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: Query not yet running\n" E    +  where "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: Query not yet running\n" = str(ImpalaBeeswaxException())
      
      Stacktrace
      
      query_test/test_result_spooling.py:356: in test_cancellation
          vector.get_value('cancel_delay'))
      util/cancel_util.py:99: in cancel_query_and_validate_state
          assert 'Invalid or unknown query handle' in str(close_error)
      E   assert 'Invalid or unknown query handle' in "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: Query not yet running\n"
      E    +  where "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: Query not yet running\n" = str(ImpalaBeeswaxException())
      
      Standard Error
      
      SET client_identifier=query_test/test_result_spooling.py::TestResultSpoolingCancellation::()::test_cancellation[query:selectl_returnflagfromtpch_parquet.lineitem|protocol:beeswax|exec_option:{'test_replan':1;'batch_size':0;'num_nodes':0;'disable_codegen_rows_threshold':0;'disa;
      -- executing against localhost:21000
      
      use tpch_parquet;
      
      -- 2024-03-05 23:36:03,429 INFO     MainThread: Started query 8241403abf8b7dbb:4db1deee00000000
      SET client_identifier=query_test/test_result_spooling.py::TestResultSpoolingCancellation::()::test_cancellation[query:selectl_returnflagfromtpch_parquet.lineitem|protocol:beeswax|exec_option:{'test_replan':1;'batch_size':0;'num_nodes':0;'disable_codegen_rows_threshold':0;'disa;
      SET spool_query_results=true;
      SET test_replan=1;
      SET batch_size=0;
      SET num_nodes=0;
      SET disable_codegen_rows_threshold=0;
      SET disable_codegen=False;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      -- executing async: localhost:21000
      
      select l_returnflag from tpch_parquet.lineitem;
      
      -- 2024-03-05 23:36:03,437 INFO     MainThread: Started query 4a44182cfdd8b9ff:657a80a800000000
      SET client_identifier=query_test/test_result_spooling.py::TestResultSpoolingCancellation::()::test_cancellation[query:selectl_returnflagfromtpch_parquet.lineitem|protocol:beeswax|exec_option:{'test_replan':1;'batch_size':0;'num_nodes':0;'disable_codegen_rows_threshold':0;'disa;
      -- connecting to: localhost:21000
      -- 2024-03-05 23:36:03,437 INFO     Thread-24: Could not connect to ('::1', 21000, 0, 0)
      Traceback (most recent call last):
        File "/data/jenkins/workspace/impala-cdw-master-staging-core-ubsan/repos/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/thrift/transport/TSocket.py", line 137, in open
          handle.connect(sockaddr)
        File "/data/jenkins/workspace/impala-cdw-master-staging-core-ubsan/Impala-Toolchain/toolchain-packages-gcc10.4.0/python-2.7.16/lib/python2.7/socket.py", line 228, in meth
          return getattr(self._sock,name)(*args)
      error: [Errno 111] Connection refused
      -- fetching results from: <tests.common.impala_connection.OperationHandle object at 0x7fd2b172a410>
      -- getting state for operation: <tests.common.impala_connection.OperationHandle object at 0x7fd2b172a410>
      -- canceling operation: <tests.common.impala_connection.OperationHandle object at 0x7fd2b172a410>
      -- closing query for operation handle: <tests.common.impala_connection.OperationHandle object at 0x7fd2b172a410>
      -- getting runtime profile operation: <tests.common.impala_connection.OperationHandle object at 0x7fd2b172a410>
      

      Error message "Query not yet running" is recently introduced in IMPALA-12493.

      Attachments

        Issue Links

          Activity

            People

              MikaelSmith Michael Smith
              rizaon Riza Suminto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: