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

Chinmay Kulkarni commented on PHOENIX-5986:
-------------------------------------------

Ping [~giskender] [~kadir]. This test is causing preCommit to fail in some 
cases. Do you have any idea what could be the issue? One weird observation is 
the checkCurrentResult method of DropChildViewsTask always returns null (see 
[this|https://github.com/apache/phoenix/blob/f5ebf2aaa337d0b4b935f10917cee3d99d621c98/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/tasks/DropChildViewsTask.java#L105]).
 Is this expected?

> DropTableWithViewsIT.testDropTableWithChildViews is flapping again
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-5986
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5986
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.15.0
>            Reporter: Chinmay Kulkarni
>            Priority: Major
>              Labels: phoenix-hardening, quality-improvement
>             Fix For: 4.16.0
>
>
> DropTableWithViewsIT.testDropTableWithChildViews is flapping again. I see 
> [PHOENIX-5074|https://issues.apache.org/jira/browse/PHOENIX-5074] fixed this 
> test so that the task is run immediately, but somehow this test is still 
> intermittently failing.
> This has caused recent preCommit failures for PHOENIX-5981 (build 
> [4010|https://builds.apache.org/job/PreCommit-PHOENIX-Build/4010//testReport/])
>  and 
>  PHOENIX-5984 (build 
> [4011|https://builds.apache.org/job/PreCommit-PHOENIX-Build/4011//testReport/]).
> When I run this test locally, it passes sometimes and fails sometimes. This 
> is the relevant stack trace:
> {code:java}
> java.lang.AssertionError
>       at org.junit.Assert.fail(Assert.java:87)
>       at org.junit.Assert.assertTrue(Assert.java:42)
>       at org.junit.Assert.assertFalse(Assert.java:65)
>       at org.junit.Assert.assertFalse(Assert.java:75)
>       at 
> org.apache.phoenix.end2end.DropTableWithViewsIT.testDropTableWithChildViews(DropTableWithViewsIT.java:158)
> {code}
> Failure is observed in [this 
> assertion|https://github.com/apache/phoenix/blob/f5ebf2aaa337d0b4b935f10917cee3d99d621c98/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java#L158].
>  I also see that the test sometimes fails because it expects task status to 
> be COMPLETED, but sees status to be STARTED instead.



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

Reply via email to