New issue
Advanced search Search tips

Issue 906723 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 30
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Firmware test fails to unmount the usb stick correctly

Project Member Reported by hadd...@google.com, Nov 19

Issue description

11/16 16:10:51.132 INFO |             servo:0676| Will execute on servo host: umount -l /dev/sdc3
11/16 16:10:51.147 DEBUG|          ssh_host:0301| Running (ssh) 'umount -l /dev/sdc3' from 'run_once|assert_test_image_in_usb_disk|system|run|run|run_very_slowly'
11/16 16:10:51.180 INFO |             servo:0676| Will execute on servo host: sync
11/16 16:10:51.193 DEBUG|          ssh_host:0301| Running (ssh) 'sync' from 'run_once|assert_test_image_in_usb_disk|system|run|run|run_very_slowly'
11/16 16:10:51.285 INFO |             servo:0676| Will execute on servo host: rm -rf /tmp/usbcheck.42RB
11/16 16:10:51.304 DEBUG|          ssh_host:0301| Running (ssh) 'rm -rf /tmp/usbcheck.42RB' from 'run_once|assert_test_image_in_usb_disk|system|run|run|run_very_slowly'
11/16 16:10:51.363 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/dev/null': Read-only file system
11/16 16:10:51.368 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/sys': Read-only file system
11/16 16:10:51.375 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/mnt/stateful_partition': Read-only file system
11/16 16:10:51.376 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/etc/udev/hwdb.d': Read-only file system
11/16 16:10:51.382 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/etc/udev/rules.d/50-vgem.rules': Read-only file system
11/16 16:10:51.382 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/etc/udev/rules.d/50-backchannel-network.rules': Read-only file system
11/16 16:10:51.383 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/etc/udev/udev.conf': Read-only file system
11/16 16:10:51.383 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/etc/udev/hwdb.bin': Read-only file system
11/16 16:10:51.384 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/etc/hosts.d/hosts': Read-only file system
11/16 16:10:51.387 ERROR|             utils:0287| [stderr] rm: cannot remove '/tmp/usbcheck.42RB/etc/xl2tpd/l2tp-secrets': Read-only file system

 
Project Member

Comment 1 by bugdroid1@chromium.org, Nov 21

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

commit b7a203af600c83f03dfbb4bc2c2d0cca62005f7c
Author: Keith Haddow <haddowk@chromium.org>
Date: Wed Nov 21 13:53:02 2018

[firmware_test] Fix unmount error

The code was unmounting the device node rather than the mount
directory.

TEST=manually tested on moblab
BUG= chromium:906723 

Change-Id: Ic64a9e1f9dddee2885ca2b1869378afa20164f9a
Reviewed-on: https://chromium-review.googlesource.com/1343137
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Kevin Shelton <kmshelton@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>

[modify] https://crrev.com/b7a203af600c83f03dfbb4bc2c2d0cca62005f7c/server/cros/faft/firmware_test.py

Status: Fixed (was: Assigned)

Sign in to add a comment