fs_mgr: overlayfs: test: triage data missing after failure flash scratch

After flashing empty image to scratch device, the device did not
return after 3 minutes.  It also did not collect any triage data
reporting only:

[  FAILED  ] did not reboot after flash

Add triage data, increase timeout to 4 minutes.

Test: adb-remount-test.sh
Bug: 132070014
Change-Id: Ic607abb5b2575d630bf6c27817a38a90820d24e1
This commit is contained in:
Mark Salyzyn 2019-06-03 12:37:50 -07:00
parent 0c615194f4
commit 4d702e8dea

View file

@ -51,7 +51,7 @@ print_time=false
start_time=`date +%s`
ACTIVE_SLOT=
ADB_WAIT=3m
ADB_WAIT=4m
FASTBOOT_WAIT=2m
##
@ -1331,7 +1331,7 @@ else
echo "${ORANGE}[ WARNING ]${NORMAL} adb after fastboot"
adb_wait ${ADB_WAIT} ||
fixup_from_recovery ||
die "did not reboot after flash `usb_status`"
die "did not reboot after formatting ${scratch_cpartition} `usb_status`"
if ${overlayfs_needed}; then
adb_root &&
D=`adb_sh df -k </dev/null` &&
@ -1426,7 +1426,7 @@ if [ -n "${scratch_partition}" ]; then
die "fastboot flash ${scratch_partition}"
adb_wait ${ADB_WAIT} &&
adb_root ||
die "did not reboot after flash"
die "did not reboot after flashing empty ${scratch_partition} `usb_status`"
T=`adb_date`
D=`adb disable-verity 2>&1`
err=${?}