From fb13c6c7b82a657a5017d16ab6aa6601b601a40b Mon Sep 17 00:00:00 2001 From: Vibhu Prashar Date: Mon, 28 Jul 2025 22:39:49 +0530 Subject: [PATCH] ci: test oracle runners Signed-off-by: Vibhu Prashar --- .github/workflows/test-oracle-runners.yaml | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/test-oracle-runners.yaml diff --git a/.github/workflows/test-oracle-runners.yaml b/.github/workflows/test-oracle-runners.yaml new file mode 100644 index 0000000000..9e08b64292 --- /dev/null +++ b/.github/workflows/test-oracle-runners.yaml @@ -0,0 +1,31 @@ +name: Test Oracle Runners + +on: + pull_request: + +permissions: + pull-requests: write + contents: write + +jobs: + test-oracle-runners: + runs-on: oracle-16cpu-64gb-x86-64 + steps: + - name: Checkout source + uses: actions/checkout@v4 + + - name: Discover RAPL domains + run: | + for d in /sys/devices/virtual/powercap/intel-rapl/intel-rapl:*; do + [ -f "$d/name" ] && echo "${d#/sys/devices/virtual/powercap/intel-rapl/}: $(cat "$d/name")" + for s in "$d"/intel-rapl:*; do + [ -f "$s/name" ] && echo "${s#/sys/devices/virtual/powercap/intel-rapl/}: $(cat "$s/name")" + done + done + + - name: Run must gather + if: always() + run: | + hostnamectl + lscpu + tree /sys/class/powercap/intel-rapl/*