{"action":"created","issue":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1809","repository_url":"https://api.github.com/repos/hpcugent/easybuild-framework","labels_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1809/labels{/name}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1809/comments","events_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1809/events","html_url":"https://github.com/hpcugent/easybuild-framework/issues/1809","id":160040128,"number":1809,"title":"Three test.framework.suite test failures on an Amazon RHEL instance.","user":{"login":"bbssc3rtp","id":19575940,"avatar_url":"https://avatars.githubusercontent.com/u/19575940?v=3","gravatar_id":"","url":"https://api.github.com/users/bbssc3rtp","html_url":"https://github.com/bbssc3rtp","followers_url":"https://api.github.com/users/bbssc3rtp/followers","following_url":"https://api.github.com/users/bbssc3rtp/following{/other_user}","gists_url":"https://api.github.com/users/bbssc3rtp/gists{/gist_id}","starred_url":"https://api.github.com/users/bbssc3rtp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbssc3rtp/subscriptions","organizations_url":"https://api.github.com/users/bbssc3rtp/orgs","repos_url":"https://api.github.com/users/bbssc3rtp/repos","events_url":"https://api.github.com/users/bbssc3rtp/events{/privacy}","received_events_url":"https://api.github.com/users/bbssc3rtp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-13T20:41:40Z","updated_at":"2016-06-13T21:20:29Z","closed_at":null,"body":"Hello.  I found the easybuild documentation to be not too well adapted to an Amazon RHEL 7 instance.  It required running through the tests and identifying a slew of yum and pip packages that needed to be installed.\r\n\r\nNow that those have been indentified, I am down to only three testsuite errors.  I was wondering if anybody could help me pinpoint the cause.\r\n\r\npython -V\r\nPython 2.7.5\r\n\r\ntype module\r\nmodule is a function\r\nmodule ()\r\n{\r\n    eval $($LMOD_CMD bash \"$@\");\r\n    [ $? = 0 ] && eval $(${LMOD_SETTARG_CMD:-:} -s sh)\r\n}\r\n\r\ntype -f module\r\n-bash: type: module: not found\r\n\r\n module --version\r\nModules based on Lua: Version 6.3.4  2016-05-11 17:00\r\n    by Robert McLay mclay@tacc.utexas.edu\r\n\r\n[ec2-user@ip-172-31-51-65 ~]$ module av EasyBuild\r\n\r\n------------------------------------ /tools/general/app/modules/all -------------------------------------\r\n   EasyBuild/2.8.1 (L)\r\n\r\n  Where:\r\n   L:  Module is loaded\r\n\r\nUse \"module spider\" to find all possible modules.\r\nUse \"module keyword key1 key2 ...\" to search for all possible modules matching any of the \"keys\".\r\n\r\nwhich -a eb\r\n/tools/general/app/software/EasyBuild/2.8.1/bin/eb\r\n\r\neb --version\r\nThis is EasyBuild 2.8.1 (framework: 2.8.1, easyblocks: 2.8.1) on host <removed>\r\n==================================================\r\n\r\n$ python -m test.framework.suite\r\nINFO: This is (based on) vsc.install.shared_setup 0.10.6\r\n\r\nRunning tests...\r\n----------------------------------------------------------------------\r\n..................................EE......E.......................(skipping HgRepository test)\r\n......................................................................................................................................................................................................................................................................................................................................................\r\n======================================================================\r\nERROR [1.062s]: test_include_module_naming_schemes (test.framework.options.CommandLineOptionsTest)\r\nTest --include-module-naming-schemes.\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/tools/general/app/software/EasyBuild/2.8.1/lib/python2.7/site-packages/easybuild_framework-2.8.1-py2.7.egg/test/framework/options.py\", line 1914, in test_include_module_naming_schemes\r\n    logtxt, _= run_cmd(\"cd %s; eb %s\" % (self.test_prefix, ' '.join(args)), simple=False)\r\n  File \"/tools/general/app/software/EasyBuild/2.8.1/lib/python2.7/site-packages/easybuild_framework-2.8.1-py2.7.egg/easybuild/tools/run.py\", line 149, in run_cmd\r\n    return parse_cmd_output(cmd, stdouterr, ec, simple, log_all, log_ok, regexp)\r\n  File \"/tools/general/app/software/EasyBuild/2.8.1/lib/python2.7/site-packages/easybuild_framework-2.8.1-py2.7.egg/easybuild/tools/run.py\", line 397, in parse_cmd_output\r\n    raise EasyBuildError('cmd \"%s\" exited with exitcode %s and output:\\n%s', cmd, ec, stdouterr)\r\nEasyBuildError: 'cmd \"cd /tmp/eb-c9_8wa/eb-f4A_Vz/eb-BiXsAQ; eb --avail-module-naming-schemes\" exited with exitcode 127 and output:\\n/bin/bash: eb: command not found\\n'\r\n\r\n======================================================================\r\nERROR [1.066s]: test_include_toolchains (test.framework.options.CommandLineOptionsTest)\r\nTest --include-toolchains.\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/tools/general/app/software/EasyBuild/2.8.1/lib/python2.7/site-packages/easybuild_framework-2.8.1-py2.7.egg/test/framework/options.py\", line 1988, in test_include_toolchains\r\n    logtxt, _= run_cmd(\"cd %s; eb %s\" % (self.test_prefix, ' '.join(args)), simple=False)\r\n  File \"/tools/general/app/software/EasyBuild/2.8.1/lib/python2.7/site-packages/easybuild_framework-2.8.1-py2.7.egg/easybuild/tools/run.py\", line 149, in run_cmd\r\n    return parse_cmd_output(cmd, stdouterr, ec, simple, log_all, log_ok, regexp)\r\n  File \"/tools/general/app/software/EasyBuild/2.8.1/lib/python2.7/site-packages/easybuild_framework-2.8.1-py2.7.egg/easybuild/tools/run.py\", line 397, in parse_cmd_output\r\n    raise EasyBuildError('cmd \"%s\" exited with exitcode %s and output:\\n%s', cmd, ec, stdouterr)\r\nEasyBuildError: 'cmd \"cd /tmp/eb-c9_8wa/eb-f4A_Vz/eb-oMnjse; eb --list-toolchains\" exited with exitcode 127 and output:\\n/bin/bash: eb: command not found\\n'\r\n\r\n======================================================================\r\nERROR [1.604s]: test_new_update_pr (test.framework.options.CommandLineOptionsTest)\r\nTest use of --new-pr (dry run only).\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/tools/general/app/software/EasyBuild/2.8.1/lib/python2.7/site-packages/easybuild_framework-2.8.1-py2.7.egg/test/framework/options.py\", line 2252, in test_new_update_pr\r\n    self.eb_main(args, do_build=True, raise_error=True, testing=False)\r\n  File \"/tools/general/app/software/EasyBuild/2.8.1/lib/python2.7/site-packages/easybuild_framework-2.8.1-py2.7.egg/test/framework/utilities.py\", line 276, in eb_main\r\n    raise myerr\r\nAttributeError: 'Remote' object has no attribute 'exists'\r\n\r\n----------------------------------------------------------------------\r\nRan 408 tests in 963.660s\r\n\r\nFAILED (errors=3)\r\n\r\nGenerating XML reports...\r\nERROR: Not all tests were successful.\r\n"},"comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/comments/225712241","html_url":"https://github.com/hpcugent/easybuild-framework/issues/1809#issuecomment-225712241","issue_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1809","id":225712241,"user":{"login":"boegel","id":620876,"avatar_url":"https://avatars.githubusercontent.com/u/620876?v=3","gravatar_id":"","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T21:20:29Z","updated_at":"2016-06-13T21:20:29Z","body":"@bbssc3rtp The first two failing tests are due to a known issue with the tests themselves, see #1685; I implemented a fix for that today, see #1806.\r\n\r\nThe last failing test is another problem, but it looks like this could be due to an outdated GitPython, see also #1757 ."}}
{"actor":{"display_login":"boegel"}}