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

Issue 709281 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocked on:
issue 709652

Blocking:
issue 708262



Sign in to add a comment

repair should continue beyond autoupdate repair step if staging the source build artifacts fails

Project Member Reported by pprabhu@chromium.org, Apr 6 2017

Issue description

Otherwise if a DUT lands on a build where we can't stage the artifacts for that build, repair will fail to get the DUT off that build even if servo repair could have helped.

Pri-0 unless the blocked Pri-0 bug has a workaround.
 
Owner: jrbarnette@chromium.org
Status: Assigned (was: Untriaged)
jrbarnette@ thought that we were using the old repair flow. If we do, we'd not need any artifacts from the source build. Which is the Right Thing (TM).

So, jrbarnette@ is going to flip the switch back, to use the old provision flow.
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 7 2017

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

commit 01d689a5f87b19f473ab517a7b167320ffdc80be
Author: Richard Barnette <jrbarnette@chromium.org>
Date: Fri Apr 07 16:34:40 2017

[autotest] Don't use "install_by_devserver" for AU repair.

The machine_install_by_devserver() code flow relies on a working
stateful partition (with python, etc.).  Repair can't afford to
depend on that, so use the old AU flow that doesn't depend on
a working stateful.

BUG= chromium:709281 
TEST=None

Change-Id: I095594bf6b869cb17a0731b81c4be703f324d388
Reviewed-on: https://chromium-review.googlesource.com/470786
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@google.com>

[modify] https://crrev.com/01d689a5f87b19f473ab517a7b167320ffdc80be/server/afe_utils.py

I thought it was a case that "python lib doesn't work" & "old package cannot be staged". But tried provision_by_devserver on this DUT (chromeos4-row10-rack9-host15) after stable_version is updated to "quawks-release/R58-9334.28.0". It's finished successfully. So failed to get a case.


That's because in the case of this board, newer python from quawks-release/R58-9334.28.0 works on the old build on the DUT (R54... something).

That's not always guaranteed. See gwendal's bug where this breaks.
https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/hosts/chromeos4-row10-rack9-host15/2359-repair/20170704133130/debug/

Repair failed by no 'stateful_update' script 

Could not find Chrome OS source location for stateful_update script at /usr/local/google/chromeos/src/platform/dev/stateful_update, falling back to chroot copy
Could not chroot stateful_update script (which is ;/usr/bin/stateful_update'), falling back on client copy.
Cc: shuqianz@chromium.org ayatane@chromium.org
new shard & test_shard doesn't have chromeos in /usr/local/google, so there's no '/usr/local/google/chromeos/src/platform/dev/stateful_update'.
Project Member

Comment 8 by bugdroid1@chromium.org, Apr 7 2017

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

commit 52161ac0c7ec44cfed08be3aea013f3e3658ec42
Author: Xixuan Wu <xixuan@chromium.org>
Date: Fri Apr 07 21:54:12 2017

Revert "[autotest] Don't use "install_by_devserver" for AU repair."

This reverts commit 01d689a5f87b19f473ab517a7b167320ffdc80be.

old provision code flow cannot work in new shards (like chromeos-server102.mtv & test_shard).

BUG= chromium:709281 

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> [autotest] Don't use "install_by_devserver" for AU repair.
> 
> The machine_install_by_devserver() code flow relies on a working
> stateful partition (with python, etc.).  Repair can't afford to
> depend on that, so use the old AU flow that doesn't depend on
> a working stateful.
> 
> BUG= chromium:709281 
> TEST=None
> 
> Change-Id: I095594bf6b869cb17a0731b81c4be703f324d388
> Reviewed-on: https://chromium-review.googlesource.com/470786
> Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
> Tested-by: Richard Barnette <jrbarnette@chromium.org>
> Reviewed-by: Richard Barnette <jrbarnette@google.com>
> 

TBR=jrbarnette@chromium.org,jrbarnette@google.com,xixuan@chromium.org,pprabhu@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= chromium:709281 

Change-Id: I74430cbea7c7911b3e313cb352427341c6b22a07
Reviewed-on: https://chromium-review.googlesource.com/471873
Reviewed-by: Xixuan Wu <xixuan@chromium.org>
Commit-Queue: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>

[modify] https://crrev.com/52161ac0c7ec44cfed08be3aea013f3e3658ec42/server/afe_utils.py

Blockedon: 709652

Comment 10 by aut...@google.com, Apr 13 2017

Labels: -current-issue
Project Member

Comment 11 by sheriffbot@chromium.org, Apr 21 2017

Pri-0 bugs are critical regressions or serious emergencies, and this bug has not been updated in three days. Could you please provide an update, or adjust the priority to a more appropriate level if applicable?

If a fix is in active development, please set the status to Started.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Pri-0 Pri-1
Status: WontFix (was: Assigned)
I'm not quite sure what this bug was ever about, but I do recall
it was for a problem that's now fixed.

Sign in to add a comment