Skip to content

Add per-kernel instruction histogram option to tracer tool - #576

Open
benlaflen wants to merge 1 commit into
devfrom
feature/trace-histograms
Open

benlaflen wants to merge 1 commit into
devfrom
feature/trace-histograms

Conversation

@benlaflen

Copy link
Copy Markdown

The option can be enabled with HISTOGRAM=1 via the normal path and the histograms are included as comments that thus do not interfere with normal postprocessing or execution. When post processed into a trace, the histograms will be moved to the header of the file as text.

…ogram of per-kernel instruction counts in output traces
@github-actions

Copy link
Copy Markdown

🤖 CI Runs failed on bc4f70b — run. AI analysis (Qwopus3.8-27B-Flash-MTP-Q8_0):

CI Failure Analysis

Commit: bc4f70b Added an option to tracer_tool.cu under HISTOGRAM=1 to include a histogram of per-kernel instruction counts in output traces

Summary

The SASS-Simulation-Docker job failed because its Slurm simulation jobs were stuck waiting for resources and the GitHub Actions workflow hit its 6-hour timeout, causing the operation to be canceled.

Failed job(s)

  • SASS-Simulation-Docker / Build and Run in the Image: Infrastructure / flaky (timeout/resource starvation)

Root cause

The literal error line that made the step exit non-zero is ##[error]The operation was canceled. at 2026-10-29T02:01:27. This occurred because GitHub Actions annotation states "The job has exceeded the maximum execution time of 6h0m0s".

Looking at the log context, the Slurm batch job (ID 1480240) was submitted with srun requesting resources (batch, 8 cpus, 32G) and entered a "queued and waiting for resources" state. It remained in this queued state from approximately 20:01 on Oct 28 until the cancellation at 02:01 on Oct 29 (6 hours). The simulation never actually started running because it could not acquire Slurm cluster resources within the CI timeout window.

This is an infrastructure failure unrelated to code changes in commit bc4f70bb or recent commits, which modified tracer tooling and job monitoring logic but did not affect resource allocation for this specific Docker-based SASS simulation job.

Suggested fix

Re-run the workflow. If Slurm cluster resources are consistently unavailable during CI hours, consider:

  1. Increasing the timeout limit in main.yml for the SASS-Simulation-Docker job (currently 6h)
  2. Reducing resource requests (--cpus-per-task, memory) if possible to improve scheduling priority
  3. Checking Slurm cluster availability or contacting system administrators about queue congestion

Automated analysis; check it against the log before acting on it.

@github-actions

Copy link
Copy Markdown

🤖 CI Runs failed on bc4f70b — run. AI analysis (Qwopus3.8-27B-Flash-MTP-Q8_0):

CI Failure Analysis

Commit: bc4f70b Added an option to tracer_tool.cu under HISTOGRAM=1 to include a histogram of per-kernel instruction counts in output traces

Summary

The SASS-Simulation-Docker job was cancelled because it exceeded the 6-hour maximum execution time, as its Slurm simulation jobs were stuck waiting for cluster resources.

Failed job(s)

  • SASS-Simulation-Docker / Build and Run in the Image: Infrastructure (Timeout/Resource Starvation)

Root cause

The literal error line from the log is ##[error]The operation was canceled. at 2026-10-29T01:58:40. The job annotation confirms this was due to "exceeded the maximum execution time of 6h0m0s".

Tracing back through the logs, the failure is not a code error but an infrastructure issue. At 2026-10-28T20:00:31, the job submitted Slurm batch jobs (srun) with a requested time limit of 4 hours and resources (8 cpus, 32G). The log shows these jobs were "queued and waiting for resources" at 2026-10-28T20:00:31. There is no subsequent output from the simulations until the cancellation event ~5.97 hours later (2026-10-29T01:58:40).

The commit history shows recent changes to tracer_tool.cu (the failing commit) and CI infrastructure scripts, but none of these affect the Slurm resource allocation or the SASS simulation logic itself. The simulations simply never started because they could not acquire cluster resources within the 6-hour GitHub Actions timeout window.

Suggested fix

Re-run the workflow. This is a transient infrastructure failure (Slurm queue starvation) unrelated to code changes in this PR. If it persists, investigate Slurm partition availability or increase the job's timeout-minutes setting if simulations legitimately require more than 6 hours of wall-clock time including queuing delays.

Automated analysis; check it against the log before acting on it.

@benlaflen
benlaflen requested a review from JRPan October 30, 2026 18:00
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