Fixed RD-10923: SQL time/timestamps are losing milliseconds #1641
92 tests run, 79 passed, 5 skipped, 8 failed.
Annotations
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT pg_typeof(NOW())
raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:393)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$73(TestSqlCompilerServiceAirports.scala:967)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$73$adapted(TestSqlCompilerServiceAirports.scala:966)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.client.sql.TestSqlCompilerServiceAirports.withFixture(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.client.sql.TestSqlCompilerServiceAirports.org$scalatest$BeforeAndAfterAll$$super$run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.client.sql.TestSqlCompilerServiceAirports.run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:98)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:65)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:44)
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:373)
... 44 more
Caused by: sbt.ForkMain$ForkError: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:253)
at org.postgresql.Driver.makeConnection(Driver.java:434)
at org.postgresql.Driver.connect(Driver.java:291)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:550)
... 49 more
Caused by: sbt.ForkMain$ForkError: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at org.postgresql.core.PGStream.createSocket(PGStream.java:243)
at org.postgresql.core.PGStream.<init>(PGStream.java:98)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
... 58 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT CAST(pg_typeof(NOW()) AS VARCHAR)
raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:393)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$75(TestSqlCompilerServiceAirports.scala:974)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.client.sql.TestSqlCompilerServiceAirports.withFixture(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.client.sql.TestSqlCompilerServiceAirports.org$scalatest$BeforeAndAfterAll$$super$run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.client.sql.TestSqlCompilerServiceAirports.run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:98)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:65)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:44)
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:373)
... 43 more
Caused by: sbt.ForkMain$ForkError: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:253)
at org.postgresql.Driver.makeConnection(Driver.java:434)
at org.postgresql.Driver.connect(Driver.java:291)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:550)
... 48 more
Caused by: sbt.ForkMain$ForkError: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at org.postgresql.core.PGStream.createSocket(PGStream.java:243)
at org.postgresql.core.PGStream.<init>(PGStream.java:98)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
... 57 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT NOW()
raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:393)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$76(TestSqlCompilerServiceAirports.scala:991)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.client.sql.TestSqlCompilerServiceAirports.withFixture(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.client.sql.TestSqlCompilerServiceAirports.org$scalatest$BeforeAndAfterAll$$super$run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.client.sql.TestSqlCompilerServiceAirports.run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:98)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:65)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:44)
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:373)
... 43 more
Caused by: sbt.ForkMain$ForkError: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:253)
at org.postgresql.Driver.makeConnection(Driver.java:434)
at org.postgresql.Driver.connect(Driver.java:291)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:550)
... 48 more
Caused by: sbt.ForkMain$ForkError: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at org.postgresql.core.PGStream.createSocket(PGStream.java:243)
at org.postgresql.core.PGStream.<init>(PGStream.java:98)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
... 57 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT TIMESTAMP WITH TIME ZONE '2001-01-01 12:13:14.567 UTC' AS t
raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:393)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$77(TestSqlCompilerServiceAirports.scala:1006)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.client.sql.TestSqlCompilerServiceAirports.withFixture(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.client.sql.TestSqlCompilerServiceAirports.org$scalatest$BeforeAndAfterAll$$super$run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.client.sql.TestSqlCompilerServiceAirports.run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:98)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:65)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:44)
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:373)
... 43 more
Caused by: sbt.ForkMain$ForkError: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:253)
at org.postgresql.Driver.makeConnection(Driver.java:434)
at org.postgresql.Driver.connect(Driver.java:291)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:550)
... 48 more
Caused by: sbt.ForkMain$ForkError: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at org.postgresql.core.PGStream.createSocket(PGStream.java:243)
at org.postgresql.core.PGStream.<init>(PGStream.java:98)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
... 57 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT TIMESTAMP WITHOUT TIME ZONE '2001-01-01 12:13:14.567' AS t
raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:393)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$78(TestSqlCompilerServiceAirports.scala:1022)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.client.sql.TestSqlCompilerServiceAirports.withFixture(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.client.sql.TestSqlCompilerServiceAirports.org$scalatest$BeforeAndAfterAll$$super$run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.client.sql.TestSqlCompilerServiceAirports.run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:98)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:65)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:44)
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:373)
... 43 more
Caused by: sbt.ForkMain$ForkError: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:253)
at org.postgresql.Driver.makeConnection(Driver.java:434)
at org.postgresql.Driver.connect(Driver.java:291)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:550)
... 48 more
Caused by: sbt.ForkMain$ForkError: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at org.postgresql.core.PGStream.createSocket(PGStream.java:243)
at org.postgresql.core.PGStream.<init>(PGStream.java:98)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
... 57 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT TIME WITH TIME ZONE '12:13:14.567 UTC' AS t
raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:393)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$79(TestSqlCompilerServiceAirports.scala:1038)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.client.sql.TestSqlCompilerServiceAirports.withFixture(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.client.sql.TestSqlCompilerServiceAirports.org$scalatest$BeforeAndAfterAll$$super$run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.client.sql.TestSqlCompilerServiceAirports.run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:98)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:65)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:44)
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:373)
... 43 more
Caused by: sbt.ForkMain$ForkError: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:253)
at org.postgresql.Driver.makeConnection(Driver.java:434)
at org.postgresql.Driver.connect(Driver.java:291)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:550)
... 48 more
Caused by: sbt.ForkMain$ForkError: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at org.postgresql.core.PGStream.createSocket(PGStream.java:243)
at org.postgresql.core.PGStream.<init>(PGStream.java:98)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
... 57 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT TIME WITHOUT TIME ZONE '12:13:14.567' AS t
raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:393)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$80(TestSqlCompilerServiceAirports.scala:1054)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.client.sql.TestSqlCompilerServiceAirports.withFixture(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.client.sql.TestSqlCompilerServiceAirports.org$scalatest$BeforeAndAfterAll$$super$run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.client.sql.TestSqlCompilerServiceAirports.run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:98)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:65)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:44)
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:373)
... 43 more
Caused by: sbt.ForkMain$ForkError: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:253)
at org.postgresql.Driver.makeConnection(Driver.java:434)
at org.postgresql.Driver.connect(Driver.java:291)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:550)
... 48 more
Caused by: sbt.ForkMain$ForkError: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at org.postgresql.core.PGStream.createSocket(PGStream.java:243)
at org.postgresql.core.PGStream.<init>(PGStream.java:98)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
... 57 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.-- @default t TIME WITHOUT TIME ZONE '12:13:14.567' SELECT :t AS t
raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:393)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$81(TestSqlCompilerServiceAirports.scala:1071)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.$anonfun$apply$1(FixtureTestSuite.scala:275)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.FixtureTestSuite$TestFunAndConfigMap.apply(FixtureTestSuite.scala:275)
at raw.utils.RawTestSuite.withFixture(RawTestSuite.scala:44)
at raw.utils.RawTestSuite.withFixture$(RawTestSuite.scala:43)
at raw.client.sql.TestSqlCompilerServiceAirports.withFixture(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.invokeWithFixture$1(FixtureAnyFunSuiteLike.scala:298)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTest$1(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest(FixtureAnyFunSuiteLike.scala:309)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTest$(FixtureAnyFunSuiteLike.scala:290)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTest(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$runTests$1(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:431)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests(FixtureAnyFunSuiteLike.scala:369)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.runTests$(FixtureAnyFunSuiteLike.scala:368)
at org.scalatest.funsuite.FixtureAnyFunSuite.runTests(FixtureAnyFunSuite.scala:230)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.funsuite.FixtureAnyFunSuite.org$scalatest$funsuite$FixtureAnyFunSuiteLike$$super$run(FixtureAnyFunSuite.scala:230)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.$anonfun$run$1(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run(FixtureAnyFunSuiteLike.scala:373)
at org.scalatest.funsuite.FixtureAnyFunSuiteLike.run$(FixtureAnyFunSuiteLike.scala:372)
at raw.client.sql.TestSqlCompilerServiceAirports.org$scalatest$BeforeAndAfterAll$$super$run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at raw.client.sql.TestSqlCompilerServiceAirports.run(TestSqlCompilerServiceAirports.scala:31)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: sbt.ForkMain$ForkError: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:98)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:65)
at raw.client.sql.SqlConnectionPool.getConnection(SqlConnectionPool.scala:44)
at raw.client.sql.SqlCompilerService.validate(SqlCompilerService.scala:373)
... 43 more
Caused by: sbt.ForkMain$ForkError: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:253)
at org.postgresql.Driver.makeConnection(Driver.java:434)
at org.postgresql.Driver.connect(Driver.java:291)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:550)
... 48 more
Caused by: sbt.ForkMain$ForkError: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at org.postgresql.core.PGStream.createSocket(PGStream.java:243)
at org.postgresql.core.PGStream.<init>(PGStream.java:98)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258)
... 57 more