You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/05 09:54:00 UTC

[jira] [Commented] (DRILL-7982) Timed out waiting for container port to open

    [ https://issues.apache.org/jira/browse/DRILL-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393763#comment-17393763 ] 

ASF GitHub Bot commented on DRILL-7982:
---------------------------------------

luocooong opened a new pull request #2287:
URL: https://github.com/apache/drill/pull/2287


   # [DRILL-7982](https://issues.apache.org/jira/browse/DRILL-7982): Timed out waiting for container port to open
   
   ## Description
   
   If the default 60s timeout is not sufficient, it can be altered with the `withStartupTimeout()` method.
   
   See also [Waiting for containers to start or be ready](https://www.testcontainers.org/features/startup_and_waits/)
   
   Then, the `testcontainers` has merged new feature about the `For faster startup`.
   
   See also [Tune Cassandra options for faster startup](https://github.com/testcontainers/testcontainers-java/pull/4309)
   
   ## Documentation
   N/A
   
   ## Testing
   Need the unit tests can run 3 times without the `Timed out waiting for XXX`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Timed out waiting for container port to open
> --------------------------------------------
>
>                 Key: DRILL-7982
>                 URL: https://issues.apache.org/jira/browse/DRILL-7982
>             Project: Apache Drill
>          Issue Type: Task
>          Components: Tools, Build &amp; Test
>            Reporter: Cong Luo
>            Assignee: Cong Luo
>            Priority: Major
>             Fix For: 1.20.0
>
>
> If the default 60s timeout is not sufficient, it can be altered with the {{withStartupTimeout()}} method.
> See also [Waiting for containers to start or be ready|https://www.testcontainers.org/features/startup_and_waits/]
> The java stack trace logs :
> {code:java}
> Error:  org.apache.drill.exec.store.cassandra.TestCassandraSuit  Time elapsed: 190.343 s  <<< ERROR!
> 16634org.testcontainers.containers.ContainerLaunchException: Container startup failed
> 16635	at org.apache.drill.exec.store.cassandra.TestCassandraSuit.startCassandra(TestCassandraSuit.java:69)
> 16636	at org.apache.drill.exec.store.cassandra.TestCassandraSuit.initCassandra(TestCassandraSuit.java:46)
> 16637Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
> 16638	at org.apache.drill.exec.store.cassandra.TestCassandraSuit.startCassandra(TestCassandraSuit.java:69)
> 16639	at org.apache.drill.exec.store.cassandra.TestCassandraSuit.initCassandra(TestCassandraSuit.java:46)
> 16640Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
> 16641	at org.apache.drill.exec.store.cassandra.TestCassandraSuit.startCassandra(TestCassandraSuit.java:69)
> 16642	at org.apache.drill.exec.store.cassandra.TestCassandraSuit.initCassandra(TestCassandraSuit.java:46)
> 16643Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for container port to open (localhost ports: [49174] should be listening)
> 16644	at org.apache.drill.exec.store.cassandra.TestCassandraSuit.startCassandra(TestCassandraSuit.java:69)
> 16645	at org.apache.drill.exec.store.cassandra.TestCassandraSuit.initCassandra(TestCassandraSuit.java:46)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)