[
https://issues.apache.org/jira/browse/IMPALA-15208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098518#comment-18098518
]
ASF subversion and git services commented on IMPALA-15208:
----------------------------------------------------------
Commit 4a0caf3eeff9aaf9dfd5ed0671d8f336f8a9439f in impala's branch
refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=4a0caf3ee ]
IMPALA-15208: Bump wait time for
TestAsyncDDL.test_get_operation_status_for_async_ddl
After the fix for IMPALA-13690, there has been occasional
flakiness where TestAsyncDDL.test_get_operation_status_for_async_ddl
is timing out waiting for the query to transition from RUNNING
to FINISHED. It currently waits 5 seconds, which is 2 seconds
for the sleep in the query plus another 3 seconds as a buffer.
These failures tend to happen on slower build types like
ASAN and code coverage. The actual execution time of the query
is not really what we are testing, so this bumps the wait time
to 12 seconds (2 for the sleep plus 10 seconds as a buffer).
Testing:
- Ran TestAsyncDDL.test_get_operation_status_for_async_ddl
locally
Change-Id: I547b8c0ccce79ebedb2b9a61e4d09e18b4acbbf8
Reviewed-on: http://gerrit.cloudera.org:8080/24625
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Arnab Karmakar <[email protected]>
Reviewed-by: Michael Smith <[email protected]>
> 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
> Assignee: Joe McDonnell
> Priority: Blocker
> Labels: broken-build, flaky
> Fix For: Impala 5.0.0
>
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]