Quanlong Huang created IMPALA-9799:
--------------------------------------
Summary: Flakiness in TestFetchFirst due to wrong results of
get_num_in_flight_queries
Key: IMPALA-9799
URL: https://issues.apache.org/jira/browse/IMPALA-9799
Project: IMPALA
Issue Type: Bug
Affects Versions: Impala 4.0
Reporter: Quanlong Huang
Saw two failures for this test in different jenkins jobs:
hs2.test_fetch_first.TestFetchFirst.test_query_stmts_v6 (from pytest)
Stacktrace:
{code:java}
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:63:
in add_session
lambda: fn(self))
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:44:
in add_session_helper
fn()
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:63:
in <lambda>
lambda: fn(self))
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:110:
in test_query_stmts_v6
self.run_query_stmts_test()
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:181:
in run_query_stmts_test
self.__test_invalid_result_caching("SELECT COUNT(*) FROM
functional.alltypes")
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:63:
in __test_invalid_result_caching
assert 0 == impalad.get_num_in_flight_queries()
E assert 0 == 1
E + where 1 = <bound method ImpaladService.get_num_in_flight_queries of
<tests.common.impala_service.ImpaladService object at 0x6d25d10>>()
E + where <bound method ImpaladService.get_num_in_flight_queries of
<tests.common.impala_service.ImpaladService object at 0x6d25d10>> =
<tests.common.impala_service.ImpaladService object at
0x6d25d10>.get_num_in_flight_queries{code}
hs2.test_fetch_first.TestFetchFirst.test_query_stmts_v6_with_result_spooling
(from pytest)
Stacktrace:
{code:java}
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:63:
in add_session
lambda: fn(self))
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:44:
in add_session_helper
fn()
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/hs2_test_suite.py:63:
in <lambda>
lambda: fn(self))
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:120:
in test_query_stmts_v6_with_result_spooling
self.run_query_stmts_test({'spool_query_results': 'true'})
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:181:
in run_query_stmts_test
self.__test_invalid_result_caching("SELECT COUNT(*) FROM
functional.alltypes")
/data/jenkins/workspace/impala-cdpd-master-core-asan/repos/Impala/tests/hs2/test_fetch_first.py:63:
in __test_invalid_result_caching
assert 0 == impalad.get_num_in_flight_queries()
E assert 0 == 1
E + where 1 = <bound method ImpaladService.get_num_in_flight_queries of
<tests.common.impala_service.ImpaladService object at 0x81d4990>>()
E + where <bound method ImpaladService.get_num_in_flight_queries of
<tests.common.impala_service.ImpaladService object at 0x81d4990>> =
<tests.common.impala_service.ImpaladService object at
0x81d4990>.get_num_in_flight_queries{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)