question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cosmos DB Container is failing on Github

See original GitHub issue

Our builds have started to fail on github. We are using ubuntu-latest for build environment and our test container version is v1.16.2. The builds are passing on our local boxes fine.

Can anybody help me to resolve it?

14:04:30.540 INFO  🐳 [mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest] - Container mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest is starting: decef015fcb0d81d09a60e3adc2680c6437728fda214681bdf126b3a452f85a0
14:05:30.597 ERROR 🐳 [mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest] - Could not start container
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '(?s).*Started\r\n$'
	at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:49)
	at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:51)
	at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:929)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:468)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:331)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
eddumelendezcommented, Sep 26, 2022

@Manuel-Moya this is not an issue in testcontainers. we have raised an issue https://github.com/Azure/azure-cosmos-db-emulator-docker/issues/56 but have not heard back

0reactions
eddumelendezcommented, Oct 5, 2022

Closing because of cosmosdb image is the one failing in ubuntu 20.04 and 22.04.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · Azure/azure-cosmos-db-emulator-docker - GitHub
Contains Dockerfiles for the Azure Cosmos DB Emulator: ... Linux emulator fails on macOS M1 even with x64 virtualization. #54 opened on Jul...
Read more >
Error while deploying cosmosdb container #6228 - GitHub
Getting the following error while deploying the container for cosmosdb SQL API Unable to parse request payload due to the following reason: ...
Read more >
Error: The evaluation period has expired. · Issue #60 - GitHub
I have just pulled the image and tried to run it but getting the error below: Image: mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator: ...
Read more >
Azure Cosmos DB Docker container stopping #15865 - GitHub
After discussion, it seems there's a problem with ubuntu-latest (ubuntu-20.04) vmImage. ubuntu-18.04 works. Anyway to understand what has ...
Read more >
Azure Cosmos SQL container can't be created #18126 - GitHub
Can't create containers inside Cosmos SQL database, it's trying to create, but failing after some time. Plan sometimes works, sometimes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found