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

PLA 509 dump docker compose logs on failure #23167

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

neilfulwiler
Copy link
Contributor

Summary & Motivation

when docker-compose up throws an exception, just dump docker logs to stdout. sometimes there isn't anything more revealing here than what we get in the initial exception, but sometimes it points to an issue with the underlying service that wasn't in the original exception

How I Tested These Changes

forced docker-compose to fail with a bad health check definition, and ensured that the dump_logs function was invoked and did print to stdout

@neilfulwiler neilfulwiler force-pushed the PLA-509/dump-docker-compose-logs-on-failure branch from 021be7a to b26effd Compare July 23, 2024 15:47
@neilfulwiler neilfulwiler force-pushed the PLA-509/dump-docker-compose-logs-on-failure branch from b26effd to 2fbfbb0 Compare July 23, 2024 16:10
@neilfulwiler neilfulwiler merged commit 0b032e0 into master Jul 23, 2024
1 check was pending
@neilfulwiler neilfulwiler deleted the PLA-509/dump-docker-compose-logs-on-failure branch July 23, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants