Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.13.0
Description
2021-05-20T22:21:49.9790943Z May 20 22:21:49 [ERROR] testTimeoutExceptionOnInvoke(org.apache.flink.streaming.connectors.cassandra.CassandraSinkBaseTest) Time elapsed: 5.742 s <<< ERROR! 2021-05-20T22:21:49.9791886Z May 20 22:21:49 org.junit.runners.model.TestTimedOutException: test timed out after 5000 milliseconds 2021-05-20T22:21:49.9792584Z May 20 22:21:49 at java.base@11.0.10/java.io.RandomAccessFile.readBytes(Native Method) 2021-05-20T22:21:49.9793258Z May 20 22:21:49 at java.base@11.0.10/java.io.RandomAccessFile.read(RandomAccessFile.java:406) 2021-05-20T22:21:49.9794205Z May 20 22:21:49 at java.base@11.0.10/java.util.zip.ZipFile$Source.readAt(ZipFile.java:1331) 2021-05-20T22:21:49.9794931Z May 20 22:21:49 at java.base@11.0.10/java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:1028) 2021-05-20T22:21:49.9795769Z May 20 22:21:49 at java.base@11.0.10/java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:468) 2021-05-20T22:21:49.9796538Z May 20 22:21:49 at java.base@11.0.10/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:159) 2021-05-20T22:21:49.9797988Z May 20 22:21:49 at java.base@11.0.10/jdk.internal.loader.Resource.getBytes(Resource.java:124) 2021-05-20T22:21:49.9798766Z May 20 22:21:49 at java.base@11.0.10/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:797) 2021-05-20T22:21:49.9799605Z May 20 22:21:49 at java.base@11.0.10/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698) 2021-05-20T22:21:49.9800472Z May 20 22:21:49 at java.base@11.0.10/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) 2021-05-20T22:21:49.9801568Z May 20 22:21:49 at java.base@11.0.10/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) 2021-05-20T22:21:49.9802449Z May 20 22:21:49 at java.base@11.0.10/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) 2021-05-20T22:21:49.9803167Z May 20 22:21:49 at java.base@11.0.10/java.lang.ClassLoader.loadClass(ClassLoader.java:522) 2021-05-20T22:21:49.9803984Z May 20 22:21:49 at app//com.google.common.collect.ImmutableMap.of(ImmutableMap.java:70) 2021-05-20T22:21:49.9804648Z May 20 22:21:49 at app//com.google.common.reflect.TypeResolver$TypeTable.<init>(TypeResolver.java:218) 2021-05-20T22:21:49.9805331Z May 20 22:21:49 at app//com.google.common.reflect.TypeResolver.<init>(TypeResolver.java:60) 2021-05-20T22:21:49.9805972Z May 20 22:21:49 at app//com.google.common.reflect.TypeToken.where(TypeToken.java:215) 2021-05-20T22:21:49.9806669Z May 20 22:21:49 at app//com.google.common.reflect.TypeToken.where(TypeToken.java:239) 2021-05-20T22:21:49.9807514Z May 20 22:21:49 at app//com.datastax.driver.core.TypeTokens.mapOf(TypeTokens.java:106) 2021-05-20T22:21:49.9808329Z May 20 22:21:49 at app//com.datastax.driver.core.SanityChecks.checkGuava(SanityChecks.java:50) 2021-05-20T22:21:49.9809035Z May 20 22:21:49 at app//com.datastax.driver.core.SanityChecks.check(SanityChecks.java:36) 2021-05-20T22:21:49.9809696Z May 20 22:21:49 at app//com.datastax.driver.core.Cluster.<clinit>(Cluster.java:67) 2021-05-20T22:21:49.9810253Z May 20 22:21:49 at jdk.internal.reflect.GeneratedSerializationConstructorAccessor2.newInstance(Unknown Source) 2021-05-20T22:21:49.9810930Z May 20 22:21:49 at java.base@11.0.10/java.lang.reflect.Constructor.newInstance(Constructor.java:490) 2021-05-20T22:21:49.9811707Z May 20 22:21:49 at app//org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator.newInstance(SunReflectionFactoryInstantiator.java:45) 2021-05-20T22:21:49.9812475Z May 20 22:21:49 at app//org.objenesis.ObjenesisBase.newInstance(ObjenesisBase.java:73) 2021-05-20T22:21:49.9813232Z May 20 22:21:49 at app//org.mockito.internal.creation.instance.ObjenesisInstantiator.newInstance(ObjenesisInstantiator.java:19) 2021-05-20T22:21:49.9814154Z May 20 22:21:49 at app//org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:47) 2021-05-20T22:21:49.9814990Z May 20 22:21:49 at app//org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:25) 2021-05-20T22:21:49.9815814Z May 20 22:21:49 at app//org.powermock.api.mockito.mockmaker.PowerMockMaker.createMock(PowerMockMaker.java:41) 2021-05-20T22:21:49.9816471Z May 20 22:21:49 at app//org.mockito.internal.util.MockUtil.createMock(MockUtil.java:35) 2021-05-20T22:21:49.9817261Z May 20 22:21:49 at app//org.mockito.internal.MockitoCore.mock(MockitoCore.java:69) 2021-05-20T22:21:49.9817854Z May 20 22:21:49 at app//org.mockito.Mockito.mock(Mockito.java:1895) 2021-05-20T22:21:49.9818331Z May 20 22:21:49 at app//org.mockito.Mockito.mock(Mockito.java:1804) 2021-05-20T22:21:49.9818872Z May 20 22:21:49 at app//org.apache.flink.streaming.connectors.cassandra.CassandraSinkBaseTest$TestCassandraSink.<clinit>(CassandraSinkBaseTest.java:386) 2021-05-20T22:21:49.9819569Z May 20 22:21:49 at app//org.apache.flink.streaming.connectors.cassandra.CassandraSinkBaseTest.createOpenedTestCassandraSink(CassandraSinkBaseTest.java:352) 2021-05-20T22:21:49.9820464Z May 20 22:21:49 at app//org.apache.flink.streaming.connectors.cassandra.CassandraSinkBaseTest.testTimeoutExceptionOnInvoke(CassandraSinkBaseTest.java:321) 2021-05-20T22:21:49.9821063Z May 20 22:21:49 at java.base@11.0.10/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2021-05-20T22:21:49.9821616Z May 20 22:21:49 at java.base@11.0.10/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2021-05-20T22:21:49.9822250Z May 20 22:21:49 at java.base@11.0.10/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2021-05-20T22:21:49.9822933Z May 20 22:21:49 at java.base@11.0.10/java.lang.reflect.Method.invoke(Method.java:566) 2021-05-20T22:21:49.9823510Z May 20 22:21:49 at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) 2021-05-20T22:21:49.9824043Z May 20 22:21:49 at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2021-05-20T22:21:49.9824570Z May 20 22:21:49 at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 2021-05-20T22:21:49.9825065Z May 20 22:21:49 at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 2021-05-20T22:21:49.9825604Z May 20 22:21:49 at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) 2021-05-20T22:21:49.9826173Z May 20 22:21:49 at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) 2021-05-20T22:21:49.9826686Z May 20 22:21:49 at java.base@11.0.10/java.util.concurrent.FutureTask.run(FutureTask.java:264) 2021-05-20T22:21:49.9827278Z May 20 22:21:49 at java.base@11.0.10/java.lang.Thread.run(Thread.java:834)
Attachments
Issue Links
- depends upon
-
FLINK-25147 Migrate cassandra tests to test containers
- Closed