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

org.apache.flink.connector.jdbc.catalog.PostgresCatalogITCase Fail

    XMLWordPrintableJSON

    Details

      Description

      [ERROR] org.apache.flink.connector.jdbc.catalog.PostgresCatalogITCase Time elapsed: 12.339 s <<< ERROR! 
      java.io.IOException: Gave up waiting for server to start after 10000ms 
       at com.opentable.db.postgres.embedded.EmbeddedPostgres.waitForServerStartup(EmbeddedPostgres.java:308) 
       at com.opentable.db.postgres.embedded.EmbeddedPostgres.startPostmaster(EmbeddedPostgres.java:257) 
       at com.opentable.db.postgres.embedded.EmbeddedPostgres.<init>(EmbeddedPostgres.java:146) 
       at com.opentable.db.postgres.embedded.EmbeddedPostgres$Builder.start(EmbeddedPostgres.java:554) 
       at com.opentable.db.postgres.junit.SingleInstancePostgresRule.pg(SingleInstancePostgresRule.java:46) 
       at com.opentable.db.postgres.junit.SingleInstancePostgresRule.before(SingleInstancePostgresRule.java:39) 
       at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46) 
       at org.junit.rules.RunRules.evaluate(RunRules.java:20) 
       at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 
       at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) 
       at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) 
       at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) 
       at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) 
       at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) 
       at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) 
       at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 
       at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 
      Caused by: java.sql.SQLException: connect failed 
       at com.opentable.db.postgres.embedded.EmbeddedPostgres.verifyReady(EmbeddedPostgres.java:320) 
       at com.opentable.db.postgres.embedded.EmbeddedPostgres.waitForServerStartup(EmbeddedPostgres.java:293) 
       ... 16 more 
      Caused by: java.net.ConnectException: Connection refused (Connection refused) 
       at java.net.PlainSocketImpl.socketConnect(Native Method) 
       at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) 
       at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) 
       at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) 
       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 
       at java.net.Socket.connect(Socket.java:607) 
       at com.opentable.db.postgres.embedded.EmbeddedPostgres.verifyReady(EmbeddedPostgres.java:318) 
       ... 17 more 
       

       
      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=12533&view=logs&j=d44f43ce-542c-597d-bf94-b0718c71e5e8&t=34f486e1-e1e4-5dd2-9c06-bfdd9b9c74a8

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maguowei Guowei Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: