Repository navigation
[DO NOT MERGE] Use the local upload-test-artifacts action in Linux tests - #199844
Draft
georgehong wants to merge 4 commits into
Draft
georgehong wants to merge 4 commits into
georgehong wants to merge 4 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/199844
Note: Links to docs will display an error until the docs builds have been completed. ❌ 8 New FailuresAs of commit 0c05202 with merge base 4f0d8e2 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This was referenced Oct 5, 2026
georgehong
added a commit
that referenced
this pull request
Oct 5, 2026
Only for checking #199838 on Linux: _linux-test.yml takes upload-test-artifacts from main (a full path, since local actions fail in its container jobs), so a PR's Linux jobs never run that PR's copy of the action. Pointing it at #199838's ghstack branch makes this PR's Linux jobs zip and upload test-run-reports-<suffix>.zip to S3. Close this PR after checking; it is not meant to land. Test Plan: ``` python -c "import yaml; yaml.safe_load(open('.github/workflows/_linux-test.yml'))" spin lint ``` Authored with the help of an AI assistant (Claude). ghstack-source-id: e0258dc Pull-Request: #199844
georgehong
added a commit
that referenced
this pull request
Oct 6, 2026
Only for checking #199838 on Linux: _linux-test.yml takes upload-test-artifacts from main (a full path, since local actions fail in its container jobs), so a PR's Linux jobs never run that PR's copy of the action. Pointing it at #199838's ghstack branch makes this PR's Linux jobs zip and upload test-run-reports-<suffix>.zip to S3. Close this PR after checking; it is not meant to land. Test Plan: ``` python -c "import yaml; yaml.safe_load(open('.github/workflows/_linux-test.yml'))" spin lint ``` Authored with the help of an AI assistant (Claude). ghstack-source-id: 470b906 Pull-Request: #199844
georgehong
added a commit
to pytorch/test-infra
that referenced
this pull request
Oct 6, 2026
Each pytorch test job uploads one zip of JSONL test run reports when it ends, as test-run-reports-<suffix>.report.zip (pytorch/pytorch#199838). Route those keys to a new adapter that has ClickHouse read the zip and insert into the fortesting.{tests,environments,flags,runs} tables. TEST_RUN_REPORTS_MODE gates it: off, dry (count what each statement would insert, write nothing), or on (the default, while only the DNM pytorch/pytorch#199844 uploads these zips); the function's environment can override it. The S3 notification for the zips is a separate pytorch-gha-infra change. TODO: update the replicator's ClickHouse grants if needed; until then its inserts fail and are logged to errors.gen_errors. It must be able to INSERT into the four tables and SELECT from tests, environments and flags; check SHOW GRANTS for its user, and grant by hand (or with the fortesting migrations) what is missing. Authored with the help of an AI assistant (Claude).
georgehong
added a commit
to pytorch/test-infra
that referenced
this pull request
Oct 6, 2026
Each pytorch test job uploads one zip of JSONL test run reports when it ends, as test-run-reports-<suffix>.report.zip (pytorch/pytorch#199838). Route those keys to a new adapter that has ClickHouse read the zip and insert into the fortesting.{tests,environments,flags,runs} tables. TEST_RUN_REPORTS_MODE gates it: off, dry (count what each statement would insert, write nothing), or on (the default, while only the DNM pytorch/pytorch#199844 uploads these zips); the function's environment can override it. The S3 notification for the zips is a separate pytorch-gha-infra change. TODO: update the replicator's ClickHouse grants if needed; until then its inserts fail and are logged to errors.gen_errors. It must be able to INSERT into the four tables and SELECT from tests, environments and flags; check SHOW GRANTS for its user, and grant by hand (or with the fortesting migrations) what is missing. Authored with the help of an AI assistant (Claude).
georgehong
added a commit
to pytorch/test-infra
that referenced
this pull request
Oct 6, 2026
Each pytorch test job uploads one zip of JSONL test run reports when it ends, as test-run-reports-<suffix>.report.zip (pytorch/pytorch#199838). Route those keys to a new adapter that has ClickHouse read the zip and insert into the fortesting.{tests,environments,flags,runs} tables. TEST_RUN_REPORTS_MODE gates it: off, dry (count what each statement would insert, write nothing), or on (the default, while only the DNM pytorch/pytorch#199844 uploads these zips); the function's environment can override it. The S3 notification for the zips is a separate pytorch-gha-infra change. TODO: update the replicator's ClickHouse grants if needed; until then its inserts fail and are logged to errors.gen_errors. It must be able to INSERT into the four tables and SELECT from tests, environments and flags; check SHOW GRANTS for its user, and grant by hand (or with the fortesting migrations) what is missing. Authored with the help of an AI assistant (Claude).
georgehong
added a commit
to pytorch/test-infra
that referenced
this pull request
Oct 6, 2026
Each pytorch test job uploads one zip of JSONL test run reports when it ends, as test-run-reports-<suffix>.report.zip (pytorch/pytorch#199838). Route those keys to a new adapter that has ClickHouse read the zip and insert into the fortesting.{tests,environments,flags,runs} tables. Until the reports carry their uuid, runs.report_uuid is taken from each report's file name. TEST_RUN_REPORTS_MODE gates it: off, dry (count what each statement would insert, write nothing), or on (the default, while only the DNM pytorch/pytorch#199844 uploads these zips); the function's environment can override it. The S3 notification for the zips is a separate pytorch-gha-infra change. TODO: update the replicator's ClickHouse grants if needed; until then its inserts fail and are logged to errors.gen_errors. It must be able to INSERT into the four tables and SELECT from tests, environments and flags; check SHOW GRANTS for its user, and grant by hand (or with the fortesting migrations) what is missing. Authored with the help of an AI assistant (Claude).
georgehong
added a commit
to pytorch/test-infra
that referenced
this pull request
Oct 6, 2026
Each pytorch test job uploads one zip of JSONL test run reports when it ends, as test-run-reports-<suffix>.report.zip (pytorch/pytorch#199838). Route those keys to a new adapter that has ClickHouse read the zip and insert into the fortesting.{tests,environments,flags,runs} tables. Until the reports carry their uuid, runs.report_uuid is taken from each report's file name. runs' ids are the catalogs' own id DEFAULTs, read from system.columns at ingest, so the lambda holds no id logic; language comes from each run line. TEST_RUN_REPORTS_MODE gates it: off, dry (count what each statement would insert, write nothing), or on (the default, while only the DNM pytorch/pytorch#199844 uploads these zips); the function's environment can override it. The S3 notification for the zips is a separate pytorch-gha-infra change. TODO: update the replicator's ClickHouse grants if needed; until then its inserts fail and are logged to errors.gen_errors. It must be able to INSERT into the four tables and SELECT from tests, environments and flags; check SHOW GRANTS for its user, and grant by hand (or with the fortesting migrations) what is missing. Authored with the help of an AI assistant (Claude).
georgehong
added a commit
to pytorch/test-infra
that referenced
this pull request
Oct 6, 2026
Each pytorch test job uploads one zip of JSONL test run reports when it ends, as test-run-reports-<suffix>.report.zip (pytorch/pytorch#199838). Route those keys to a new adapter that has ClickHouse read the zip and insert into the fortesting.{tests,environments,flags,runs} tables. Until the reports carry their uuid, runs.report_uuid is taken from each report's file name. runs' ids are the catalogs' own id DEFAULTs, read from system.columns at ingest, so the lambda holds no id logic; language comes from each run line. TEST_RUN_REPORTS_MODE gates it: off, dry (count what each statement would insert, write nothing), or on (the default, while only the DNM pytorch/pytorch#199844 uploads these zips); the function's environment can override it. The S3 notification for the zips is a separate pytorch-gha-infra change. TODO: update the replicator's ClickHouse grants if needed; until then its inserts fail and are logged to errors.gen_errors. It must be able to INSERT into the four tables and SELECT from tests, environments and flags; check SHOW GRANTS for its user, and grant by hand (or with the fortesting migrations) what is missing. Authored with the help of an AI assistant (Claude).
georgehong
added a commit
to pytorch/test-infra
that referenced
this pull request
Oct 6, 2026
Each pytorch test job uploads one zip of JSONL test run reports when it ends, as test-run-reports-<suffix>.report.zip (pytorch/pytorch#199838). Route those keys to a new adapter that has ClickHouse read the zip and insert into the fortesting.{tests,environments,flags,runs} tables. Until the reports carry their uuid, runs.report_uuid is taken from each report's file name. runs' ids are the catalogs' own id DEFAULTs, read from system.columns at ingest, so the lambda holds no id logic; language comes from each run line. TEST_RUN_REPORTS_MODE gates it: off, dry (count what each statement would insert, write nothing), or on (the default, while only the DNM pytorch/pytorch#199844 uploads these zips); the function's environment can override it. The S3 notification for the zips is a separate pytorch-gha-infra change. TODO: update the replicator's ClickHouse grants if needed; until then its inserts fail and are logged to errors.gen_errors. It must be able to INSERT into the four tables and SELECT from tests, environments and flags; check SHOW GRANTS for its user, and grant by hand (or with the fortesting migrations) what is missing. Authored with the help of an AI assistant (Claude).
georgehong
added a commit
that referenced
this pull request
Oct 7, 2026
Only for checking #199838 on Linux: _linux-test.yml takes upload-test-artifacts from main (a full path, since local actions fail in its container jobs), so a PR's Linux jobs never run that PR's copy of the action. Pointing it at #199838's ghstack branch makes this PR's Linux jobs zip and upload test-run-reports-<suffix>.zip to S3. Close this PR after checking; it is not meant to land. Test Plan: ``` python -c "import yaml; yaml.safe_load(open('.github/workflows/_linux-test.yml'))" spin lint ``` Authored with the help of an AI assistant (Claude). ghstack-source-id: 3fb0f4f Pull-Request: #199844
georgehong
added a commit
that referenced
this pull request
Oct 7, 2026
_linux-test.yml takes its actions from pytorch/pytorch@main, so a PR's Linux test jobs never run the PR's upload-test-artifacts. This points them at #200026's ghstack branch, so Linux jobs zip and upload test/torchci-reports. It points all of them, not just upload-test-artifacts: a second pytorch tarball for one action ran the runner out of memory during setup on #199844. Close after checking; not meant to land. Test Plan: ``` python -c "import yaml; yaml.safe_load(open('.github/workflows/_linux-test.yml'))" ``` Authored with the help of an AI assistant (Claude). ghstack-source-id: 405afa0 Pull-Request: #200027
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
Only for checking the previous PR on Linux: _linux-test.yml takes
upload-test-artifacts from main, so a PR's Linux jobs never run that PR's copy
of the action. Pointing it at the local copy makes this PR's Linux jobs zip and
upload test-run-reports-.zip to S3. Close this PR after checking; it is
not meant to land.
Test Plan:
Authored with the help of an AI assistant (Claude).