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

Issue 666023004: Use src-side launcher for telemetry_unittests in chromium_trybot recipe (Closed)

Created:
6 years, 2 months ago by Paweł Hajdan Jr.
Modified:
6 years, 2 months ago
Reviewers:
iannucci
CC:
chromium-reviews, pgervais+watch_chromium.org, kjellander-cc_chromium.org, cmp-cc_chromium.org, stip+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Project:
tools
Visibility:
Public.

Description

Use src-side launcher for telemetry_unittests in chromium_trybot recipe Depends on https://codereview.chromium.org/649683005/ BUG=422235 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=292589

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase & add TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2040 lines, -470 lines) Patch
M scripts/slave/recipe_modules/chromium/api.py View 1 1 chunk +29 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium/steps.py View 1 2 chunks +17 lines, -6 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.py View 1 3 chunks +12 lines, -5 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/arm.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/check_swarming_version_failure.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/checklicenses_failure.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/checkperms_failure.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_matching_exclusion.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_compile_targets.json View 1 3 chunks +27 lines, -27 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_compile_targets_exclude_all.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_tests.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_tests_no_builder.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure_without_patch.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/deapply_compile_failure_linux.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/dont_analyze_for_non_src_project.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_arm.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_arm_compile.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_asan_rel.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_chromeos_athena_dbg.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_chromeos_athena_rel.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_chromeos_clang_dbg.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_chromeos_clang_rel.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_chromeos_dbg.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_chromeos_ozone_dbg.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_chromeos_ozone_rel.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_chromeos_rel.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_chromeos_rel_swarming.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_clang_dbg.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_clang_rel.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_compile_dbg.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_compile_dbg_32.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_compile_rel.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_dbg.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_rel.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_rel_swarming.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_trusty32_dbg.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_trusty32_rel.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_trusty_dbg.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_trusty_rel.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_no_bot_update.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_mac_chromium_compile_dbg.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_mac_chromium_compile_rel.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_mac_chromium_dbg.json View 1 3 chunks +43 lines, -18 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_mac_chromium_openssl_dbg.json View 1 3 chunks +43 lines, -18 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_mac_chromium_openssl_rel.json View 1 3 chunks +43 lines, -18 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_mac_chromium_rel.json View 1 3 chunks +43 lines, -18 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_mac_chromium_rel_swarming.json View 1 3 chunks +43 lines, -18 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win8_chromium_dbg.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win8_chromium_rel.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_compile_dbg.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_compile_rel.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_dbg.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_rel.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_rel_swarming.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_x64_dbg.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_x64_rel.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_x64_rel_swarming.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_no_bot_update.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/gclient_runhooks__with_patch__failure.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/invalid_json_without_patch.json View 1 4 chunks +49 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/no_compile_because_of_analyze.json View 1 2 chunks +27 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/persistent_failure_and_runhooks_2_fail_test.json View 1 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/runhooks_failure.json View 1 chunk +21 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_basic_cq.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_basic_try_job.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_deapply_patch.json View 1 3 chunks +43 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_missing_isolated.json View 1 3 chunks +43 lines, -19 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
iannucci
mostly lgtm, though buildnumber should be deprecated asap https://codereview.chromium.org/666023004/diff/1/scripts/slave/recipe_modules/chromium/api.py File scripts/slave/recipe_modules/chromium/api.py (right): https://codereview.chromium.org/666023004/diff/1/scripts/slave/recipe_modules/chromium/api.py#newcode638 scripts/slave/recipe_modules/chromium/api.py:638: for ...
6 years, 2 months ago (2014-10-21 18:02:48 UTC) #2
Paweł Hajdan Jr.
Thank you for review. https://codereview.chromium.org/666023004/diff/1/scripts/slave/recipe_modules/chromium/api.py File scripts/slave/recipe_modules/chromium/api.py (right): https://codereview.chromium.org/666023004/diff/1/scripts/slave/recipe_modules/chromium/api.py#newcode638 scripts/slave/recipe_modules/chromium/api.py:638: for name in ('buildername', 'slavename', ...
6 years, 2 months ago (2014-10-22 11:18:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/666023004/20001
6 years, 2 months ago (2014-10-22 11:19:40 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 292589
6 years, 2 months ago (2014-10-22 11:21:30 UTC) #6
jam
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/666563007/ by jam@chromium.org. ...
6 years, 2 months ago (2014-10-22 16:29:41 UTC) #7
Paweł Hajdan Jr.
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/675523002/ by phajdan.jr@chromium.org. ...
6 years, 2 months ago (2014-10-22 16:29:52 UTC) #8
iannucci
6 years, 2 months ago (2014-10-22 18:58:42 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/666023004/diff/1/scripts/slave/recipe_modules...
File scripts/slave/recipe_modules/chromium/api.py (right):

https://codereview.chromium.org/666023004/diff/1/scripts/slave/recipe_modules...
scripts/slave/recipe_modules/chromium/api.py:638: for name in ('buildername',
'slavename', 'buildnumber'):
On 2014/10/22 11:18:26, Paweł Hajdan Jr. wrote:
> On 2014/10/21 18:02:47, iannucci wrote:
> > yikes! buildnumber is /extremely dangerous/. What is using it?
> 
> e.g. runtest.py
> 
> Could you explain more though why it's dangerous?
> 

It's ephemeral data. It's not tied to anything real, and only exists in the
buildbot database:
  * if you remove and re-add a builder, it resets
  * if you rename the builder, it resets
  * if the master crashes (sometimes we need to wipe old data when that
happens), it can reset
  * if we split the master, it resets
  * if we merge the masters, it resets
  * if the db corrupts (no backups :), it resets
  * if you build out-of-order with the source (e.g. force build), and you use it
to indicate a timeline of source, you'll have out-of-order data points!
  * it is tied to buildbot... there's no way to reproduce a
buildnumber-like-number without a centralized master like buildbot. if we start
getting rid of it now, it'll make our post-buildbot transition that much easier
:)

It's basically not trustworthy for what people expect it to be. A much better
thing to use would be the real revision, or some numerical representation of
that (probably the commit position number).

> By the way I added a TODO to remove this. Note that I believe this is not any
> worse than the current state of things where we use buildnumber anyway with
> runtest.py. Here we at least have a much shorter list of build properties.

Yes, you're correct, it's better than right now :)

Powered by Google App Engine
This is Rietveld 408576698