Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.18.0, 1.19.0
Description
The container couldn't be started in this build:
Error: 20:18:40 20:18:40.111 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 110.789 s <<< FAILURE! - in org.apache.flink.table.gateway.SqlGatewayE2ECase
Error: 20:18:40 20:18:40.111 [ERROR] org.apache.flink.table.gateway.SqlGatewayE2ECase Time elapsed: 110.789 s <<< ERROR!
Oct 30 20:18:40 org.testcontainers.containers.ContainerLaunchException: Container startup failed for image prestodb/hdp2.6-hive:10
Oct 30 20:18:40 at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
Oct 30 20:18:40 at org.apache.flink.table.gateway.containers.HiveContainer.doStart(HiveContainer.java:69)
Oct 30 20:18:40 at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
Oct 30 20:18:40 at org.testcontainers.containers.GenericContainer.starting(GenericContainer.java:1131)
Oct 30 20:18:40 at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:28)
Oct 30 20:18:40 at org.junit.rules.RunRules.evaluate(RunRules.java:20)
Oct 30 20:18:40 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
Oct 30 20:18:40 at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
Oct 30 20:18:40 at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
Oct 30 20:18:40 at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
Oct 30 20:18:40 at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42)
Oct 30 20:18:40 at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
Oct 30 20:18:40 at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72)
Oct 30 20:18:40 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
Oct 30 20:18:40 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
Oct 30 20:18:40 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
Oct 30 20:18:40 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
Oct 30 20:18:40 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
Oct 30 20:18:40 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
Oct 30 20:18:40 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
Oct 30 20:18:40 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
Oct 30 20:18:40 at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
Oct 30 20:18:40 at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
Oct 30 20:18:40 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
Oct 30 20:18:40 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
Oct 30 20:18:40 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
Oct 30 20:18:40 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
Oct 30 20:18:40 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
Oct 30 20:18:40 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
Oct 30 20:18:40 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Oct 30 20:18:40 Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
Oct 30 20:18:40 at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
Oct 30 20:18:40 at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
Oct 30 20:18:40 ... 29 more
Oct 30 20:18:40 Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
Oct 30 20:18:40 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
Oct 30 20:18:40 at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
Oct 30 20:18:40 at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
Oct 30 20:18:40 ... 30 more
Oct 30 20:18:40 Caused by: java.lang.RuntimeException: java.net.ConnectException: Failed to connect to /127.0.0.1:32779
Oct 30 20:18:40 at org.apache.flink.table.gateway.containers.HiveContainer.containerIsStarted(HiveContainer.java:93)
Oct 30 20:18:40 at org.testcontainers.containers.GenericContainer.containerIsStarted(GenericContainer.java:712)
Oct 30 20:18:40 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:532)
Oct 30 20:18:40 ... 32 more
Oct 30 20:18:40 Caused by: java.net.ConnectException: Failed to connect to /127.0.0.1:32779
Oct 30 20:18:40 at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:265)
Oct 30 20:18:40 at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:183)
Oct 30 20:18:40 at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224)
Oct 30 20:18:40 at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108)
Oct 30 20:18:40 at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88)
Oct 30 20:18:40 at okhttp3.internal.connection.Transmitter.newExchange(Transmitter.java:169)
Oct 30 20:18:40 at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41)
Oct 30 20:18:40 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
Oct 30 20:18:40 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
Oct 30 20:18:40 at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
Oct 30 20:18:40 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
Oct 30 20:18:40 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
Oct 30 20:18:40 at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
Oct 30 20:18:40 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
Oct 30 20:18:40 at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
Oct 30 20:18:40 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
Oct 30 20:18:40 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
Oct 30 20:18:40 at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
Oct 30 20:18:40 at okhttp3.RealCall.execute(RealCall.java:81)
Oct 30 20:18:40 at org.apache.flink.table.gateway.containers.HiveContainer.containerIsStarted(HiveContainer.java:86)
Oct 30 20:18:40 ... 34 more
Oct 30 20:18:40 Caused by: java.net.ConnectException: Connection refused (Connection refused)
Oct 30 20:18:40 at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
Oct 30 20:18:40 at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
Oct 30 20:18:40 at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
Oct 30 20:18:40 at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
Oct 30 20:18:40 at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
Oct 30 20:18:40 at java.base/java.net.Socket.connect(Socket.java:609)
Oct 30 20:18:40 at okhttp3.internal.platform.Platform.connectSocket(Platform.java:130)
Oct 30 20:18:40 at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:263)
Oct 30 20:18:40 ... 53 more
Attachments
Attachments
Issue Links
- is caused by
-
FLINK-32731 SqlGatewayE2ECase.testHiveServer2ExecuteStatement failed due to MetaException
- Closed
- links to