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

Issue 647032 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

test_droid fails to start due to 'metrics' import error

Project Member Reported by bmahadev@chromium.org, Sep 14 2016

Issue description

files$ ./site_utils/test_droid.py -r chromeos3-row1-rack2-host4.cros -s 0042fe894244c357 network_WiFi_ChaosConnectDisconnect.wpa2psk
Traceback (most recent call last):
  File "./site_utils/test_droid.py", line 37, in <module>
    from autotest_lib.server.hosts import adb_host
  File "/usr/local/ssd/chromiumos/src/third_party/autotest/files/server/hosts/__init__.py", line 16, in <module>
    from adb_host import ADBHost
  File "/usr/local/ssd/chromiumos/src/third_party/autotest/files/server/hosts/adb_host.py", line 33, in <module>
    from autotest_lib.server.hosts import teststation_host
  File "/usr/local/ssd/chromiumos/src/third_party/autotest/files/server/hosts/teststation_host.py", line 16, in <module>
    from autotest_lib.server.hosts import moblab_host
  File "/usr/local/ssd/chromiumos/src/third_party/autotest/files/server/hosts/moblab_host.py", line 14, in <module>
    from autotest_lib.server.hosts import cros_host
  File "/usr/local/ssd/chromiumos/src/third_party/autotest/files/server/hosts/cros_host.py", line 45, in <module>
    from chromite.lib import metrics
ImportError: cannot import name metrics
 

Comment 1 by dshi@chromium.org, Sep 14 2016

It's due to a chromite update. Try to run build_externals to refresh site-packages.

or, just go to site-packages/chromite, run git pull.
This is blocking running all android tests. Can you please take a look.

Comment 3 by dshi@chromium.org, Sep 14 2016

build_externals mentioned in #1 doesn't help?
Status: Verified (was: Untriaged)
Yep it did! Sry i missed that update actually. Works now. Thanks.

Sign in to add a comment