Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Issue 741853002: The test attribute of a benchmark should refer to a page test class. (Closed)

Created:
6 years, 1 month ago by ariblue
Modified:
6 years, 1 month ago
Reviewers:
achuithb, tonyg, ernstm
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

The test attribute of a benchmark should refer to a page test class. Since we pass in a custom parameter, we must provide a custom CreatePageTest class. BUG=434981 Committed: https://crrev.com/d32138884f0497691a3969bdae5e2f27c22d50ef Cr-Commit-Position: refs/heads/master@{#304986}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M tools/perf/benchmarks/session_restore.py View 4 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
achuithb
On 2014/11/19 22:43:55, ariblue wrote: > mailto:ariblue@google.com changed reviewers: > + mailto:achuith@chromium.org, mailto:ernstm@chromium.org lgtm, but ...
6 years, 1 month ago (2014-11-20 02:01:51 UTC) #2
tonyg
lgtm
6 years, 1 month ago (2014-11-20 05:01:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/741853002/1
6 years, 1 month ago (2014-11-20 05:02:10 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 1 month ago (2014-11-20 07:05:30 UTC) #7
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/d32138884f0497691a3969bdae5e2f27c22d50ef Cr-Commit-Position: refs/heads/master@{#304986}
6 years, 1 month ago (2014-11-20 07:06:14 UTC) #8
rnephew (Reviews Here)
Would this CL be causing this issue? If so, what steps should I take to ...
6 years, 1 month ago (2014-11-20 16:03:39 UTC) #9
ernstm
6 years, 1 month ago (2014-11-20 17:35:46 UTC) #10
Message was sent while issue was closed.
On 2014/11/20 16:03:39, rnephew1 wrote:
> Would this CL be causing this issue? If so, what steps should I take to fix
> this.
> 
> Traceback (most recent call last):
>   <module> at tools/perf/run_benchmark:18
>     sys.exit(benchmark_runner.main())
>   main at tools/telemetry/telemetry/benchmark_runner.py:336
>     return command().Run(options)
>   Run at tools/telemetry/telemetry/benchmark_runner.py:169
>     return min(255, self._benchmark().Run(args))
>   Run at tools/telemetry/telemetry/benchmark.py:87
>     pt = self.CreatePageTest(finder_options)
>   CreatePageTest at tools/telemetry/telemetry/benchmark.py:188
>     if not issubclass(self.test, page_test.PageTest):
> TypeError: issubclass() arg 1 must be a class
> 
> 
>
https://uberchromegw.corp.google.com/i/clank/builders/mako-sharded-official-p...

Similar problem, but different benchmark. I'll make a patch to fix it.

Powered by Google App Engine
This is Rietveld 408576698