New issue
Advanced search Search tips

Issue 688114 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

cros tools not warning when /usr/local/bin missing

Project Member Reported by grundler@google.com, Feb 2 2017

Issue description


In retrospect, this sounds stupid.  But when I "cros flash" a test build to a DUT and then "cros deploy" fails the next day, my first thought is cros tools functionality has been broken.

"Something Bad"(tm) happened to the stateful partition and /usr/local/bin is stored on the stateful partition - that's not obvious unless one has looked at /proc/mount carefully before.  I know (and incorrectly assumed only) /var is the mount point for stateful partition.

powerwash and factory-reset-like operations will blow away everything stateful. That's expected behavior. But if the target is a test build, that needs to be somehow restored in order to run python or emerge (locally) on the DUT.

"cros deploy" and other tools (e.g. test_that) can bridge this ignorance gap by just telling the caller when /usr/local/bin is missing and how to restore it for the build flavor that is installed (perhaps even verify there is a test-build installed on the machine as indicated by /etc/lsb-release).
 

Comment 1 by aut...@google.com, Feb 9 2017

Labels: -current-issue Hotlist-Fixit
Fixit: update message to be clearer about the root cause
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 27 2017

Labels: Hotlist-Google
Status: Archived (was: Untriaged)
This bug is very old, is Untriaged, and has no owner.  If it is still relevant, reopen as Untriaged or open a new bug

Sign in to add a comment