-
Notifications
You must be signed in to change notification settings - Fork 284
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
Explicitely mention that the PyTorch easyblock needs updating when failing for this reason #3255
Explicitely mention that the PyTorch easyblock needs updating when failing for this reason #3255
Conversation
@casparvl I updated the EasyBlock after the discussion at #3255 (comment) I also noticed and fixed 2 things:
I moved the detection of "uncounted suites" into the parser function such that we can test it (manually). |
…iling for this reason
Differentiate between "outdated" EasyBlock and tests terminated by a signal
cae8f4e
to
20b60c3
Compare
Can this be merged? Working on this easyblock again and want to avoid conflicts and potentially use the improvements from here |
Easier to search for test by name
We have 3 error cases: 1. Some suites were terminated and hence don't have proper test output we can use 2. Unexpected output format not parsed correctly or missed. Maybe some terminated suites but the major point is that we need an EasyBlock update for the former. 3. We parsed more suites than the PyTorch summary output showed. Likely a bug in the EasyBlock being to greedy. Diffrentiate those cases to not show a wrong message.
Test report by @Flamefire Overview of tested easyconfigs (in order)
Build succeeded for 0 out of 1 (1 easyconfigs in total) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Flamefire do you want to change anything else or should we merge as is? The failed test report came in while I was reviewing :-) |
It is not given that the test output parsing code is the issue. There is no reasonable output if the test failed to start at all, e.g. due to syntax errors.
I added some further polishing, yes. It can be merged now. The test report was for an EasyConfig I made to run in ~40 minutes and fail some suites in different ways. It was meant to show the new output:
I updated that slightly because the missing tests are those that failed to start at all. In the (current) log this shows up as:
So without the last commit there is a discrepancy: It shows (in this case correctly) that the tests failed to run properly but also that the test parsing needs updating which is not the case here: It needs a patch to fix the test. Usually this specific issue is caused by us applying a patch from a previous version that breaks the current version. So I toned it down a bit. I hope it is clear enough now :-/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still LGTM
Going in, thanks @Flamefire! |
(created using
eb --new-pr
)See easybuilders/easybuild-easyconfigs#19666 (comment) for the motivation