Skip to content

CI: cancel a failed job's own Slurm sims, shared rodinia data, tolerate ReqMem '16?' - #572

Merged
JRPan merged 1 commit into
accel-sim:devfrom
purdue-aalp:ci-orphan-fixes
Oct 21, 2026
Merged

JRPan merged 1 commit into
accel-sim:devfrom
purdue-aalp:ci-orphan-fixes

Conversation

@JRPan

@JRPan JRPan commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

Fixes for the orphaned CI sims seen in run 39530862942. The PTX monitor crashed, its Slurm jobs kept running, and the next job's checkout on the same runner deleted their run dirs, so they segfaulted with Stale file handle.

  • Per-job cancel. SASS-Simulation, PTX-Simulation, Tracer-Tool and SASS-Simulation-Docker tag their Slurm jobs gh-run:<run>.<attempt>:<job>. On failure or cancel, each job scancels its own jobs (.github/scripts/cancel-slurm.sh) before the runner is released. cleanup-slurm still runs at the end of the workflow and matches the run tag as a prefix.
  • Shared rodinia data. PTX-Simulation links /scratch/.../for-sharing/gpgpu-sim-appdata/data_dirs, the same copy the functional CI uses, instead of running get_regression_data.sh. That script downloads from engineering.purdue.edu, which was failing SSL, and exits 0 on a truncated tarball.
  • Monitor fix. common._mem_kb returns None for a ReqMem it can't parse. sacct printed 16? for a just-submitted job, and the monitor crashed on its first poll.

🤖 Generated with Claude Code

…te ReqMem '16?'

- A sim job that fails or is cancelled now scancels its own Slurm jobs
  (tag gh-run:<run>.<attempt>:<job>) before its runner is reused; the next
  job's checkout wiped the run dirs and the orphans segfaulted.
- PTX-Simulation links the shared gpgpu-sim-appdata data_dirs instead of
  downloading rodinia_2.0-ft, whose script exits 0 on a truncated download.
- common._mem_kb returns None for an unparseable ReqMem (a just-submitted
  job showed '16?' and crashed the monitor on its first poll).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JRPan
JRPan merged commit ab3fa25 into accel-sim:dev Oct 21, 2026
JRPan added a commit that referenced this pull request Oct 21, 2026
…te ReqMem '16?' (#572)

- A sim job that fails or is cancelled now scancels its own Slurm jobs
  (tag gh-run:<run>.<attempt>:<job>) before its runner is reused; the next
  job's checkout wiped the run dirs and the orphans segfaulted.
- PTX-Simulation links the shared gpgpu-sim-appdata data_dirs instead of
  downloading rodinia_2.0-ft, whose script exits 0 on a truncated download.
- common._mem_kb returns None for an unparseable ReqMem (a just-submitted
  job showed '16?' and crashed the monitor on its first poll).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant