testcontainers / testcontainers/testcontainers-java
Error waiting for log message with Docker 20.10.1
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 8.7k
- Fork
- 1.9k
- Merge medio
- 2g 17h
- PR unite (30g)
- 9
Descrizione
Our E2E test suite uses Testcontainers to run our microservices and their dependencies in containers for the duration of our tests. All of the tests were passing until we updated our build nodes to Docker 20.10.1, at which point we started repeatedly getting STDOUT: $Error grabbing logs: unexpected EOF errors, and our Wait.forLogMessage calls started timing out.
Note however, that this issue seems sporadic as about 1 out of 10 builds still passes. After we reverted to Docker 19.03.14 the issue went away. We're using the latest version of Testcontainers (1.15.1 at the time of reporting the issue).
It's unclear to me if this is a Docker/Moby problem or a Testcontainers problem - I figured I'd report it here first to see if anyone else experienced similar issues, as I couldn't find related bug reports on Docker's issue tracker.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con la suite di test E2E e le chiamate a Wait.forLogMessage, quindi riproduci il fallimento intermittente di EOF imprevisto su STDOUT con Docker 20.10.1 e Docker 19.03.14. Nell’issue non sono indicati file o test specifici; il lavoro è completato quando si è identificato se il fallimento appartiene a Testcontainers o a Docker e si è documentato un risultato di regressione verificato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, java
- Ambito
- devops, testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100