insightsengineering / insightsengineering/ci-images

[Bug]: No space left on device when generating SBOM for some images

Open
#100 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
R
Stars
11
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### What happened?

`Generate SBOM` step in the `build & deploy` workflow fails because the GitHub runner runs out of disk space (even though right before this step a GH Action to reclaim disk space is used).

This has been observed for [`mkl`](https://github.com/insightsengineering/ci-images/actions/runs/9598565745/job/26473421158) and [`intel`](https://github.com/insightsengineering/ci-images/actions/runs/9598565512/job/26473862282) rhub-based images.

### Relevant log output
```
could not determine source: errors occurred attempting to resolve 'ghcr.io/insightsengineering/mkl:2024.06.20':
- docker: unable to save image to tar: write /tmp/stereoscope-2534026609/docker-daemon-image-2220588824/image.tar: no space left on device
- podman: unable to inspect existing image: Error response from daemon: failed to find image ghcr.io/insightsengineering/mkl:2024.06.20: ghcr.io/insightsengineering/mkl:2024.06.20: No such image
- containerd: containerd not available: failed to dial "/run/containerd/containerd.sock": connection error: desc = "transport: error while dialing: dial unix /run/containerd/containerd.sock: connect: permission denied"
- oci-registry: unable to populate layer cache dir="/tmp/stereoscope-25[34](https://github.com/insightsengineering/ci-images/actions/runs/9598565745/job/26473421158#step:12:35)026609/oci-registry-image-1410385989/sha256:30ddddf425539a1cd0c4eb2f94545c67ff3ed1d2d8e5f8ad20eee727d158fa75.tar" : write /tmp/stereoscope-2534026609/oci-registry-image-1410385989/sha256:30ddddf425539a1cd0c4eb2f94545c67ff3ed1d2d8e5f8ad20eee727d158fa75.tar: no space left on device
- additionally, the following providers failed with file does not exist: docker-archive, oci-archive, oci-dir, singularity, oci-dir, local-file, local-directory
```

```
could not determine source: errors occurred attempting to resolve 'ghcr.io/insightsengineering/intel:2024.06.20':
- docker: unable to save image tar: Error response from daemon: write /var/lib/docker/tmp/docker-export-139025[32](https://github.com/insightsengineering/ci-images/actions/runs/9598565512/job/26473862282#step:12:33)9/blobs/sha256/a39d72c2bd12acf1dfbd30375ac275a067024aff56375e49bae5ab4acd0047f0: no space left on device
- podman: unable to inspect existing image: Error response from daemon: failed to find image ghcr.io/insightsengineering/intel:2024.06.20: ghcr.io/insightsengineering/intel:2024.06.20: No such image
- containerd: containerd not available: failed to dial "/run/containerd/containerd.sock": connection error: desc = "transport: error while dialing: dial unix /run/containerd/containerd.sock: connect: permission denied"
- oci-registry: unable to populate layer cache dir="/tmp/stereoscope-1683486952/oci-registry-image-[33](https://github.com/insightsengineering/ci-images/actions/runs/9598565512/job/26473862282#step:12:34)78975298/sha256:4a558d89cd1a8b51b9b95a981eabf7187cd635cdabe4f932cb87a7ad3694cd92.tar" : write /tmp/stereoscope-1683486952/oci-registry-image-3378975298/sha256:4a558d89cd1a8b51b9b95a981eabf7187cd635cdabe4f932cb87a7ad3694cd92.tar: no space left on device
- additionally, the following providers failed with file does not exist: docker-archive, oci-archive, oci-dir, singularity, oci-dir, local-file, local-directory
```

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct.

### Contribution Guidelines

- [X] I agree to follow this project's Contribution Guidelines.

### Security Policy

- [X] I agree to follow this project's Security Policy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.