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

Issue 476503002: Re-land r289084 - "Make telemetry*_unittests upload to test-results.appspot.com" (Closed)

Created:
6 years, 4 months ago by Dirk Pranke
Modified:
6 years, 4 months ago
Reviewers:
agable, iannucci
CC:
chromium-reviews, pgervais+watch_chromium.org, kjellander-cc_chromium.org, cmp-cc_chromium.org, ilevy-cc_chromium.org, stip+watch_chromium.org, hinoka
Project:
tools
Visibility:
Public.

Description

Re-land r289084 - "Make telemetry*_unittests upload to test-results.appspot.com" This version differs from the prior attempt by a) changing the logic so that we only upload the results if we're not running on a trysever. b) retrieving the repo revisions from the data that bot_update got, rather than whatever was passed in as part of build_properties. Turns out that the build_properties would've only had 'parent_got_revision' set and not 'got_revision', so we were likely referencing keys that didn't exist. As part of (b), this changes adds a "properties" property to the bot_update recipe module so that we can retrieve what bot_update actually did. R=agable@chromium.org BUG=323212, 403564 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=289434

Patch Set 1 #

Total comments: 1

Patch Set 2 : switch to using bot_update.properties #

Total comments: 2

Patch Set 3 : tweak how we set bot_update.properties #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -22 lines) Patch
M scripts/slave/recipe_modules/bot_update/api.py View 1 2 3 chunks +12 lines, -4 lines 0 comments Download
M scripts/slave/recipe_modules/chromium/__init__.py View 1 2 chunks +2 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium/api.py View 1 1 chunk +30 lines, -18 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/buildnumber_zero.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_gtest.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_Trusty.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_Trusty__32_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_Trusty__dbg_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_Trusty__dbg__32_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_linux_Linux_Tests.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_linux_Linux_Tests__dbg__1_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_mac_Mac10_6_Tests__3_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_mac_Mac10_7_Tests__3_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_mac_Mac_10_6_Tests__dbg__3_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_mac_Mac_10_7_Tests__dbg__3_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Vista_Tests__2_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win7_Tests__2_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win7_Tests__dbg__2_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win_7_Tests_x64__3_.json View 1 1 chunk +9 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_XP_Tests__2_.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_client_skia_Linux_Tests.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/one_failure_keeps_going_dynamic_tests.json View 1 2 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/runtest.py View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Dirk Pranke
https://codereview.chromium.org/476503002/diff/1/scripts/slave/recipe_modules/chromium/api.py File scripts/slave/recipe_modules/chromium/api.py (right): https://codereview.chromium.org/476503002/diff/1/scripts/slave/recipe_modules/chromium/api.py#newcode339 scripts/slave/recipe_modules/chromium/api.py:339: 'chromium_revision=%s' % self.m.properties['got_revision'], per iannucci@, we probably can't depend ...
6 years, 4 months ago (2014-08-13 23:43:50 UTC) #1
Dirk Pranke
Updated. This version has the nice property that we didn't change anything in the *expected* ...
6 years, 4 months ago (2014-08-14 00:25:38 UTC) #2
agable
https://codereview.chromium.org/476503002/diff/20001/scripts/slave/recipe_modules/bot_update/api.py File scripts/slave/recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/476503002/diff/20001/scripts/slave/recipe_modules/bot_update/api.py#newcode174 scripts/slave/recipe_modules/bot_update/api.py:174: if 'properties' in step_result.json.output: If you default self._properties to ...
6 years, 4 months ago (2014-08-14 00:34:14 UTC) #3
Dirk Pranke
https://codereview.chromium.org/476503002/diff/20001/scripts/slave/recipe_modules/bot_update/api.py File scripts/slave/recipe_modules/bot_update/api.py (right): https://codereview.chromium.org/476503002/diff/20001/scripts/slave/recipe_modules/bot_update/api.py#newcode174 scripts/slave/recipe_modules/bot_update/api.py:174: if 'properties' in step_result.json.output: On 2014/08/14 00:34:14, agable wrote: ...
6 years, 4 months ago (2014-08-14 00:39:46 UTC) #4
agable
LGTM, I like it.
6 years, 4 months ago (2014-08-14 00:41:10 UTC) #5
Dirk Pranke
The CQ bit was checked by dpranke@chromium.org
6 years, 4 months ago (2014-08-14 00:42:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/476503002/40001
6 years, 4 months ago (2014-08-14 00:55:21 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (40001) as 289434
6 years, 4 months ago (2014-08-14 01:01:01 UTC) #8
Paweł Hajdan Jr.
6 years, 4 months ago (2014-08-14 08:21:20 UTC) #9
Message was sent while issue was closed.
A revert of this CL (patchset #3) has been created in
https://codereview.chromium.org/475683003/ by phajdan.jr@chromium.org.

The reason for reverting is: Reverting telemetry-related changes because of
breakages like
http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%282%29/buil...
. Please watch the waterfall after applying the change..

Powered by Google App Engine
This is Rietveld 408576698