[ 
https://issues.apache.org/jira/browse/IMPALA-13690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Csaba Ringhofer resolved IMPALA-13690.
--------------------------------------
    Fix Version/s: Impala 5.0.0
       Resolution: Fixed

> TestAsyncDDL.test_get_operation_status_for_async_ddl failed in an ASAN build
> ----------------------------------------------------------------------------
>
>                 Key: IMPALA-13690
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13690
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Laszlo Gaal
>            Priority: Critical
>              Labels: broken-build
>             Fix For: Impala 5.0.0
>
>
> Backtrace:
> {code}
> /data/jenkins/workspace/impala-asf-master-core-asan-arm/repos/Impala/tests/metadata/test_ddl.py:1007:
>  in test_get_operation_status_for_async_ddl
>     "INITIALIZED_STATE", "PENDING_STATE", "RUNNING_STATE")
> /data/jenkins/workspace/impala-asf-master-core-asan-arm/repos/Impala/tests/metadata/test_ddl.py:999:
>  in test_get_operation_status_for_client
>     assert num_times_in_running_state > 0
> E   assert 0 > 0
> {code}
> Might be flaky.
> Captured stderr output:
> {code}
> SET 
> client_identifier=metadata/test_ddl.py::TestAsyncDDL::()::test_get_operation_status_for_async_ddl[protocol:hs2-http|table_format:text/none|exec_option:{'disable_codegen_rows_threshold':0;'test_replan':1;'batch_size':0;'num_nodes':0;'sync_ddl':0;'disable_codegen':False;'abo;
> -- connecting to: localhost:21000
> -- 2025-01-21 00:48:47,929 INFO     MainThread: Could not connect to ('::1', 
> 21000, 0, 0)
> Traceback (most recent call last):
>   File 
> "/data/jenkins/workspace/impala-asf-master-core-asan-arm/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-asf-master-core-asan-arm/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
> -- connecting to localhost:21050 with impyla
> -- 2025-01-21 00:48:47,929 INFO     MainThread: Could not connect to ('::1', 
> 21050, 0, 0)
> Traceback (most recent call last):
>   File 
> "/data/jenkins/workspace/impala-asf-master-core-asan-arm/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-asf-master-core-asan-arm/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
> -- 2025-01-21 00:48:47,944 INFO     MainThread: Closing active operation
> -- connecting to localhost:28000 with impyla
> -- 2025-01-21 00:48:47,964 INFO     MainThread: Closing active operation
> SET 
> client_identifier=metadata/test_ddl.py::TestAsyncDDL::()::test_get_operation_status_for_async_ddl[protocol:hs2-http|table_format:text/none|exec_option:{'disable_codegen_rows_threshold':0;'test_replan':1;'batch_size':0;'num_nodes':0;'sync_ddl':0;'disable_codegen':False;'abo;
> SET sync_ddl=False;
> -- executing against localhost:21000
> DROP DATABASE IF EXISTS `test_get_operation_status_for_async_ddl_c3eba863` 
> CASCADE;
> -- 2025-01-21 00:48:47,980 INFO     MainThread: Started query 
> f244e30f81ae23e7:0563c73000000000
> SET 
> client_identifier=metadata/test_ddl.py::TestAsyncDDL::()::test_get_operation_status_for_async_ddl[protocol:hs2-http|table_format:text/none|exec_option:{'disable_codegen_rows_threshold':0;'test_replan':1;'batch_size':0;'num_nodes':0;'sync_ddl':0;'disable_codegen':False;'abo;
> SET sync_ddl=False;
> -- executing against localhost:21000
> CREATE DATABASE `test_get_operation_status_for_async_ddl_c3eba863`;
> -- 2025-01-21 00:48:51,927 INFO     MainThread: Started query 
> 6e41083490318819:4d687d8000000000
> -- 2025-01-21 00:48:51,983 INFO     MainThread: Created database 
> "test_get_operation_status_for_async_ddl_c3eba863" for test ID 
> "metadata/test_ddl.py::TestAsyncDDL::()::test_get_operation_status_for_async_ddl[protocol:
>  hs2-http | table_format: text/none | exec_option: 
> {'disable_codegen_rows_threshold': 0, 'test_replan': 1, 'batch_size': 0, 
> 'num_nodes': 0, 'sync_ddl': 0, 'disable_codegen': False, 'abort_on_error': 1, 
> 'exec_single_node_rows_threshold': 0}]"
> -- executing against Impala at localhost:28000
> drop table if exists 
> test_get_operation_status_for_async_ddl_c3eba863.alltypes_clone;
> -- b6449abcd316aedb:d6801fd000000000: getting log for operation
> -- b6449abcd316aedb:d6801fd000000000: getting runtime profile operation
> -- b6449abcd316aedb:d6801fd000000000: closing query for operation
> -- 2025-01-21 00:48:52,014 INFO     MainThread: Closing active operation
> -- executing against Impala at localhost:28000
> select count(*) from functional_parquet.alltypes;
> -- 6c4aab62005c8ed7:732b9fb100000000: getting log for operation
> -- 6c4aab62005c8ed7:732b9fb100000000: getting runtime profile operation
> -- 6c4aab62005c8ed7:732b9fb100000000: closing query for operation
> -- 2025-01-21 00:48:52,156 INFO     MainThread: Closing active operation
> -- executing against Impala at localhost:28000
> set enable_async_ddl_execution=true;
> -- 5e42f73cfa7229ca:fb014b4a00000000: getting log for operation
> -- 5e42f73cfa7229ca:fb014b4a00000000: getting runtime profile operation
> -- 5e42f73cfa7229ca:fb014b4a00000000: closing query for operation
> -- 2025-01-21 00:48:52,175 INFO     MainThread: Closing active operation
> -- executing against Impala at localhost:28000
> set debug_action="CRS_DELAY_BEFORE_CATALOG_OP_EXEC:SLEEP@10000";
> -- da46e0efc0b01c6a:e10de6e100000000: getting log for operation
> -- da46e0efc0b01c6a:e10de6e100000000: getting runtime profile operation
> -- da46e0efc0b01c6a:e10de6e100000000: closing query for operation
> -- 2025-01-21 00:48:52,194 INFO     MainThread: Closing active operation
> -- executing against Impala at localhost:28000
> create table test_get_operation_status_for_async_ddl_c3eba863.alltypes_clone 
> as select * from         functional_parquet.alltypes;
> Started query d84b84d10fa884db:d09d5d3700000000
> -- d84b84d10fa884db:d09d5d3700000000: checking finished state for operation
> -- d84b84d10fa884db:d09d5d3700000000: getting state
> -- d84b84d10fa884db:d09d5d3700000000: checking finished state for operation
> -- d84b84d10fa884db:d09d5d3700000000: getting state
> -- d84b84d10fa884db:d09d5d3700000000: checking finished state for operation
> -- d84b84d10fa884db:d09d5d3700000000: getting state
> [....repeated a million times....]
> -{code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to