ci: run the energy meters' RAPL and NVML tests on real hardware (jetson-hub, linux-hw) #162
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/energy-hardware-linux-hw"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Runs the energy meters' Linux RAPL and NVML hardware tests (from #129) against real counters, in CI.
Why. Every other job runs in a container. Docker masks
/sys/devices/virtual/powercapthere and gives no GPU, so those tests only ever took their "unavailable, and the oracle agrees" branch. Nothing in CI exercised the live path.Where. A new runner,
jetson-hub-linux-hw, labellinux-hw: a host executor on jetson-hub.package-0, acoresub-zone,psys, an mmio package) and an RTX 4050 Laptop GPU.txhw, a dedicated user with no sudo and no docker, which can read powercap and open/dev/nvidia*.forgejo-runner-hw, beside the existing docker runner, which is unchanged.What it runs. The six crates' hardware tests:
nvmlcudarapl,nvmlEach step fails unless the live path ran:
package-only inner … outer …bracket was printed. Only the live path prints it, after asserting the meter read inside the bracket and below package+psys and package+core. For proof-cascade, the oracle has to say Live instead.nvml hardware: 1 GPU). On this GPU the counter runs past the board while it is polled, so the tests assert it is Implausible and never graded as hardware.Mechanics. The host has no Node, so there are no JavaScript actions:
niceand-j 8, since the host is also the docker runner and has 15 GB of RAM.Triggers. Pull requests and pushes to
mainthat touch those six crates or this workflow. This PR touches the workflow, so its own run is the first real test.🤖 Generated with Claude Code