New issue
Advanced search Search tips

Issue 782052 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 779267



Sign in to add a comment

VMTestStage on betty-release: cros_vm_test 'cros debug' test is broken

Project Member Reported by pprabhu@chromium.org, Nov 7 2017

Issue description

Forked from  issue 779267 

cros debug is failing to find the 'update_engine' process to debug.

16:38:44: INFO: Test to start and debug a new process on the VM device.
16:38:44: INFO: RunCommand: cros debug --exe /bin/bash ssh://localhost:58406
16:38:53: INFO: Test to attach a running process on the VM device.
16:38:53: ERROR: Failed to find any running process to debug.
16:38:53: INFO: Stopping the VM.
16:39:26: INFO: The VM has been stopped.
16:39:26: ERROR: 
!!!VMTests failed!!!


Example build: https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/release/builds/16922
 
Blocking: 779267
Components: Infra>Client>ChromeOS
Labels: -OS-Mac OS-Chrome
Owner: norvez@chromium.org
Status: Started (was: Available)
Root cause: https://bugs.chromium.org/p/chromium/issues/detail?id=779267#c26

Proposed CL: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/761416
Project Member

Comment 4 by bugdroid1@chromium.org, Nov 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/crosutils/+/c779127055235960caad8c3a430928b3da261e3f

commit c779127055235960caad8c3a430928b3da261e3f
Author: Nicolas Norvez <norvez@chromium.org>
Date: Sat Nov 11 02:45:51 2017

cros_vm_lib: always use virtio_gpu

cirrus support has been removed, virtio_gpu is the only supported
option.
This fixes cros_vm_test which is failing because the board is not
specified by the chromite calling code, so qemu uses cirrus by default.
This in turns breaks Chrome, so system services (e.g. update_engine)
aren't started.

BUG= chromium:779267 
BUG= chromium:782052 
BUG=chromium:710629
TEST=cros_vm_test on novato passes

Change-Id: I87b1e03e8cc60169ad9bc47433c4b270233c60e8
Reviewed-on: https://chromium-review.googlesource.com/761416
Commit-Ready: Nicolas Norvez <norvez@chromium.org>
Tested-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/c779127055235960caad8c3a430928b3da261e3f/lib/cros_vm_lib.sh

Comment 5 by norvez@chromium.org, Nov 11 2017

Status: Fixed (was: Started)

Comment 6 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Comment 7 by dchan@chromium.org, Jan 23 2018

Status: Fixed (was: Archived)

Sign in to add a comment