-
Notifications
You must be signed in to change notification settings - Fork 193
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
easybuild (2.9.0) #289
Comments
@koomie lt me know if you need any help with this, I'll do what I can! |
I'm interested too -- especially with the new VSC components |
fyi: EasyBuild v2.9.0 was released just now... |
Has anything changed since v2.8 regarding the various VSC dependencies? I remember previously vsc-install was a new dependency but didn’t have a release at the time -- looks like there have been two releases now. From: Kenneth Hoste [mailto:[email protected]] fyi: EasyBuild v2.9.0 was released just now... — |
@JohnWestlund The They have been for a while, see for example https://github.com/hpcugent/easybuild-easyconfigs/blob/develop/easybuild/easyconfigs/e/EasyBuild/EasyBuild-2.8.1.eb . |
@boegel, are the authoritative sources for source at pypi.python.org? The reason I ask is that the URLs used to be intuitively organized by version number. This made .spec file management trivial - for example:
The newer versions look to have switched to a sha or equivalent, so it's more cumbersome.
Are the tagged GitHub releases equivalent, such that we could pull from them instead? |
@koomie for the Just to make it clear: we didn't decide to go with the new style URLs including hashes on PyPI, see https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package. I'm not happy with that change at all myself (in EasyBuild, we added a workaround, cfr. easybuilders/easybuild-framework#1749). One thing worth considering is to grab the packages from PyPI Warehouse, see for example https://pypi.io/packages/source/e/easybuild-framework/easybuild-framework-2.9.0.tar.gz . Althogh pypi,io isn't production yet, it should be soon, and it should work fine already... |
@boegel, thanks for the pointer to the PyPI Warehouse. I am able to grab all the latest src from there using the versioned path. That's quite the lovely schema they changed to on PyPI... |
Hi @boegel. We're getting all VSC dependencies in OBS now, but the build fails in STAGE 2. I'm having trouble dumping the build log. Does the error at https://build.openhpc.community/package/live_build_log/OpenHPC:1.2:Factory/easybuild/SLE_12_SP1/x86_64 give you any hints? |
@crbaird Please try in an environment where Also, the bootstrap script got a minor update recently (cfr. easybuilders/easybuild-framework#1944), it's probably wise to update your copy by redownloading it (from https://raw.githubusercontent.com/hpcugent/easybuild-framework/develop/easybuild/scripts/bootstrap_eb.py). Another more substantial update to the bootstrap script is in the works, cfr. easybuilders/easybuild-framework#1946, but that needs to get more testing first. Let me know what I can do to help out! |
Perfect, @boegel. Thanks for the pointers. |
@crbaird I backported the change you've made to the bootstrap script in our upstream version (which has had several updates since your fork as well), see easybuilders/easybuild-framework#1955 . Once we also get the enhancement in easybuilders/easybuild-framework#1946 merged, I'd like to sync the OpenHPC fork of the bootstrap script with the upstream version (doesn't have to be for the 1.2 milestone, the actual EasyBuild installation you end up with should be the same). What's the best way to propose this change? Should I just issue a PR to this repo here, and if so, to which branch? |
@boegel A PR to the 1.2 branch would be just fine. Once the PR is merged an OBS build will automatically launch, and we can just keep working any problems on this issue. |
@crbaird that sounds like you're bootstrapping EasyBuild in an environment where the Can you try with |
No, the bootstrap happens in a brand new VM without any predefined EB stuff. In any case, unsetting MODULEPATH didn't seem to help. |
@crbaird just took a look at the log, this is weird... Does the log also include output to This bit especially suggests that EasyBuild is installed:
But the (debug) output for stage2 is certainly incomplete... Is there a way to tell which |
Yep stderr should show up in that log, and any command that returns non-zero should cause the whole build to fail. The EASYBUILD_* vars can be seen in the spec file just above the bootstrap: |
@crbaird I'm still not entirely sure why the bootstrap is utterly failing for you... Can you try and see whether also defining Is there any way I can play around with this myself in the ohpc build environment? |
That definitely produced some more debug, but not a ton in stage2: We should be able to set you up an account on OBS. Give me just a moment. |
@crbaird Another thing to try is bump A bug was fixed in That should be fixed in vsc-base 2.5.4 too though, which is what you're using here, but it doesn't hurt to try... |
@crbaird I think I found the issue... The option parser used by EasyBuild picks up all The problem in this setting is that |
@crbaird As you figured out already, Maybe it's a good idea to make it clear that Alternatively, the patch could use In any case, it doesn't matter too much, since this particular patch is already backported, and will be part of the next EasyBuild release, so the spec will need to be reworked to remove the patch when EasyBuild is being updated (hence my suggestion to make it clear why defining |
@boegel Yeah I think a comment in the spec regarding EB_VERSION is appropriate. Is it clear to you why the bootstrap would try to install setuptools? |
@crbaird In the mean time, I realised the exact problem with defining It's actually behaving as intended. Each So, I'm not sure what to do with this... |
Tests passing in CI. Thanks, @boegel. |
Just wanted to also say thanks to @boegel for helping us with a fix today. This will make it into the next OpenHPC release this week.... |
Happy to help! I hope I'll be able to just send you guys a PR for the next EasyBuild release... Is there some kind of integration testing in place for EasyBuild in OpenHPC BTW? |
The current integration tests are quite limited in scope. We check to see that the RPM is installed by the setup recipe, that the EasyBuild module works, and that the eb binary is accessible and functioning. Unfortunately we can't guarantee the test environment will have network access to download and build an easyconfig, but we would appreciate help in making the tests more meaningful. You can see the current tests ohpc/tests/dev-tools/easybuild and the results are in the long cycle tests at http://ohpc2.tacc.utexas.edu:8080/ |
Available at:
https://pypi.io/packages/source/e/easybuild-easyblocks/easybuild-easyblocks-2.9.0.tar.gz
https://pypi.io/packages/source/e/easybuild-easyconfigs/easybuild-easyconfigs-2.9.0.tar.gz
https://pypi.io/packages/source/e/easybuild-framework/easybuild-framework-2.9.0.tar.gz
https://pypi.io/packages/source/v/vsc-base/vsc-base-2.5.4.tar.gz
The text was updated successfully, but these errors were encountered: