Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Flaky? Test - Test_MultiContainerLogConsumer_CancelledContext #2397

Closed
bearrito opened this issue Mar 18, 2024 · 3 comments
Closed

[Bug]: Flaky? Test - Test_MultiContainerLogConsumer_CancelledContext #2397

bearrito opened this issue Mar 18, 2024 · 3 comments
Labels
bug An issue with the library

Comments

@bearrito
Copy link
Contributor

bearrito commented Mar 18, 2024

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_
@bearrito bearrito added the bug An issue with the library label Mar 18, 2024
@bearrito bearrito changed the title [Bug]: Flaky? Test [Bug]: Flaky? Test - Test_MultiContainerLogConsumer_CancelledContext Mar 18, 2024
@bearrito
Copy link
Contributor Author

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.

@mdelapenya
Copy link
Member

if you find the time to contribute, please do it 🙏

@bearrito
Copy link
Contributor Author

@mdelapenya I actually think this covers. #2346
I was hitting that livelock as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue with the library
Projects
None yet
Development

No branches or pull requests

2 participants