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

Issue 292973006: Mod a hash of test names to determine a shard, rather than the test index. (Closed)

Created:
6 years, 7 months ago by tapted
Modified:
6 years, 7 months ago
Reviewers:
jam, sky, Paweł Hajdan Jr.
CC:
chromium-reviews, erikwright+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Mod a hash of test names to determine a shard, rather than the test index. This keeps tests on a particular shard, until their name changes. Currently tests can move to a different waterfall bot between runs; whenever a test is added or removed "before" it in the test suite. This makes it very hard to track failure history of a particular test, since it can "disappear" from prior builds on that bot. Also, since the shards do not have synced cycles, a revision that breaks test "A" might never be in a blamelist. E.g. Bad revision X breaks test "A", good revision X+1 adds unrelated test "B". Blamelists bot0:[X],[X+1] and bot1:[X, X+1]. Only bot0 will run test "A", and only on its second run, but it will not blame revision "X". Note "X" could even be the revision that adds test "A". Hashing the name does not guarantee an even distribution of tests. However, the duration of a test is not predictable, so the change to load variance should balance out except in pathological cases or very small test suites. BUG=372461 TBR=phajdan.jr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272920

Patch Set 1 #

Patch Set 2 : cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M base/test/launcher/test_launcher.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tapted
Hi Paweł - WDYT - is this a good idea?
6 years, 7 months ago (2014-05-22 11:45:30 UTC) #1
Paweł Hajdan Jr.
I see the reasons for this, and it's probably worth trying. I'm worried about the ...
6 years, 7 months ago (2014-05-22 13:37:52 UTC) #2
sky
On 2014/05/22 13:37:52, Paweł Hajdan Jr. wrote: > I see the reasons for this, and ...
6 years, 7 months ago (2014-05-22 15:06:01 UTC) #3
tapted
On 2014/05/22 15:06:01, sky wrote: > On 2014/05/22 13:37:52, Paweł Hajdan Jr. wrote: > > ...
6 years, 7 months ago (2014-05-23 00:11:51 UTC) #4
Paweł Hajdan Jr.
I'm fine with that distribution. If there are no objections from Scott or John, I'd ...
6 years, 7 months ago (2014-05-23 09:03:58 UTC) #5
jam
On 2014/05/23 09:03:58, Paweł Hajdan Jr. wrote: > I'm fine with that distribution. If there ...
6 years, 7 months ago (2014-05-23 15:28:06 UTC) #6
sky
LGTM too On Fri, May 23, 2014 at 8:28 AM, <jam@chromium.org> wrote: > On 2014/05/23 ...
6 years, 7 months ago (2014-05-23 15:53:02 UTC) #7
sky
LGTM
6 years, 7 months ago (2014-05-23 15:53:58 UTC) #8
tapted
The CQ bit was checked by tapted@chromium.org
6 years, 7 months ago (2014-05-27 02:32:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/292973006/20001
6 years, 7 months ago (2014-05-27 02:32:22 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 03:17:11 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-27 03:21:41 UTC) #12
Message was sent while issue was closed.
Change committed as 272920

Powered by Google App Engine
This is Rietveld 408576698