[igt-dev] [PATCH v2 01/12] ci: Run container jobs only in packet.net runners

Tomeu Vizoso tomeu.vizoso at collabora.com
Thu Mar 10 07:37:49 UTC 2022


On Hetzner runners, we get the following error:

error running container: error creating container for [/bin/sh -c apt-get update]: time="2022-03-09T11:17:43Z" level=warning msg="signal: killed"
time="2022-03-09T11:17:43Z" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n"
container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\"": exit status 1
Error: error building at STEP "RUN apt-get update": error while running runtime: exit status 1

Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
---
 .gitlab-ci.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fd0ca7cbdfbb..9f252836c578 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,6 +29,8 @@ build-containers:build-debian:
     - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
     - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-minimal build-debian-minimal
     - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian build-debian
+  tags:
+    - packet.net
 
 build-containers:build-debian-armhf:
   stage: build-containers
@@ -36,6 +38,8 @@ build-containers:build-debian-armhf:
   script:
     - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
     - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-armhf build-debian-armhf
+  tags:
+    - packet.net
 
 build-containers:build-debian-arm64:
   stage: build-containers
@@ -43,6 +47,8 @@ build-containers:build-debian-arm64:
   script:
     - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
     - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-arm64 build-debian-arm64
+  tags:
+    - packet.net
 
 build-containers:build-debian-mips:
   stage: build-containers
@@ -50,6 +56,8 @@ build-containers:build-debian-mips:
   script:
     - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
     - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-mips build-debian-mips
+  tags:
+    - packet.net
 
 build-containers:build-fedora:
   stage: build-containers
@@ -57,6 +65,8 @@ build-containers:build-fedora:
   script:
     - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
     - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-fedora build-fedora
+  tags:
+    - packet.net
 
 #################### BUILD #########################
 
-- 
2.31.1



More information about the igt-dev mailing list