Joe McDonnell created IMPALA-15208:
--------------------------------------

             Summary: TestAsyncDDL.test_get_operation_status_for_async_ddl 
times out waiting for FINISHED state
                 Key: IMPALA-15208
                 URL: https://issues.apache.org/jira/browse/IMPALA-15208
             Project: IMPALA
          Issue Type: Bug
          Components: Test
    Affects Versions: Impala 5.0.0
            Reporter: Joe McDonnell


After the fix for IMPALA-13690, 
TestAsyncDDL.test_get_operation_status_for_async_ddl has seen a different 
failure symptom intermittently:
{noformat}
/data/jenkins/workspace/impala-cdh_main_staging-core-asan-arm/repos/Impala/tests/metadata/test_ddl.py:1127:
 in test_get_operation_status_for_async_ddl
    self.test_get_operation_status_for_client(client, unique_database)
        client     = <tests.common.impala_connection.ImpylaHS2Connection object 
at 0xffff85538350>
        self       = <tests.metadata.test_ddl.TestAsyncDDL object at 
0xffff855ce010>
        unique_database = 'test_get_operation_status_for_async_ddl_1a90805b'
        vector     = "table_format: text/none" | "protocol: hs2" | 
"exec_option: {'abort_on_error': 1, 'batch_size': 0, 'disable_codegen': 
...ble_codegen_rows_threshold': 0, 'exec_single_node_rows_threshold': 0, 
'num_nodes': 0, 'sync_ddl': 0, 'test_replan': 1}"
/data/jenkins/workspace/impala-cdh_main_staging-core-asan-arm/repos/Impala/tests/metadata/test_ddl.py:1120:
 in test_get_operation_status_for_client
    client.wait_for_impala_state(handle, FINISHED, SLEEP_S + 3)
        SLEEP_S    = 2
        client     = <tests.common.impala_connection.ImpylaHS2Connection object 
at 0xffff85538350>
        end        = 1784659839.579781
        handle     = <tests.common.impala_connection.OperationHandle object at 
0xffff842642d0>
        self       = <class 'tests.metadata.test_ddl.TestAsyncDDL'>
        start      = 1784659839.5354471
        unique_database = 'test_get_operation_status_for_async_ddl_1a90805b'
common/impala_connection.py:322: in wait_for_impala_state
    return self.wait_for_any_impala_state(
        expected_impala_state = 'FINISHED'
        operation_handle = <tests.common.impala_connection.OperationHandle 
object at 0xffff842642d0>
        self       = <tests.common.impala_connection.ImpylaHS2Connection object 
at 0xffff85538350>
        timeout    = 5
common/impala_connection.py:358: in wait_for_any_impala_state
    raise tests.common.errors.Timeout(timeout_msg)
E   tests.common.errors.Timeout: query 'ff43616c0b88e44d:fa00925300000000' did 
not reach one of the expected states ['FINISHED'], last known state RUNNING
        expected_impala_states = ['FINISHED']
        impala_state = 'RUNNING'
        interval   = 5.02525782585144
        num_checks = 92
        operation_handle = <tests.common.impala_connection.OperationHandle 
object at 0xffff842642d0>
        self       = <tests.common.impala_connection.ImpylaHS2Connection object 
at 0xffff85538350>
        start_time = 1784659841.6353123
        timeout_msg = "query 'ff43616c0b88e44d:fa00925300000000' did not reach 
one of the expected states ['FINISHED'], last known state RUNNING"
        timeout_s  = 5{noformat}
This tends to happen on slow builds like ASAN. The test could wait longer for 
the FINISHED state.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to