-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix: Say no logs were outputted when pod is done #2373
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2373 +/- ##
=========================================
Coverage ? 13.07%
=========================================
Files ? 72
Lines ? 25058
Branches ? 0
=========================================
Hits ? 3276
Misses ? 21369
Partials ? 413 Continue to review full report at Codecov.
|
This might have caused another issue. I now sometimes get "Pod did not output any logs." but then when I go to Artifacts for the same Pod, there are logs there. I think this might have to do with log rotation settings. |
Actually I think what was happening was that I'm using retryStrategy and the logs only show up on the child nodes representing retries, and not on the parent. Note that I'm using a version without the #2384 fix so all of my nodes have a (0) version even if they worked the first time. These are the ones where "logs" shows output on the (0) node but not on its parent. Both the parent and (0) node have archived logs accessible. |
Hi @foobarbecue, this is actually the correct behavior. The parent node is something we call a "virtual node" of type |
Back-ported to 2.6 |
Fixes #2372. Thanks @foobarbecue!