You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Huang Xingbo (Jira)" <ji...@apache.org> on 2022/05/23 11:59:00 UTC

[jira] [Created] (FLINK-27744) CheckPubSubEmulatorTest.testPull failed with AssertionError

Huang Xingbo created FLINK-27744:
------------------------------------

             Summary: CheckPubSubEmulatorTest.testPull failed with AssertionError
                 Key: FLINK-27744
                 URL: https://issues.apache.org/jira/browse/FLINK-27744
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Google Cloud PubSub
    Affects Versions: 1.16.0
            Reporter: Huang Xingbo



{code:java}
2022-05-23T10:08:12.4382583Z May 23 10:08:12 [ERROR] org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest.testPull  Time elapsed: 24.092 s  <<< FAILURE!
2022-05-23T10:08:12.4383262Z May 23 10:08:12 java.lang.AssertionError: expected:<1> but was:<0>
2022-05-23T10:08:12.4383939Z May 23 10:08:12 	at org.junit.Assert.fail(Assert.java:89)
2022-05-23T10:08:12.4384555Z May 23 10:08:12 	at org.junit.Assert.failNotEquals(Assert.java:835)
2022-05-23T10:08:12.4385199Z May 23 10:08:12 	at org.junit.Assert.assertEquals(Assert.java:647)
2022-05-23T10:08:12.4385829Z May 23 10:08:12 	at org.junit.Assert.assertEquals(Assert.java:633)
2022-05-23T10:08:12.4386614Z May 23 10:08:12 	at org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest.testPull(CheckPubSubEmulatorTest.java:78)
2022-05-23T10:08:12.4389064Z May 23 10:08:12 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-05-23T10:08:12.4389735Z May 23 10:08:12 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2022-05-23T10:08:12.4390436Z May 23 10:08:12 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2022-05-23T10:08:12.4391073Z May 23 10:08:12 	at java.lang.reflect.Method.invoke(Method.java:498)
2022-05-23T10:08:12.4391708Z May 23 10:08:12 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
2022-05-23T10:08:12.4392415Z May 23 10:08:12 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2022-05-23T10:08:12.4393116Z May 23 10:08:12 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
2022-05-23T10:08:12.4393811Z May 23 10:08:12 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
2022-05-23T10:08:12.4394491Z May 23 10:08:12 	at org.apache.flink.util.TestNameProvider$1.evaluate(TestNameProvider.java:45)
2022-05-23T10:08:12.4395111Z May 23 10:08:12 	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
2022-05-23T10:08:12.4395718Z May 23 10:08:12 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
2022-05-23T10:08:12.4396384Z May 23 10:08:12 	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
2022-05-23T10:08:12.4397042Z May 23 10:08:12 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
2022-05-23T10:08:12.4397697Z May 23 10:08:12 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
2022-05-23T10:08:12.4398392Z May 23 10:08:12 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
2022-05-23T10:08:12.4399020Z May 23 10:08:12 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
2022-05-23T10:08:12.4399622Z May 23 10:08:12 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
2022-05-23T10:08:12.4400236Z May 23 10:08:12 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
2022-05-23T10:08:12.4400851Z May 23 10:08:12 	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
2022-05-23T10:08:12.4401466Z May 23 10:08:12 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
2022-05-23T10:08:12.4402292Z May 23 10:08:12 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
2022-05-23T10:08:12.4402950Z May 23 10:08:12 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2022-05-23T10:08:12.4403713Z May 23 10:08:12 	at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:30)
2022-05-23T10:08:12.4404416Z May 23 10:08:12 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
2022-05-23T10:08:12.4405003Z May 23 10:08:12 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
2022-05-23T10:08:12.4405602Z May 23 10:08:12 	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
2022-05-23T10:08:12.4406166Z May 23 10:08:12 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
2022-05-23T10:08:12.4406792Z May 23 10:08:12 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
2022-05-23T10:08:12.4407415Z May 23 10:08:12 	at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42)
2022-05-23T10:08:12.4408134Z May 23 10:08:12 	at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
2022-05-23T10:08:12.4408839Z May 23 10:08:12 	at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72)
2022-05-23T10:08:12.4409588Z May 23 10:08:12 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
2022-05-23T10:08:12.4410406Z May 23 10:08:12 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
2022-05-23T10:08:12.4411234Z May 23 10:08:12 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
2022-05-23T10:08:12.4412084Z May 23 10:08:12 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
2022-05-23T10:08:12.4412930Z May 23 10:08:12 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
2022-05-23T10:08:12.4413733Z May 23 10:08:12 	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
2022-05-23T10:08:12.4414435Z May 23 10:08:12 	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
2022-05-23T10:08:12.4415214Z May 23 10:08:12 	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
2022-05-23T10:08:12.4416039Z May 23 10:08:12 	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
2022-05-23T10:08:12.4416826Z May 23 10:08:12 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
2022-05-23T10:08:12.4417633Z May 23 10:08:12 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
2022-05-23T10:08:12.4418426Z May 23 10:08:12 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
2022-05-23T10:08:12.4419181Z May 23 10:08:12 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
2022-05-23T10:08:12.4419878Z May 23 10:08:12 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
2022-05-23T10:08:12.4420538Z May 23 10:08:12 	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
2022-05-23T10:08:12.4421196Z May 23 10:08:12 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
2022-05-23T10:08:12.4421667Z May 23 10:08:12 
2022-05-23T10:08:12.8012357Z May 23 10:08:12 [INFO] 
2022-05-23T10:08:12.8014745Z May 23 10:08:12 [INFO] Results:
2022-05-23T10:08:12.8015399Z May 23 10:08:12 [INFO] 
2022-05-23T10:08:12.8015938Z May 23 10:08:12 [ERROR] Failures: 
2022-05-23T10:08:12.8016703Z May 23 10:08:12 [ERROR]   CheckPubSubEmulatorTest.testPull:78 expected:<1> but was:<0>
2022-05-23T10:08:12.8017540Z May 23 10:08:12 [INFO] 
2022-05-23T10:08:12.8018140Z May 23 10:08:12 [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0
{code}
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=35954&view=logs&j=af184cdd-c6d8-5084-0b69-7e9c67b35f7a&t=160c9ae5-96fd-516e-1c91-deb81f59292a




--
This message was sent by Atlassian Jira
(v8.20.7#820007)