add error regexp for PyTorch tests run in subprocess and enhance error message #3003
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.
(created using
eb --new-pr)When pytorch runs tests in subprocess (added in 1.2.0) the output will look like:
This adds an error-counting regexp for this for use in e.g. easybuilders/easybuild-easyconfigs#18424
I also enhanced the extra log part when we have found failing test suites with the generic regexp but those don't match those we found using the specific regexps, that also count individual failures.
Previous output was like:
New output should be:
Note the de-duplication.
In extension I added a list of suites to the bottom of this list for which it is the other way round: Not counted in the generic regexp but by individual ones.
Should help with easier identifications of issues with the EasyBlock