Open bbssc3rtp opened 8 years ago
@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.
The last failing test is another problem, but it looks like this could be due to an outdated GitPython, see also #1757 .
Thank you! A pip upgrade of GitPython now has me down to two failed tests. It seems that by failing these two tests I have actually passed the test! :)
Moving on.. I have read the install and test documents multiple times, and am still confused as to whether I should be running the next two tests and if so, what needs to be done to make them run? The documentation appears to indicate that the bootstrap should have handled it all for me.
$ python -m test.easyblocks.suite /usr/bin/python: No module named easyblocks
$ python -m test.easyconfigs.suite /usr/bin/python: No module named easyconfigs
@bbssc3rtp I guess the documentation is a bit misleading here...
The unit tests for easyblocks and easyconfigs are not included in the EasyBuild installation, because they are of little use there.
While running the EasyBuild framework test suite can bring forward issues with your installation or highlight incompatibilities in your setup, the easyblocks/easyconfigs unit tests are only there to ensure that changes being made to the easyblocks/easyconfigs don't introduce 'silly' issues like syntax errors, missing dependencies or patch files, version conflicts in a software dependency graph, etc.
In an EasyBuild release, these kind of problems are pretty much guaranteed not to be there, since the tests are run over and over again through Travis (http://travis-ci.org) every time a change is being made to the central repositories.
Unless you have a development setup of the easyblocks and easyconfigs, where you will have the tests available, there's little point in running the tests for these EasyBuild components...
That being said, I guess it wouldn't hurt to include those tests in the installation too, especially since it should be fairly trivial to do (some minor changes in the respective setup.py
scripts).
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.
Now that those have been indentified, I am down to only three testsuite errors. I was wondering if anybody could help me pinpoint the cause.