RD 10961 + RD 10948 fixes #1647
88 tests run, 45 passed, 2 skipped, 41 failed.
Annotations
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT COUNT(*) FROM example.airports WHERE :city::json IS NULL OR :city::integer != 3 OR :city::xml IS NULL
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$1(TestSqlCompilerServiceAirports.scala:82)
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.-- @type v double precisionw SELECT :v FROM example.airports where city = :city
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.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$2(TestSqlCompilerServiceAirports.scala:93)
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.$anonfun$hover$1(SqlCompilerService.scala:320)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 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)
... 50 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)
... 59 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.select * from exam
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.wordAutoComplete(SqlCompilerService.scala:301)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$4(TestSqlCompilerServiceAirports.scala:103)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.wordAutoComplete(SqlCompilerService.scala:291)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 50 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)
... 60 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)
... 69 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.select * from "example"."airp
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.wordAutoComplete(SqlCompilerService.scala:301)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$6(TestSqlCompilerServiceAirports.scala:121)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.wordAutoComplete(SqlCompilerService.scala:291)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 50 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)
... 60 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)
... 69 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE airports.c
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.wordAutoComplete(SqlCompilerService.scala:301)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$7(TestSqlCompilerServiceAirports.scala:131)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.wordAutoComplete(SqlCompilerService.scala:291)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 50 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)
... 60 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)
... 69 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE airports."c
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.wordAutoComplete(SqlCompilerService.scala:301)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$8(TestSqlCompilerServiceAirports.scala:145)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.wordAutoComplete(SqlCompilerService.scala:291)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 50 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)
... 60 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)
... 69 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE ai. AND airports.
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$9(TestSqlCompilerServiceAirports.scala:161)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE ai.
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$10(TestSqlCompilerServiceAirports.scala:183)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE airports.
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$11(TestSqlCompilerServiceAirports.scala:200)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE example.airports.
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$12(TestSqlCompilerServiceAirports.scala:215)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM "example"."airports" WHERE "ai
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$13(TestSqlCompilerServiceAirports.scala:237)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM "example"."airports" WHERE "airports".
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$14(TestSqlCompilerServiceAirports.scala:254)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM EXAMPLE.AIRPORTS WHERE AIRPORTS.
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$15(TestSqlCompilerServiceAirports.scala:282)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM EXAMPLE.AIRPORTS WHERE AI.
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$16(TestSqlCompilerServiceAirports.scala:310)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM "EXAMPLE"."AIRPORTS" WHERE "AIRPORTS".
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$17(TestSqlCompilerServiceAirports.scala:328)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM example. WHERE airports.city = 'Porto' AND airports.country = 'Portugal'
raw.client.api.CompilerServiceException: 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.
Raw output
sbt.ForkMain$ForkError: raw.client.api.CompilerServiceException: 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 raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:339)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$18(TestSqlCompilerServiceAirports.scala:344)
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.google.common.util.concurrent.UncheckedExecutionException: 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.google.common.cache.LocalCache$Segment.get(LocalCache.java:2086)
at com.google.common.cache.LocalCache.get(LocalCache.java:4012)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4035)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5013)
at raw.client.sql.metadata.UserMetadataCache.$anonfun$getWordCompletionMatches$2(UserMetadataCache.scala:83)
at scala.Option.map(Option.scala:230)
at raw.client.sql.metadata.UserMetadataCache.getWordCompletionMatches(UserMetadataCache.scala:80)
at raw.client.sql.SqlCompilerService.$anonfun$hover$1(SqlCompilerService.scala:315)
at scala.Option.map(Option.scala:230)
at raw.client.sql.SqlCompilerService.hover(SqlCompilerService.scala:312)
... 43 more
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.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:37)
at raw.client.sql.metadata.UserMetadataCache$$anon$1.load(UserMetadataCache.scala:35)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3571)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2313)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2190)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2080)
... 52 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)
... 62 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)
... 71 more
github-actions / JUnit Test Report
TestSqlCompilerServiceAirports.SELECT * FROM example.airports WHERE city = 'Braganca'
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$19(TestSqlCompilerServiceAirports.scala:362)
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 * FROM example.airports WHERE city = :city
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$20(TestSqlCompilerServiceAirports.scala:404)
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.-- a query with no default, called without the parameter SELECT * FROM example.airports WHERE city = :city
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$21(TestSqlCompilerServiceAirports.scala:444)
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.-- a query with a default, called without the parameter -- @default city 'Athens' SELECT COUNT(*) AS n FROM example.airports WHERE city = :city
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$22(TestSqlCompilerServiceAirports.scala:479)
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.-- @type age intger -- @default age 'tralala -- @param whatever an unknown parameter SELECT COUNT(*) FROM example.airports WHERE :city = city
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$23(TestSqlCompilerServiceAirports.scala:522)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$23$adapted(TestSqlCompilerServiceAirports.scala:513)
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.-- @type age integer -- @default age 'tralala' -- @param whatever an unknown parameter SELECT COUNT(*) FROM example.airports WHERE :age = city
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$27(TestSqlCompilerServiceAirports.scala:550)
at raw.client.sql.TestSqlCompilerServiceAirports.$anonfun$new$27$adapted(TestSqlCompilerServiceAirports.scala:541)
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 * FROM example.airports WHERE city = :param and airport_id = :param
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$31(TestSqlCompilerServiceAirports.scala:575)
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 * FROM
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$32(TestSqlCompilerServiceAirports.scala:591)
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 * FROM inexistent-table
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$36(TestSqlCompilerServiceAirports.scala:604)
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