-
Notifications
You must be signed in to change notification settings - Fork 169
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
Build init logs doesn't print hostname if there is an initialization errror #3089
Comments
We should discuss the approach from #2882 |
I wonder if there is still a chance that the build node information is missing even after the revert, in the case of no resource is available at the first update and hence is not displayed in the UI and the launcher fails to run in init step hence not updating the build stats with node name. But I believe when a build is pending now, it will be automatically put to retry queue on this? But how many attempts to retry happens until the build has a resource to be scheduled on? And in addition to that, the build status is not updated in here |
@yk634 - I created a draft PR to implement your suggestion here. Can you please take a look if it makes sense? If not then, please suggest changes according to what you proposed initially. |
@VonnyJap If the If it is possible to get the value, I think the PR fix is fine. I was thinking of the idea of having the |
What happened:
After changes in screwdriver-cd/executor-k8s#186 Build hostname is not displayed, if launcher is not able to run. This scenario can happen if build init fails.
We were updating launcher from v6.0.182 to v6.0.198
What you expected to happen:
Build init logs should always show the hostname where the build was scheduled.
How to reproduce it:
The text was updated successfully, but these errors were encountered: