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

CI: drop Ubuntu 20.04, add AlmaLinux 8 #3904

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AkihiroSuda
Copy link
Member

The ubuntu-20.04 runner is being deprecated on GHA:

AlmaLinux 8 can be still used for running the tests with cgroup v1.

@AkihiroSuda AkihiroSuda added the area/ci e.g., CI failure label Feb 20, 2025
@AkihiroSuda AkihiroSuda added this to the v2.x.x (tentative) milestone Feb 20, 2025
@AkihiroSuda AkihiroSuda force-pushed the drop-ubuntu-20.04 branch 6 times, most recently from 9499bff to 9819f42 Compare February 20, 2025 08:53
@AkihiroSuda
Copy link
Member Author

=== FAIL: cmd/nerdctl/container TestRunDevice (0.44s)
    container_run_cgroup_linux_test.go:236: assertion failed: error is not nil: loopback setup failed ([losetup --find --show /tmp/containerd-test-loopback3931357228]): stdout="", stderr="losetup: /tmp/containerd-test-loopback3931357228: failed to set up loop device: No such file or directory\n": exit status 1

https://github.com/containerd/nerdctl/actions/runs/13431403718/job/37523922230?pr=3904

@AkihiroSuda AkihiroSuda force-pushed the drop-ubuntu-20.04 branch 6 times, most recently from b4df452 to 192b717 Compare February 21, 2025 04:29
The ubuntu-20.04 runner is being deprecated on GHA:
actions/runner-images issue 11101

AlmaLinux 8 can be still used for running the tests with cgroup v1.

Signed-off-by: Akihiro Suda <[email protected]>
@apostasie
Copy link
Contributor

=== FAIL: cmd/nerdctl/container TestRunDevice (0.44s)
    container_run_cgroup_linux_test.go:236: assertion failed: error is not nil: loopback setup failed ([losetup --find --show /tmp/containerd-test-loopback3931357228]): stdout="", stderr="losetup: /tmp/containerd-test-loopback3931357228: failed to set up loop device: No such file or directory\n": exit status 1

https://github.com/containerd/nerdctl/actions/runs/13431403718/job/37523922230?pr=3904

@AkihiroSuda

Probably need to yank out snapd?

      - name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)"
        run: |
          sudo systemctl disable --now snapd.service snapd.socket
          sudo apt-get purge -y snapd
          sudo losetup -Dv
          sudo losetup -lv

@apostasie
Copy link
Contributor

Other two CI failures are the recent regression on TestStop (#3908) and some likely unrelated Compose/Stargz race.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci e.g., CI failure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants