actions / upload-artifact

MIT License
3.26k stars 739 forks source link

[bug] macOS Self Hosted Runner 503 on artifact upload #397

Closed s0undt3ch closed 1 year ago

s0undt3ch commented 1 year ago

What happened?

I'm trying to add self hosted macOS hosts to one of our repositories(https://github.com/saltstack/salt) , for the time being, I'm testing this all up on my fork(https://github.com/s0undt3ch/salt)

The problem that I'm facing is that it seems that I'm unable to upload artifacts from my workflow runs.

https://github.com/s0undt3ch/salt/actions/runs/4656732927/jobs/8240817484

The above run attempt was made with debug logging enabled and even though the upload artifact step failed, there's a message saying it succeeded, and, in fact, I can see it on the summary page, along with all other uploaded artifacts.

The artifact container being uploaded is named nox-macos-12-ci-test-onedir, which is accessible from this link. The size reported on the UI does look correct, but if I try to download it...

-rw-r--r-- 1 vampas vampas 22 abr 10 16:44 /tmp/nox-macos-12-ci-test-onedir.zip

How can I further debug this issue to find out about what's actually going on?

What did you expect to happen?

Being able to upload artifacts

How can we reproduce it?

I can provide access to the macos vagrant machine(parallels) if need be so that you can try to use it and reproduce it on your end.

Anything else we need to know?

Logs on runner

Worker_20230410-113425-utc.log 2fe69257-38b6-48bd-88de-af2bea641fea_91d73603-d8c3-5aa1-2955-35d8a8a488ce_1.log

Runner --check output

**********************************************************************************************************************
**  Check:               Internet Connection
**  Description:         Check if the Actions runner has internet access.
**********************************************************************************************************************
**                                                                                                                  **
**                                            P A S S                                                               **
**                                                                                                                  **
**********************************************************************************************************************
** Log: /opt/actions-runner/_diag/InternetCheck_20230411-055714-utc.log
**********************************************************************************************************************

**********************************************************************************************************************
**  Check:               GitHub Actions Connection
**  Description:         Check if the Actions runner has access to the GitHub Actions service.
**********************************************************************************************************************
**                                                                                                                  **
**                                            P A S S                                                               **
**                                                                                                                  **
**********************************************************************************************************************
** Log: /opt/actions-runner/_diag/ActionsCheck_20230411-055714-utc.log
**********************************************************************************************************************

**********************************************************************************************************************
**  Check:               Git Certificate/Proxy Validation
**  Description:         Check if the Git CLI can access GitHub.com or GitHub Enterprise Server.
**********************************************************************************************************************
**                                                                                                                  **
**                                            P A S S                                                               **
**                                                                                                                  **
**********************************************************************************************************************
** Log: /opt/actions-runner/_diag/GitCheck_20230411-055714-utc.log
**********************************************************************************************************************

**********************************************************************************************************************
**  Check:               Node.js Certificate/Proxy Validation
**  Description:         Check if Node.js has access to GitHub.com or GitHub Enterprise Server.
**********************************************************************************************************************
**                                                                                                                  **
**                                            P A S S                                                               **
**                                                                                                                  **
**********************************************************************************************************************
** Log: /opt/actions-runner/_diag/NodeJsCheck_20230411-055714-utc.log
**********************************************************************************************************************

What version of the action are you using?

actions/upload-artifact@v3

What are your runner environments?

macos

Are you on GitHub Enterprise Server? If so, what version?

No response

s0undt3ch commented 1 year ago

We tracked it down to parallels having really slow upload speed.