testcontainers / testcontainers/testcontainers-java
richnorth/vnc-recorder: Could not start container and seg fault
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 8.7k
- Forks
- 1.9k
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 9
Descripción
Hi!
I am trying to use testcontainers in my project (1.7.2) and I am getting some issues related with the containers. Just to be sure it was not any issue related with my project, I downloaded your testcontainers-java-examples project and try to execute the selenium-container example, getting the same issue.
These are the logs I got:
18:52:30.663 [main] INFO 🐳 [richnorth/vnc-recorder:latest] - Container richnorth/vnc-recorder:latest is starting: ae1406ceff13e785e93f1cafb8f78d6a41ae95770bb39474c5dbefe43c9b2082
18:53:30.690 [main] ERROR 🐳 [richnorth/vnc-recorder:latest] - Could not start container
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output
at org.testcontainers.containers.VncRecordingContainer$1.waitUntilReady(VncRecordingContainer.java:91) ~[testcontainers--1.7.3-g0aeaec3-2.jar:na]
at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:32) ~[testcontainers--1.7.3-g0aeaec3-2.jar:na]
at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:531) [testcontainers--1.7.3-g0aeaec3-2.jar:na]
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:258) [testcontainers--1.7.3-g0aeaec3-2.jar:na]
at org.testcontainers.containers.GenericContainer.lambda$start$0(GenericContainer.java:209) [testcontainers--1.7.3-g0aeaec3-2.jar:na]
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76) ~[duct-tape-1.0.7.jar:na]
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:207) [testcontainers--1.7.3-g0aeaec3-2.jar:na]
at org.testcontainers.containers.BrowserWebDriverContainer.containerIsStarted(BrowserWebDriverContainer.java:189) ~[selenium--SNAPSHOT.jar:na]
18:53:30.703 [main] ERROR 🐳 [richnorth/vnc-recorder:latest] - Container log output (if any) will follow:
18:53:30.708 [testcontainers-netty-1-1] INFO 🐳 [richnorth/vnc-recorder:latest] - STDERR: Segmentation fault (core dumped)
18:53:30.714 [main] ERROR 🐳 [selenium/standalone-chrome-debug:2.45.0] - Could not start container
I attached the complete maven logs if you need them:
logs.txt
Thanks a lot for your support,
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con el ejemplo selenium-container y los logs de Maven adjuntos; después inspecciona VncRecordingContainer.java en la estrategia de espera indicada cerca de la línea 91 y la ruta de inicio de BrowserWebDriverContainer. Reproduce el timeout y el segmentation fault, y considera completado el issue solo cuando estén documentados la causa y un método verificado para iniciar el contenedor.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- docker, java
- Área
- devops, testing
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100