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

All the PubSub tests are failing

    XMLWordPrintableJSON

Details

    Description

      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

      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)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dian.fu Dian Fu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: