Tianyi Wang created IMPALA-6241:
-----------------------------------
Summary: Timeout in TestAdmissionControllerStress.test_mem_limit
Key: IMPALA-6241
URL: https://issues.apache.org/jira/browse/IMPALA-6241
Project: IMPALA
Issue Type: Bug
Affects Versions: Impala 2.11.0
Reporter: Tianyi Wang
Assignee: Tim Armstrong
Priority: Blocker
In an ASAN build, test_mem_limit times out in end_admitted_queries(). It's
probably related to IMPALA-6227
{noformat}
def end_admitted_queries(self, num_queries):
"""
Requests each admitted query to end its query.
"""
assert len(self.executing_threads) >= num_queries
LOG.debug("Requesting {0} clients to end queries".format(num_queries))
# Request admitted clients to end their queries
current_executing_queries = []
for i in xrange(num_queries):
# pop() is thread-safe, it's OK if another thread is appending
concurrently.
thread = self.executing_threads.pop(0)
LOG.debug("Cancelling query %s", thread.query_num)
assert thread.query_state == 'ADMITTED'
current_executing_queries.append(thread)
thread.query_state = 'REQUEST_QUERY_END'
# Wait for the queries to end
start_time = time()
while True:
all_done = True
for thread in self.all_threads:
if thread.query_state == 'REQUEST_QUERY_END':
all_done = False
if all_done:
break
> assert (time() - start_time < STRESS_TIMEOUT),\
"Timed out waiting %s seconds for query end" % (STRESS_TIMEOUT,)
E AssertionError: Timed out waiting 60 seconds for query end
E assert (1511608615.681211 - 1511608555.6205289) < 60
E + where 1511608615.681211 = time()
custom_cluster/test_admission_controller.py:623: AssertionError
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)