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

Failing docker container on ulimit #663

Closed
gpsaggese opened this issue Feb 21, 2024 · 2 comments
Closed

Failing docker container on ulimit #663

gpsaggese opened this issue Feb 21, 2024 · 2 comments
Assignees

Comments

@gpsaggese
Copy link
Contributor

For some reason this PR #662 is failing in Sorrentum
with the container not even start on GH, while it works for me locally

 73 run_fast_tests  Run fast tests  2024-02-21T00:00:42.8353290Z # Configure env
 74 run_fast_tests  Run fast tests  2024-02-21T00:00:42.8358053Z # Set up Docker-in-docker
 75 run_fast_tests  Run fast tests  2024-02-21T00:00:42.8783205Z { "storage-driver": "vfs" }
 76 run_fast_tests  Run fast tests  2024-02-21T00:00:42.9584377Z /etc/init.d/docker: 62: ulimit: error setting limit (Invalid argument)
 77 run_fast_tests  Run fast tests  2024-02-21T00:00:43.1166534Z ^[[31mERROR^[[0m: 2
 78 run_fast_tests  Run fast tests  2024-02-21T00:00:43.2582521Z ##[error]Process completed with exit code 2.

Do you know what's the problem?

It might be something silly, like the container and the Docker scripts not being in sync...

FYI @samarth9008

@dremdem
Copy link
Collaborator

dremdem commented Feb 22, 2024

The issue comes with the new version of the docker CLI:
docker/cli#4807
In short: the setting ulimit parameter break some limitation inside the docker.
The bandaid is comment out this line ulimit... inside the /etc/init.d/docker.

I saw Samarth fixed it already in the sorrentum repo:
#661

Just checked locally: I can run the tests and bash into containter.
Is the issue still persistent?

@samarth9008
Copy link
Collaborator

Not needed so closing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants