[ 
https://issues.apache.org/jira/browse/FLINK-18819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17171254#comment-17171254
 ] 

Jark Wu commented on FLINK-18819:
---------------------------------

Another instance: 
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=5176&view=logs&j=c88eea3b-64a0-564d-0031-9fdcd7b8abee&t=ff888d9b-cd34-53cc-d90f-3e446d355529


{code}
2020-08-04T17:43:40.7691188Z 65304 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Starting it up ....
2020-08-04T17:43:40.7693773Z 65304 [main] INFO  
com.spotify.docker.client.DefaultDockerClient [] - Starting container with Id: 
69775c9125ff1c7093dfc35407f0fa491ef194d9d2bfee37bcb2411626205593
2020-08-04T17:43:42.6202955Z [ERROR] Tests run: 3, Failures: 1, Errors: 2, 
Skipped: 0, Time elapsed: 66.494 s <<< FAILURE! - in 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest
2020-08-04T17:43:42.6207097Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest  Time 
elapsed: 66.492 s  <<< FAILURE!
2020-08-04T17:43:42.6208249Z java.lang.AssertionError: We expect 1 port to be 
mapped expected:<1> but was:<0>
2020-08-04T17:43:42.6209038Z    at org.junit.Assert.fail(Assert.java:88)
2020-08-04T17:43:42.6209771Z    at 
org.junit.Assert.failNotEquals(Assert.java:834)
2020-08-04T17:43:42.6210550Z    at 
org.junit.Assert.assertEquals(Assert.java:645)
2020-08-04T17:43:42.6211469Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager.launchDocker(GCloudEmulatorManager.java:141)
2020-08-04T17:43:42.6212529Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.launchGCloudEmulator(GCloudUnitTestBase.java:45)
2020-08-04T17:43:42.6213375Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:42.6214196Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:42.6215105Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:42.6215884Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:42.6216643Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:42.6217567Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:42.6218800Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:42.6219964Z    at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-08-04T17:43:42.6221149Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-08-04T17:43:42.6222068Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:42.6222898Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:42.6223824Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:42.6224750Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:42.6225673Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:42.6226618Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:42.6228423Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:42.6229329Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:42.6230118Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:42.6233412Z 
2020-08-04T17:43:42.6236075Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest  Time 
elapsed: 66.493 s  <<< ERROR!
2020-08-04T17:43:42.6236948Z java.lang.NullPointerException
2020-08-04T17:43:42.6237710Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest.tearDown(EmulatedPubSubSinkTest.java:62)
2020-08-04T17:43:42.6238503Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:42.6239206Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:42.6240015Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:42.6240761Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:42.6241560Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:42.6242642Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:42.6243466Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:42.6244261Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
2020-08-04T17:43:42.6244940Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:42.6245617Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:42.6246357Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:42.6247100Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:42.6247921Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:42.6248763Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:42.6249609Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:42.6250422Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:42.6251201Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:42.6253318Z 
2020-08-04T17:43:42.6255869Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest  Time 
elapsed: 66.493 s  <<< ERROR!
2020-08-04T17:43:42.6256716Z java.lang.NullPointerException
2020-08-04T17:43:42.6257531Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.terminateGCloudEmulator(GCloudUnitTestBase.java:50)
2020-08-04T17:43:42.6258361Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:42.6259675Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:42.6260649Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:42.6262148Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:42.6262713Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:42.6263333Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:42.6263935Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:42.6264475Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
2020-08-04T17:43:42.6265054Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:42.6265634Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:42.6266272Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:42.6266940Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:42.6267588Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:42.6268260Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:42.6268955Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:42.6269586Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:42.6270171Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:42.6273973Z 
2020-08-04T17:43:42.6284150Z [INFO] Running 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSourceTest
2020-08-04T17:43:42.6849450Z 67220 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - 
2020-08-04T17:43:42.6853933Z 67220 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - /===========================================
2020-08-04T17:43:42.6856042Z 67220 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - |    >>> FOUND OLD EMULATOR INSTANCE RUNNING <<< 
2020-08-04T17:43:42.6857636Z 67220 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | Destroying that one to keep tests running smoothly.
2020-08-04T17:43:42.6859461Z 67220 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | Cleanup of GCloud Emulator. Log output of container: 
2020-08-04T17:43:42.7313142Z 67266 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | > mkdir: cannot create directory '/opt/data': Permission denied
2020-08-04T17:43:42.7316085Z Executing: 
/usr/lib/google-cloud-sdk/platform/pubsub-emulator/bin/cloud-pubsub-emulator 
--host=0.0.0.0 --port=22222
2020-08-04T17:43:42.7317746Z ERROR: (gcloud.beta.emulators.pubsub.start) Unable 
to write file [/opt/data/pubsub/env.yaml]: [Errno 2] No such file or directory: 
'/opt/data/pubsub/env.yaml'
2020-08-04T17:43:42.7318665Z 
2020-08-04T17:43:42.7490442Z 67284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Removed
2020-08-04T17:43:42.7494775Z 67284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - \===========================================
2020-08-04T17:43:42.7496387Z 67284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - 
2020-08-04T17:43:42.7497762Z 67284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - 
2020-08-04T17:43:42.7499379Z 67284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - /===========================================
2020-08-04T17:43:42.7501135Z 67284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | GCloud Emulator
2020-08-04T17:43:42.7740017Z 67309 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Creating new container
2020-08-04T17:43:42.8467860Z 67382 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Starting it up ....
2020-08-04T17:43:42.8472038Z 67382 [main] INFO  
com.spotify.docker.client.DefaultDockerClient [] - Starting container with Id: 
26e5579923bdb0440512c32a481fd5000b9a2e5bbf0b833e9f1cb4a970c79d6a
2020-08-04T17:43:44.6861482Z [ERROR] Tests run: 3, Failures: 1, Errors: 2, 
Skipped: 0, Time elapsed: 2.032 s <<< FAILURE! - in 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSourceTest
2020-08-04T17:43:44.6862753Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSourceTest  Time 
elapsed: 2.032 s  <<< FAILURE!
2020-08-04T17:43:44.6863544Z java.lang.AssertionError: We expect 1 port to be 
mapped expected:<1> but was:<0>
2020-08-04T17:43:44.6864092Z    at org.junit.Assert.fail(Assert.java:88)
2020-08-04T17:43:44.6864550Z    at 
org.junit.Assert.failNotEquals(Assert.java:834)
2020-08-04T17:43:44.6865037Z    at 
org.junit.Assert.assertEquals(Assert.java:645)
2020-08-04T17:43:44.6865662Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager.launchDocker(GCloudEmulatorManager.java:141)
2020-08-04T17:43:44.6866486Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.launchGCloudEmulator(GCloudUnitTestBase.java:45)
2020-08-04T17:43:44.6867138Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:44.6867685Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:44.6868303Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:44.6868883Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:44.6869430Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:44.6870364Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:44.6871014Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:44.6871613Z    at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-08-04T17:43:44.6872227Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-08-04T17:43:44.6872787Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:44.6873408Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:44.6874067Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:44.6874741Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:44.6875368Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:44.6876048Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:44.6876734Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:44.6877346Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:44.6877950Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:44.6878344Z 
2020-08-04T17:43:44.6878831Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSourceTest  Time 
elapsed: 2.032 s  <<< ERROR!
2020-08-04T17:43:44.6879393Z java.lang.NullPointerException
2020-08-04T17:43:44.6879944Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSourceTest.tearDown(EmulatedPubSubSourceTest.java:66)
2020-08-04T17:43:44.6880734Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:44.6881297Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:44.6881912Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:44.6882486Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:44.6883052Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:44.6883677Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:44.6884315Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:44.6884928Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
2020-08-04T17:43:44.6885478Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:44.6886066Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:44.6886715Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:44.6887367Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:44.6888009Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:44.6888679Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:44.6889350Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:44.6889984Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:44.6890585Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:44.6890962Z 
2020-08-04T17:43:44.6891470Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSourceTest  Time 
elapsed: 2.032 s  <<< ERROR!
2020-08-04T17:43:44.6892010Z java.lang.NullPointerException
2020-08-04T17:43:44.6892719Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.terminateGCloudEmulator(GCloudUnitTestBase.java:50)
2020-08-04T17:43:44.6893375Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:44.6893906Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:44.6894534Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:44.6895104Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:44.6895649Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:44.6896292Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:44.6896922Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:44.6897525Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
2020-08-04T17:43:44.6898098Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:44.6898676Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:44.6899662Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:44.6900396Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:44.6901716Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:44.6902514Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:44.6903265Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:44.6903933Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:44.6904721Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:44.6905170Z 
2020-08-04T17:43:44.6905593Z [INFO] Running 
org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest
2020-08-04T17:43:44.7141057Z 69242 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - 
2020-08-04T17:43:44.7142557Z 69242 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - /===========================================
2020-08-04T17:43:44.7144344Z 69242 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - |    >>> FOUND OLD EMULATOR INSTANCE RUNNING <<< 
2020-08-04T17:43:44.7145457Z 69242 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | Destroying that one to keep tests running smoothly.
2020-08-04T17:43:44.7146627Z 69242 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | Cleanup of GCloud Emulator. Log output of container: 
2020-08-04T17:43:44.7442855Z 69279 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | > mkdir: cannot create directory '/opt/data': Permission denied
2020-08-04T17:43:44.7445147Z Executing: 
/usr/lib/google-cloud-sdk/platform/pubsub-emulator/bin/cloud-pubsub-emulator 
--host=0.0.0.0 --port=22222
2020-08-04T17:43:44.7446755Z ERROR: (gcloud.beta.emulators.pubsub.start) Unable 
to write file [/opt/data/pubsub/env.yaml]: [Errno 2] No such file or directory: 
'/opt/data/pubsub/env.yaml'
2020-08-04T17:43:44.7447687Z 
2020-08-04T17:43:44.7525939Z 69286 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Removed
2020-08-04T17:43:44.7535621Z 69286 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - \===========================================
2020-08-04T17:43:44.7539295Z 69286 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - 
2020-08-04T17:43:44.7540791Z 69286 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - 
2020-08-04T17:43:44.7541988Z 69286 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - /===========================================
2020-08-04T17:43:44.7543158Z 69286 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | GCloud Emulator
2020-08-04T17:43:44.7563281Z 69290 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Creating new container
2020-08-04T17:43:44.8165088Z 69351 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Starting it up ....
2020-08-04T17:43:44.8166899Z 69351 [main] INFO  
com.spotify.docker.client.DefaultDockerClient [] - Starting container with Id: 
e237f5eba4b6ef8f875fb08dffdcfe6321ddb7e756d72b55f9103c244659ac56
2020-08-04T17:43:46.6563517Z [ERROR] Tests run: 3, Failures: 1, Errors: 2, 
Skipped: 0, Time elapsed: 1.95 s <<< FAILURE! - in 
org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest
2020-08-04T17:43:46.6564744Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest  Time 
elapsed: 1.95 s  <<< FAILURE!
2020-08-04T17:43:46.6565475Z java.lang.AssertionError: We expect 1 port to be 
mapped expected:<1> but was:<0>
2020-08-04T17:43:46.6565958Z    at org.junit.Assert.fail(Assert.java:88)
2020-08-04T17:43:46.6566342Z    at 
org.junit.Assert.failNotEquals(Assert.java:834)
2020-08-04T17:43:46.6566764Z    at 
org.junit.Assert.assertEquals(Assert.java:645)
2020-08-04T17:43:46.6567344Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager.launchDocker(GCloudEmulatorManager.java:141)
2020-08-04T17:43:46.6568089Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.launchGCloudEmulator(GCloudUnitTestBase.java:45)
2020-08-04T17:43:46.6568942Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:46.6569440Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:46.6569999Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:46.6570510Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:46.6571014Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:46.6571585Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:46.6572161Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:46.6572722Z    at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-08-04T17:43:46.6573254Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-08-04T17:43:46.6573764Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:46.6574263Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:46.6575678Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:46.6576640Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:46.6577524Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:46.6578412Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:46.6579545Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:46.6581490Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:46.6582401Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:46.6583065Z 
2020-08-04T17:43:46.6583801Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest  Time 
elapsed: 1.95 s  <<< ERROR!
2020-08-04T17:43:46.6584777Z java.lang.NullPointerException
2020-08-04T17:43:46.6585565Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest.tearDown(CheckPubSubEmulatorTest.java:63)
2020-08-04T17:43:46.6586375Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:46.6587126Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:46.6587964Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:46.6588752Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:46.6589493Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:46.6590326Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:46.6591154Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:46.6591988Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
2020-08-04T17:43:46.6592793Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:46.6593575Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:46.6594429Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:46.6595271Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:46.6596129Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:46.6597004Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:46.6597875Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:46.6598870Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:46.6599709Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:46.6600908Z 
2020-08-04T17:43:46.6601875Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.CheckPubSubEmulatorTest  Time 
elapsed: 1.95 s  <<< ERROR!
2020-08-04T17:43:46.6602688Z java.lang.NullPointerException
2020-08-04T17:43:46.6603592Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.terminateGCloudEmulator(GCloudUnitTestBase.java:50)
2020-08-04T17:43:46.6604491Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:46.6605257Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:46.6606085Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:46.6606839Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:46.6607616Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:46.6608467Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:46.6609282Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:46.6610101Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
2020-08-04T17:43:46.6610880Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:46.6611682Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:46.6612514Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:46.6613356Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:46.6614200Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:46.6615101Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:46.6616131Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:46.6616951Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:46.6617752Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:46.6618322Z 
2020-08-04T17:43:46.6619020Z [INFO] Running 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedFullTopologyTest
2020-08-04T17:43:46.7046216Z 71239 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - 
2020-08-04T17:43:46.7048746Z 71239 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - /===========================================
2020-08-04T17:43:46.7050375Z 71239 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - |    >>> FOUND OLD EMULATOR INSTANCE RUNNING <<< 
2020-08-04T17:43:46.7051951Z 71239 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | Destroying that one to keep tests running smoothly.
2020-08-04T17:43:46.7053602Z 71239 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | Cleanup of GCloud Emulator. Log output of container: 
2020-08-04T17:43:46.7424040Z 71277 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | > mkdir: cannot create directory '/opt/data': Permission denied
2020-08-04T17:43:46.7436497Z Executing: 
/usr/lib/google-cloud-sdk/platform/pubsub-emulator/bin/cloud-pubsub-emulator 
--host=0.0.0.0 --port=22222
2020-08-04T17:43:46.7438746Z ERROR: (gcloud.beta.emulators.pubsub.start) Unable 
to write file [/opt/data/pubsub/env.yaml]: [Errno 2] No such file or directory: 
'/opt/data/pubsub/env.yaml'
2020-08-04T17:43:46.7442403Z 
2020-08-04T17:43:46.7488987Z 71283 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Removed
2020-08-04T17:43:46.7500761Z 71284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - \===========================================
2020-08-04T17:43:46.7501894Z 71284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - 
2020-08-04T17:43:46.7502783Z 71284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - 
2020-08-04T17:43:46.7503745Z 71284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - /===========================================
2020-08-04T17:43:46.7504693Z 71284 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | GCloud Emulator
2020-08-04T17:43:46.7519469Z 71287 [main] INFO  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Creating new container
2020-08-04T17:43:46.8205859Z 71355 [main] WARN  
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager 
[] - | - Starting it up ....
2020-08-04T17:43:46.8208506Z 71355 [main] INFO  
com.spotify.docker.client.DefaultDockerClient [] - Starting container with Id: 
c9ec7f56be07647bab33d58d908cc360d2203bbb06a42570885359689ea7152b
2020-08-04T17:43:48.6173104Z [ERROR] Tests run: 3, Failures: 2, Errors: 1, 
Skipped: 0, Time elapsed: 1.957 s <<< FAILURE! - in 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedFullTopologyTest
2020-08-04T17:43:48.6180682Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedFullTopologyTest  Time 
elapsed: 1.956 s  <<< FAILURE!
2020-08-04T17:43:48.6181658Z java.lang.AssertionError: We expect 1 port to be 
mapped expected:<1> but was:<0>
2020-08-04T17:43:48.6182207Z    at org.junit.Assert.fail(Assert.java:88)
2020-08-04T17:43:48.6182620Z    at 
org.junit.Assert.failNotEquals(Assert.java:834)
2020-08-04T17:43:48.6183078Z    at 
org.junit.Assert.assertEquals(Assert.java:645)
2020-08-04T17:43:48.6183708Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager.launchDocker(GCloudEmulatorManager.java:141)
2020-08-04T17:43:48.6184836Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.launchGCloudEmulator(GCloudUnitTestBase.java:45)
2020-08-04T17:43:48.6185471Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:48.6185964Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:48.6186548Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:48.6187105Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:48.6187616Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:48.6188184Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:48.6188773Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:48.6189342Z    at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
2020-08-04T17:43:48.6189875Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2020-08-04T17:43:48.6190385Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:48.6190904Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:48.6191482Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:48.6192093Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:48.6192675Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:48.6193272Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:48.6194051Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:48.6194635Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:48.6195165Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:48.6195510Z 
2020-08-04T17:43:48.6196117Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedFullTopologyTest  Time 
elapsed: 1.956 s  <<< FAILURE!
2020-08-04T17:43:48.6196716Z java.lang.AssertionError: Missing pubsubHelper.
2020-08-04T17:43:48.6197098Z    at org.junit.Assert.fail(Assert.java:88)
2020-08-04T17:43:48.6197476Z    at org.junit.Assert.assertTrue(Assert.java:41)
2020-08-04T17:43:48.6197888Z    at 
org.junit.Assert.assertNotNull(Assert.java:712)
2020-08-04T17:43:48.6198455Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedFullTopologyTest.tearDown(EmulatedFullTopologyTest.java:80)
2020-08-04T17:43:48.6199017Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:48.6199501Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:48.6200075Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:48.6200572Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:48.6201080Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:48.6201643Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:48.6202221Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:48.6202781Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
2020-08-04T17:43:48.6203269Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:48.6203790Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:48.6204386Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:48.6205084Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:48.6205670Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:48.6206279Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:48.6206891Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:48.6207472Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:48.6208020Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-08-04T17:43:48.6208343Z 
2020-08-04T17:43:48.6208786Z [ERROR] 
org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedFullTopologyTest  Time 
elapsed: 1.957 s  <<< ERROR!
2020-08-04T17:43:48.6209275Z java.lang.NullPointerException
2020-08-04T17:43:48.6209812Z    at 
org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.terminateGCloudEmulator(GCloudUnitTestBase.java:50)
2020-08-04T17:43:48.6210415Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-08-04T17:43:48.6210882Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-08-04T17:43:48.6211458Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-08-04T17:43:48.6211969Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2020-08-04T17:43:48.6212458Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2020-08-04T17:43:48.6213043Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2020-08-04T17:43:48.6213618Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2020-08-04T17:43:48.6214247Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
2020-08-04T17:43:48.6214759Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2020-08-04T17:43:48.6215409Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2020-08-04T17:43:48.6215987Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2020-08-04T17:43:48.6216597Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2020-08-04T17:43:48.6217178Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2020-08-04T17:43:48.6217775Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2020-08-04T17:43:48.6218407Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2020-08-04T17:43:48.6218983Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2020-08-04T17:43:48.6219722Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
{code}


> All the PubSub tests are failing
> --------------------------------
>
>                 Key: FLINK-18819
>                 URL: https://issues.apache.org/jira/browse/FLINK-18819
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Google Cloud PubSub, Tests
>    Affects Versions: 1.12.0, 1.11.2
>            Reporter: Dian Fu
>            Priority: Blocker
>              Labels: test-stability
>             Fix For: 1.12.0, 1.11.2
>
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=5177&view=logs&j=08866332-78f7-59e4-4f7e-49a56faa3179&t=7f606211-1454-543c-70ab-c7a028a1ce8c
> {code}
> 2020-08-04T21:18:11.4228635Z 63538 [main] INFO  
> com.spotify.docker.client.DefaultDockerClient [] - Starting container with 
> Id: a40e3b941371ddd82f4efe0ec6f72b89f36868316e5d8cc52dacc64f0bc79029
> 2020-08-04T21:18:13.1868394Z [ERROR] Tests run: 3, Failures: 1, Errors: 2, 
> Skipped: 0, Time elapsed: 64.94 s <<< FAILURE! - in 
> org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest
> 2020-08-04T21:18:13.1869974Z [ERROR] 
> org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest  Time 
> elapsed: 64.938 s  <<< FAILURE!
> 2020-08-04T21:18:13.1870671Z java.lang.AssertionError: We expect 1 port to be 
> mapped expected:<1> but was:<0>
> 2020-08-04T21:18:13.1871219Z  at org.junit.Assert.fail(Assert.java:88)
> 2020-08-04T21:18:13.1871693Z  at 
> org.junit.Assert.failNotEquals(Assert.java:834)
> 2020-08-04T21:18:13.1872167Z  at 
> org.junit.Assert.assertEquals(Assert.java:645)
> 2020-08-04T21:18:13.1872808Z  at 
> org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudEmulatorManager.launchDocker(GCloudEmulatorManager.java:141)
> 2020-08-04T21:18:13.1873573Z  at 
> org.apache.flink.streaming.connectors.gcp.pubsub.emulator.GCloudUnitTestBase.launchGCloudEmulator(GCloudUnitTestBase.java:45)
> 2020-08-04T21:18:13.1874205Z  at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2020-08-04T21:18:13.1874742Z  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 2020-08-04T21:18:13.1875353Z  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 2020-08-04T21:18:13.1875912Z  at 
> java.lang.reflect.Method.invoke(Method.java:498)
> 2020-08-04T21:18:13.1876472Z  at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> 2020-08-04T21:18:13.1877081Z  at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 2020-08-04T21:18:13.1877695Z  at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> 2020-08-04T21:18:13.1878283Z  at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
> 2020-08-04T21:18:13.1878876Z  at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> 2020-08-04T21:18:13.1879425Z  at 
> org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> 2020-08-04T21:18:13.1880172Z  at 
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
> 2020-08-04T21:18:13.1880815Z  at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
> 2020-08-04T21:18:13.1881464Z  at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> 2020-08-04T21:18:13.1882083Z  at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
> 2020-08-04T21:18:13.1882736Z  at 
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
> 2020-08-04T21:18:13.1883399Z  at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
> 2020-08-04T21:18:13.1883999Z  at 
> org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
> 2020-08-04T21:18:13.1884593Z  at 
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
> 2020-08-04T21:18:13.1884989Z 
> 2020-08-04T21:18:13.1885496Z [ERROR] 
> org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest  Time 
> elapsed: 64.939 s  <<< ERROR!
> 2020-08-04T21:18:13.1886024Z java.lang.NullPointerException
> 2020-08-04T21:18:13.1886588Z  at 
> org.apache.flink.streaming.connectors.gcp.pubsub.EmulatedPubSubSinkTest.tearDown(EmulatedPubSubSinkTest.java:62)
> 2020-08-04T21:18:13.1887193Z  at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2020-08-04T21:18:13.1887864Z  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 2020-08-04T21:18:13.1888483Z  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 2020-08-04T21:18:13.1889046Z  at 
> java.lang.reflect.Method.invoke(Method.java:498)
> 2020-08-04T21:18:13.1889596Z  at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> 2020-08-04T21:18:13.1890222Z  at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 2020-08-04T21:18:13.1890822Z  at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> 2020-08-04T21:18:13.1893140Z  at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
> 2020-08-04T21:18:13.1893839Z  at 
> org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> 2020-08-04T21:18:13.1894343Z  at 
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
> 2020-08-04T21:18:13.1894929Z  at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
> 2020-08-04T21:18:13.1895510Z  at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> 2020-08-04T21:18:13.1896056Z  at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
> 2020-08-04T21:18:13.1896647Z  at 
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
> 2020-08-04T21:18:13.1897243Z  at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
> 2020-08-04T21:18:13.1897803Z  at 
> org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
> 2020-08-04T21:18:13.1899194Z  at 
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to