New issue
Advanced search Search tips

Issue 739545 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

swarming proxy leaves huge number of log files around

Project Member Reported by akes...@chromium.org, Jul 5 2017

Issue description

In chromeos-test@chromeos-server22:/usr/local/autotest/logs$ there are thousands upon thousands of run_suite and abort_suite logs, with names like run_suite-nyan_kitty-release_R61-9631.0.0.log

There are enough that even doing a `find -name "run_suite*" -delete` is taking 10+ minutes

We should fix the logging situation, either by rotating these logs, or just not saving them at all.
 
Status: Started (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 11 2017

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

commit d3cb33dfd6737a153a6854a95976876e01490592
Author: xixuan <xixuan@chromium.org>
Date: Tue Jul 11 00:33:20 2017

autotest: Let run_suite.py not to generate local log file by default.

This CL changes the run_suite.py's default behaviour by not letting it
to stream the output to a local file anymore. If you want to enable this
log, you need to pass in --require_log.

BUG= chromium:739545 
TEST=Ran run_suite.py *** --require_log vs run_suite.py ***. Ran
unittest.

Change-Id: Ia8823737d3a64263e2393ab91eb7f56c407ac0c5
Reviewed-on: https://chromium-review.googlesource.com/564059
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>

[modify] https://crrev.com/d3cb33dfd6737a153a6854a95976876e01490592/site_utils/run_suite.py

fixed?

Comment 4 by xixuan@chromium.org, Aug 14 2017

Status: Fixed (was: Started)

Sign in to add a comment