10 Commits

Author SHA1 Message Date
Aiden Grossman
7d5af16245
[CI] Enable Build Failure Reporting
This patch finishes up the plumbing so that generate_test_report will dump build
failures into the Github checks summary.

Reviewers: Keenuts, lnihlen, dschuff, gburgessiv, cmtice, DavidSpickett

Reviewed By: cmtice, DavidSpickett

Pull Request: https://github.com/llvm/llvm-project/pull/152622
2025-08-08 09:44:59 -07:00
Aiden Grossman
869bce23fd
[CI] Setup generate_report to describe ninja failures
This patch makes it so that generate_report will add information about
failed build actions to the summary report. This makes it significantly
easier to find compilation failures, especially given we run ninja with
-k 0.

This patch only does the integration into generate_report (along with
testing). Actual utilization in the script is split into a separate
patch to try and keep things clean.

Reviewers: dschuff, cmtice, DavidSpickett, Keenuts, lnihlen, gburgessiv

Reviewed By: cmtice, DavidSpickett

Pull Request: https://github.com/llvm/llvm-project/pull/152621
2025-08-08 09:44:04 -07:00
Aiden Grossman
83dd7d97bd
[CI] Add Support for Parsing Ninja Logs to generate_test_report_lib
This patch adds in support for taking the CLI output from ninja and
parsing it for failures. This is intended to be used in the cases where
all tests pass (or none have run), but the build fails to easily surface
where exactly the build failed.

The actual integration will happen in a future patch.

Reviewers: gburgessiv, dschuff, lnihlen, DavidSpickett, Keenuts, cmtice

Reviewed By: DavidSpickett, cmtice

Pull Request: https://github.com/llvm/llvm-project/pull/152620
2025-08-08 08:42:25 -07:00
Aiden Grossman
498aeada7b
[CI] Generate Test Report With No Test Results
This patch makes it so that generate_test_report_github.py generates a
test report even when we don't get any test results. This otherwise
created a pretty confusing user experience on the Github side if the
build failed before any tests ran or in cases like running check-libc
where none of the tests are run through lit.

Reviewers: lnihlen, cmtice

Pull Request: https://github.com/llvm/llvm-project/pull/147871
2025-07-10 06:41:37 -07:00
Aiden Grossman
1469c339f2
[CI] Remove Style from generate_test_report_lib
This is another Buildkite relic that we can get rid of now to simplify
things a bit.

Reviewers: cmtice, DavidSpickett, lnihlen

Reviewed By: DavidSpickett

Pull Request: https://github.com/llvm/llvm-project/pull/147791
2025-07-10 06:29:18 -07:00
Aiden Grossman
2877d80155
[CI] Remove Remaining Buildkite References in generate_test_report_lib
This patch removes the buildkite_info object from
generate_test_report_lib as we no longer support buildkite so it is dead
code now. Eventually we should set up equivalent functionality on the
Github side for downloading the logs from a convenient link, but for now
clean up the code.

Reviewers: cmtice, DavidSpickett, lnihlen

Reviewed By: DavidSpickett

Pull Request: https://github.com/llvm/llvm-project/pull/147784
2025-07-10 06:28:07 -07:00
Aiden Grossman
466720960b
[CI] Add link to issue tracker upon job failures (#140817)
The premerge system will fail somewhat often due to issues unrelated to
the patch being tested. This patch adds a link within the long form
outputs to the issue tracker prompting users to open an issue if they
see flakes/soemthing broken at HEAD/anything else wrong.
2025-05-22 01:12:11 -07:00
Aiden Grossman
de3e8fff20 [NFC][CI] Reformat python files
Looks like some of these were not properly formatted at some point. This
patch reformats these files so that future diffs are cleaner when
running the formatter over the whole file.
2025-05-20 21:52:33 +00:00
David Spickett
d9cfd90524 [ci] Improve wording in CI test reports
We weren't saying where to click, make it clear you click on a
test name.
2025-04-10 09:20:13 +00:00
Aiden Grossman
2fb53f59c1
[CI] Refactor generate_test_report script
This patch refactors the generate_test_report script, namely turning it
into a proper library, and pulling the script/unittests out into
separate files, as is standard with most python scripts. The main
purpose of this is to enable reusing the library for the new Github
premerge.

Reviewers: tstellar, DavidSpickett, Keenuts, lnihlen

Reviewed By: DavidSpickett

Pull Request: https://github.com/llvm/llvm-project/pull/133196
2025-03-27 12:59:43 -07:00