Closed apojomovsky closed 6 years ago
Currently facing an issue when attempting to run python tests in CI:
ERROR: test.simulation_runner_py_test (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: test.simulation_runner_py_test
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
__import__(name)
File "/home/ubuntu/workspace/_delphyne_test_do_not_merge-RFH3SOKHTEDOIJRE3PTYX6AHJ4JU5EZRCFTTKQLJRXNAEIEOJV5Q/backend/test/simulation_runner_py_test.py", line 9, in <module>
from python_bindings import (
ImportError: ../../../install/lib/libdrake.so: cannot open shared object file: No such file or directory
After having checked and re-checked the PYTHONPATH
and LD_LIBRARY_PATH
multiple times, I realized the issue is related to #277 (addressed in drake's #8308 ).
I would like to ask for suggestions in the way to proceed with this issue, since currently I see three options:
Any suggestions would be highly appreciated.
cc @clalancette @basicNew
I think we really want to get #275 resolved. It is blocking quite a number of things from moving forward. @apojomovsky, my suggestion is to spend some time debugging the current ign-rendering build system, and seeing if we can get a quick fix to make it work. Assuming we can get that, we can move forward with Drake and unblock a lot of stuff. Does that make sense to you, and do you mind doing that?
Totally agree on getting #275 fixed. Moving the conversation to that issue.
@clalancette , it makes a lot of sense. And of course, I'd gladly address the ign-rendering task.
Likely by running the
tools/run_tests.sh
, which would run both, the C++ and Python tests. Blocked by #275