From bd3b466f2f4f6d9ff10c65fbf68f758ecaa071c3 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Thu, 13 Jun 2024 10:53:47 +0200 Subject: [PATCH] chore: CI: fix speedcenter tests (#4440) --- .github/workflows/ci.yml | 8 +++++--- .github/workflows/nix-ci.yml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe642805ea..9e24734af5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,7 +142,7 @@ jobs: }, { "name": "Linux release", - "os": large ? "nscloud-ubuntu-22.04-amd64-8x16" : "ubuntu-latest", + "os": large ? "nscloud-ubuntu-22.04-amd64-4x8" : "ubuntu-latest", "release": true, "check-level": 0, "shell": "nix develop .#oldGlibc -c bash -euxo pipefail {0}", @@ -154,7 +154,7 @@ jobs: }, { "name": "Linux", - "os": large ? "nscloud-ubuntu-22.04-amd64-8x16" : "ubuntu-latest", + "os": large ? "nscloud-ubuntu-22.04-amd64-4x8" : "ubuntu-latest", "check-stage3": level >= 2, "test-speedcenter": level >= 2, "check-level": 1, @@ -411,7 +411,9 @@ jobs: if: matrix.test-speedcenter - name: Test Speedcenter Benchmarks run: | - echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid + # Necessary for some timing metrics but does not work on Namespace runners + # and we just want to test that the benchmarks run at all here + #echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid export BUILD=$PWD/build PATH=$PWD/build/stage1/bin:$PATH cd tests/bench nix shell .#temci -c temci exec --config speedcenter.yaml --included_blocks fast --runs 1 diff --git a/.github/workflows/nix-ci.yml b/.github/workflows/nix-ci.yml index e26bca0f1f..05bd6b381b 100644 --- a/.github/workflows/nix-ci.yml +++ b/.github/workflows/nix-ci.yml @@ -28,7 +28,7 @@ jobs: let matrix = [ { "name": "Nix Linux", - "os": large ? "nscloud-ubuntu-22.04-amd64-8x16" : "ubuntu-latest", + "os": large ? "nscloud-ubuntu-22.04-amd64-8x8" : "ubuntu-latest", } ]; console.log(`matrix:\n${JSON.stringify(matrix, null, 2)}`);