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

[House keeping] include container statuses for all container exit errors #5161

Merged

Conversation

pvditt
Copy link
Contributor

@pvditt pvditt commented Mar 31, 2024

Tracking issue

https://github.com/flyteorg/flyte/issues/

Why are the changes needed?

  • container exit errors aren't consistently handled as we sometimes don't include container statuses in the error messages.

What changes were proposed in this pull request?

  • include container statuses during system errors causing pod failure

How was this patch tested?

  • added unit test

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Paul Dittamo <pvdittamo@gmail.com>
@pvditt pvditt marked this pull request as ready for review March 31, 2024 23:47
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. documentation Improvements or additions to documentation housekeeping Issues that help maintain flyte and keep it tech-debt free labels Mar 31, 2024
Copy link

codecov bot commented Mar 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.11%. Comparing base (b1cab3a) to head (9aa2cf2).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5161      +/-   ##
==========================================
+ Coverage   59.08%   59.11%   +0.02%     
==========================================
  Files         645      645              
  Lines       55574    55579       +5     
==========================================
+ Hits        32838    32857      +19     
+ Misses      20142    20129      -13     
+ Partials     2594     2593       -1     
Flag Coverage Δ
unittests 59.11% <100.00%> (+0.02%) ⬆️

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.

Signed-off-by: Paul Dittamo <pvdittamo@gmail.com>
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Apr 1, 2024
@pvditt pvditt requested review from pingsutw and hamersaw April 1, 2024 01:19
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 4, 2024
@hamersaw hamersaw merged commit f8d4992 into master Apr 4, 2024
48 checks passed
@hamersaw hamersaw deleted the housekeeping/include-container-status-in-error-message branch April 4, 2024 12:40
Jeinhaus pushed a commit to Jeinhaus/flyte that referenced this pull request Apr 8, 2024
…ors (flyteorg#5161)

* include container statuses for all container exit errors

Signed-off-by: Paul Dittamo <pvdittamo@gmail.com>

* add unit test

Signed-off-by: Paul Dittamo <pvdittamo@gmail.com>

---------

Signed-off-by: Paul Dittamo <pvdittamo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation housekeeping Issues that help maintain flyte and keep it tech-debt free lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants