New issue
Advanced search Search tips

Issue 657039 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Jetstream server-side tests not working (afe_utils.host_in_lab renamed to afe_utils._host_in_lab)

Project Member Reported by danepollock@google.com, Oct 18 2016

Issue description

VERSION:
8909.0.0

Jetstream server-side tests broke in a refactor of afe_utils:
https://www.google.com/url?q=https://chromium-review.googlesource.com/%23/c/394787/&sa=D&usg=AFQjCNFenFBKrVcFPTcQDJuD2l2LleiQDQ


10/18 06:33:06.836 INFO |       server_test:0117| Using 192.168.76.126 as primary hostname
10/18 06:33:06.837 WARNI|              test:0606| Autotest caught exception when running test:
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 587, in _exec
    *args, **dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 810, in _call_test_function
    raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled AttributeError: 'module' object has no attribute 'host_in_lab'
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 804, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 719, in _cherry_pick_call
    return func(*p_args, **p_dargs)
  File "/usr/local/autotest/server/cros/jetstream/server_test.py", line 207, in warmup
    num_clients=1)
  File "/usr/local/autotest/server/cros/jetstream/server_test.py", line 124, in warmup
    required=False)
  File "/usr/local/autotest/server/cros/jetstream/server_test.py", line 193, in GetTestArgument
    if value is None and afe_utils.host_in_lab(self.router.host):
AttributeError: 'module' object has no attribute 'host_in_lab'
 

Comment 1 by lgoo...@google.com, Oct 18 2016

Note that afe_utils.host_in_lab is also used by:

  server/site_tests/brillo_PingTest/brillo_PingTest.py
  server/site_tests/brillo_Gtests/brillo_Gtests.py
  server/site_tests/brillo_WifiInterfaceTest/brillo_WifiInterfaceTest.py

Comment 2 by lgoo...@google.com, Oct 18 2016

Jetstream is removing its dependency on 'host_in_lab'.

Status: WontFix (was: Untriaged)

Sign in to add a comment