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

Issue 1858713002: Fail run_benchmark if archive_data_file is specified and not found (Closed)

Created:
4 years, 8 months ago by rmistry
Modified:
4 years, 8 months ago
Reviewers:
nednguyen, rmistry1
CC:
catapult-reviews_chromium.org
Base URL:
https://github.com/catapult-project/catapult@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Fail run_benchmark if archive_data_file is specified and not found. Created from https://codereview.chromium.org/1856603003/#msg9 BUG=chromium:600154

Patch Set 1 : Initial upload #

Patch Set 2 : Add test #

Patch Set 3 : Try base path #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M telemetry/telemetry/story/story_set.py View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M telemetry/telemetry/story/story_set_unittest.py View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (16 generated)
rmistry
4 years, 8 months ago (2016-04-04 17:43:00 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858713002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858713002/1
4 years, 8 months ago (2016-04-04 17:43:11 UTC) #5
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 8 months ago (2016-04-04 17:43:12 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858713002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858713002/1
4 years, 8 months ago (2016-04-04 17:44:10 UTC) #9
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 8 months ago (2016-04-04 17:44:12 UTC) #11
nednguyen
lgtm
4 years, 8 months ago (2016-04-04 17:50:47 UTC) #12
nednguyen
On 2016/04/04 17:50:47, nednguyen wrote: > lgtm Actually, can you add simple test coverage to ...
4 years, 8 months ago (2016-04-04 17:51:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858713002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858713002/1
4 years, 8 months ago (2016-04-04 17:51:20 UTC) #15
rmistry
On 2016/04/04 17:51:18, nednguyen wrote: > On 2016/04/04 17:50:47, nednguyen wrote: > > lgtm > ...
4 years, 8 months ago (2016-04-04 17:51:52 UTC) #17
rmistry
On 2016/04/04 17:51:52, rmistry wrote: > On 2016/04/04 17:51:18, nednguyen wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 18:00:21 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858713002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858713002/40001
4 years, 8 months ago (2016-04-04 18:01:30 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Catapult Presubmit on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Presubmit/builds/2217)
4 years, 8 months ago (2016-04-04 18:08:57 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858713002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858713002/40001
4 years, 8 months ago (2016-04-04 18:19:35 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Catapult Mac Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Mac%20Tryserver/builds/2648)
4 years, 8 months ago (2016-04-04 18:49:04 UTC) #28
rmistry
On 2016/04/04 18:49:04, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 8 months ago (2016-04-04 18:51:43 UTC) #29
rmistry
On 2016/04/04 18:51:43, rmistry wrote: > On 2016/04/04 18:49:04, commit-bot: I haz the power wrote: ...
4 years, 8 months ago (2016-04-04 18:54:20 UTC) #30
nednguyen
On 2016/04/04 18:54:20, rmistry wrote: > On 2016/04/04 18:51:43, rmistry wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 19:07:42 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858713002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858713002/60001
4 years, 8 months ago (2016-04-04 20:16:56 UTC) #33
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Catapult Mac Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Mac%20Tryserver/builds/2656)
4 years, 8 months ago (2016-04-04 20:31:28 UTC) #35
rmistry
On 2016/04/04 19:07:42, nednguyen wrote: > On 2016/04/04 18:54:20, rmistry wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 20:34:59 UTC) #36
nednguyen
On 2016/04/04 20:34:59, rmistry wrote: > On 2016/04/04 19:07:42, nednguyen wrote: > > On 2016/04/04 ...
4 years, 8 months ago (2016-04-05 03:48:17 UTC) #37
nednguyen
4 years, 8 months ago (2016-04-05 15:02:00 UTC) #38
On 2016/04/05 03:48:17, nednguyen wrote:
> On 2016/04/04 20:34:59, rmistry wrote:
> > On 2016/04/04 19:07:42, nednguyen wrote:
> > > On 2016/04/04 18:54:20, rmistry wrote:
> > > > On 2016/04/04 18:51:43, rmistry wrote:
> > > > > On 2016/04/04 18:49:04, commit-bot: I haz the power wrote:
> > > > > > Dry run: Try jobs failed on following builders:
> > > > > >   Catapult Mac Tryserver on master.tryserver.client.catapult
> > (JOB_FAILED,
> > > > > >
> > > > >
> > > >
> > >
> >
>
https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Ma...)
> > > > > 
> > > > > Actually will this work in story_set? It checks for the file's
existence
> > but
> > > > the
> > > > > file is relative to wherever the page set is.
> > > 
> > > Can we check for os.path.join(archive_data_file, base_dir) instead?
> > > > 
> > > > and maybe it makes sense to leave this check for specific page sets,
maybe
> > > some
> > > > page sets  do not mind using live data when the archive is missing?
> > > 
> > > If that is the case, the page_sets should explicitly set the directory to
> > None.
> > > Otherwise, I think the page sets using live data is a very surprising
> behavior
> > > (like your case).
> > 
> > This no longer appears to be a simple couple of lines fix, the catapult
tests
> > are failing because the test archive files do not exist and whenever this
does
> > land in Chromium there might be bot failures because the CL changes
behavior.
> > Ned, I recommend you take over this CL and try to see it through into
Chromium
> > since you are the most familiar with these moving pieces.
> > Let me know if you need any help with this.
> 
> Actually for pointing you to the wrong direction, I think the we intentionally
> don't check for non existing archive_data_file when instantiating the
story_set
> because in recording mode, it should create the the archive_data_file on fly
for
> you.
> 
> I make a patch in which I change the archive_data_file in Top25Smooth story
set
> & story_runner throw exception because the archive data file doesn't exist:
> https://codereview.chromium.org/1859003002

Close this CL since it's probably wrong change to make.

Powered by Google App Engine
This is Rietveld 408576698