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

JdbcExactlyOnceSinkE2eTest.testInsert failed because of too many clients.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=17178&view=logs&j=ba53eb01-1462-56a3-8e98-0dd97fbcaab5&t=bfbc6239-57a0-5db0-63f3-41551b4f7d51&l=13514

      Apr 25 23:05:31 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 138.743 s <<< FAILURE! - in org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest
      Apr 25 23:05:31 [ERROR] testInsert(org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest)  Time elapsed: 137.267 s  <<< ERROR!
      Apr 25 23:05:31 org.postgresql.util.PSQLException: FATAL: sorry, too many clients already
      Apr 25 23:05:31 	at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:524)
      Apr 25 23:05:31 	at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:145)
      Apr 25 23:05:31 	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:196)
      Apr 25 23:05:31 	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
      Apr 25 23:05:31 	at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:211)
      Apr 25 23:05:31 	at org.postgresql.Driver.makeConnection(Driver.java:459)
      Apr 25 23:05:31 	at org.postgresql.Driver.connect(Driver.java:261)
      Apr 25 23:05:31 	at java.sql.DriverManager.getConnection(DriverManager.java:664)
      Apr 25 23:05:31 	at java.sql.DriverManager.getConnection(DriverManager.java:247)
      Apr 25 23:05:31 	at org.apache.flink.connector.jdbc.xa.JdbcXaFacadeTestHelper.getInsertedIds(JdbcXaFacadeTestHelper.java:81)
      Apr 25 23:05:31 	at org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest.testInsert(JdbcExactlyOnceSinkE2eTest.java:119)
      Apr 25 23:05:31 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            roman Roman Khachatryan
            maguowei Guowei Ma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment