Open RachelXGanon opened 2 years ago
Yesterday, I noticed this error in all scheduled night workflows. Today it doesn't occur anymore, I can't reproduce it
Yesterday, I noticed this error in all scheduled night workflows. Today it doesn't occur anymore, I can't reproduce it
@RobertDutkiewicz I can tell from experience that this will happen when you run so many Github Action jobs. It seems like there is a limit to Github Action job executions. I am also facing a similar issue and trying to fix it but so far I am not able to fix it. Thanks.
I am also facing this issue from yesterday. Any update on this?
IMO - it's what @charusat09 said - there's a limit and once you hit the limit you can't upload more artifacts. I had to delete some very old runs artifacts, about 3~ later, the issue resolved. But maybe is there a way to increase this limit?
Could anyone please share the current limit so we can try to ensure it for our jobs?
How should I get him to work properly, I often have this problem
Any new update? I have same issue today
Please guys, is there any resolution to this issue? I've also hit this problem and need to deploy modifications to production for a client.
I have the same issue. I deleted all old run artifacts, but it seems like it didn't work
My issue cleared up after removing items from other repositories on my account. I deleted as much as I could and after no positive outcome, I left it for the night. When I came back to it the next day, it worked when I attempted a deployment.
It must be noted that the issue took a while to clear up and I can only assume that Github does recalculations on a scheduled basis... and then only allows further additions to your repositories. It isn't comforting when you have timeline pressure, but hopefully, this can be improved in the future.
I have the same issue today. How to delete old artifacts?
I have the same issue today. How to delete old artifacts?
Started having this since last week on an organization's private repository. We sparingly use artifact storage because we only run ad-hoc jobs (maybe once or twice a week).
I already deleted all the old artifacts the first time we got this error. I'm in touch with GitHub Support about this, but I'm not sure where the problem is.
I have checked by creating a repo
scope token and running this API request (replacing <YOUR-TOKEN>
and OWNER/REPO
):
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/OWNER/REPO/actions/artifacts
which shows the following:
{
"total_count": 0,
"artifacts": [
]
}
But still we're having the error upon re-runs of jobs and new jobs, even after re-running a day later. We also see the error 403 Forbidden
in the diagnostic information:
##### Begin Diagnostic HTTP information #####
Status Code: 403
Status Message: Forbidden
Header Information: {
"cache-control": "no-store,no-cache",
"pragma": "no-cache",
"content-length": "333",
"content-type": "application/json; charset=utf-8",
"strict-transport-security": "max-age=2592000",
"x-tfs-processid": "..",
"activityid": "..",
"x-tfs-session": "..",
"x-vss-e2eid": "..",
"x-vss-senderdeploymentid": "..",
"x-frame-options": "SAMEORIGIN",
"x-cache": "CONFIG_NOCACHE",
"x-msedge-ref": "Ref A: .. Ref B: .. Ref C: 2023-05-31T03:55:42Z",
"date": "Wed, 31 May 2023 03:55:41 GMT",
"connection": "close"
}
###### End Diagnostic HTTP information ######
Error: Create Artifact Container failed: Artifact storage quota has been hit. Unable to upload any new artifacts
##[debug]Node Action run completed with exit code 1
PS: For mission-critical artifacts, we use external storage like an AWS S3 bucket. I suggest you to consider it. The transparency of storage allocation and the control needed to manage the storage is far better than GitHub's artifact storage, which we only use for non-critical test artifacts.
Also if you use GitHub's storage, for the upload-artifact
action, you can add retention-days
option to override the setting to a lower (not higher) value.
@ADTC I wasn't being prescriptive and only communicated my steps to resolve the issue I experienced. Thanks for your explanations though.
Haha
On Wed, 31 May 2023, 17:05 OMally, @.***> wrote:
@ADTC https://github.com/ADTC No further comment needed about this as I had deleted my post already, but you obviously did not see this.
— Reply to this email directly, view it on GitHub https://github.com/actions/upload-artifact/issues/307#issuecomment-1570413596, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXNMDTZ3OMRFSQGAVEOHXZDXI5M2HANCNFSM5QS4MV6Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>
FWIW, the solution in my case was for our organization owner to fix the billing settings. Apparently the payment attempt on the saved card on the account was declined and that the "Estimated Storage for the Month" was exceeded. Once the owner updated the card on the account, about two hours later we ran the job and the artifacts were correctly uploaded.
Although, I have a suspicion that the monthly limit could have also just reset because it is June 1 today.
I think the real problem here might be that a response as generic as 403 Forbidden
is translated by the action or by GitHub to a more specific error Artifact storage quota has been hit
when in fact it could have been something else, like a failure in billing due to declined card, or that the monthly quota (which may not be the same as storage quota) has been hit.
a. There is STILL no easy way to see all your artifacts in a single view unless you use REST API.
b. There is STILL no easy process to delete existing artifacts, unless you go to each every run and manually delete OR add a delete artifacts job to each workflow.
b. It's frustrating that even after deleting the artifacts (manually or via Delete job), we still have to run workflows after some interval and wait to see if they succeed or fail.
Probably we are going to end up using Azure Blob Storage actions instead of github/up/download i.e. move all the storage to cloud.
We have done the following:
This results in 0 artifacts after 1 day. It could be possible that the workflow fails and the cleanup action is not triggered, but then we still have artifacts for a maximum of 1 day.
Heres the kicker:
We have not triggered a workflow for two weeks, and now we suddenly hit the quota on the first try. We do not have any old artifacts (we deleted all of them manually), and obviously not any new ones.
Why are we hitting this quota?
I am still seeing this issue as well, with similar settings as @wouterdoublebyte.
Jobs were running successfully for a week, then this error occurs again out of the blue.
What happened?
Hey, Getting this error as I used this action version
uses: actions/upload-artifact@v2.2.3
More details:What did you expect to happen?
Up until now it worked fine, not sure why it stopped to work.
How can we reproduce it?
can't reproduce it's a private repository
Anything else we need to know?
No response
What version of the action are you using?
v2.2.3
What are your runner environments?
window
Are you on GitHub Enterprise Server? If so, what version?
No response