New issue
Advanced search Search tips

Issue 639106 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Sep 2016
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

crosperf: error in reading results from cache

Project Member Reported by yunlian@chromium.org, Aug 18 2016

Issue description


I got the following when crosperf wants to read data from cache.
UTPUT: Storing email message body in /usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/telemetry_crosperf_suites_example_results.
OUTPUT: Storing results of each benchmark run.
Traceback (most recent call last):
  File "./crosperf.py", line 128, in <module>
    Main(sys.argv)
  File "./crosperf.py", line 124, in Main
    runner.Run()
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/experiment_runner.py", line 263, in Run
    self._Run(self._experiment)
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/experiment_runner.py", line 150, in _Run
    schedv2 = Schedv2(experiment)
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/schedv2.py", line 242, in __init__
    self._read_br_cache()
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/schedv2.py", line 283, in _read_br_cache
    BenchmarkRunCacheReader(self, self._experiment.benchmark_runs).run()
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/schedv2.py", line 210, in run
    br.ReadCache()
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/benchmark_run.py", line 78, in ReadCache
    self.result = self.cache.ReadResult()
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/results_cache.py", line 723, in ReadResult
    self.test_name, self.suite)
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/results_cache.py", line 478, in CreateFromCacheHit
    result.PopulateFromCacheDir(cache_dir, test, suite)
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/results_cache.py", line 383, in PopulateFromCacheDir
    self.ProcessResults()
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/results_cache.py", line 340, in ProcessResults
    self.keyvals = self.GetKeyvals()
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/results_cache.py", line 180, in GetKeyvals
    keyvals_dict, units_dict = self.GetNewKeyvals(keyvals_dict)
  File "/usr/local/google/home/yunlian/clean/src/third_party/toolchain-utils/crosperf/results_cache.py", line 111, in GetNewKeyvals
    result_dict = field_dict[k2]
TypeError: string indices must be integers

 
Project Member

Comment 1 by bugdroid1@chromium.org, Aug 20 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/toolchain-utils/+/eb9fce674ff90a6de04827bfe1ef6e07a99c8f61

commit eb9fce674ff90a6de04827bfe1ef6e07a99c8f61
Author: Caroline Tice <cmtice@google.com>
Date: Fri Aug 19 19:08:47 2016

Owner: cmt...@chromium.org

Comment 3 by cmt...@chromium.org, Sep 28 2016

Status: Fixed (was: Untriaged)

Comment 4 by dchan@chromium.org, Oct 7 2016

Labels: VerifyIn-55

Comment 5 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 6 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 7 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58
Status: Verified (was: Fixed)

Sign in to add a comment