You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test case (added in this PR) sets a memory limit of 1 << 30 (approximately 1GB) for the process, apparently as a precaution to protect against denial of service attacks that could be caused by malicious images.
However, on our s390x machine, the test case only passes when we increase this limit to 1 << 31 (approximately 2GB). This suggests that the process is trying to use more than 1GB of memory, which is causing the test case to fail with the original limit.
Weirdly enough this seems not be the case with other go versions, tested with go1.22.0 and go1.20.13
What happened:
Unit tests
prlimit_test.go
fails on s390x wiht go1.21What you expected to happen:
Suceed
How to reproduce it (as minimally and precisely as possible):
make test-unit
Additional context:
Part of the error output:
Workaround:
-coverprofile
flag from test commandEnvironment:
The text was updated successfully, but these errors were encountered: