Skip to content

Prebuild logs are no longer being shown #4908

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

Closed
jankeromnes opened this issue Jul 22, 2021 · 6 comments
Closed

Prebuild logs are no longer being shown #4908

jankeromnes opened this issue Jul 22, 2021 · 6 comments

Comments

@jankeromnes
Copy link
Contributor

Bug description

When starting a manual prebuild, we used to get headless logs displayed.

However, since recently this is no longer the case.

Steps to reproduce

  1. Start a manual prebuild for some repository, using the URL prefix gitpod.io/#prebuild/
  2. No logs are displayed

Instead, the browser console shows errors like these in a loop:

/start: started workspace instance: da5c76e1-105d-4f0f-9efa-5731bb536500
Request getHeadlessLog unsuccessful: 404/"Headless logs for da5c76e1-105d-4f0f-9efa-5731bb536500 not found" 
Object { method: "getHeadlessLog", args: (2) […] }
re-trying headless-logs because: error while listening to stream Error: Headless logs for da5c76e1-105d-4f0f-9efa-5731bb536500 not found
fetching from streamUrl: https://storage.googleapis.com/gitpod-prod-user-643ac637-74a…hUTRdshxeIxbsKsuwEJGgY3f197CBOFP0nj6rjijJIzmH818iYgsWw%3D%3D
re-trying headless-logs because: error while listening to stream TypeError: NetworkError when attempting to fetch resource.
fetching from streamUrl: https://storage.googleapis.com/gitpod-prod-user-643ac637-74a…fLTLo31ktPP1JGSQ80STS6xwNskP%2FQ7O5fKzxCSiEE83Tgza1J7A%3D%3D
re-trying headless-logs because: error while listening to stream TypeError: NetworkError when attempting to fetch resource.
...

Screenshot 2021-07-22 at 11 43 55

Expected behavior

  • The headless logs should get displayed
  • No errors should be logged in the console

Example repository

No response

Anything else?

I suspect (without proof) that this might be a recent regression caused by the deployment of this related PR: #4875

@jankeromnes jankeromnes added type: bug Something isn't working feature: prebuilds priority: highest (user impact) Directly user impacting labels Jul 22, 2021
@jankeromnes jankeromnes self-assigned this Jul 22, 2021
@svenefftinge
Copy link
Member

/schedule

@roboquat
Copy link
Contributor

@svenefftinge: We have more than 19 cards scheduled. Above 15 only scheduler can perform this action. Those are:

  • csweichel
  • JanKoehnlein

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.

@csweichel
Copy link
Contributor

/schedule

@jankeromnes
Copy link
Contributor Author

jankeromnes commented Jul 22, 2021

Interestingly, https://gitpod.io/#prebuild/https://gitlab.com/gitpod/spring-petclinic does show prebuild logs in prod:

/start: started workspace instance: e343d567-be7b-46ac-ac14-9498d4ca46e5
fetching from streamUrl: https://gitpod.io/headless-logs/e343d567-be7b-46ac-ac14-9498d4ca46e5/edb375c6-ae32-4fa3-96f0-2115bc19f07b

EDIT: And with https://github.com/jankeromnes/terraforming-mars-bot, the prebuilds work as well. I can no longer reproduce this issue 😕 will look more after lunch.

@ghuntley
Copy link
Contributor

Dupe of #4856 (comment)

@csweichel
Copy link
Contributor

Closing this issue for now. Let's revisit when it re-occurs. Also, we're looking at prebuilds and their logs in #4856

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants