[ 
https://issues.apache.org/jira/browse/IMPALA-10054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176372#comment-17176372
 ] 

ASF subversion and git services commented on IMPALA-10054:
----------------------------------------------------------

Commit 5149ea7ea3f9bb6eb5b1304f6d09f74915696926 in impala's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=5149ea7 ]

IMPALA-10054: Fix flakiness in test_multiple_sort_run_bytes_limits

test_multiple_sort_run_bytes_limits seems to become flaky in
ubuntu-16.04-dockerised-tests. This flakiness may come from accuracy
change in query estimates, the mem_limit specified in the test does not
fit anymore, or query concurrency in mini cluster that may disturb
expected memory allocation. This patch remove the second test case of
test_multiple_sort_run_bytes_limits due to variability in several test
run in the past. It does not compromise the test itself because the
basic feature of sort_run_bytes_limit is still verifiable by the
remaining test cases. The assertion is also changed a bit to allow
easier debugging in case test regression occurs again in the future.

Testing:
- Run and pass test_sort.py

Change-Id: I84a8b579c943cddba4432cf183f7f002ef8ec6ad
Reviewed-on: http://gerrit.cloudera.org:8080/16301
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> test_multiple_sort_run_bytes_limits fails in parallel-all-tests-nightly
> -----------------------------------------------------------------------
>
>                 Key: IMPALA-10054
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10054
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 4.0
>            Reporter: Attila Jeges
>            Assignee: Riza Suminto
>            Priority: Blocker
>              Labels: broken-build, flaky
>             Fix For: Impala 4.0
>
>
> test_multiple_sort_run_bytes_limits  introduced in IMPALA-6692 seems to be 
> flaky.
> Jenkins job that triggered the error:
> https://jenkins.impala.io/job/parallel-all-tests-nightly/1173
> Failing job:
> https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests/2899/testReport/
> {code}
> Stacktrace
> query_test/test_sort.py:89: in test_multiple_sort_run_bytes_limits
>     assert "SpilledRuns: " + spilled_runs in query_result.runtime_profile
> E   assert ('SpilledRuns: ' + '3') in 'Query 
> (id=404da0b1e56e7248:120789cd00000000):\n  DEBUG MODE WARNING: Query profile 
> created while running a DEBUG buil... 27.999ms\n             - WriteIoBytes: 
> 0\n             - WriteIoOps: 0 (0)\n             - WriteIoWaitTime: 
> 0.000ns\n'
> E    +  where 'Query (id=404da0b1e56e7248:120789cd00000000):\n  DEBUG MODE 
> WARNING: Query profile created while running a DEBUG buil... 27.999ms\n       
>       - WriteIoBytes: 0\n             - WriteIoOps: 0 (0)\n             - 
> WriteIoWaitTime: 0.000ns\n' = 
> <tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 
> 0x7f51da77fb50>.runtime_profile
> {code}



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

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

Reply via email to