-
Notifications
You must be signed in to change notification settings - Fork 203
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
Test failure of EB 2.7.0 #1685
Comments
@jhein32 There's a new requirement in the tests, i.e. that However, since you're loading the Do you have anything particular in your |
On 21 Mar 2016, at 23:08, Kenneth Hoste <notifications@github.commailto:notifications@github.com> wrote: @jhein32https://github.com/jhein32 There's a new requirement in the tests, i.e. that eb is available through $PATH (that wasn't needed before to make the tests pass). However, since you're loading the EasyBuild module, you have eb available through $PATH in this session, right? eb was available. I could issue the commands at the prompt and they succeeded. Do you have anything particular in your .bashrc that may be getting in the way? These tests use run_cmd to run eb, which is done in a subshell... I don’t think there is anything particular in my .bashrc or similar. Are these the only tests running the eb command via “run_cmd”? Joachim — |
@jhein32 Please try applying the simple patch from https://github.com/hpcugent/easybuild-framework/pull/1702/files, which should resolve the problem with |
Hi, I finally managed to test this (sorry that it took time) and, unless I made a mistake, this does not seem to resolve the issue :( I hand edited the file Please let me know how you like to proceed. Best wishes |
Hi Kenneth, I finally tried it but it doesn’t appear to fix the issue. I added info to the ticket on github, in the hope that would reopen the issue, but seem not. Please let me know if you’d like to continue working on this. Best wishes On 28 Mar 2016, at 19:56, Kenneth Hoste <notifications@github.commailto:notifications@github.com> wrote: @jhein32https://github.com/jhein32 Please try applying the simple patch from https://github.com/hpcugent/easybuild-framework/pull/1702/files, which should resolve the problem with eb when running the tests. — |
@jhein32 Hmm, that's weird... Can you make sure you edited the correct file, by running this:
To retest, you can also just run the |
@jhein32 any updates on this? |
Hi Kenneth, I replied by email on 12 April (did you get this?), that your command indicates it is using the updated file. Not sure how to take this further. Should I just wait for EB 2.8.0 being released and check the issue is still present? Best wishes |
@jhein32 seems like I didn't get that message, indeed... (it also doesn't appear here in the issue) If Can you copy-paste the exact series of commands you're executing? Maybe run Please also see if you still have the problem when using |
Hi Kenneth, Best wishes |
@jhein32 OK, that's weird, because I tried to reproduce this on a system where EasyBuild is only available via a module file, and I couldn't get it to fail like it does for you. So, I'd love to get more info on this, when you can find the time. |
Hi Kenneth I did a fresh login. The commands I executed and the output I get is as follows:
|
As you suggest, on the grep I get nothing:
|
So your third question - I get:
I checked my environment for the presence of the
which is what I expect it to be. |
If it is import, the machine is centos7 |
One more thing: even if I do not load the lmod module the test still fails. |
@jhein32 Thank you for all the details... The only thing I can think of is that you have the EasyBuild module installed in a module hierarchy, i.e. as I'll try and see if I can reproduce this. Do you mind sharing the configuration in place when you install/bootstrap EasyBuild (e.g. |
OK, so it has nothing to do with the module being in
Anything special in your |
ie. in other words: try it in another account with totally clean .bashrc On 26 May 2016 at 20:04, Kenneth Hoste notifications@github.com wrote:
echo "sysadmin know better bash than english"|sed s/min/mins/ |
The account doesn't have a .bashrc It is a shared account, which we use for building software. Is there code we could insert in the spirit of printf debugging? If so, please send "git-free" instructions, e.g. copy paste. |
@jhein32: I'm a bit flabbergasted, not sure what is going on here... I'll look into a bash script & accompanying Python file that hooks into the test framework for you to run, which will spit out a bunch of information that may help in pinpointing the problem. I need to think about what info to collect though, since I'm sort of running out of ideas here... :) |
@jhein32: please try source the bash script provided in https://gist.github.com/boegel/e672acd9f3ae0f3b4963cc1e326e4ef6, after copying the Python script provided in the same gist to |
@jhein32 Thank you for providing the output from the script off-issue. I'm now also able to reproduce your problem... I'm not exactly sure yet what's going on, but I'll figure it out, and keep you posted. |
OK, finally got this figured out... The problem occurs because you're installing EasyBuild in a hierarchical module naming scheme (e.g. During the setup of each tests, EasyBuild takes control over When it runs That explains why I'm not sure yet how to fix this, but it's only a problem with the tests themselves, not with your EasyBuild installation. @jhein32 does this help for now? |
Ah, being able to reproduce the issue is something. Please keep me posted. Best wishes On 02 Jun 2016, at 13:38, Kenneth Hoste <notifications@github.commailto:notifications@github.com> wrote: @jhein32https://github.com/jhein32 Thank you for providing the output from the script off-issue. I'm now also able to reproduce your problem... I'm not exactly sure yet what's going on, but I'll figure it out, and keep you posted. — |
Hi Kenneth, Didn't notice your second response first time round. For sure am I ok with the current situation. In particular since knowing there is no real issue. I am still trying to get my head around things. What I remember from installing EB, is that Lmod and EB "naturally" go into their own modules. As far as I remember having hierarchical modules is the "non-default" we have. Should we have done things differently? I am not sure the is could be changed easily now, since the service is in production. Thanks for your time on this. Best wishes |
Going with hierarchical modules or not is a decision you shouldn't take lightly, but it should work; the people at JSC (@ocaisa, @damianam) are using a setup like that in production, and seem quite happy with it. At HPC-UGent we're still using a flat module tree, but once we have Lmod in production, we might reconsider that. The good thing about using EasyBuild is that it will at some point allow to maintain two (or more) module trees (that are potentially very different) side-by-side, with very little effort. Bugs do pop up sometimes (like this one), but also not related to hierarchical modules. I will try and get this minor issue resolved by the next release, but I need to think about the right way to tackle it. It'll probably involve making sure that we record the location where EasyBuild is available ( |
should be fixed with #1806 |
Hi,
does not produce errors. I assume this can now be closed. |
@jhein32 great, thanks for the feedback! |
HI Kenneth,
Following your message I upgraded our cluster to EB 2.7.0 and got a few failures. If I understand the errors correctly, this one is strange. If I do eb --list-toolchains and eb --avail-module-naming-schemes on the command line, the commands behave "normal".
Here is a screenshot from the test:
Thanks for looking.
Best wishes
Joachim
The text was updated successfully, but these errors were encountered: