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

Issue 632503 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Suspect afe_host object not updating labels or job_repo_url

Project Member Reported by sbasi@chromium.org, Jul 28 2016

Issue description

http://cautotest/afe/#tab_id=view_job&object_id=71241044

Hey Kevin I think Ralph found a bug in your afe_host stuff.

So he created a test with an image name so it reflashes the device. This is different from running and provisioning within a suite as that is 2 separate autoserv processes and this is a single autoserv process.

Look at the debug logs. You will see it reimages correctly to git_nyc-jaqen-dev/jaqen_edison-userdebug/3102769

Then when it goes to install the continuous_native_tests package you will see it uses the old build that was on the machine: git_nyc-jaqen-dev/jaqen_edison-userdebug/2926844

I suspect the labels or job_repo_url did not get properly updated.
 

Comment 1 by sbasi@chromium.org, Jul 28 2016

So I re-ran this on a host with no image set and it errored out:

Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 567, in _exec
    _cherry_pick_call(self.initialize, *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/site_tests/brillo_Gtests/brillo_Gtests.py", line 43, in initialize
    host, BRILLO_NATIVE_TESTS_FILE_FMT, 'nativetests')
  File "/usr/local/autotest/server/site_tests/brillo_Gtests/brillo_Gtests.py", line 64, in _install_nativetests
    ds.stage_artifacts(image=build, artifacts=[artifact])
  File "/usr/local/autotest/client/common_lib/cros/retry.py", line 171, in func_retry
    remaining_time)
  File "/usr/local/autotest/client/common_lib/cros/retry.py", line 95, in timeout
    default_result = func(*args, **kwargs)
  File "/usr/local/autotest/client/common_lib/cros/dev_server.py", line 169, in wrapper
    return method(*args, **kwargs)
  File "/usr/local/autotest/client/common_lib/cros/dev_server.py", line 1589, in stage_artifacts
    raise DevServerException('Must specify all build info (target, '
DevServerException: Must specify all build info (target, build_id and branch) to stage.

Comment 2 by dshi@chromium.org, Aug 5 2016

Cc: steve...@chromium.org kevcheng@chromium.org
 Issue 634947  has been merged into this issue.
Status: Fixed (was: Assigned)

Sign in to add a comment