Hi Riccardo,

You were hitting a bug in EasyBuild v2.8.0 that is triggered under particular circumstances (i.e. having the same location listed in $MODULEPATH twice, under two different names (one via a symlink)), see https://github.com/hpcugent/easybuild-framework/issues/1775.


The problem was fixed in EasyBuild v2.8.1 (cfr. https://github.com/hpcugent/easybuild-framework/pull/1776).

The generated module is fine though, it's safe for consumption. ;-)


regards,

Kenneth

On 18/07/16 15:17, Riccardo Murri wrote:
Hello,

I am trying to update EB from version 2.8.0 to 2.8.2, but I'm getting
this traceback at the very end of the process::

     $ ./eb.sh --from-pr 3341
     == temporary log file in case of crash 
/scratch/rmurri/eb-R5UYpP/easybuild-YZ7dBc.log
     == resolving dependencies ...
     == processing EasyBuild easyconfig 
/scratch/rmurri/eb-R5UYpP/files_pr3341/EasyBuild/EasyBuild-2.8.2.eb
     == building and installing EasyBuild/2.8.2...
     == fetching files...
     == creating build dir, resetting environment...
     == unpacking...
     == patching...
     == preparing...
     == configuring...
     == building...
     == testing...
     == installing...
     == taking care of extensions...
     == postprocessing...
     == sanity checking...
     == cleaning up...
     == creating module...
     ERROR: Traceback (most recent call last):
       File 
"/net/nfs4/nfs.hydra/apps/redhatenterpriseserver-7.1-x86_64/software/EasyBuild/2.8.0/lib/python2.7/site-packages/easybuild_framework-2.8.0-py2.7.egg/easybuild/main.py",
 line 114, in build_and_install_software
         (ec_res['success'], app_log, err) = build_and_install_one(ec, init_env)
       File 
"/apps/redhatenterpriseserver-7.2-x86_64/software/EasyBuild/2.8.0/lib/python2.7/site-packages/easybuild_framework-2.8.0-py2.7.egg/easybuild/framework/easyblock.py",
 line 2358, in build_and_install_one
         result = app.run_all_steps(run_test_cases=run_test_cases)
       File 
"/apps/redhatenterpriseserver-7.2-x86_64/software/EasyBuild/2.8.0/lib/python2.7/site-packages/easybuild_framework-2.8.0-py2.7.egg/easybuild/framework/easyblock.py",
 line 2274, in run_all_steps
         self.run_step(step_name, step_methods)
       File 
"/apps/redhatenterpriseserver-7.2-x86_64/software/EasyBuild/2.8.0/lib/python2.7/site-packages/easybuild_framework-2.8.0-py2.7.egg/easybuild/framework/easyblock.py",
 line 2153, in run_step
         step_method(self)()
       File 
"/apps/redhatenterpriseserver-7.2-x86_64/software/EasyBuild/2.8.0/lib/python2.7/site-packages/easybuild_easyblocks-2.8.0-py2.7.egg/easybuild/easyblocks/e/easybuildmeta.py",
 line 213, in make_module_step
         modpath = super(EB_EasyBuildMeta, self).make_module_step(fake=fake)
       File 
"/apps/redhatenterpriseserver-7.2-x86_64/software/EasyBuild/2.8.0/lib/python2.7/site-packages/easybuild_framework-2.8.0-py2.7.egg/easybuild/framework/easyblock.py",
 line 2005, in make_module_step
         invalidate_module_caches_for(path)
       File 
"/apps/redhatenterpriseserver-7.2-x86_64/software/EasyBuild/2.8.0/lib/python2.7/site-packages/easybuild_framework-2.8.0-py2.7.egg/easybuild/tools/modules.py",
 line 1150, in invalidate_module_caches_for
         key, subcmd, path, cache[key])
     KeyError: 
('MODULEPATH=/net/nfs4/nfs.hydra/apps/redhatenterpriseserver-7.1-x86_64/modules/all:/apps/redhatenterpriseserver-7.1-x86_64/modules/all:/apps/etc/modules/stage2:/apps/etc/modules/stage1',
 'lmod', '--show_hidden')

However, the module file *is* generated and I can successfully load it.

Any clues as to what is happening?

Ciao,
R

Reply via email to