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

Issue 2460953002: [recipe_modules/test_results] Refactor the logic of generating full json results files (Closed)

Created:
4 years, 1 month ago by nednguyen
Modified:
4 years, 1 month ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

[recipe_modules/test_results] Refactor the logic of generating full json results files to a single method The motivation is we will add logic to not generate full json results files if the json already has full JSON results format. This CL is a pure refactoring CL, there is no intended behavior change. BUG=649762 Committed: https://chromium.googlesource.com/chromium/tools/build/+/0f5673778f3f8aa418d5ba97153ba7499ab4ad42

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -10 lines) Patch
M scripts/slave/recipe_modules/test_results/resources/upload_test_results.py View 4 chunks +13 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
nednguyen
4 years, 1 month ago (2016-10-28 17:41:44 UTC) #4
Ken Russell (switch to Gerrit)
LGTM but I'm not an owner. Has this change been tested? Are these entry points ...
4 years, 1 month ago (2016-10-28 18:05:25 UTC) #5
nednguyen
On 2016/10/28 18:05:25, Ken Russell wrote: > LGTM but I'm not an owner. > > ...
4 years, 1 month ago (2016-10-29 02:32:15 UTC) #6
Paweł Hajdan Jr.
LGTM
4 years, 1 month ago (2016-10-31 07:46:51 UTC) #7
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/2460953002/1
4 years, 1 month ago (2016-10-31 10:24:47 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/tools/build/+/0f5673778f3f8aa418d5ba97153ba7499ab4ad42
4 years, 1 month ago (2016-10-31 10:34:14 UTC) #11
jbudorick
4 years, 1 month ago (2016-10-31 17:22:28 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2464843003/ by jbudorick@chromium.org.

The reason for reverting is: breaks result generation:


Traceback (most recent call last):
  File
"/b/rr/tmppE_6sh/rw/checkout/infra/.recipe_deps/build/scripts/slave/recipe_modules/test_results/resources/upload_test_results.py",
line 156, in <module>
    sys.exit(main())
  File
"/b/rr/tmppE_6sh/rw/checkout/infra/.recipe_deps/build/scripts/slave/recipe_modules/test_results/resources/upload_test_results.py",
line 138, in main
    master_name=options.master_name)
TypeError: generate_json_results_file() got an unexpected keyword argument
'builder_number'

e.g. from
https://build.chromium.org/p/chromium.android/builders/Lollipop%20Low-end%20T....

Powered by Google App Engine
This is Rietveld 408576698