Hello,

I have encountered this error in the past with several other packages. I 
couldn't figure out how to solve this error. It is strange because it works for 
some of my builds and fails for others. I was running these builds from Jenkins 
and it failed so I tried this via command line and got the same error. Before 
running any build, in my .bashrc I have the following.

[hpcswadm@amrndhl1157 intel]$ cat ~/.bashrc
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
                . /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging 
feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions
source /nfs/grid/software/testing-HMNS.sh


export EASYBUILD_MODULE_SYNTAX=Lua

export EASYBUILD_DRY_RUN=False

export EASYBUILD_REBUILD=False

export EASYBUILD_PACKAGE=False

export EASYBUILD_MODULE_ONLY=False

export EASYBUILD_PACKAGE_RELEASE=2


export EASYBUILD_MODULE_NAMING_SCHEME=HierarchicalMNS

export 
EASYBUILD_HIDE_DEPS="M4,Bison,flex,zlib,GCCcore,binutils,icc,ifort,ncurses,Szip,iimpi,iccifort,gompi,foss,gcccuda,ncurses,bzip2,libreadline,SQLite,Tk,Tcl,libffi,Autoconf,Automake,libtool,Autotools,gompic,goolfc,libgtextutils,ncurses,gettext,libxml2,XZ,libpng,LibTIFF,NASM,cURL,PROJ,expat,Doxygen,GDAL,libjpeg-turbo,NLopt"
export 
EASYBUILD_HIDE_TOOLCHAINS="GCCcore,iccifort,iimpi,gompi,foss,gcccuda,gompic,goolfc"
export EASYBUILD_ROBOT_PATHS=$HOME/easybuild

export EASYBUILD_PREFIX=/nfs/grid/software/RHEL7-BUILD/easybuild
export EASYBUILD_INSTALLPATH=/nfs/grid/software/testing/RHEL7/easybuild




[hpcswadm@amrndhl1157 intel]$ eb intel-2017.01.eb --recursive-module-unload 
--robot
== temporary log file in case of crash /tmp/eb-PhrbNp/easybuild-_xCnnt.log
== resolving dependencies ...
== processing EasyBuild easyconfig 
/hpc/hpcswadm/easybuild/icc/icc-2017.1.132-GCC-5.4.0-2.27.eb
== building and installing Core/icc/.2017.1.132-GCC-5.4.0-2.27...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== testing...
== installing...
== taking care of extensions...
== postprocessing...
== sanity checking...
== FAILED: Installation ended unsuccessfully (build directory: 
/nfs/grid/software/RHEL7-BUILD/easybuild/build/icc/2017.1.132/dummy-dummy-GCC-5.4.0-2.27):
 build failed (first 300 chars): Sanity check failed: loading fake module 
