Git Product home page Git Product logo

Comments (4)

ltalirz avatar ltalirz commented on July 28, 2024

The error messages vary; sometimes github actions decides simply to "skip" the test - I also have seen

- aiida-QECpWorkChain
   - Starting container for aiida-QECpWorkChain
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/docker/api/client.py", line 268, in _raise_for_status
    response.raise_for_status()
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/requests/models.py", line [9](https://github.com/aiidateam/aiida-registry/runs/5599530712?check_suite_focus=true#step:8:9)60, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.41/containers/create

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.[12](https://github.com/aiidateam/aiida-registry/runs/5599530712?check_suite_focus=true#step:8:12)/x64/lib/python3.8/site-packages/docker/models/containers.py", line 8[19](https://github.com/aiidateam/aiida-registry/runs/5599530712?check_suite_focus=true#step:8:19), in run
    container = self.create(image=image, command=command,
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/docker/models/containers.py", line 878, in create
Error: No space left on device : '/home/runner/runners/2.288.1/_diag/pages/e824c49b-4d8d-45e8-8eba-c77886be4d86_685b72c3-607b-5549-a738-905b3d9de4d7_1.log'

from aiida-registry.

ltalirz avatar ltalirz commented on July 28, 2024

perhaps look how molecule is doing things under the hood, since this (creating & destroying docker containers, installing stuff on them) is exactly what is happening when the various ansible roles are being tested

from aiida-registry.

ltalirz avatar ltalirz commented on July 28, 2024

To provide some more contact with respect to my last comment:

molecule is a widely-used testing framework for ansible roles (e.g. we use it on GitHub actions for most of the roles in https://github.com/marvel-nccr).
It does pretty much what we're doing here: create a docker container on GitHub actions, then run tasks on it.

If they can do it, we should be able to as well.

Note: According to my notes in #210 (comment) it appears only the second container creation failed.
It is possible that molecule never creates more than one container at a time... still, it seems unlikely to me that Github actions would limit the number of containers you can run to 1.

from aiida-registry.

ltalirz avatar ltalirz commented on July 28, 2024

Hm... maybe I missed the last line of the error message before?

Error: No space left on device : '/home/runner/runners/2.288.1/_diag/pages/e824c49b-4d8d-45e8-8eba-c77886be4d86_685b72c3-607b-5549-a738-905b3d9de4d7_1.log'

If the previous container is not deleted properly, I could certainly imagine that eventually github actions runs out of disk space

At least in principle I am trying to delete the container though here

finally:
container.remove(force=True)

from aiida-registry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.