testcontainers / testcontainers/testcontainers-java

richnorth/vnc-recorder: Could not start container and seg fault

Open
#706 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

resolution/acknowledged type/bug
Dominant language
Java
Stars
8.7k
Forks
1.9k
Avg merge
2d 17h
Merged PRs (30d)
9

Description

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,

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the selenium-container example and the attached Maven logs, then inspect VncRecordingContainer.java at the wait strategy reported near line 91 and the BrowserWebDriverContainer startup path. Reproduce the timeout and segmentation fault, and consider the issue complete only when the cause and a verified way to start the container are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
devops, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.