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

Issue 1203433002: Migrate PageSets to StorySets in buildbot page sets (Closed)

Created:
5 years, 6 months ago by rmistry
Modified:
5 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Migrate PageSets to StorySets in buildbot page sets BUG=skia:3967 NOTRY=true TBR= Committed: https://skia.googlesource.com/skia/+/dd3b12e270ada5cc207c54d0d26c7a7c3d0e123e

Patch Set 1 #

Patch Set 2 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -120 lines) Patch
M tools/skp/page_sets/skia_carsvg_desktop.py View 2 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_chalkboard_desktop.py View 2 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_css3gradients_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_digg_nexus10.py View 2 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_espn_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_gamedeksiam_nexus10.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_gmail_nexus10.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_gmailthread_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_googlehome_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_googlespreadsheet_desktop.py View 2 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_mapsvg_desktop.py View 2 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_mozilla_nexus10.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_nytimes_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_pokemonwiki_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_pravda_nexus10.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_samoasvg_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_theverge_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_tigersvg_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_ugamsolutions_desktop.py View 1 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_unicodetable_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_wikipedia_desktop.py View 2 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_worldjournal_nexus10.py View 2 chunks +5 lines, -5 lines 0 comments Download
M tools/skp/page_sets/skia_wowwiki_desktop.py View 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
rmistry
Also, I am assuming that if this lands then it will fail until an upstream ...
5 years, 6 months ago (2015-06-22 16:56:21 UTC) #2
nednguyen
5 years, 6 months ago (2015-06-22 21:12:45 UTC) #4
nednguyen
On 2015/06/22 21:12:45, nednguyen (ooo til 06-22) wrote: lgtm If you use "CreateStorySet" method in ...
5 years, 6 months ago (2015-06-22 21:14:37 UTC) #5
rmistry
On 2015/06/22 21:14:37, nednguyen (ooo til 06-22) wrote: > On 2015/06/22 21:12:45, nednguyen (ooo til ...
5 years, 6 months ago (2015-06-23 11:00:23 UTC) #6
rmistry
On 2015/06/23 11:00:23, rmistry wrote: > On 2015/06/22 21:14:37, nednguyen (ooo til 06-22) wrote: > ...
5 years, 5 months ago (2015-06-30 10:21:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203433002/1
5 years, 5 months ago (2015-06-30 10:22:10 UTC) #11
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 5 months ago (2015-06-30 10:22:11 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/793)
5 years, 5 months ago (2015-06-30 10:23:21 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203433002/20001
5 years, 5 months ago (2015-06-30 10:27:48 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-06-30 10:28:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203433002/20001
5 years, 5 months ago (2015-06-30 10:29:00 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203433002/20001
5 years, 5 months ago (2015-06-30 10:53:20 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/dd3b12e270ada5cc207c54d0d26c7a7c3d0e123e
5 years, 5 months ago (2015-06-30 10:54:12 UTC) #25
rmistry
On 2015/06/30 10:54:12, commit-bot: I haz the power wrote: > Committed patchset #2 (id:20001) as ...
5 years, 5 months ago (2015-06-30 11:52:49 UTC) #26
nednguyen
5 years, 5 months ago (2015-06-30 13:37:21 UTC) #27
Message was sent while issue was closed.
On 2015/06/30 11:52:49, rmistry wrote:
> On 2015/06/30 10:54:12, commit-bot: I haz the power wrote:
> > Committed patchset #2 (id:20001) as
> >
https://skia.googlesource.com/skia/+/dd3b12e270ada5cc207c54d0d26c7a7c3d0e123e
> 
> Ned, this caused the following failure in our bots:
> 
> [11:18:42.433592] [11:18:41.961316] Traceback (most recent call last):
> [11:18:42.433611] [11:18:41.961353]   <module> at tools/perf/run_benchmark:20
> [11:18:42.433628] [11:18:41.961412]    
sys.exit(benchmark_runner.main(config))
> [11:18:42.433661] [11:18:41.961452]   main at
> tools/telemetry/telemetry/benchmark_runner.py:438
> [11:18:42.433679] [11:18:41.961471]     return command().Run(options)
> [11:18:42.433696] [11:18:41.961496]   Run at
> tools/telemetry/telemetry/benchmark_runner.py:270
> [11:18:42.433714] [11:18:41.961516]     return min(255,
> self._benchmark().Run(args))
> [11:18:42.433731] [11:18:41.961550]   Run at
> tools/telemetry/telemetry/benchmark.py:180
> [11:18:42.433748] [11:18:41.961569]     stories =
> self.CreateStorySet(finder_options)
> [11:18:42.433764] [11:18:41.961594]   CreateStorySet at
> tools/perf/benchmarks/skpicture_printer.py:52
> [11:18:42.433781] [11:18:41.961627]     return page_set_class()
> [11:18:42.433799] [11:18:41.961652] TypeError: 'NoneType' object is not
callable
> 
> 
> 
> This is how I fixed it:
> 
> 
> -from telemetry import story
>  from telemetry.page import page as page_module
> +from telemetry.page import page_set as page_set_module
>  from telemetry.page import shared_page_state
>  
>  
> @@ -20,7 +21,7 @@ class SkiaBuildbotDesktopPage(page_module.Page):
>      self.archive_data_file = 'data/skia_carsvg_desktop.json'
>  
>  
> -class SkiaCarsvgDesktopPageSet(story.StorySet):
> +class SkiaCarsvgDesktopPageSet(page_set_module.PageSet):
>  
>    """ Pages designed to represent the median, not highly optimized web """
> 
> 
> 
> I thought using story.StorySet was the right way of doing things. What am I
> missing?

Hmh, skpicture_printer benchmark is doing some weird logic to discover page_set.
I will make update it.

Powered by Google App Engine
This is Rietveld 408576698