hailong wang created FLINK-19619:
------------------------------------ Summary: Test failed in Azure For EmulatedPubSubSourceTest Key: FLINK-19619 URL: https://issues.apache.org/jira/browse/FLINK-19619 Project: Flink Issue Type: Test Components: Connectors / Google Cloud PubSub Affects Versions: 1.12.0 Reporter: hailong wang Fix For: 1.12.0 The link is [https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_apis/build/builds/7545/logs/133|https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_apis/build/builds/7545/logs/133] {code:java} [ERROR] Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 1.705 s <<< FAILURE! - in org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest 2020-10-13T18:12:53.5967780Z [ERROR] org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest Time elapsed: 1.703 s <<< FAILURE! 2020-10-13T18:12:53.5973768Z java.lang.AssertionError: We expect 1 port to be mapped expected:<1> but was:<0> 2020-10-13T18:12:53.5979530Z at org.junit.Assert.fail(Assert.java:88) 2020-10-13T18:12:53.5980372Z at org.junit.Assert.failNotEquals(Assert.java:834) 2020-10-13T18:12:53.5980722Z at org.junit.Assert.assertEquals(Assert.java:645) 2020-10-13T18:12:53.5981575Z at org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager.launchDocker(GCloudEmulatorManager.java:141) 2020-10-13T18:12:53.5982596Z at org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.launchGCloudEmulator(GCloudUnitTestBase.java:45) 2020-10-13T18:12:53.5983234Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2020-10-13T18:12:53.5983626Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2020-10-13T18:12:53.5984410Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2020-10-13T18:12:53.5985246Z at java.lang.reflect.Method.invoke(Method.java:498) 2020-10-13T18:12:53.5985825Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) 2020-10-13T18:12:53.5986306Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2020-10-13T18:12:53.5986988Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 2020-10-13T18:12:53.5987740Z at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) 2020-10-13T18:12:53.5988167Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 2020-10-13T18:12:53.5988550Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 2020-10-13T18:12:53.5988954Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) 2020-10-13T18:12:53.5989404Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) 2020-10-13T18:12:53.5989888Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) 2020-10-13T18:12:53.5990332Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) 2020-10-13T18:12:53.5990819Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) 2020-10-13T18:12:53.5991302Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) 2020-10-13T18:12:53.5991752Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 2020-10-13T18:12:53.5992161Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 2020-10-13T18:12:53.5992420Z 2020-10-13T18:12:53.5992746Z [ERROR] org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest Time elapsed: 1.704 s <<< ERROR! 2020-10-13T18:12:53.5993127Z java.lang.NullPointerException 2020-10-13T18:12:53.5993502Z at org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest.tearDown(EmulatedPubSubSinkTest.java:62) 2020-10-13T18:12:53.5993944Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2020-10-13T18:12:53.5994307Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2020-10-13T18:12:53.5994757Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2020-10-13T18:12:53.5995151Z at java.lang.reflect.Method.invoke(Method.java:498) 2020-10-13T18:12:53.5995532Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) 2020-10-13T18:12:53.5995990Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2020-10-13T18:12:53.5996534Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 2020-10-13T18:12:53.5996974Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) 2020-10-13T18:12:53.5997352Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 2020-10-13T18:12:53.5997760Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) 2020-10-13T18:12:53.5998211Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) 2020-10-13T18:12:53.5998687Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) 2020-10-13T18:12:53.5999127Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) 2020-10-13T18:12:53.5999613Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) 2020-10-13T18:12:53.6000096Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) 2020-10-13T18:12:53.6000551Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 2020-10-13T18:12:53.6001131Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 2020-10-13T18:12:53.6001361Z 2020-10-13T18:12:53.6001722Z [ERROR] org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest Time elapsed: 1.705 s <<< ERROR! 2020-10-13T18:12:53.6002100Z java.lang.NullPointerException 2020-10-13T18:12:53.6002531Z at org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.terminateGCloudEmulator(GCloudUnitTestBase.java:50) 2020-10-13T18:12:53.6002970Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2020-10-13T18:12:53.6003334Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2020-10-13T18:12:53.6003932Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2020-10-13T18:12:53.6004505Z at java.lang.reflect.Method.invoke(Method.java:498) 2020-10-13T18:12:53.6005045Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) 2020-10-13T18:12:53.6005741Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2020-10-13T18:12:53.6006340Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 2020-10-13T18:12:53.6006990Z at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) 2020-10-13T18:12:53.6007557Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 2020-10-13T18:12:53.6007987Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) 2020-10-13T18:12:53.6008614Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) 2020-10-13T18:12:53.6009099Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) 2020-10-13T18:12:53.6009906Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) 2020-10-13T18:12:53.6010569Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) 2020-10-13T18:12:53.6011069Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) 2020-10-13T18:12:53.6011754Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 2020-10-13T18:12:53.6012190Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 2020-10-13T18:12:53.6012431Z 2020-10-13T18:12:53.9374060Z [INFO] 2020-10-13T18:12:53.9374787Z [INFO] Results: 2020-10-13T18:12:53.9375080Z [INFO] 2020-10-13T18:12:53.9375355Z [ERROR] Errors: 2020-10-13T18:12:53.9375824Z [ERROR] org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest.org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest 2020-10-13T18:12:53.9376542Z [ERROR] Run 1: CheckPubSubEmulatorTest>GCloudUnitTestBase.launchGCloudEmulator:45 We expect 1 port to be mapped expected:<1> but was:<0> 2020-10-13T18:12:53.9377425Z [ERROR] Run 2: CheckPubSubEmulatorTest.tearDown:63 NullPointer 2020-10-13T18:12:53.9378871Z [ERROR] Run 3: CheckPubSubEmulatorTest>GCloudUnitTestBase.terminateGCloudEmulator:50 » NullPointer 2020-10-13T18:12:53.9379354Z [INFO] 2020-10-13T18:12:53.9379804Z [ERROR] org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedFullTopologyTest.org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedFullTopologyTest 2020-10-13T18:12:53.9380731Z [ERROR] Run 1: EmulatedFullTopologyTest>GCloudUnitTestBase.launchGCloudEmulator:45 We expect 1 port to be mapped expected:<1> but was:<0> 2020-10-13T18:12:53.9381341Z [ERROR] Run 2: EmulatedFullTopologyTest.tearDown:80 Missing pubsubHelper. 2020-10-13T18:12:53.9382337Z [ERROR] Run 3: EmulatedFullTopologyTest>GCloudUnitTestBase.terminateGCloudEmulator:50 » NullPointer 2020-10-13T18:12:53.9383133Z [INFO] 2020-10-13T18:12:53.9383578Z [ERROR] org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest.org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest 2020-10-13T18:12:53.9384435Z [ERROR] Run 1: EmulatedPubSubSinkTest>GCloudUnitTestBase.launchGCloudEmulator:45 We expect 1 port to be mapped expected:<1> but was:<0> 2020-10-13T18:12:53.9384995Z [ERROR] Run 2: EmulatedPubSubSinkTest.tearDown:62 NullPointer 2020-10-13T18:12:53.9385871Z [ERROR] Run 3: EmulatedPubSubSinkTest>GCloudUnitTestBase.terminateGCloudEmulator:50 » NullPointer 2020-10-13T18:12:53.9386348Z [INFO] 2020-10-13T18:12:53.9386781Z [ERROR] org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSourceTest.org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSourceTest 2020-10-13T18:12:53.9387466Z [ERROR] Run 1: EmulatedPubSubSourceTest>GCloudUnitTestBase.launchGCloudEmulator:45 We expect 1 port to be mapped expected:<1> but was:<0> 2020-10-13T18:12:53.9388032Z [ERROR] Run 2: EmulatedPubSubSourceTest.tearDown:66 NullPointer 2020-10-13T18:12:53.9388799Z [ERROR] Run 3: EmulatedPubSubSourceTest>GCloudUnitTestBase.terminateGCloudEmulator:50 » NullPointer 2020-10-13T18:12:53.9389237Z [INFO] 2020-10-13T18:12:53.9389484Z [INFO] {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) |
Free forum by Nabble | Edit this page |