test_that fails to import chromite |
|||
Issue description
In ToT, test_that fails as follows:
$ test_that
WARNING:root:Unable to import chromite. Monarch is disabled.
Traceback (most recent call last):
File "/mnt/host/source/src/third_party/autotest/files/site_utils/test_that.py", line 23, in <module>
from autotest_lib.server.hosts import factory
File "/mnt/host/source/src/third_party/autotest/files/server/hosts/__init__.py", line 16, in <module>
from adb_host import ADBHost
File "/mnt/host/source/src/third_party/autotest/files/server/hosts/adb_host.py", line 24, in <module>
from autotest_lib.server import afe_utils
File "/mnt/host/source/src/third_party/autotest/files/server/afe_utils.py", line 17, in <module>
from autotest_lib.server.cros.dynamic_suite import frontend_wrappers
File "/mnt/host/source/src/third_party/autotest/files/server/cros/dynamic_suite/frontend_wrappers.py", line 13, in <module>
from autotest_lib.server import frontend
File "/mnt/host/source/src/third_party/autotest/files/server/frontend.py", line 23, in <module>
from chromite.lib import metrics
ImportError: cannot import name metrics
,
Dec 13 2016
is utils/build_externals needed even for launching client tests with test_that?
,
Dec 13 2016
It's needed at least once to make sure all the of various libraries that autotest depends on are available. ayatane@ is working on a longer term fix based on virtualenv.
,
Jan 10
Archiving P3s older than 1 year with no owner or component. |
|||
►
Sign in to add a comment |
|||
Comment 1 by akes...@chromium.org
, Dec 13 2016