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

Prebuild logs stop streaming #8684

Closed
Tracked by #9291 ...
easyCZ opened this issue Mar 9, 2022 · 4 comments
Closed
Tracked by #9291 ...

Prebuild logs stop streaming #8684

easyCZ opened this issue Mar 9, 2022 · 4 comments
Labels
team: webapp Issue belongs to the WebApp team type: bug Something isn't working

Comments

@easyCZ
Copy link
Member

easyCZ commented Mar 9, 2022

When a prebuild is running, after some time the UI becomes unable to render streaming logs for the prebuild.

Repro

  1. Add/Clone https://gitlab.com/gitpod-milan/gitpod-large-image
  2. Add the repository as a project to your Gitpod account
  3. Push a commit to master of the repository
  4. Navigate to the project view -> Prebuilds
  5. Watch the logs, after around 5 minutes, no more logs are streamed
  6. When the page is reloaded, no logs are shown at all (not even previous logs)
  7. The same behaviour can be onbserved when starting a workspace from a context URL - https://gitpod.io/#https://gitlab.com/gitpod-milan/gitpod-large-image/-/tree/main - the view ends up being blocked.

Screenshot 2022-03-09 at 11 59 05

Screenshot 2022-03-09 at 12 01 55

Screenshot 2022-03-09 at 12 03 47

Screenshot 2022-03-09 at 12 06 36

Screenshot 2022-03-09 at 12 06 41

Expected behaviour

  • Logs continue to be streamed into the view, even after browser reloads and longer prebuilds
@easyCZ easyCZ added team: webapp Issue belongs to the WebApp team type: bug Something isn't working labels Mar 9, 2022
@laushinka
Copy link
Contributor

Can reproduce!

@easyCZ
Copy link
Member Author

easyCZ commented Mar 9, 2022

As it happens, this particular prebuild also times out even though the task should complete after 10 minutes with an exit code 0.
Once it times out, logs become available. But only the logs up until the 5 minute mark, any logs after are not printed.

Screenshot 2022-03-09 at 13 35 30

Once it fails, the logs contain a context deadline log message but display the failure at the top of the log stream, not at the bottom.

@geropl
Copy link
Member

geropl commented Jun 9, 2022

@AlexTugarev This should have been fixed a while ago when Team IDE fixed a supervisor bug which caused every listener to hang when single listener got stuck with writing.

@AlexTugarev
Copy link
Member

Just double-checked this, and indeed this issue seems to be fixed by supervisor changes. Thanks @gitpod-io/engineering-ide!

Screen Shot 2022-06-10 at 08 58 00

Screen Shot 2022-06-10 at 08 57 48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: webapp Issue belongs to the WebApp team type: bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

4 participants