Skip to content

feat(results): add ClickHouse nightly results backend with run-id pinning - #77

Open
mparamas-amd wants to merge 5 commits into
mainfrom
users/mparamas/ch-plugin
Open

feat(results): add ClickHouse nightly results backend with run-id pinning#77
mparamas-amd wants to merge 5 commits into
mainfrom
users/mparamas/ch-plugin

Conversation

@mparamas-amd

Copy link
Copy Markdown
Contributor

Motivation

This PR Introduces a post-nightly upload_results workflow job that parses pytest-json-report artifacts and inserts structured summary + per-test-case rows into a ClickHouse table (rocmtests_nightly_results). Also the nightly workflow had been updated to accept direct run-id for artifacts.

Technical Details

framework/results/backends/clickhouse.py

  • Self-contained upload script invoked as python -m framework.results.backends.clickhouse. It reads two artifact directories
    downloaded by the workflow and writes to a single converged ClickHouse table as below
Row type Grain Key columns
summary 1 row per platform per run pass/fail/skip/error counts, GHA job URL, conclusion, artifact source run
case 1 row per test function per platform per run nodeid, test_file, outcome, duration_secs, error_type, error_message, hw_marker, ci_marker, layer_marker, runtime_marker

Test Plan & Results

  • pre-commit checks workflow pass
  • clickhouse table populates post nightly workflow run

@mparamas-amd
mparamas-amd requested review from a team and madkasul as code owners August 10, 2026 17:42
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