-
Bug
-
Resolution: Done
-
Major
-
14.0.11.Final, 15.0.0.Final
-
None
The RespTestClientDriver RedisClient is blocking on shutdown when the TestClient#clearResources method is called upon test completion. Consequently, the testsuite is unable to proceed.
02:36:46 21:36:39,992 ERROR [o.i.c.t.TestSuiteProgress] Test failed: RESPAuthorizationTest.testRPUSH java.lang.RuntimeException: Test timed out after 300 seconds 02:36:46 at java.base/jdk.internal.misc.Unsafe.park(Native Method) 02:36:46 at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:221) 02:36:46 at java.base/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1864) 02:36:46 at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) 02:36:46 at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) 02:36:46 at java.base/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1898) 02:36:46 at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2072) 02:36:46 at io.lettuce.core.AbstractRedisClient.shutdown(AbstractRedisClient.java:521) 02:36:46 at org.infinispan.server.test.api.RespTestClientDriver.lambda$get$0(RespTestClientDriver.java:41) 02:36:46 at org.infinispan.commons.util.Util.close(Util.java:440) 02:36:46 at java.base/java.util.ArrayList.forEach(ArrayList.java:1593) 02:36:46 at org.infinispan.server.test.core.TestClient.clearResources(TestClient.java:91) 02:36:46 at org.infinispan.server.test.junit4.InfinispanServerTestMethodRule$1.evaluate(InfinispanServerTestMethodRule.java:78) 02:36:46 at org.infinispan.server.security.authorization.BaseTest$1$1.evaluate(BaseTest.java:29) 02:36:46 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) 02:36:46 at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) 02:36:46 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) 02:36:46 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) 02:36:46 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) 02:36:46 at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) 02:36:46 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) 02:36:46 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) 02:36:46 at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) 02:36:46 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) 02:36:46 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) 02:36:46 at org.junit.runners.ParentRunner.run(ParentRunner.java:413) 02:36:46 at org.junit.runners.Suite.runChild(Suite.java:128) 02:36:46 at org.junit.runners.Suite.runChild(Suite.java:27) 02:36:46 at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) 02:36:46 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) 02:36:46 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) 02:36:46 at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) 02:36:46 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) 02:36:46 at org.infinispan.server.test.junit4.InfinispanServerRule$1.evaluate(InfinispanServerRule.java:68) 02:36:46 at org.junit.rules.RunRules.evaluate(RunRules.java:20) 02:36:46 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) 02:36:46 at org.junit.runners.ParentRunner.run(ParentRunner.java:413) 02:36:46 at org.infinispan.server.security.authorization.AuthorizationSuiteRunner.run(AuthorizationSuiteRunner.java:26) 02:36:46 at org.junit.runners.Suite.runChild(Suite.java:128) 02:36:46 at org.junit.runners.Suite.runChild(Suite.java:27) 02:36:46 at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) 02:36:46 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) 02:36:46 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) 02:36:46 at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) 02:36:46 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) 02:36:46 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) 02:36:46 at org.junit.runners.ParentRunner.run(ParentRunner.java:413) 02:36:46 at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:49) 02:36:46 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:120) 02:36:46 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:95) 02:36:46 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) 02:36:46 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:69) 02:36:46 at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:146) 02:36:46 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) 02:36:46 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) 02:36:46 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) 02:36:46 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Threaddumps for different `main` executions on CI: