Qifan Chen created IMPALA-10294:
-----------------------------------

             Summary: Improvement to test_skew_reporting_in_runtime_profile
                 Key: IMPALA-10294
                 URL: https://issues.apache.org/jira/browse/IMPALA-10294
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Qifan Chen


In /impala-asf-master-exhaustive build, the following error is seen.

query_test.test_observability.TestObservability.test_skew_reporting_in_runtime_profile
 Error Details

{code:java}
query_test/test_observability.py:753: in test_skew_reporting_in_runtime_profile 
    assert len(re.findall(skews_found, results.runtime_profile, re.M)) == 1 E   
assert 0 == 1 E    +  where 0 = len([]) E    +    where [] = <function findall 
at 0x7f3069f938c0>('skew\\(s\\) found 
at:.*HASH_JOIN.*HASH_JOIN.*HDFS_SCAN_NODE', 'Query 
(id=5c4b97e5ed63435c:5aa154be00000000):\n  DEBUG MODE WARNING: Query profile 
created while running a DEBUG buil...: 0.000ns\n             - WriteIoBytes: 
0\n             - WriteIoOps: 0 (0)\n             - WriteIoWaitTime: 
0.000ns\n', 8) E    +      where <function findall at 0x7f3069f938c0> = 
re.findall E    +      and   'Query (id=5c4b97e5ed63435c:5aa154be00000000):\n  
DEBUG MODE WARNING: Query profile created while running a DEBUG buil...: 
0.000ns\n             - WriteIoBytes: 0\n             - WriteIoOps: 0 (0)\n     
        - WriteIoWaitTime: 0.000ns\n' = 
<tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 
0x7f304ac15190>.runtime_profile E    +      and   8 = re.M
{code}

 Stack Trace

{code:java}
query_test/test_observability.py:753: in test_skew_reporting_in_runtime_profile
    assert len(re.findall(skews_found, results.runtime_profile, re.M)) == 1
E   assert 0 == 1
E    +  where 0 = len([])
E    +    where [] = <function findall at 0x7f3069f938c0>('skew\\(s\\) found 
at:.*HASH_JOIN.*HASH_JOIN.*HDFS_SCAN_NODE', 'Query 
(id=5c4b97e5ed63435c:5aa154be00000000):\n  DEBUG MODE WARNING: Query profile 
created while running a DEBUG buil...: 0.000ns\n             - WriteIoBytes: 
0\n             - WriteIoOps: 0 (0)\n             - WriteIoWaitTime: 
0.000ns\n', 8)
E    +      where <function findall at 0x7f3069f938c0> = re.findall
E    +      and   'Query (id=5c4b97e5ed63435c:5aa154be00000000):\n  DEBUG MODE 
WARNING: Query profile created while running a DEBUG buil...: 0.000ns\n         
    - WriteIoBytes: 0\n             - WriteIoOps: 0 (0)\n             - 
WriteIoWaitTime: 0.000ns\n' = <tests.beeswax.impala_beeswax.ImpalaBeeswaxResult 
object at 0x7f304ac15190>.runtime_profile
E    +      and   8 = re.M
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to