testcontainers-go
testcontainers-go copied to clipboard
[Bug]: Flaky? Test - Test_MultiContainerLogConsumer_CancelledContext
Testcontainers version
main
Using the latest Testcontainers version?
Yes
Host OS
ubuntu
Host arch
x86
Go version
Whatever CI runs
Docker version
Whatever CI is running
Docker info
Whatever CI is running
What happened?
Failed test for a test unrelated to my pr https://github.com/testcontainers/testcontainers-go/actions/runs/8329002788/job/22790293797?pr=2342
Relevant log output
=== Failed
=== FAIL: . (0.00s)
panic: test timed out after 30m0s
running tests:
Test_MultiContainerLogConsumer_CancelledContext (25m10s)
... elided...
FAIL Test_MultiContainerLogConsumer_CancelledContext (-1.00s)
time="2024-03-18T15:16:23Z" level=error msg="Tar: Can't stat file /home/runner/work/testcontainers-go/testcontainers-go/testdata to tar: lstat /home/runner/work/testcontainers-go/testcontainers-go/testdata//home/runner/work/testcontainers-go/testcontainers-go/testdata/.dockerignore: no such file or directory"
2024/03/18 15:16:26 🐳 Creating container for image
2024/03/18 15:16:26 ✅ Container created: 259b3c7416ef
2024/03/18 15:16:26 🐳 Starting container: 259b3c7416ef
2024/03/18 15:16:26 ✅ Container started: 259b3c7416ef
2024/03/18 15:16:26 🚧 Waiting for container id 259b3c7416ef image: 828ff850-1b33-4ae9-bbf1-676a0384ef68:79361a8b-4fcd-4068-834a-44c9a2fe4fd7. Waiting for: &{timeout:<nil> Log:ready IsRegexp:false Occurrence:1 PollInterval:100ms}
2024/03/18 15:16:26 🔔 Container is ready: 259b3c7416ef
time="2024-03-18T15:16:26Z" level=error msg="Tar: Can't stat file /home/runner/work/testcontainers-go/testcontainers-go/testdata to tar: lstat /home/runner/work/testcontainers-go/testcontainers-go/testdata//home/runner/work/testcontainers-go/testcontainers-go/testdata/.dockerignore: no such file or directory"
### Additional information
_No response_
I'm fairly sure I know what the issue is. Unless this in a known issue with an in-flight fix I can provide a patch.
if you find the time to contribute, please do it 🙏
@mdelapenya I actually think this covers. https://github.com/testcontainers/testcontainers-go/pull/2346 I was hitting that livelock as well.