cros debug: update for newer gdb logic |
|||||||
Issue descriptionhttps://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8941335085363028032 VMTest (attempt 1) fails with: " 23:04:27: INFO: Running VM test cros_vm_test. 23:04:28: INFO: Setting up the VM for testing. 23:04:28: INFO: RunCommand: parted -m /b/swarming/w/ir/cache/cbuild/repository/src/build/images/betty/latest-cbuildbot/chromiumos_qemu_image.bin unit MB print 23:05:14: INFO: VM started at port 60518 23:05:14: INFO: The VM has been successfully set up. Ready to run tests. 23:05:14: INFO: Running test for cros shell. 23:05:14: INFO: Test to use shell command to write a file to the VM device. 23:05:14: INFO: RunCommand: cros shell --no-known-hosts ssh://localhost:60518 -- 'echo "shell command test file" > /tmp/shell-test' 23:05:15: INFO: Test to use shell command to read a file on the VM device. 23:05:15: INFO: RunCommand: cros shell --no-known-hosts ssh://localhost:60518 -- 'cat /tmp/shell-test' 23:05:17: INFO: Test to use shell command to remove a file on the VM device. 23:05:17: INFO: RunCommand: cros shell --no-known-hosts ssh://localhost:60518 -- 'rm /tmp/shell-test' 23:05:18: INFO: Test for cros shell passed. 23:05:18: INFO: Running test for cros debug. 23:05:18: INFO: Test to start and debug a new process on the VM device. 23:05:18: INFO: RunCommand: cros debug --exe /bin/bash ssh://localhost:60518 [1;31m23:05:22: ERROR: Failed to start and debug a new process on the VM device.[0m 23:05:22: INFO: " Assigning to sheriffs for triage. Note: because of crbug.com/863120 the build report is misleading, VMTest (attempt 1) is the one failing.
,
Jul 12
gdb_remote has been an `exit 0` nop since Oct 2017, so any tests relying on it haven't actually been validating anything. we should disable any related tests for now to unblock things.
,
Jul 12
It doesn't seem to be any specific test, but chromite/cli/cros/cros_debug.py Not sure who the owner would be, assigning to dgarrett@ since he poked around quite a bit in this repository. Please reassign if somebody else should be looking into this.
,
Jul 12
Passing to the current bobby for riate.
,
Jul 13
i mean disable the test/code that is calling `cros debug` until we can fix cros debug
,
Jul 13
assigning to mka@ ... he has a fix in flight
,
Jul 13
It's only a workaround that disables the test, we still need an owner for fixing the actual issue and re-enabling the test.
,
Jul 14
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/chromite/+/a45e2dc3dcb392175aa8ff31b368fd822da06129 commit a45e2dc3dcb392175aa8ff31b368fd822da06129 Author: Matthias Kaehlcke <mka@chromium.org> Date: Sat Jul 14 00:29:02 2018 command_vm_test: disable debug test 'cros debug' is currently broken since it still uses the gdb_remote, which has was replaced by gdb-${BOARD} (chromium:361767). BUG=chromium:863122 TEST=precq passes Change-Id: I593d40614e72b59afdf46b52660d4fc6eca343ad Reviewed-on: https://chromium-review.googlesource.com/1136661 Commit-Ready: Matthias Kaehlcke <mka@chromium.org> Tested-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [modify] https://crrev.com/a45e2dc3dcb392175aa8ff31b368fd822da06129/cli/command_vm_test.py
,
Jul 14
,
Jul 16
Copying current sheriffs
,
Jul 25
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by mka@chromium.org
, Jul 12