Sorry, my bad - still get the same error: EasyBuildError: "Failed to parse configuration options: 'Generating Lua module files requires Lmod as modules tool; use --module-syntax to specify a different module syntax to use (Lua, Tcl)'"
On Tue, Oct 17, 2017 at 5:06 PM, Peleg Bar-Sapir <[email protected]> wrote: > Hello all, > > I managed to fix the error by using > > export TEST_EASYBUILD_MODULES_TOOL=EnvironmentModulesTcl > > I now get another error (also for all tests): > > ====================================================================== > ERROR: test_load_in_hierarchy (__main__.ModulesTest) > Test whether loading a module in a module hierarchy results in loading the > correct module. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/home/ebtest/easybuild/software/EasyBuild/3.4.1/lib/ > python2.7/site-packages/easybuild_framework-3.4.1-py2. > 7.egg/test/framework/utilities.py", line 134, in setUp > init_config() > File "/home/ebtest/easybuild/software/EasyBuild/3.4.1/lib/ > python2.7/site-packages/easybuild_framework-3.4.1-py2. > 7.egg/test/framework/utilities.py", line 423, in init_config > eb_go = eboptions.parse_options(args=args, with_include=with_include) > File "/home/ebtest/easybuild/software/EasyBuild/3.4.1/lib/ > python2.7/site-packages/easybuild_framework-3.4.1-py2. > 7.egg/easybuild/tools/options.py", line 1080, in parse_options > with_include=with_include) > File "/home/ebtest/easybuild/software/EasyBuild/3.4.1/lib/ > python2.7/site-packages/easybuild_framework-3.4.1-py2. > 7.egg/easybuild/tools/options.py", line 242, in __init__ > super(EasyBuildOptions, self).__init__(*args, **kwargs) > File "/home/ebtest/easybuild/software/EasyBuild/3.4.1/lib/ > python2.7/site-packages/vsc_base-2.5.8-py2.7.egg/vsc/utils/generaloption.py", > line 984, in __init__ > self.parseoptions(options_list=go_args) > File "/home/ebtest/easybuild/software/EasyBuild/3.4.1/lib/ > python2.7/site-packages/vsc_base-2.5.8-py2.7.egg/vsc/utils/generaloption.py", > line 1260, in parseoptions > sys.exit(err.code) > SystemExit: 2 > > Any ideas? > > Best, > Peleg > > On Tue, Oct 17, 2017 at 4:54 PM, Alan O'Cais <[email protected]> > wrote: > >> EASYBUILD_MODULE_SYNTAX=Tcl >> >> On 17 October 2017 at 16:54, Alan O'Cais <[email protected]> wrote: >> >>> Sorry, I don't know more than that...maybe try setting another >>> environment variable: EASYBUILD_MODULES_SYNTAX=Tcl >>> >>> On 17 October 2017 at 16:48, Peleg Bar-Sapir <[email protected]> wrote: >>> >>>> Just to be clear: $ echo $TEST_EASYBUILD_MODULES_TOOL returns >>>> EnvironmentModulesC. The error still occurs. >>>> >>>> On Tue, Oct 17, 2017 at 4:46 PM, Peleg Bar-Sapir <[email protected]> >>>> wrote: >>>> >>>>> Hello Alan, >>>>> >>>>> I did that before running the unittest, of course. >>>>> >>>>> Peleg >>>>> >>>>> On Tue, Oct 17, 2017 at 4:31 PM, Alan O'Cais <[email protected]> >>>>> wrote: >>>>> >>>>>> See http://easybuild.readthedocs.io/en/latest/Installation.h >>>>>> tml#running-unit-tests , you need to >>>>>> >>>>>> export TEST_EASYBUILD_MODULES_TOOL=EnvironmentModulesC >>>>>> >>>>>> >>>>>> On 17 October 2017 at 16:22, Peleg Bar-Sapir <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I'm trying to run the unit tests for EasyBuild (following the text >>>>>>> here). >>>>>>> When running *$ python -m test.framework.modules load *I get the >>>>>>> following errors: >>>>>>> >>>>>>> INFO: This is (based on) vsc.install.shared_setup 0.10.26 >>>>>>> Filtered ModulesTest tests using 'load|--module-syntax=Tcl', >>>>>>> retained 3/24 tests: test_check_loaded_modules, test_load, >>>>>>> test_load_in_hierarchy >>>>>>> EEE >>>>>>> ============================================================ >>>>>>> ========== >>>>>>> ERROR: test_check_loaded_modules (__main__.ModulesTest) >>>>>>> Test check_loaded_modules method. >>>>>>> ------------------------------------------------------------ >>>>>>> ---------- >>>>>>> Traceback (most recent call last): >>>>>>> File "/home/******/easybuild/software/EasyBuild/3.4.0/lib/python2 >>>>>>> .7/site-packages/easybuild_framework-3.4.0-py2.7.egg/test/framework/utilities.py", >>>>>>> line 134, in setUp >>>>>>> init_config() >>>>>>> File "/home/******/easybuild/software/EasyBuild/3.4.0/lib/python2 >>>>>>> .7/site-packages/easybuild_framework-3.4.0-py2.7.egg/test/framework/utilities.py", >>>>>>> line 423, in init_config >>>>>>> eb_go = eboptions.parse_options(args=args, >>>>>>> with_include=with_include) >>>>>>> File "/home/******/easybuild/software/EasyBuild/3.4.0/lib/python2 >>>>>>> .7/site-packages/easybuild_framework-3.4.0-py2.7.egg/easybuild/tools/options.py", >>>>>>> line 1078, in parse_options >>>>>>> raise EasyBuildError("Failed to parse configuration options: %s" >>>>>>> % err) >>>>>>> EasyBuildError: "Failed to parse configuration options: 'Generating >>>>>>> Lua module files requires Lmod as modules tool; use --module-syntax to >>>>>>> specify a different module syntax to use (Lua, Tcl)'" >>>>>>> >>>>>>> *[Note: I getsimilar errors for test_load (__main__.ModulesTest) and >>>>>>> test_load_in_hierarchy (__main__.ModulesTest) ]* >>>>>>> >>>>>>> ------------------------------------------------------------ >>>>>>> ---------- >>>>>>> Ran 3 tests in 0.563s >>>>>>> >>>>>>> FAILED (errors=3) >>>>>>> >>>>>>> Since I'm not using Lmod but EnvironmentModulesC, I added the flag >>>>>>> --module-syntax=Tcl, but still get the exact same errors. >>>>>>> >>>>>>> Any ideas what could be wrong here? >>>>>>> >>>>>>> Peleg >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Dr. Alan O'Cais >>>>>> E-CAM Software Manager >>>>>> Juelich Supercomputing Centre >>>>>> Forschungszentrum Juelich GmbH >>>>>> 52425 Juelich, Germany >>>>>> >>>>>> Phone: +49 2461 61 5213 <+49%202461%20615213> >>>>>> Fax: +49 2461 61 6656 <+49%202461%20616656> >>>>>> E-mail: [email protected] >>>>>> WWW: http://www.fz-juelich.de/ias/jsc/EN >>>>>> >>>>>> >>>>>> ------------------------------------------------------------ >>>>>> ------------------------------------ >>>>>> ------------------------------------------------------------ >>>>>> ------------------------------------ >>>>>> Forschungszentrum Juelich GmbH >>>>>> 52425 Juelich >>>>>> Sitz der Gesellschaft: Juelich >>>>>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 >>>>>> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher >>>>>> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), >>>>>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, >>>>>> Prof. Dr. Sebastian M. Schmidt >>>>>> ------------------------------------------------------------ >>>>>> ------------------------------------ >>>>>> ------------------------------------------------------------ >>>>>> ------------------------------------ >>>>>> >>>>>> >>>>> >>>> >>> >>> >>> -- >>> Dr. Alan O'Cais >>> E-CAM Software Manager >>> Juelich Supercomputing Centre >>> Forschungszentrum Juelich GmbH >>> 52425 Juelich, Germany >>> >>> Phone: +49 2461 61 5213 <02461%20615213> >>> Fax: +49 2461 61 6656 <02461%20616656> >>> E-mail: [email protected] >>> WWW: http://www.fz-juelich.de/ias/jsc/EN >>> >> >> >> >> -- >> Dr. Alan O'Cais >> E-CAM Software Manager >> Juelich Supercomputing Centre >> Forschungszentrum Juelich GmbH >> 52425 Juelich, Germany >> >> Phone: +49 2461 61 5213 <+49%202461%20615213> >> Fax: +49 2461 61 6656 <+49%202461%20616656> >> E-mail: [email protected] >> WWW: http://www.fz-juelich.de/ias/jsc/EN >> > >

