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

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

Commit 07f3ae3881a8ed652b2d4a4b965aed05e5a85e6f in impala's branch 
refs/heads/master from Tamas Mate
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=07f3ae3 ]

IMPALA-10066: Fix test_cancellation_mid_command flakiness

This change adds additional synchronisation to fix the flaky test. The
test failures were happening because the test did not wait for the
output of the SIGINT (^C) to arrive. When this was delayed it cluttered
the impala-shell output and other expect calls could fail.

Testing:
 - executed the test locally 250 times without failures, without this
 fix there were about 3 failures in a 100 execution

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


> test_cancellation_mid_command fails in parallel-all-tests-nightly
> -----------------------------------------------------------------
>
>                 Key: IMPALA-10066
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10066
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Tamas Mate
>            Priority: Critical
>              Labels: broken-build
>
> Failed jobs:
> [https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/11609/]
> [https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests/2927/testReport/]
> Stack trace:
> {noformat}
> shell/test_shell_interactive.py:326: in test_cancellation_mid_command
>  child_proc.wait()
> ../infra/python/env-gcc7.5.0/lib/python2.7/site-packages/pexpect/__init__.py:1205:
>  in wait
>  raise ExceptionPexpect('Cannot wait for dead child process.')
> E ExceptionPexpect: Cannot wait for dead child process.{noformat}



--
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