-
Notifications
You must be signed in to change notification settings - Fork 283
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
improve Bazel easyblock: add support for running tests, enable static linking, use build dir rather than tmpdir, verbose output #2285
improve Bazel easyblock: add support for running tests, enable static linking, use build dir rather than tmpdir, verbose output #2285
Conversation
This comment has been minimized.
This comment has been minimized.
@boegel Did someone broke the CI? I didn't touch mothur |
3af6dac
to
456f549
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
PR fixing only the test issues: #2287 |
754bf32
to
8fdcf25
Compare
Test report by @Flamefire Overview of tested easyconfigs (in order)
Build succeeded for 11 out of 11 (10 easyconfigs in total) |
@boegel ping, this is required for TF 2.4 (tests at least). I believe all requests have been met and I tested with 10 existing Bazel ECs |
Test report by @lexming Overview of tested easyconfigs (in order)
Build succeeded for 2 out of 3 (3 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.
@Flamefire tests with old easyconfigs fail for unrelated reasons to your PR. However, I think that we could also fix those in here. The reason of the failed tests is that the bootstrap script (scripts/bootstrap/compile.sh
) extracts .jar
files with unzip
and that fails for older versions with the error
error: invalid zip file with overlapped components (possible zip bomb)
The solution is to extract those .jar
files with the jar
command. I made a patch that fixes this issue and that can be applied to all current easyconfigs of Bazel in EB. See lexming/easybuild-easyconfigs@b22b750
Since the patch applies to all versions, could you update this PR to apply those changes to the bootstrap script?
Well, I'd rather not. First because the affected ECs are old and going forward this fix will become irrelevant (GCC 7.3 is 2018 or 2017? So at least 3 generations behind) and second as it works for "most" versions and is fixed in more recent versions I'd say this is a plain bug in a few versions and hence exactly what patches are for. So I'd say it is better to update older ECs (if required) to include your patch. It is also questionable if those versions are even still required. From your report I see 0.16 failing but 0.18 working and both in the same TC generation, so likely the latter can already be used without any problems. |
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
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 13 out of 13 (13 easyconfigs in total) |
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 13 out of 13 (13 easyconfigs in total) |
(created using
eb --new-pr
)Supersedes, closes #2272
This improves the Bazel EasyBlock in various areas:
Can be tested with easybuilders/easybuild-easyconfigs#11894