Runner test in upstream podman CI: undefined: syscall.Issue28732Fix
Summary
Hi. As part of the upstream podman project, we've been running some of the gitlab runner's tests in our CI. Recently, sometime between 7th-10th of Dec. they started failing with an error referencing the (non-existant?) issue "28732".
I followed the instructions in this comment to get things running. Otherwise I'm very much ignorant of the inner-workings of this/these tests. Our setup is running most operations as a regular user (setup script) on Ubuntu 21.10. They've basically been working flawlessly for months until now.
Steps to reproduce
- Build & install upstream podman.
- Install containerd and docker-ce from upstream package repos.
- Stop and disable dockerd + docker socket services
- As a user, clone gitlab.com/gitlab-org/gitlab-runner
- As a user, from within
$GOPATH/src/$slug/
, runmake development_setup
- Similarly, run
go get .
Actual behavior
(log)
go: downloading github.com/pierrec/lz4 v2.0.5+incompatible
go: downloading github.com/ryanuber/go-glob v1.0.0
# gitlab.com/gitlab-org/gitlab-runner/helpers/patches/issue_28732
helpers/patches/issue_28732/syscall.go:11:2: undefined: syscall.Issue28732Fix
Expected behavior
Gitlab runner builds successfully and go test
passes (as in script) with DOCKER_HOST
pointing at a podman socket.
Relevant logs and/or screenshots
See above
Environment description
Ubuntu 21.10 VM customized with some newer/out-of-distro. podman dependencies installed. Kernel has been booted with CGroupsV2 enabled (for systemd). Gitlab tests are configured to run via ssh@localhost to a random user added to the system.
Used GitLab Runner version
Gitlab runner is built from upstream. Helper image is registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-latest-pwsh