infix
infix copied to clipboard
CI: Unit tests fail almost every time due to race condition
There are some race condition between the two build, both claiming container-name infamy0.
time="2024-08-19T11:11:27Z" level=warning msg="For using systemd, you may need to log in using a user session" time="2024-08-19T11:11:27Z" level=warning msg="Alternatively, you can enable lingering with: `loginctl enable-linger 1006` (possibly as root)" time="2024-08-19T11:11:27Z" level=warning msg="Falling back to --cgroup-manager=cgroupfs" time="2024-08-19T11:11:27Z" level=warning msg="The cgroupv2 manager is set to systemd but there is no systemd user session available" time="2024-08-19T11:11:27Z" level=warning msg="For using systemd, you may need to log in using a user session" time="2024-08-19T11:11:27Z" level=warning msg="Alternatively, you can enable lingering with: `loginctl enable-linger 1006` (possibly as root)" time="2024-08-19T11:11:27Z" level=warning msg="Falling back to --cgroup-manager=cgroupfs" time="2024-08-19T11:11:27Z" level=warning msg="The cgroupv2 manager is set to systemd but there is no systemd user session available" time="2024-08-19T11:11:27Z" level=warning msg="For using systemd, you may need to log in using a user session" time="2024-08-19T11:11:27Z" level=warning msg="Alternatively, you can enable lingering with: `loginctl enable-linger 1006` (possibly as root)" time="2024-08-19T11:11:27Z" level=warning msg="Falling back to --cgroup-manager=cgroupfs" Error: creating container storage: the container name "infamy0" is already in use by 232b7cb04d60de108004bc47016063089f9c[22](https://github.com/kernelkit/infix/actions/runs/10452222167/job/28940216382#step:7:23)71d4a9685e0c5adb948e17248b. You have to remove that container to be able to reuse that name: that name is already in use, or use --replace to instruct Podman to do so. make[1]: *** [/home/github-lantean/actions-runner/_work/infix/infix/test/test.mk:[24](https://github.com/kernelkit/infix/actions/runs/10452222167/job/28940216382#step:7:25): test-unit] Error 125 make[1]: Leaving directory '/home/github-lantean/actions-runner/_work/infix/infix/buildroot' make: *** [Makefile:31: test-unit] Error 2 Error: Process completed with exit code 2.
See: https://github.com/kernelkit/infix/actions/runs/10452222167/job/28940216382