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

[ui] Logs from other tasks in same group interleaved in logs view #8545

Closed
Legogris opened this issue Jul 28, 2020 · 6 comments · Fixed by #8833
Closed

[ui] Logs from other tasks in same group interleaved in logs view #8545

Legogris opened this issue Jul 28, 2020 · 6 comments · Fixed by #8833

Comments

@Legogris
Copy link

Nomad version

Nomad v0.12.1 (14a6893a250fc5f652eee4c7b52d8f95c3185aef)

Issue

When viewing the logs for a task, intermittently the logs will be replaced by those of a different task in the same group.

Reproduction steps

  1. Schedule job with one task group containing two different tasks using driver docker. No specific configuration for logging in either client or job spec.
  2. Enter log view in Web UI
@rkettelerij
Copy link
Contributor

rkettelerij commented Aug 20, 2020

I haven't yet tried to reproduce this bug. But if it's correct (I assume so) then it sounds like a serious regression. Especially because having multiple tasks per group is rather common in my experience. The 0.11.x line doesn't show this behaviour, of that I'm sure. /cc @backspace @DingoEatingFuzz

@DingoEatingFuzz
Copy link
Contributor

I haven't tried to reproduce this yet either, but I'm also not sure how this could be a UI issue. I'm surprised by software every day, so I'm not saying it isn't a UI bug, but I'd be curious to see if anyone can reproduce it via the CLI or API.

@Legogris
Copy link
Author

Legogris commented Aug 21, 2020

I guess "interleaved" was a not a great choice of words; the UI kind of "blinks" when it happens and there's only ever one tasks' is visible at any point in time.

I have not confirmed the causality but it seems to mostly or only happen when tasks/containers restart or get rescheduled.

I have not yet observed this in the cli, though I haven't had it open when it triggers in the UI.

@rkettelerij
Copy link
Contributor

I was under the impression that logs would get mixed together, all of the time. Great to hear that's not the case.

@Legogris Perhaps an animated gif that demonstrates the issue would help clarify things?

@DingoEatingFuzz
Copy link
Contributor

I'm surprised by software every day, so I'm not saying it isn't a UI bug

So to my mild surprise, it was a UI bug. PR open: #8833

@github-actions
Copy link

github-actions bot commented Nov 2, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants