From 213a19158e9cc8df47e8d30d6bd8a91bbb9634ce Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Tue, 6 Jan 2026 18:09:30 +0100 Subject: [PATCH 1/5] workflow: enable CNCF runners This should allows to build and run amd64 qemu tests from github actions. Signed-off-by: Mathieu Tortuyaux --- .github/workflows/ci.yaml | 6 +----- .github/workflows/run-kola-tests.yaml | 19 ++++++------------- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a8d23875143..f58e60f0446 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,11 +34,7 @@ permissions: jobs: packages: name: "Build Flatcar packages" - runs-on: - - self-hosted - - ubuntu - - build - - amd64 + runs-on: oracle-vm-32cpu-128gb-x86-64 strategy: fail-fast: false matrix: diff --git a/.github/workflows/run-kola-tests.yaml b/.github/workflows/run-kola-tests.yaml index 22002dbde14..2ee9eae7606 100644 --- a/.github/workflows/run-kola-tests.yaml +++ b/.github/workflows/run-kola-tests.yaml @@ -17,15 +17,11 @@ on: jobs: tests: name: "Run Kola tests" - runs-on: - - self-hosted - - ubuntu - - kola - - ${{ matrix.arch }} + runs-on: oracle-16cpu-64gb-x86-64 strategy: fail-fast: false matrix: - arch: ["amd64", "arm64"] + arch: ["amd64"] steps: - name: Prepare machine @@ -34,7 +30,7 @@ jobs: run: | sudo rm /bin/sh sudo ln -s /bin/bash /bin/sh - sudo apt-get install -y ca-certificates curl gnupg lsb-release qemu-system git bzip2 jq dnsmasq python3 zstd + sudo apt update && sudo apt install -y ca-certificates curl gnupg lsb-release qemu-system git bzip2 jq dnsmasq python3 zstd sudo systemctl stop dnsmasq sudo systemctl mask dnsmasq @@ -186,7 +182,7 @@ jobs: source ci-automation/test.sh - PARALLEL_ARCH=10 + PARALLEL_ARCH=5 cat > sdk_container/.env < Date: Wed, 7 Jan 2026 11:06:39 +0100 Subject: [PATCH 2/5] workflow/kola: remove systemctl calls this is useless on those runners Signed-off-by: Mathieu Tortuyaux --- .github/workflows/run-kola-tests.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/run-kola-tests.yaml b/.github/workflows/run-kola-tests.yaml index 2ee9eae7606..2b21d0e0e71 100644 --- a/.github/workflows/run-kola-tests.yaml +++ b/.github/workflows/run-kola-tests.yaml @@ -31,8 +31,6 @@ jobs: sudo rm /bin/sh sudo ln -s /bin/bash /bin/sh sudo apt update && sudo apt install -y ca-certificates curl gnupg lsb-release qemu-system git bzip2 jq dnsmasq python3 zstd - sudo systemctl stop dnsmasq - sudo systemctl mask dnsmasq # Set up MASQUERADE. Don't care much to secure it. # This is needed for the VMs kola spins up to have internet access. From 0ee8707588c7510b64eab96e3fd115cd65f85837 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Wed, 7 Jan 2026 13:44:39 +0100 Subject: [PATCH 3/5] workflow/kola: make sure iptables and ip are around Signed-off-by: Mathieu Tortuyaux --- .github/workflows/run-kola-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-kola-tests.yaml b/.github/workflows/run-kola-tests.yaml index 2b21d0e0e71..537a717f71a 100644 --- a/.github/workflows/run-kola-tests.yaml +++ b/.github/workflows/run-kola-tests.yaml @@ -30,7 +30,7 @@ jobs: run: | sudo rm /bin/sh sudo ln -s /bin/bash /bin/sh - sudo apt update && sudo apt install -y ca-certificates curl gnupg lsb-release qemu-system git bzip2 jq dnsmasq python3 zstd + sudo apt update && sudo apt install -y ca-certificates curl gnupg lsb-release qemu-system git bzip2 jq dnsmasq python3 zstd iproute2 iptables # Set up MASQUERADE. Don't care much to secure it. # This is needed for the VMs kola spins up to have internet access. From 5fd8cb18c6adace99ba43132ab2241569b3dc131 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Wed, 7 Jan 2026 17:12:32 +0100 Subject: [PATCH 4/5] fixup! workflow: enable CNCF runners --- .github/workflows/run-kola-tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-kola-tests.yaml b/.github/workflows/run-kola-tests.yaml index 537a717f71a..46d7d5442a3 100644 --- a/.github/workflows/run-kola-tests.yaml +++ b/.github/workflows/run-kola-tests.yaml @@ -17,7 +17,7 @@ on: jobs: tests: name: "Run Kola tests" - runs-on: oracle-16cpu-64gb-x86-64 + runs-on: oracle-vm-32cpu-128gb-x86-64 strategy: fail-fast: false matrix: @@ -233,7 +233,7 @@ jobs: name: "Merge TAP reports and post results" needs: tests if: always() && !cancelled() - runs-on: oracle-16cpu-64gb-x86-64 + runs-on: oracle-vm-32cpu-128gb-x86-64 permissions: pull-requests: write From 01001f2abbcf4ed5852da8b0417efd2735acdc13 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Thu, 8 Jan 2026 14:19:55 +0100 Subject: [PATCH 5/5] tmp note: ss -lnp does not show 12345 so the python command might fail Signed-off-by: Mathieu Tortuyaux --- .github/workflows/run-kola-tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/run-kola-tests.yaml b/.github/workflows/run-kola-tests.yaml index 46d7d5442a3..aaa7629e727 100644 --- a/.github/workflows/run-kola-tests.yaml +++ b/.github/workflows/run-kola-tests.yaml @@ -161,8 +161,12 @@ jobs: set -x set -euo pipefail + ip -4 addr python3 -m http.server -d "${TESTS_WEBSERVER_WEBROOT}" -b "${TESTS_WEBSERVER_IP}" "${TESTS_WEBSERVER_PORT}" & + sleep 2 + sudo ss -lnp | grep 12345 + pushd scripts source ci-automation/ci_automation_common.sh