-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Stuck on "Loading prebuild..." for 60 minutes #12345
Comments
After working with Firefox all day, it now too gets stuck on the "Loading prebuild..." screen for 60 minutes until it times out. Prebuilds run successful and I've tried with "incremental prebuilds" on and off - same bug. |
This has been happening lately but randomly. |
This was ok for ~5 days but it started to happen again yesterday & today. |
Moved it into Breakdown phase for workspace team. |
I see the same problem with
Given these logs, No errors in the trace either: @sagor999 @utam0k is there a way to inspect the "current status" of content init? I seem to recall there being a JSON object persisted somewhere that contains this...but am having trouble locating it. |
Moving this to scheduled, the thought being, we can tackle this a few ways:
|
Before considering this, please check if the download is the cause of the slow behavior. I would focus not on the download but on what we do after that, meaning, decompress and run Also check if there are more than one workspace starting (the chown operation is expensive) |
@aledbf good point Re: starting many workspaces at once! We should be able to try that at once by starting 5-6 workspaces at the same time (occupying a node) for the Gitpod repo when using the large workspace class. |
In case this helps with troubleshooting: I've used Gitpod's EU cluster for a few days and haven't seen this issue. However, as soon as I switched back to the US cluster half an hour ago, I'm now stuck on "Initializing content …". Update: VS Code in the browser opened, exactly 60 minutes after I started the workspace. |
I ran into this issue this morning; when opening a gitpod-io/gitpod pull request (https://gitpod.io/#github.com/gitpod-io/gitpod/pull/12871) 4 times in succession the first three have been hung for 10 minutes and the last workspace launched successfully. This has happened on a regular basis for the last few weeks, about 1/3rd of the workspaces I create against gitpod-io/gitpod fail. This seems to happen most frequently in the morning (US/Pacific) but that might just be based on the time that I open pull requests. Pull request repos also exhibit this the most, but that's also the scenario when I'm creating the greatest number of new workspaces. Digging into the logs of past failures emit a log like this, up to 90 minutes after the workspace was created and 30 minutes after it was stopped:
With an associated error:
|
this could be due to lost connection and maybe gcloud util not recovering from this correctly. 🤔 |
@Furisto can you build an ephemeral cluster in the US region, land on the cluster using a VPN, and leverage the additional tracing to debug this issue? I ask so we don't lose a day waiting for the deploy, but also because this issue is rather persistent for folks using the US cluster. 🙏 |
You can also use |
Unassigning myself because I will be OOO for the next three days. We have additional tracing for this problem now. If anyone has the bandwidth feel free to pick this up. |
These instance IDs were created, have no start time, and stopped after 60m, which suggests this problem may not just be related to prebuilds: a0a48d3d-e44f-45a6-943a-365816c93a76 |
Another case (internal thread) |
A bit more info on this: https://gitpod.slack.com/archives/C02F19UUW6S/p1664476833923239 |
Bug description
Loading workspaces regularly gets stuck on the "Loading prebuild..." screen for 60 minutes, at which point it times out and a "Stopping workspace..." message shows up.
Steps to reproduce
Workspace affected
gitpodio-website-yla6f7ogn1q
Expected behavior
The workspace starts.
Example repository
https://github.com/gitpod-io/website
It happens with any other repository too.
Anything else?
It's a fairly common situation, but there are times when loading a workspace works. Over the last two weeks, I encountered the issue three times per day on average.
The text was updated successfully, but these errors were encountered: