moblab: server-side packaging does not support numpy |
||
Issue description
Run moblab with power_PowerlogWrapper
START power_PowerlogWrapper.power_Standby.36sec power_PowerlogWrapper.power_Standby.36sec timestamp=1544575797 localtime=Dec 11 16:49:57
FAIL power_PowerlogWrapper.power_Standby.36sec power_PowerlogWrapper.power_Standby.36sec timestamp=1544575797 localtime=Dec 11 16:49:57 libpython2.7.so.1.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/usr/local/autotest/server/server_job.py", line 886, in group_func
test.runtest(self, url, tag, args, dargs)
File "/usr/local/autotest/server/test.py", line 309, in runtest
*logging_args)
File "/usr/local/autotest/client/common_lib/test.py", line 863, in runtest
exec ('import %s' % modulename, local_namespace, global_namespace)
File "<string>", line 1, in <module>
File "/usr/local/autotest/server/site_tests/power_PowerlogWrapper/power_PowerlogWrapper.py", line 8, in <module>
from autotest_lib.server.cros.power import power_telemetry_logger
File "/usr/local/autotest/server/cros/power/power_telemetry_logger.py", line 12, in <module>
import numpy
File "/usr/local/lib/python2.7/dist-packages/numpy/__init__.py", line 170, in <module>
from . import add_newdocs
File "/usr/local/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/usr/local/lib/python2.7/dist-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/usr/local/lib/python2.7/dist-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/usr/local/lib/python2.7/dist-packages/numpy/core/__init__.py", line 6, in <module>
from . import multiarray
ImportError: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
END ABORT power_PowerlogWrapper.power_Standby.36sec power_PowerlogWrapper.power_Standby.36sec timestamp=1544575797 localtime=Dec 11 16:49:57
,
Dec 12
You need numpy installed? Or it is installed and doesn't work correctly
,
Dec 12
normal autotest just work with numpy. So probably need numpy install on moblab.
,
Dec 12
numpy seems to exist outside the ssp container though
,
Dec 12
I will add it but it will need to rev the base container. I keep the base container as small as possible because partners are downloading it over less than ideal internet connections, CTS and Qual tests do not need this package, but it can be added. However I have higher priority issues to fix at the moment for CTS.
,
Dec 12
,
Dec 12
I found that the native (outside container) python does have numpy. |
||
►
Sign in to add a comment |
||
Comment 1 by puthik@chromium.org
, Dec 12Status: Available (was: Untriaged)