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

Issue 729330 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

suite_scheduler.ini typos should not cause suite scheduler to crash

Project Member Reported by akes...@chromium.org, Jun 3 2017

Issue description

06/03 10:10:51.001 INFO |   suite_scheduler:0263| Connecting to: chromeos-server30.cbf.corp.google.com
06/03 10:10:51.002 DEBUG|             utils:0203| Running 'which git'
06/03 10:10:54.185 DEBUG|          autotemp:0116| Clean was not called for /tmp/_autotmp_a7f6DS_suite_scheduler

... and then the log ends
 
The "which git" logging is coming from the initializion pathway from suite_scheduler.py, from the constructor to ManifestVersions. That constructor also sets up the tmp directory that is failing to be cleaned.

    logging.info('Connecting to: %s' , afe.server)
    enumerator = board_enumerator.BoardEnumerator(afe)
    scheduler = deduping_scheduler.DedupingScheduler(afe, options.file_bug)
    mv = manifest_versions.ManifestVersions(options.tmp_repo_dir)
Cc: tturney@google.com
https://chrome-internal-review.googlesource.com/387875 had a typo, fixing
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 3 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/chromeos-admin/+/731769a4b77a47a7405c6d5e7faf203449143f53

commit 731769a4b77a47a7405c6d5e7faf203449143f53
Author: Aviv Keshet <akeshet@chromium.org>
Date: Sat Jun 03 17:25:03 2017

Cc: pprabhu@chromium.org ihf@chromium.org
Labels: -Pri-0 Pri-1
Summary: suite_scheduler.ini typos should not cause suite scheduler to crash (was: suite_scheduler is crashlooping)
Crashlooping was fixed by ^ plus forced puppet run.

Follow ups:

1) If suite_scheduler.ini is not parseable, that should be made obvious from the suite_scheduler logs.

2a) Puppet should ensure parsesability before dropping a new suite_scheduler.ini

2b) Or, suite_scheduler should switch to a forgiving parser, so that only the suite definitions that are malformed are affected, not the entire set.
Labels: Chase-Pending

Comment 7 by aut...@google.com, Jun 5 2017

Labels: -Chase-Pending Chase
Notes: there's a test, it doesn't run automatically (Dan / Xixuan have details about the test). 

Comment 8 by aut...@google.com, Jun 5 2017

Owner: dshi@chromium.org

Comment 10 by dshi@chromium.org, Jun 13 2017

Status: Fixed (was: Untriaged)

Sign in to add a comment