Fix log-format reporter ignoring install errors#25961
Merged
haampie merged 2 commits intospack:developfrom Nov 9, 2021
Merged
Conversation
cbf0fbd to
3d9e5e7
Compare
Member
|
Thanks for fixing this 4-digit issue number 😅 Can you also fix the TODO's from the failing tests: |
2ccf66a to
aaab317
Compare
Contributor
|
@Jordan474 ping for question by haampie:
|
Contributor
Author
|
@haampie @bernhardkaindl Yes, this fixed the |
haampie
previously approved these changes
Nov 9, 2021
Member
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
added 2 commits
November 9, 2021 13:39
When running `spack install --log-format junit|cdash ...`, install errors were ignored. This made spack continue building dependents of failed install, ignoring `--fail-fast`, and exit 0 at the end. Fixes spack#5378
Now that spack install --log-format properly reports failure (just like when we are not using a --log-format), tests must be fixed.
aaab317 to
acf2b23
Compare
Member
|
Rebased it to avoid a lot of redundant recompilation in gitlab |
haampie
approved these changes
Nov 9, 2021
haampie
pushed a commit
that referenced
this pull request
Nov 9, 2021
When running `spack install --log-format junit|cdash ...`, install errors were ignored. This made spack continue building dependents of failed install, ignoring `--fail-fast`, and exit 0 at the end.
haampie
pushed a commit
that referenced
this pull request
Nov 16, 2021
When running `spack install --log-format junit|cdash ...`, install errors were ignored. This made spack continue building dependents of failed install, ignoring `--fail-fast`, and exit 0 at the end.
alalazo
pushed a commit
that referenced
this pull request
Dec 23, 2021
When running `spack install --log-format junit|cdash ...`, install errors were ignored. This made spack continue building dependents of failed install, ignoring `--fail-fast`, and exit 0 at the end.
capitalaslash
pushed a commit
to capitalaslash/spack
that referenced
this pull request
Aug 30, 2022
When running `spack install --log-format junit|cdash ...`, install errors were ignored. This made spack continue building dependents of failed install, ignoring `--fail-fast`, and exit 0 at the end.
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.
When running
spack install --log-format junit|cdash ..., install errors were ignored. This made spack continue building dependents of failed install, ignoring--fail-fast, and exit 0 at the end.I found it was the
InfoCollectorclass not forwarding exceptions after gathering them for report.Slight behavior change: (but for the best) because dependents of a failed install are now correctly skipped (like without
--log-format), they might not be reported the same as before in the report file (skipped build is not an error).Fixes #5378