Quanlong Huang created IMPALA-13729:
---------------------------------------

             Summary: TestKillQuery.test_same_coordinator fails in 
error_msg_expected
                 Key: IMPALA-13729
                 URL: https://issues.apache.org/jira/browse/IMPALA-13729
             Project: IMPALA
          Issue Type: Bug
            Reporter: Quanlong Huang
            Assignee: Xuebin Su


Saw this failed in a downstream build.

Stacktrace
{noformat}
query_test/test_kill_query.py:38: in test_same_coordinator
    assert_kill_ok(client, query_id_to_kill)
util/cancel_util.py:65: in __exit__
    self.client.get_query_id(self.handle),
E   assert (error_msg_expected('TException - service has thrown: 
BeeswaxException(message=Query 9941dc9c3c2257bb:0e610b3900000000 
failed:\nInvalid or...1dc9c3c2257bb:0e610b3900000000.\n\n, log_context=, 
handle=QueryHandle(id=, log_context=), errorCode=0, SQLState=HY000)', 'Invalid 
or unknown query handle', '9941dc9c3c2257bb:0e610b3900000000') or 
error_msg_expected('TException - service has thrown: 
BeeswaxException(message=Query 9941dc9c3c2257bb:0e610b3900000000 
failed:\nInvalid or...1dc9c3c2257bb:0e610b3900000000.\n\n, log_context=, 
handle=QueryHandle(id=, log_context=), errorCode=0, SQLState=HY000)', 
'Cancelled', '9941dc9c3c2257bb:0e610b3900000000'))
E    +  where 'TException - service has thrown: BeeswaxException(message=Query 
9941dc9c3c2257bb:0e610b3900000000 failed:\nInvalid 
or...1dc9c3c2257bb:0e610b3900000000.\n\n, log_context=, handle=QueryHandle(id=, 
log_context=), errorCode=0, SQLState=HY000)' = str(ImpalaBeeswaxException())
E    +    where ImpalaBeeswaxException() = ImpalaBeeswaxException()
E    +      where ImpalaBeeswaxException() = 
<tests.util.cancel_util.QueryToKill instance at 0x7ff088362560>.exc
E    +  and   '9941dc9c3c2257bb:0e610b3900000000' = <bound method 
BeeswaxConnection.get_query_id of 
<tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10>>(<tests.common.impala_connection.OperationHandle object at 
0x7ff087f4f050>)
E    +    where <bound method BeeswaxConnection.get_query_id of 
<tests.common.impala_connection.BeeswaxConnection object at 0x7ff087f4fb10>> = 
<tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10>.get_query_id
E    +      where <tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10> = <tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10>
E    +        where <tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10> = <tests.util.cancel_util.QueryToKill instance at 
0x7ff088362560>.client
E    +    and   <tests.common.impala_connection.OperationHandle object at 
0x7ff087f4f050> = <tests.common.impala_connection.OperationHandle object at 
0x7ff087f4f050>
E    +      where <tests.common.impala_connection.OperationHandle object at 
0x7ff087f4f050> = <tests.util.cancel_util.QueryToKill instance at 
0x7ff088362560>.handle
E    +  and   'TException - service has thrown: BeeswaxException(message=Query 
9941dc9c3c2257bb:0e610b3900000000 failed:\nInvalid 
or...1dc9c3c2257bb:0e610b3900000000.\n\n, log_context=, handle=QueryHandle(id=, 
log_context=), errorCode=0, SQLState=HY000)' = str(ImpalaBeeswaxException())
E    +    where ImpalaBeeswaxException() = ImpalaBeeswaxException()
E    +      where ImpalaBeeswaxException() = 
<tests.util.cancel_util.QueryToKill instance at 0x7ff088362560>.exc
E    +  and   '9941dc9c3c2257bb:0e610b3900000000' = <bound method 
BeeswaxConnection.get_query_id of 
<tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10>>(<tests.common.impala_connection.OperationHandle object at 
0x7ff087f4f050>)
E    +    where <bound method BeeswaxConnection.get_query_id of 
<tests.common.impala_connection.BeeswaxConnection object at 0x7ff087f4fb10>> = 
<tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10>.get_query_id
E    +      where <tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10> = <tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10>
E    +        where <tests.common.impala_connection.BeeswaxConnection object at 
0x7ff087f4fb10> = <tests.util.cancel_util.QueryToKill instance at 
0x7ff088362560>.client
E    +    and   <tests.common.impala_connection.OperationHandle object at 
0x7ff087f4f050> = <tests.common.impala_connection.OperationHandle object at 
0x7ff087f4f050>
E    +      where <tests.common.impala_connection.OperationHandle object at 
0x7ff087f4f050> = <tests.util.cancel_util.QueryToKill instance at 
0x7ff088362560>.handle{noformat}



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

Reply via email to