Skip to content

Conversation

@nforro
Copy link
Member

@nforro nforro commented Jan 8, 2026

@centosinfra-prod-github-app
Copy link
Contributor

in a sandbox environment inside Packit Service. This environment has limited resources.
Your actions shouldn't consume more than 768MiB of memory and use more than 3GiB of disk space.
Be aware that cloned upstream and dist-git repos also count towards this limit.
It is recommended to place any temporary artifacts in a subdirectory of `/tmp`, as there is no limit.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit unsure about this, because the limited volume with cloned git repos is mounted at /tmp/sandcastle, which is technically also a subdirectory of /tmp.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure either.
oc describe limitrange -n packit--prod-sandbox
Shows that the default limit for the storage in packit--prod-sandbox is 2Gi, I expect it to apply outside the mount point of our volume claim.

Copy link
Member Author

@nforro nforro Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure either. oc describe limitrange -n packit--prod-sandbox Shows that the default limit for the storage in packit--prod-sandbox is 2Gi, I expect it to apply outside the mount point of our volume claim.

That's not what I'm unsure about, there is no limit apart from node physical disk size. I suppose you are talking about the 2GiB container image size limit, which is completely irrelevant here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am unsure about this too, in the cluster I can see limits.ephemeral-storage set to 10Gi, although I am not sure how exactly (if) this is being enforced, as I don't see per-pod limits for the ephermal storage. I would rather omit this part and not recommend this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to admit I didn't try to dig deeper, I just did multiple practical tests creating large files and monitoring reported free space and I haven't found a node where there would be less than 50GiB of available space outside of /tmp/sandcastle. Even if there was 10GiB limit, it's still more than 3GiB and it would solve the issue for llvm-test-suite.

But if you prefer to omit this and rather increase the PVC in case more users report struggling to fit into 3GiB, it's fine by me.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, thanks for the details, then I would leave it just rewrite the second part of the sentence to something like , as it serves as a non-quota-restricted space for transient files.

@centosinfra-prod-github-app
Copy link
Contributor

@nforro nforro moved this from New to In review in Packit pull requests Jan 12, 2026
@centosinfra-prod-github-app
Copy link
Contributor

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Signed-off-by: Nikola Forró <[email protected]>
@nforro nforro added the mergeit Merge via Zuul label Jan 13, 2026
@centosinfra-prod-github-app
Copy link
Contributor

@nforro
Copy link
Member Author

nforro commented Jan 13, 2026

regate

@centosinfra-prod-github-app
Copy link
Contributor

@centosinfra-prod-github-app centosinfra-prod-github-app bot merged commit 8c46dc9 into packit:main Jan 13, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in Packit pull requests Jan 13, 2026
@nforro nforro deleted the sandcastle branch January 13, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mergeit Merge via Zuul

Projects

Development

Successfully merging this pull request may close these issues.

pull-from-upstream job fails for llvm-test-suite

3 participants