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

Print container logs if service fails to start #782

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

danielhollas
Copy link
Contributor

When a Docker container fails to start properly, the integration tests fail with a timeout error. In that case, we will print container logs for debugging. We use the same strategy in AWB and it works well.

Extracted from #781.

When a Docker container fails to start properly, the integration tests fail
with a timeout error. In that case, we will print container logs for
debugging.
@danielhollas danielhollas force-pushed the debug-container-logs branch from a454c48 to 15b96b7 Compare July 22, 2024 20:42
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.28%. Comparing base (122efe1) to head (15b96b7).
Report is 36 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #782   +/-   ##
=======================================
  Coverage   68.28%   68.28%           
=======================================
  Files          45       45           
  Lines        4143     4143           
=======================================
  Hits         2829     2829           
  Misses       1314     1314           
Flag Coverage Δ
python-3.10 68.28% <ø> (ø)
python-3.9 68.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@unkcpz unkcpz left a comment

Choose a reason for hiding this comment

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

Looks all good!

@danielhollas danielhollas merged commit 5330273 into main Jul 23, 2024
12 checks passed
@danielhollas danielhollas deleted the debug-container-logs branch July 23, 2024 12:15
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