Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-29031

FlinkKinesisConsumerTest.testSourceSynchronization failed with AssertionFailedError

    XMLWordPrintableJSON

Details

    Description

      2022-08-18T03:58:00.0197521Z Aug 18 03:58:00 [ERROR] org.apache.flink.streaming.connectors.kinesis.FlinkKinesisConsumerTest.testSourceSynchronization  Time elapsed: 10.191 s  <<< FAILURE!
      2022-08-18T03:58:00.0198736Z Aug 18 03:58:00 org.opentest4j.AssertionFailedError: 
      2022-08-18T03:58:00.0199434Z Aug 18 03:58:00 [first record received] 
      2022-08-18T03:58:00.0200022Z Aug 18 03:58:00 expected: 1
      2022-08-18T03:58:00.0200577Z Aug 18 03:58:00  but was: 0
      2022-08-18T03:58:00.0201285Z Aug 18 03:58:00 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2022-08-18T03:58:00.0202337Z Aug 18 03:58:00 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      2022-08-18T03:58:00.0203442Z Aug 18 03:58:00 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      2022-08-18T03:58:00.0205001Z Aug 18 03:58:00 	at org.apache.flink.streaming.connectors.kinesis.FlinkKinesisConsumerTest.testSourceSynchronization(FlinkKinesisConsumerTest.java:1149)
      2022-08-18T03:58:00.0206078Z Aug 18 03:58:00 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2022-08-18T03:58:00.0206994Z Aug 18 03:58:00 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2022-08-18T03:58:00.0208019Z Aug 18 03:58:00 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2022-08-18T03:58:00.0208952Z Aug 18 03:58:00 	at java.lang.reflect.Method.invoke(Method.java:498)
      2022-08-18T03:58:00.0209816Z Aug 18 03:58:00 	at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68)
      2022-08-18T03:58:00.0211029Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:326)
      2022-08-18T03:58:00.0212264Z Aug 18 03:58:00 	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:89)
      2022-08-18T03:58:00.0213266Z Aug 18 03:58:00 	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:97)
      2022-08-18T03:58:00.0214530Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.executeTest(PowerMockJUnit44RunnerDelegateImpl.java:310)
      2022-08-18T03:58:00.0216259Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTestInSuper(PowerMockJUnit47RunnerDelegateImpl.java:131)
      2022-08-18T03:58:00.0217769Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.access$100(PowerMockJUnit47RunnerDelegateImpl.java:59)
      2022-08-18T03:58:00.0219348Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner$TestExecutorStatement.evaluate(PowerMockJUnit47RunnerDelegateImpl.java:147)
      2022-08-18T03:58:00.0220610Z Aug 18 03:58:00 	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
      2022-08-18T03:58:00.0221543Z Aug 18 03:58:00 	at org.apache.flink.util.TestNameProvider$1.evaluate(TestNameProvider.java:45)
      2022-08-18T03:58:00.0222807Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.evaluateStatement(PowerMockJUnit47RunnerDelegateImpl.java:107)
      2022-08-18T03:58:00.0224339Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82)
      2022-08-18T03:58:00.0226110Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:298)
      2022-08-18T03:58:00.0227637Z Aug 18 03:58:00 	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:87)
      2022-08-18T03:58:00.0228583Z Aug 18 03:58:00 	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:50)
      2022-08-18T03:58:00.0229767Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.invokeTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:218)
      2022-08-18T03:58:00.0231130Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.runMethods(PowerMockJUnit44RunnerDelegateImpl.java:160)
      2022-08-18T03:58:00.0232443Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$1.run(PowerMockJUnit44RunnerDelegateImpl.java:134)
      2022-08-18T03:58:00.0233582Z Aug 18 03:58:00 	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
      2022-08-18T03:58:00.0237704Z Aug 18 03:58:00 	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
      2022-08-18T03:58:00.0238913Z Aug 18 03:58:00 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.run(PowerMockJUnit44RunnerDelegateImpl.java:136)
      2022-08-18T03:58:00.0240041Z Aug 18 03:58:00 	at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.run(JUnit4TestSuiteChunkerImpl.java:117)
      2022-08-18T03:58:00.0241152Z Aug 18 03:58:00 	at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.run(AbstractCommonPowerMockRunner.java:57)
      2022-08-18T03:58:00.0242137Z Aug 18 03:58:00 	at org.powermock.modules.junit4.PowerMockRunner.run(PowerMockRunner.java:59)
      2022-08-18T03:58:00.0242895Z Aug 18 03:58:00 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      2022-08-18T03:58:00.0243587Z Aug 18 03:58:00 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      2022-08-18T03:58:00.0244365Z Aug 18 03:58:00 	at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42)
      2022-08-18T03:58:00.0245751Z Aug 18 03:58:00 	at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
      2022-08-18T03:58:00.0246649Z Aug 18 03:58:00 	at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72)
      2022-08-18T03:58:00.0247581Z Aug 18 03:58:00 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
      2022-08-18T03:58:00.0248597Z Aug 18 03:58:00 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
      2022-08-18T03:58:00.0249773Z Aug 18 03:58:00 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
      2022-08-18T03:58:00.0250859Z Aug 18 03:58:00 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
      2022-08-18T03:58:00.0251912Z Aug 18 03:58:00 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
      2022-08-18T03:58:00.0252845Z Aug 18 03:58:00 	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
      2022-08-18T03:58:00.0253723Z Aug 18 03:58:00 	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
      2022-08-18T03:58:00.0254688Z Aug 18 03:58:00 	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
      2022-08-18T03:58:00.0256266Z Aug 18 03:58:00 	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
      2022-08-18T03:58:00.0257318Z Aug 18 03:58:00 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.lambda$execute$1(JUnitPlatformProvider.java:199)
      2022-08-18T03:58:00.0258206Z Aug 18 03:58:00 	at java.util.Iterator.forEachRemaining(Iterator.java:116)
      2022-08-18T03:58:00.0259059Z Aug 18 03:58:00 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:193)
      2022-08-18T03:58:00.0260066Z Aug 18 03:58:00 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
      2022-08-18T03:58:00.0261078Z Aug 18 03:58:00 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:120)
      2022-08-18T03:58:00.0262026Z Aug 18 03:58:00 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
      2022-08-18T03:58:00.0262910Z Aug 18 03:58:00 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
      2022-08-18T03:58:00.0263736Z Aug 18 03:58:00 	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
      2022-08-18T03:58:00.0264551Z Aug 18 03:58:00 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
      2022-08-18T03:58:00.0265138Z Aug 18 03:58:00 
      2022-08-18T03:58:00.3848848Z Aug 18 03:58:00 [INFO] 
      2022-08-18T03:58:00.3849425Z Aug 18 03:58:00 [INFO] Results:
      2022-08-18T03:58:00.3849823Z Aug 18 03:58:00 [INFO] 
      2022-08-18T03:58:00.3850546Z Aug 18 03:58:00 [ERROR] Failures: 
      2022-08-18T03:58:00.3851183Z Aug 18 03:58:00 [ERROR]   FlinkKinesisConsumerTest.testSourceSynchronization:1149 [first record received] 
      2022-08-18T03:58:00.3851804Z Aug 18 03:58:00 expected: 1
      2022-08-18T03:58:00.3852206Z Aug 18 03:58:00  but was: 0
      

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=40126&view=logs&j=fc7981dc-d266-55b0-5fff-f0d0a2294e36&t=1a9b228a-3e0e-598f-fc81-c321539dfdbf

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hxbks2ks Huang Xingbo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: