New issue
Advanced search Search tips

Issue 685447 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2017
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

cros deploy fail on eve

Project Member Reported by mqg@chromium.org, Jan 26 2017

Issue description

Chrome Version: Google Chrome 57.0.2984.0
Chrome OS Version: Platform 9211.0.0-17.01.23
Chrome OS Platform: eve
Network info: test LAN

Steps To Reproduce:
-(1) cros deploy <ip address> <package>

Expected Result:
-progress bar and 100%

Actual Result:
-using gtest as an example:
-16:44:57: ERROR: Failed to emerge package gtest-1.7.0.tbz2
-and some very long error message

How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce?)
-Always

What is the impact to the user, and is there a workaround? If so, what is
it?
-blocking development
 

Comment 1 by mqg@chromium.org, Jan 26 2017

Complete error message for gtest in attachment. I blocked out my ip address. 
eve_cros_deploy_error.txt
8.5 KB View Download

Comment 2 by tbroch@chromium.org, Jan 26 2017

I've seen this failure as well ... and just on eve.

From err log,
bash: emerge: command not found

Seems test images from build server don't currently contain emerge dep while those I've built locally (./build_packages && ./build_image test) do as well as test images for other machines.






Comment 3 by tbroch@chromium.org, Jan 26 2017

On machine w/ emerge I additionally see these portage related dirs,


/usr/local/etc/portage
/usr/local/lib64/python2.7/site-packages/portage
/usr/local/lib/portage
/usr/local/lib/portage/pym/portage
/usr/local/share/portage
/usr/share/dev-install/portage
/usr/share/portage
/etc/portage
/mnt/stateful_partition/dev_image/etc/portage
/mnt/stateful_partition/dev_image/lib64/python2.7/site-packages/portage
/mnt/stateful_partition/dev_image/lib/portage
/mnt/stateful_partition/dev_image/lib/portage/pym/portage
/mnt/stateful_partition/dev_image/share/portage
/mnt/stateful_partition/var_overlay/tmp/portage
/mnt/stateful_partition/var_overlay/lib/portage
/mnt/stateful_partition/var_overlay/log/portage


While an eve w/o emerge has only,

/usr/share/dev-install/portage
/usr/share/portage
/etc/portage

Comment 4 by tbroch@chromium.org, Jan 27 2017

Mounting the test image from the builder for 9211.0.0 I also find emerge in path,

/usr/local/lib/portage/bin/emerge

So its definitely part of the chromiumos_test_image.bin
So a workaround is to run 'test_that' which seems to properly mount stateful

mount | grep /usr/local
/dev/mmcblk0p1 on /usr/local type ext4 (rw,nodev,relatime,seclabel,commit=600,data=ordered)

Not sure if this failure to mount stateful is unique to eve or if something globally has changed.
Still not sure why exactly this is being noticed on eve but even simpler workaround should be to run dev_image locally on cros device.

Comment 7 by mqg@chromium.org, Jun 19 2017

Status: WontFix (was: Unconfirmed)
No longer an issue.

Sign in to add a comment