Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIL_FRAMEWORK_TESTS_2,5,6,8,9,11 fail in docker test on Travis #506

Closed
KrisThielemans opened this issue Mar 19, 2021 · 3 comments
Closed
Assignees

Comments

@KrisThielemans
Copy link
Member

https://travis-ci.com/github/SyneRBI/SIRF-SuperBuild/jobs/492098570#L13907-L13921

6: ERROR: test_algorithms (unittest.loader._FailedTest)
6: ----------------------------------------------------------------------
6: ImportError: Failed to import test module: test_algorithms
6: Traceback (most recent call last):
6:   File "/opt/pyvenv/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
6:     module = self._get_module_from_name(name)
6:   File "/opt/pyvenv/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
6:     __import__(name)
6:   File "/opt/SIRF-SuperBuild/sources/CCPi-Framework/Wrappers/Python/test/test_algorithms.py", line 47, in <module>
6:     from cil.utilities import dataexample
6:   File "/opt/SIRF-SuperBuild/INSTALL/python/cil/utilities/dataexample.py", line 29, in <module>
6:     from cil.io import NEXUSDataReader
6:   File "/opt/SIRF-SuperBuild/INSTALL/python/cil/io/__init__.py", line 25, in <module>
6:     from .TXRMDataReader import TXRMDataReader
6:   File "/opt/SIRF-SuperBuild/INSTALL/python/cil/io/TXRMDataReader.py", line 22, in <module>
6:     import olefile
6: ModuleNotFoundError: No module named 'olefile'

I guess we don't run these on normal Travis builds. In any case, we're missing olefile. Unfortunately, this makes all docker builds fail and stops us uploading anything on dockerhub

@KrisThielemans KrisThielemans changed the title CIL_FRAMEWORK_TESTS_2 fail in docker test on Travis CIL_FRAMEWORK_TESTS_2,5,6,8,9,11 fail in docker test on Travis Mar 19, 2021
@casperdcl
Copy link
Member

in many ways duplicate of the ol' #92 and #493?

@paskino
Copy link
Contributor

paskino commented Mar 22, 2021

Isn't olefile installed on travis already?

@paskino
Copy link
Contributor

paskino commented Mar 22, 2021

That's for docker.
Anyway closed by #508

@paskino paskino closed this as completed Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants