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

No logs for short prebuilds #5573

Closed
AlexTugarev opened this issue Sep 7, 2021 · 8 comments · Fixed by #6758
Closed

No logs for short prebuilds #5573

AlexTugarev opened this issue Sep 7, 2021 · 8 comments · Fixed by #6758
Labels
component: dashboard feature: prebuilds feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. groundwork: awaiting deployment team: workspace Issue belongs to the Workspace team type: bug Something isn't working

Comments

@AlexTugarev
Copy link
Member

If a prebuild is very short, i.e. doesn't take a while to be built, it appears to not be shown with logs and logs are not persisted in the storage.

How to reproduce? Just create a project for a not yet configured repo in your account and use the simples echo something template form the project configurator.

@AlexTugarev AlexTugarev added feature: prebuilds feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. type: bug Something isn't working labels Sep 7, 2021
@AlexTugarev
Copy link
Member Author

AlexTugarev commented Sep 7, 2021

cc. @geropl, because he already had a suspicion about this.

#5570 (comment)

@geropl geropl added the team: workspace Issue belongs to the Workspace team label Sep 7, 2021
@geropl
Copy link
Member

geropl commented Sep 7, 2021

Could a1da634 be the cause?
We no longer wait for c.State.Running == nil for the workspace container, which includes proper shutdown of supervisor, including writing of terminal logs. @csweichel

@csweichel
Copy link
Contributor

/schedule

@roboquat
Copy link
Contributor

@csweichel: Issue scheduled in the workspace team (WIP: 0)

In response to this:

/schedule

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@geropl
Copy link
Member

geropl commented Sep 29, 2021

Should be fixed with this one: #5897

@geropl geropl closed this as completed Sep 29, 2021
@AlexTugarev
Copy link
Member Author

AlexTugarev commented Sep 30, 2021

@geropl, I'm afraid this is not the case

Should be fixed with this one: #5897

@jldec jldec reopened this Oct 20, 2021
@JanKoehnlein JanKoehnlein added team: webapp Issue belongs to the WebApp team and removed team: workspace Issue belongs to the Workspace team labels Oct 26, 2021
@geropl geropl self-assigned this Oct 28, 2021
@geropl
Copy link
Member

geropl commented Oct 28, 2021

A quick tests with https://github.com/geropl/test-repo revealed that for short prebuilds:

  • there is no workspace backup
  • there is no logs uploaded

I will try to find the reason, but think this is a workspace issue 😕

Update: I found that DisposeWorkspace is never called, but have no clue why. Create #6435

@geropl
Copy link
Member

geropl commented Oct 29, 2021

Not actively working on this.

@geropl geropl removed their assignment Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dashboard feature: prebuilds feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. groundwork: awaiting deployment team: workspace Issue belongs to the Workspace team type: bug Something isn't working
Projects
Archived in project
Status: Needed for shipping 🚢
Development

Successfully merging a pull request may close this issue.

7 participants