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

actions/setup-node@v4 fails without any logging or error messages #1136

Closed
3 of 5 tasks
wuzzeb opened this issue Sep 17, 2024 · 9 comments
Closed
3 of 5 tasks

actions/setup-node@v4 fails without any logging or error messages #1136

wuzzeb opened this issue Sep 17, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@wuzzeb
Copy link

wuzzeb commented Sep 17, 2024

Description:

actions/setup-node@v4 started failing today without any errors or debug logging. I made a simple empty public repository to test it, which is recreating what happens in our main repository. See

https://github.com/SeedTactics/setup-node-test
https://github.com/SeedTactics/setup-node-test/actions/runs/10908848118/job/30275746876

Action version:
v4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
See
https://github.com/SeedTactics/setup-node-test/blob/main/.github/workflows/test.yml

Repro steps:
https://github.com/SeedTactics/setup-node-test
see https://github.com/SeedTactics/setup-node-test/actions/runs/10908848118/job/30275746876

Expected behavior:
Node is installed, or at least some kind of error or log of what is happening

Actual behavior:
actions/setup-node@v4 fails with no logs or errors

@wuzzeb wuzzeb added bug Something isn't working needs triage labels Sep 17, 2024
@abidbmt
Copy link

abidbmt commented Sep 17, 2024

Haha i just made an issue for the same problem. It fixed for me when i did not use latest, see #1135.

@ryanwitt
Copy link

Note that nodejs.org is having an outage, though status.nodejs.org had not been updated as of just before this comment.

@laser
Copy link

laser commented Sep 17, 2024

Note that nodejs.org is having an outage, though status.nodejs.org had not been updated as of just before this comment.

Hrm, still not updated:

https://status.nodejs.org/

@Nickadiemus
Copy link

Yeah I'm not seeing it updated as well

@ryanwitt
Copy link

Guessing between the outage and no recent release for this repo that it is not an issue with this project.

@wuzzeb
Copy link
Author

wuzzeb commented Sep 17, 2024

In that case, wouldn't the action emit an error message? Something like couldn't contact nodejs.org?

@ryanwitt
Copy link

In that case, wouldn't the action emit an error message? Something like couldn't contact nodejs.org?

Not if it's a DNS timeout, which this appeared to be. I observed a new error just now, but the action auto-recovered:

Attempting to download 21.x...
Not found in manifest. Falling back to download directly from Node
Acquiring 21.7.3 - x64 from https://nodejs.org/dist/v21.7.3/node-v21.7.3-linux-x64.tar.gz
read ECONNRESET
Waiting 16 seconds before trying again
...

So see if a retry on the failed job works.

@laser
Copy link

laser commented Sep 17, 2024

So see if a retry on the failed job works.

I just retried the job (after waiting ~45 minutes since the initial failures and subsequent retries) and the issue has resolved itself.

Thanks, all!

@priyagupta108
Copy link
Contributor

priyagupta108 commented Sep 18, 2024

Hello everyone 👋 ,
Thank you for reporting this issue. The issue was caused by a temporary outage on the Node.js website affecting downloads. According to the Node.js status page, the issue has now been resolved and confirmed. Therefore, we are proceeding to close this issue.
Please try rerunning your workflows. If the problem persists, feel free to reach out to us to reopen this issue.

@priyagupta108 priyagupta108 self-assigned this Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants