New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 914175 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

moblab: server-side packaging does not support numpy

Project Member Reported by puthik@google.com, Dec 12

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
 
Cc: puthik@chromium.org haddowk@chromium.org mattmallett@chromium.org
Status: Available (was: Untriaged)
You need numpy installed? Or it is installed and doesn't work correctly
normal autotest just work with numpy.

So probably need numpy install on moblab.
numpy seems to exist outside the ssp container though
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.
Owner: haddowk@chromium.org
Status: Assigned (was: Available)
I found that the native (outside container) python does have numpy. 

Sign in to add a comment