Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating regex logic for build autotriager #3576

Merged

Conversation

adamfarley
Copy link
Contributor

Adds the logic and list of regexes that are used to determine the likely cause of a build's failure/aborted state.

Also identifies the likely cause of each failure, as well as whether it could have been prevented, and presents that information in a new git issue.

Example run here: https://github.com/adamfarley/temurin-build/actions/runs/7195461176

Example issue here: adamfarley#35

Resolves #3521

As well as the logic to handle them, and some useful metadata.

Also added some temporary git action logic to aid debugging. Will
remove prior to the merge.

Signed-off-by: Adam Farley <[email protected]>
As the regex also matches several warnings that are present in
successful builds, so we stop trying to match errors before reaching
the actual cause of failure.

Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
@adamfarley adamfarley self-assigned this Dec 14, 2023
@github-actions github-actions bot added the documentation Issues that request updates to our documentation label Dec 14, 2023
@adamfarley adamfarley mentioned this pull request Dec 14, 2023
10 tasks
@adamfarley
Copy link
Contributor Author

adamfarley commented Dec 14, 2023

Resolving the linter failures now.
Update: Resolved.

@adamfarley
Copy link
Contributor Author

The build failures cannot be related to this change because the build auto-triage scripts are not part of the build process.

@adamfarley adamfarley enabled auto-merge (squash) December 15, 2023 11:31
Copy link
Contributor

@steelhead31 steelhead31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Though I won't add jdk23 because I'm not seeing a jdk23
pipeline yet.

Signed-off-by: Adam Farley <[email protected]>
So peoples' personal repos don't get filled with triage issues.

Re-added the push logic to test.

Signed-off-by: Adam Farley <[email protected]>
Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving based on the demo last week and the runs listed in the description which seemed to work. I have no done a full review of the code, but that can be revised later

@adamfarley adamfarley merged commit 1390320 into adoptium:master Dec 22, 2023
19 of 23 checks passed
@karianna karianna mentioned this pull request Jan 8, 2024
@adamfarley adamfarley deleted the creating_regex_logic_for_build_autotriager branch July 10, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues that request updates to our documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Weekly build triage - Automation
3 participants