New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 726530 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 706132



Sign in to add a comment

autotest: copy less sysinfo file

Project Member Reported by gwendal@chromium.org, May 25 2017

Issue description

Running a simpler version of hardware_StorageQualBase to debug a device full issue, I notice test_that/autotest copies /var/log 3 times:


du -k /tmp/test_that_results_u_hAt8 | sort -n | grep -e "/var/log$"
243868  /tmp/test_that_results_u_hAt8/results-1-StorageQualBase.test/hardware_StorageQualBase/sysinfo/var/log
243876  /tmp/test_that_results_u_hAt8/results-1-StorageQualBase.test/hardware_StorageQualBase/sysinfo/reboot_current/var/log
243876  /tmp/test_that_results_u_hAt8/results-1-StorageQualBase.test/sysinfo/var/log

These logs represent 98% of all the data collected.
du -ks /tmp/test_that_results_u_hAt8
744172  /tmp/test_that_results_u_hAt8

Given it is collected during disk qual, we would save GCE space by storing only 1 version of /var/log.


 

Sign in to add a comment