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

OAK-10280: Occasional failure to start docker container #969

Merged
merged 3 commits into from Jun 9, 2023

Conversation

mreutegg
Copy link
Contributor

@mreutegg mreutegg commented Jun 8, 2023

Consolidate multiple copies of AzuriteDockerRule
Skip test when waiting for port or startup message times out

Consolidate multiple copies of AzuriteDockerRule
Skip test when waiting for port or startup message times out
Remember startup exception across multiple instantiations of MongoDockerRule with same configuration
Remember startup exception across multiple instantiations of AzuriteDockerRule with same configuration
container.waitForPort("10000/tcp");
container.waitForLog("Azurite Blob service is successfully listening at http://0.0.0.0:10000");
try {
container.waitForPort("10000/tcp");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to increase the timeout in waitForPort() to prevent tests to be ignored too often, if the origin of the issue is slow Jenkins nodes? The default timeout is 30s and it could be increased to 60s, for example .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if the problem is a slow Jenkins. 30 seconds already seems generous to me and the actual problem may be something else. Maybe this could be tackled in another JIRA ticket...

@mreutegg mreutegg merged commit de3c275 into apache:trunk Jun 9, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants