Closed mrpmorris closed 4 months ago
I use Testcontainers daily on Azure Pipelines with Microsoft's hosted agents and private agents. Hanging containers are very likely a misconfigured wait strategy. If the wait strategy does not indicate readiness, Testcontainers will keep trying it repeatedly. Can you share your container builder configuration?
But I need to admit that I have had issues with my last two builds as well (GH and Azure DevOps share basically the same agents).
[testcontainers.org 00:00:02.51] failed to register layer: write ...: no space left on device
Edit: Ok, in my case there is really no space left 😂.
Do you still run into the issue? Can you please share your builder configuration (a reproducer)? Without additional information, I am afraid I cannot help.
As mentioned, without additional information, I cannot help. Usually, this happens either due to a misconfigured custom wait strategy or blocking the async context. I will close the issue in the meantime. Do not hesitate to reopen it again if you need further assistance.
If I whittle it down to a minimal repro, I will. Thanks.
Testcontainers version
3.7.0
Using the latest Testcontainers version?
Yes
Host OS
Ubuntu 22.04.3
Host arch
x64
.NET version
8
Docker version
Docker info
What happened?
Running dotnet test just hangs
Relevant log output
Additional information
This runs fine on Windows with Docker Desktop installed, but when I run it in azure pipelines it hangs.