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

Issue 2075743002: [Telemetry] Make discover throw exceptions when it detects duplicate keys indexed by class name (Closed)

Created:
4 years, 6 months ago by nednguyen
Modified:
4 years, 5 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, Zhen Wang, aiolos (Not reviewing), eakuefner, dtu
Base URL:
https://github.com/catapult-project/catapult@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Telemetry] Make discover throw exceptions when it detects duplicate keys indexed by class name We don't throw exceptions when there is duplicate keys indexed by module name because telemetry_perf_unittest currently depends on this naming collision to reduce the number of benchmark it smokes test (bad!) This CL also renames linux_based_platform_backend_unittest.TestBackend classes to linux_based_platform_backend_unittest.TestLinuxBackend to avoid naming collision with posix_platform_backend_unittest.TestBackend (https://github.com/catapult-project/catapult/blob/a8a6fb7ea065c2df8ae129ad05ac80ba6ae7cc3a/telemetry/telemetry/internal/platform/posix_platform_backend_unittest.py#L13) Change announcement: https://groups.google.com/a/chromium.org/forum/#!topic/telemetry-announce/i6FlJJDFWQA) Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/897866760cc7c37b766620f2589ad19026e775b1

Patch Set 1 #

Patch Set 2 : [telemetry] Throws exception #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -8 lines) Patch
M telemetry/telemetry/core/discover.py View 1 3 chunks +25 lines, -1 line 0 comments Download
M telemetry/telemetry/internal/platform/linux_based_platform_backend_unittest.py View 6 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
nednguyen
4 years, 5 months ago (2016-06-27 04:51:51 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2075743002/20001
4 years, 5 months ago (2016-06-27 04:52:01 UTC) #6
nednguyen
On 2016/06/27 04:52:01, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 5 months ago (2016-06-27 04:52:59 UTC) #7
kouhei (in TOK)
lgtm telemetry/telemetry/internal/platform/linux_based_platform_backend_unittest.py: Would you describe the change here?
4 years, 5 months ago (2016-06-27 04:53:41 UTC) #8
nednguyen
On 2016/06/27 04:53:41, kouhei wrote: > lgtm > > telemetry/telemetry/internal/platform/linux_based_platform_backend_unittest.py: > Would you describe the ...
4 years, 5 months ago (2016-06-27 04:56:32 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-27 05:13:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2075743002/20001
4 years, 5 months ago (2016-07-08 04:10:10 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/897866760cc7c37b766620f2589ad19026e775b1
4 years, 5 months ago (2016-07-08 04:36:18 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 04:36:20 UTC) #21
Ken Russell (switch to Gerrit)
This breaks all of the GPU tests on the Chromium waterfall. See the failing tryjobs ...
4 years, 5 months ago (2016-07-09 00:58:33 UTC) #23
Ken Russell (switch to Gerrit)
+more Telemetry people because this should probably be reverted (and I don't have privileges to ...
4 years, 5 months ago (2016-07-09 00:59:25 UTC) #24
nednguyen
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2137783002/ by nednguyen@google.com. ...
4 years, 5 months ago (2016-07-09 01:22:09 UTC) #25
nednguyen
4 years, 5 months ago (2016-07-09 10:31:42 UTC) #26
Message was sent while issue was closed.
On 2016/07/09 01:22:09, nednguyen (ooo til 7-11) wrote:
> A revert of this CL (patchset #2 id:20001) has been created in
> https://codereview.chromium.org/2137783002/ by mailto:nednguyen@google.com.
> 
> The reason for reverting is: Breaks all of the GPU tests on the Chromium
> waterfall: https://codereview.chromium.org/2136653002
>
https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel....

The breakage could be a real bug in gpu tests:

AssertionError: Found conflicting classes for the same key: key=test_base,
class_1=<class 'gpu_tests.cloud_storage_test_base.TestBase'>, class_2=<class
'gpu_tests.gpu_test_base.TestBase'>

It's possible that currently, one of the two classes is skipped. I will make a
CL to rename cloud_storage_test_base.TestBase to
cloud_storage_test_base.CloudStorageTestBase

Powered by Google App Engine
This is Rietveld 408576698