New issue
Advanced search Search tips

Issue 806024 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Cave and veyron_speedy fail during HWTests with index keyvalue error

Project Member Reported by shapiroc@chromium.org, Jan 25 2018

Issue description

Example build:
https://luci-milo.appspot.com/buildbot/chromeos/cave-paladin/2809

Error log:
https://logs.chromium.org/v/?s=chromeos%2Fbb%2Fchromeos%2Fcave-paladin%2F2809%2F%2B%2Frecipes%2Fsteps%2FHWTest__bvt-inline_%2F0%2Fstdout

Error:
IndexError: list index out of range
11:10:04: ERROR: Failed to parse HWTest JSON dump string, subsystem based partial submission will be skipped:  Invalid swarming output: Traceback (most recent call last):
  File "/usr/local/autotest/site_utils/run_suite.py", line 2110, in <module>
    sys.exit(main())
  File "/usr/local/autotest/site_utils/run_suite.py", line 2093, in main
    result = _run_task(options)
  File "/usr/local/autotest/site_utils/run_suite.py", line 2030, in _run_task
    return _run_suite(options)
  File "/usr/local/autotest/site_utils/run_suite.py", line 1802, in _run_suite
    return _handle_job_wait(afe, job_id, options, job_timer, is_real_time)
  File "/usr/local/autotest/site_utils/run_suite.py", line 1904, in _handle_job_wait
    collector.run()
  File "/usr/local/autotest/site_utils/run_suite.py", line 1608, in run
    self._generate_web_and_buildbot_links()
  File "/usr/local/autotest/site_utils/run_suite.py", line 1442, in _generate_web_and_buildbot_links
    suite_job_keyvals = self._suite_views[0]['job_keyvals']
IndexError: list index out of range
 
Status: Started (was: Untriaged)
Not sure the underlying problem, but I can fix the IndexError at least.
Project Member

Comment 3 by bugdroid1@chromium.org, Jan 26 2018

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

commit a336b9f9431c449824acf520d7cd523024666fce
Author: Aviv Keshet <akeshet@chromium.org>
Date: Fri Jan 26 21:47:41 2018

autotest: run_suite: fix IndexError for certain suite failure modes

BUG= chromium:806024 
TEST=None

Change-Id: I7dabbc256484b0b5211faf239c65ada40fc587d9
Reviewed-on: https://chromium-review.googlesource.com/888666
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>

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

Status: Fixed (was: Started)
presumed fixed

Sign in to add a comment