From 350a7f30d3f7ab3021ab0c47f272e1d3adca741c Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Mon, 31 Mar 2025 12:21:03 +0100 Subject: [PATCH] Well cleant all before starting the distrib containers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I3dd383f1c60484b203e583669c869f2119c4486f Signed-off-by: Cédric Ollivier --- jjb/functest/xtesting-ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jjb/functest/xtesting-ci.yaml b/jjb/functest/xtesting-ci.yaml index c8757c8f9..f043fa371 100644 --- a/jjb/functest/xtesting-ci.yaml +++ b/jjb/functest/xtesting-ci.yaml @@ -224,6 +224,14 @@ sudo rm -f /etc/systemd/system/docker.service.d/http-proxy.conf sudo systemctl daemon-reload sudo systemctl restart docker + if [ $(lsb_release -r -s |cut -d\. -f1) -ge "22" ]; then + sudo DEBIAN_FRONTEND=noninteractive apt \ + -o DPkg::Lock::Timeout=300 install podman -y + sudo podman ps -aq |xargs sudo podman stop || true + sudo podman ps -aq |xargs sudo podman rm || true + fi + sudo rm -rfv /data /tmp/xtesting* + - builder: name: xtesting-ci-tests-debian-docker -- 2.16.6