From 6b108eb624601db998bc9fc65e82c87fb16289f3 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 16 Apr 2025 12:10:28 -0700 Subject: [PATCH] ci: install newer criu for almalinux-8 We are seeing a ton on flakes on almalinux-8 CI job, all caused by criu inability to freeze a cgroup. This was worked around in criu [1], but obviously we can't rely on a distro vendor to update the package. Let's use a copr (thanks to Adrian Reber!) [1]: https://github.com/checkpoint-restore/criu/pull/2545 Signed-off-by: Kir Kolyshkin (cherry picked from commit b520f750ef6fd2db9960c7a70c49f59d44a176a8) Signed-off-by: Kir Kolyshkin --- .cirrus.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 5cab7d404..138df6461 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -31,7 +31,7 @@ task: install_dependencies_script: | case $DISTRO in *-8) - yum config-manager --set-enabled powertools # for glibc-static + dnf config-manager --set-enabled powertools # for glibc-static ;; *-9) dnf config-manager --set-enabled crb # for glibc-static @@ -50,6 +50,15 @@ task: done [ $? -eq 0 ] # fail if yum failed + case $DISTRO in + *-8) + # Use newer criu (with https://github.com/checkpoint-restore/criu/pull/2545). + # Alas we have to disable container-tools for that. + dnf -y module disable container-tools + dnf -y copr enable adrian/criu-el8 + dnf -y install criu + esac + # Install Go. PREFIX="https://go.dev/dl/" # Find out the latest minor release URL.