You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/01/14 20:03:57 UTC

[GitHub] [accumulo] DomGarguilo edited a comment on issue #1791: Flaky test: SuspendedTabletsIT

DomGarguilo edited a comment on issue #1791:
URL: https://github.com/apache/accumulo/issues/1791#issuecomment-760404978


   This test fails for me more often then it passes. I got the same error as you for shutDownAndResumeTserver once but most of the time this test reaches the 5 minute timeout for me. It did pass once in which case the crashAndResumeTserver test failed with similar error: 
   ```java
   java.lang.AssertionError: 
   Expected :[1;11;10]
   Actual   :[1;18;17, 1;11;10, 1;19;18, 1;12;11, 1;13;12, 1;14;13, 1;15;14, 1;16;15, 1;17;16, 1;8;7]
   
   	at org.junit.Assert.fail(Assert.java:89)
   	at org.junit.Assert.failNotEquals(Assert.java:835)
   	at org.junit.Assert.assertEquals(Assert.java:120)
   	at org.junit.Assert.assertEquals(Assert.java:146)
   	at org.apache.accumulo.test.master.SuspendedTabletsIT.suspensionTestBody(SuspendedTabletsIT.java:225)
   	at org.apache.accumulo.test.master.SuspendedTabletsIT.crashAndResumeTserver(SuspendedTabletsIT.java:100)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
   	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
   	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
   	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
   	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
   	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
   	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
   	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
   	at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
   	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
   	at java.base/java.lang.Thread.run(Thread.java:834)
   ```
   It looks like in both cases an assertEquals() fails comparing a set of dead tablets and another set of tablets. In both cases either the expected value is a subset of the actual value or vise-versa. I'm not too sure what this means yet but im looking into it.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org