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

[Not beginner friendly] Umbrella issue for debugging issue with Netlify preview builds #43736

Open
divya-mohan0209 opened this issue Oct 30, 2023 · 12 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/docs Categorizes an issue or PR as relevant to SIG Docs. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@divya-mohan0209
Copy link
Contributor

divya-mohan0209 commented Oct 30, 2023

⚠️ Please note that this is not a beginner-friendly issue ⚠️

  • What is the issue?

The Netlify staging build generation is failing for some pull requests due to timeouts.

  • What is the error message?

12:31:26 AM: $ git submodule update --init --recursive --depth 1 && make deploy-preview
12:31:26 AM: GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo -buildFuture --environment preview -b https://deploy-preview-43702--kubernetes-io-main-staging.netlify.app
12:31:27 AM: Start building sites
12:31:27 AM: hugo v0.111.3-5d4eb5154e1fed125ca8e9b5a0315c4180dab192+extended linux/amd64 BuildDate=2023-03-12T11:40:50Z VendorInfo=gohugoio
1:03:04 AM: Failed during stage "building site": Command did not finish within the time limit
1:03:04 AM: Execution timed out after 31m40.000962935s
1:03:04 AM: Error running command: Command did not finish within the time limit
1:03:04 AM: Failing build: Failed to build site
1:03:04 AM: Finished processing build request in 32m7.209s
10:32:58 AM: [ERROR] Deploy logs are currently unavailable. We are working on resolving the issue.

  • Since when has this issue occurred?

This issue has been recurring since Feb 2022.

  • Are there records for any previous investigation conducted?

#36741 and #38834 were PRs raised by @tengqm for debugging the issue previously.

  • What is the expected outcome?

Root cause analysis of the issue followed by application of the fix.

  • What are some must-haves?
  1. Knowledge of Hugo (particularly the docsy theme)
  2. Knowledge of Netlify
  3. Ability to work collaboratively
  4. Should be a Kubernetes GitHub org member
  • Will you sponsor membership for this work?

No. This requires familiarity with the Kubernetes project and demonstration of consistent contribution.

cc: @natalisucks @reylejano @sftim @tengqm @onlydole @kbhawkey @seokho-son @a-mccarthy

@divya-mohan0209 divya-mohan0209 added the kind/bug Categorizes issue or PR as related to a bug. label Oct 30, 2023
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Oct 30, 2023
@sftim
Copy link
Contributor

sftim commented Oct 30, 2023

/triage accepted
/priority important-longterm

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Oct 30, 2023
@sftim
Copy link
Contributor

sftim commented Oct 30, 2023

/sig docs

@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Oct 30, 2023
@jasonbraganza
Copy link
Member

I’d love to help, if someone can get me up to speed / show me the ropes

i’m not familiar with Netlify, but I can go figure it out
I do however have an org membership and a hugo blog. (not familiar with docsy)

@sftim
Copy link
Contributor

sftim commented Nov 25, 2023

This issue is not beginner friendly, and for that reason a contributor working on it needs to be mostly a self-starter.

@jasonbraganza
Copy link
Member

jasonbraganza commented Nov 25, 2023

I didn’t mean it in terms of skilling up @sftim .
I just meant it in terms of having a running conversation with folk to get my arms around it.

@divya-mohan0209
Copy link
Contributor Author

divya-mohan0209 commented Nov 27, 2023

Thank you @jasonbraganza for volunteering!

So, here's what I'd recommend:

  • Getting acquainted with the Docsy theme on Hugo, since you're not already familiar (especially, in the context of k/website)
  • Check out previous PRs to understand what's already done.
  • Set up some time to understand how k/website PR content is staged on Netlify
    • Once you're done, with the first two steps you can reach out here and we'll figure out who can work alongside you based on bandwidth.
  • Request temporary elevated Netlify access (collaborator access should suffice) for investigation once you're done with the steps above.
  • Investigate and collaborate with Netlify support, if needed, to fix this permanently
  • Document this as a known issue with a fix, once the whole exercise is done.

@reylejano @tengqm @sftim @natalisucks : Please consider reviewing and adding on, if I have missed anything.

@jasonbraganza
Copy link
Member

Ack. will follow these steps. thank you.

@natalisucks natalisucks pinned this issue Jan 8, 2024
@jasonbraganza
Copy link
Member

Update as of 2024-01-15:
Have gotten the site to work locally.
and am getting an idea of how api-generation fits in.
Am currently getting my arms around the Docsy theme, and will ask for help in a day or two. (cc: @tengqm, @divya-mohan0209 )

@jasonbraganza
Copy link
Member

Got the hang of Docsy basics. Ready now to learn and understand how k/website is staged. (with temp access if needed.)

@divya-mohan0209, @tengqm would appreciate further help and guidance.

@divya-mohan0209
Copy link
Contributor Author

@jasonbraganza : Thank you so much for reaching out! Since you've gotten the hang of the docsy theme & are a GitHub org member, I think I am comfortable giving you temp privileged access after you've read Netlify documentation regarding staging & rendering of content.

@kubernetes/sig-docs-leads: Please could you advise if you're okay with @jasonbraganza having temp privileged access (i.e. collaborator) after reading through the docs suggested above?

@jasonbraganza
Copy link
Member

if it helps any with trust, i am also the current New Membership Coordinator, helping new folks become org memebers

and wrt Netlify docs, I’ll give it a run through asap and update here once done.

Thank you, @divya-mohan0209 for patiently guiding (herding? 😂) me.

@natalisucks
Copy link
Contributor

@divya-mohan0209 I'm fine with temporary collaborator access, thanks for flagging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/docs Categorizes an issue or PR as relevant to SIG Docs. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

5 participants