failed: 'Changing environment as dictated by module failed: name \'false\' is 
not defined (stdout: os.environ["LMOD_DEFAULT_MODULEPATH"] = 
"/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core:/tmp/eb-PhrbNp/tmpZsMuwW/all/Core:/nfs/grid/software/testin
== Results of the build can be found in the log file(s) 
/tmp/eb-PhrbNp/easybuild-icc-2017.1.132-20170317.090952.JWdOb.log
ERROR: Build of /hpc/hpcswadm/easybuild/icc/icc-2017.1.132-GCC-5.4.0-2.27.eb 
failed (err: 'build failed (first 300 chars): Sanity check failed: loading fake 
module failed: \'Changing environment as dictated by module failed: name 
\\\'false\\\' is not defined (stdout: os.environ["LMOD_DEFAULT_MODULEPATH"] = 
"/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core:/tmp/eb-PhrbNp/tmpZsMuwW/all/Core:/nfs/grid/software/testin')


[hpcswadm@amrndhl1157 intel]$ tail -n 20 
/tmp/eb-PhrbNp/easybuild-icc-2017.1.132-20170317.090952.JWdOb.log
== 2017-03-17 09:11:38,001 environment.py:97 INFO Environment variable 
LD_LIBRARY_PATH set to 
/nfs/grid/software/testing/RHEL7/easybuild/software/Core/binutils/2.27/lib:/nfs/grid/software/testing/RHEL7/easybuild/software/Compiler/GCCcore/5.4.0/binutils/2.27/lib:/nfs/grid/software/testing/RHEL7/easybuild/software/Core/GCCcore/5.4.0/lib/gcc/x86_64-unknown-linux-gnu/5.4.0:/nfs/grid/software/testing/RHEL7/easybuild/software/Core/GCCcore/5.4.0/lib64:/nfs/grid/software/testing/RHEL7/easybuild/software/Core/GCCcore/5.4.0/lib
 (previous value: 
'/nfs/grid/software/testing/RHEL7/easybuild/software/Core/binutils/2.27/lib:/nfs/grid/software/testing/RHEL7/easybuild/software/Core/GCCcore/5.4.0/lib/gcc/x86_64-unknown-linux-gnu/5.4.0:/nfs/grid/software/testing/RHEL7/easybuild/software/Core/GCCcore/5.4.0/lib64:/nfs/grid/software/testing/RHEL7/easybuild/software/Core/GCCcore/5.4.0/lib')
== 2017-03-17 09:11:38,001 environment.py:97 INFO Environment variable 
LD_PRELOAD set to  (previous value: '')
== 2017-03-17 09:11:38,155 build_log.py:147 ERROR EasyBuild crashed with an 
error (at 
easybuild/software/Core/EasyBuild/3.1.1/lib/python2.7/site-packages/vsc_base-2.5.7-py2.7.egg/vsc/utils/exceptions.py:124
 in __init__): Changing environment as dictated by module failed: name 'false' 
is not defined (stdout: os.environ["LMOD_DEFAULT_MODULEPATH"] = 
"/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core:/tmp/eb-PhrbNp/tmpZsMuwW/all/Core:/nfs/grid/software/testing/RHEL7/easybuild/modules/all:/usr/share/lmod/lmod/modulefiles/Core:/nfs/grid/software/RHEL7-BUILD/easybuild/modules/all:/nfs/grid/software/testing/RHEL7/non-easybuild/modules/all:/nfs/grid/software/testing/moduledomains:/nfs/grid/software/RHEL7/easybuild/modules/mpi:/nfs/grid/software/RHEL7/easybuild/modules/compiler:/nfs/grid/software/RHEL7/easybuild/modules/toolchain:/nfs/grid/software/RHEL7/easybuild/modules/moduledomains:/nfs/grid/software/RHEL7/easybuild/modules/all:/nfs/grid/software/RHEL7/non-easybuild/modules/all:/nfs/grid/software/RHEL6-moduledomains:/nfs/grid/software/RHEL6/general:/nfs/grid/software/RHEL6/chemistry:/etc/modulefiles:/usr/share/modulefiles";
os.environ["MODULEPATH"] = 
"/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core:/tmp/eb-PhrbNp/tmpZsMuwW/all/Core:/nfs/grid/software/testing/RHEL7/easybuild/modules/all:/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Compiler/GCC/5.4.0-2.27:/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Compiler/GCCcore/5.4.0:/usr/share/lmod/lmod/modulefiles/Core:/nfs/grid/software/RHEL7-BUILD/easybuild/modules/all:/nfs/grid/software/testing/RHEL7/non-easybuild/modules/all:/nfs/grid/software/testing/moduledomains";
false
, stderr: Lmod has detected the following error: MT:add_property(): The validT 
table for
state  has no entry for: intel
Check spelling and case of name.

While processing the following module(s):
    Module fullname                 Module Filename
    ---------------                 ---------------
    icc/.2017.1.132-GCC-5.4.0-2.27  
/tmp/eb-PhrbNp/tmpZsMuwW/all/Core/icc/.2017.1.132-GCC-5.4.0-2.27.lua


) (at 
easybuild/software/Core/EasyBuild/3.1.1/lib/python2.7/site-packages/easybuild_framework-3.1.1-py2.7.egg/easybuild/tools/modules.py:674
 in run_module)
== 2017-03-17 09:11:38,155 easyblock.py:2042 WARNING Sanity check: loading fake 
module failed: 'Changing environment as dictated by module failed: name 
\'false\' is not defined (stdout: os.environ["LMOD_DEFAULT_MODULEPATH"] = 
"/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core:/tmp/eb-PhrbNp/tmpZsMuwW/all/Core:/nfs/grid/software/testing/RHEL7/easybuild/modules/all:/usr/share/lmod/lmod/modulefiles/Core:/nfs/grid/software/RHEL7-BUILD/easybuild/modules/all:/nfs/grid/software/testing/RHEL7/non-easybuild/modules/all:/nfs/grid/software/testing/moduledomains:/nfs/grid/software/RHEL7/easybuild/modules/mpi:/nfs/grid/software/RHEL7/easybuild/modules/compiler:/nfs/grid/software/RHEL7/easybuild/modules/toolchain:/nfs/grid/software/RHEL7/easybuild/modules/moduledomains:/nfs/grid/software/RHEL7/easybuild/modules/all:/nfs/grid/software/RHEL7/non-easybuild/modules/all:/nfs/grid/software/RHEL6-moduledomains:/nfs/grid/software/RHEL6/general:/nfs/grid/software/RHEL6/chemistry:/etc/modulefiles:/usr/share/modulefiles";\nos.environ["MODULEPATH"]
 = 
"/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core:/tmp/eb-PhrbNp/tmpZsMuwW/all/Core:/nfs/grid/software/testing/RHEL7/easybuild/modules/all:/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Compiler/GCC/5.4.0-2.27:/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Compiler/GCCcore/5.4.0:/usr/share/lmod/lmod/modulefiles/Core:/nfs/grid/software/RHEL7-BUILD/easybuild/modules/all:/nfs/grid/software/testing/RHEL7/non-easybuild/modules/all:/nfs/grid/software/testing/moduledomains";\nfalse\n,
 stderr: Lmod has detected the following error: MT:add_property(): The validT 
table for\nstate  has no entry for: intel\nCheck spelling and case of 
name.\n\nWhile processing the following module(s):\n    Module fullname         
        Module Filename\n    ---------------                 ---------------\n  
  icc/.2017.1.132-GCC-5.4.0-2.27  
/tmp/eb-PhrbNp/tmpZsMuwW/all/Core/icc/.2017.1.132-GCC-5.4.0-2.27.lua\n\n\n)'
== 2017-03-17 09:11:38,156 build_log.py:147 ERROR EasyBuild crashed with an 
error (at 
easybuild/software/Core/EasyBuild/3.1.1/lib/python2.7/site-packages/vsc_base-2.5.7-py2.7.egg/vsc/utils/exceptions.py:124
 in __init__): Sanity check failed: loading fake module failed: 'Changing 
environment as dictated by module failed: name \'false\' is not defined 
(stdout: os.environ["LMOD_DEFAULT_MODULEPATH"] = 
"/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core:/tmp/eb-PhrbNp/tmpZsMuwW/all/Core:/nfs/grid/software/testing/RHEL7/easybuild/modules/all:/usr/share/lmod/lmod/modulefiles/Core:/nfs/grid/software/RHEL7-BUILD/easybuild/modules/all:/nfs/grid/software/testing/RHEL7/non-easybuild/modules/all:/nfs/grid/software/testing/moduledomains:/nfs/grid/software/RHEL7/easybuild/modules/mpi:/nfs/grid/software/RHEL7/easybuild/modules/compiler:/nfs/grid/software/RHEL7/easybuild/modules/toolchain:/nfs/grid/software/RHEL7/easybuild/modules/moduledomains:/nfs/grid/software/RHEL7/easybuild/modules/all:/nfs/grid/software/RHEL7/non-easybuild/modules/all:/nfs/grid/software/RHEL6-moduledomains:/nfs/grid/software/RHEL6/general:/nfs/grid/software/RHEL6/chemistry:/etc/modulefiles:/usr/share/modulefiles";\nos.environ["MODULEPATH"]
 = 
"/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core:/tmp/eb-PhrbNp/tmpZsMuwW/all/Core:/nfs/grid/software/testing/RHEL7/easybuild/modules/all:/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Compiler/GCC/5.4.0-2.27:/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Compiler/GCCcore/5.4.0:/usr/share/lmod/lmod/modulefiles/Core:/nfs/grid/software/RHEL7-BUILD/easybuild/modules/all:/nfs/grid/software/testing/RHEL7/non-easybuild/modules/all:/nfs/grid/software/testing/moduledomains";\nfalse\n,
 stderr: Lmod has detected the following error: MT:add_property(): The validT 
table for\nstate  has no entry for: intel\nCheck spelling and case of 
name.\n\nWhile processing the following module(s):\n    Module fullname         
        Module Filename\n    ---------------                 ---------------\n  
  icc/.2017.1.132-GCC-5.4.0-2.27  
/tmp/eb-PhrbNp/tmpZsMuwW/all/Core/icc/.2017.1.132-GCC-5.4.0-2.27.lua\n\n\n)' 
(at 
easybuild/software/Core/EasyBuild/3.1.1/lib/python2.7/site-packages/easybuild_framework-3.1.1-py2.7.egg/easybuild/framework/easyblock.py:2083
 in _sanity_check_step)
== 2017-03-17 09:11:38,156 easyblock.py:2520 WARNING build failed (first 300 
chars): Sanity check failed: loading fake module failed: 'Changing environment 
as dictated by module failed: name \'false\' is not defined (stdout: 
os.environ["LMOD_DEFAULT_MODULEPATH"] = 
"/nfs/grid/software/testing/RHEL7/easybuild/modules/all/Core:/tmp/eb-PhrbNp/tmpZsMuwW/all/Core:/nfs/grid/software/testin
== 2017-03-17 09:11:38,156 easyblock.py:276 INFO Closing log for application 
name icc version 2017.1.132

Shahzeb Siddiqui
HPC Linux Engineer
B2220-447.2
Groton, CT

Reply via email to