Skip to content

ci: test oracle runners #2254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/test-oracle-runners.yaml
Original file line number Diff line number Diff line change
@@ -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
Comment on lines +19 to +24
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vprashar2929 , could you please read the energy file?


- name: Run must gather
if: always()
run: |
hostnamectl
lscpu
tree /sys/class/powercap/intel-rapl/*
Loading