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

Issue 644911 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

'TestBed' object has no attribute 'support_devserver_provision'

Project Member Reported by krisr@chromium.org, Sep 7 2016

Issue description

Job: https://ubercautotest.corp.google.com/afe/#tab_id=view_job&object_id=76007911
Traceback:
Traceback (most recent call last):
  File "/usr/local/autotest/server/server_job.py", line 654, in run
    self._execute_code(INSTALL_CONTROL_FILE, namespace)
  File "/usr/local/autotest/server/server_job.py", line 1191, in _execute_code
    execfile(code_file, namespace, namespace)
  File "/usr/local/autotest/server/control_segments/install", line 9, in <module>
    job.parallel_simple(install, machines, log=False)
  File "/usr/local/autotest/server/server_job.py", line 580, in parallel_simple
    return_results=return_results)
  File "/usr/local/autotest/server/subcommand.py", line 93, in parallel_simple
    function(arg)
  File "/usr/local/autotest/server/control_segments/install", line 6, in install
    afe_utils.machine_install_and_update_labels(host)
  File "/usr/local/autotest/server/afe_utils.py", line 235, in machine_install_and_update_labels
    if host.support_devserver_provision:
AttributeError: 'TestBed' object has no attribute 'support_devserver_provision'

The last successful jobs ran on 9/1/2016:
  https://ubercautotest.corp.google.com/afe/#tab_id=view_job&object_id=75319684

Here are all of the pushes since that run:
eee38e0 [autotest] Add decorator for labels to stay forever.
9a26ad6 [autotest] Use a RepairStrategy to repair ServoHost.
121239d [autotest] Tweak the logging message for failed triggers.
c6352c0 [autotest] change query lifetime from 1800s to 300s (5mins)
a845530 Revert "[autotest] Remove CrosLabel's board label."

71d7af0 [autotest] audio_AlsaAPI: Skip some devices on some boards
52bfcdc [autotest] audio_widget: Remove USBPlugHandler
4257794 [autotest] Upload deployment/repair logs to Google Storage
5e1fe26 Revert "[autotest] Enable any devserver to be selected when hostname is not provided."
53fd8e4 [autotest] Enable any devserver to be selected when hostname is not provided.
6a61239 [autotest] Improve pool health bugs
3198586 [autotest] Add database metrics to monarch
7a6ac65 [autotest] audio: add audio quality measurement test
84f4097 [autotest] audio: add audio quality measurement module
7ee9586 autotest: refactor status_history into a lib outside of site_utils
09f9cab [autotest] Install mock as external package in autotest.
2f55dc2 [autotest] Bug fix in container hostname
 

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

Owner: xixuan@chromium.org
Should be a simple fix by setting that class attribute to False in TestBed class.

The problem is that testbed is not derived from host base class.

Comment 2 by krisr@chromium.org, Sep 7 2016

Cc: pho...@chromium.org
Components: -Infra>Labs
Project Member

Comment 4 by bugdroid1@chromium.org, Sep 8 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/118a009d5db55e49f8beb17015a64efe04078e06

commit 118a009d5db55e49f8beb17015a64efe04078e06
Author: Dan Shi <dshi@google.com>
Date: Wed Sep 07 22:23:54 2016

[autotest] Add class attribute support_devserver_provision to testbed.

BUG= chromium:644911 
TEST=None

Change-Id: I3d0153f909749637a7e197f893fc39bd048b9ec4
Reviewed-on: https://chromium-review.googlesource.com/382321
Reviewed-by: Xixuan Wu <xixuan@chromium.org>
Tested-by: Dan Shi <dshi@google.com>

[modify] https://crrev.com/118a009d5db55e49f8beb17015a64efe04078e06/server/hosts/testbed.py

Status: Fixed (was: Untriaged)

Sign in to add a comment