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

Issue 2777353002: Upload the test results html file to google bucket. (Closed)

Created:
3 years, 9 months ago by BigBossZhiling
Modified:
3 years, 8 months ago
CC:
agrieve+watch_chromium.org, chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Upload the test results html file to google bucket. Previously we print the test results html to stdout. In this cl, we upload the test results html to google bucket and print the link to the file instead. Sample link would be 'https://storage.googleapis.com/chromium-result-details/html/test_name/builder_name_builder_number_2017_03_27_T15_22_47.html'. BUG= Review-Url: https://codereview.chromium.org/2777353002 Cr-Commit-Position: refs/heads/master@{#460827} Committed: https://chromium.googlesource.com/chromium/src/+/0046d99e3911d416d0b5cb6f6f0191317bf41711

Patch Set 1 #

Total comments: 5

Patch Set 2 : wait file to be finished writing before uploading + add bucket customization when searching for css #

Patch Set 3 : changed arguments into mandatory #

Patch Set 4 : add option to download the file #

Patch Set 5 : fixes #

Total comments: 8

Patch Set 6 : addressing case's comments #

Total comments: 4

Patch Set 7 : john's comments #

Total comments: 1

Patch Set 8 : fixes url #

Total comments: 1

Patch Set 9 : fix url #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -8 lines) Patch
M build/android/pylib/results/presentation/template/main.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/results/presentation/test_results_presentation.py View 1 2 3 4 5 6 7 8 4 chunks +41 lines, -7 lines 0 comments Download

Messages

Total messages: 32 (8 generated)
BigBossZhiling
3 years, 9 months ago (2017-03-27 22:27:14 UTC) #3
BigBossZhiling
https://codereview.chromium.org/2777353002/diff/1/build/android/pylib/results/presentation/template/main.html File build/android/pylib/results/presentation/template/main.html (right): https://codereview.chromium.org/2777353002/diff/1/build/android/pylib/results/presentation/template/main.html#newcode5 build/android/pylib/results/presentation/template/main.html:5: <link rel="stylesheet" href="https://storage.googleapis.com/chromium-result-details/css/default.css" type="text/css"> I may need to change ...
3 years, 9 months ago (2017-03-27 22:37:36 UTC) #4
mikecase (-- gone --)
Uploading results detail on recipe side might be simpler
3 years, 9 months ago (2017-03-27 22:43:54 UTC) #6
jbudorick
On 2017/03/27 22:43:54, mikecase wrote: > Uploading results detail on recipe side might be simpler ...
3 years, 9 months ago (2017-03-27 22:45:27 UTC) #7
BigBossZhiling
https://codereview.chromium.org/2777353002/diff/1/build/android/pylib/results/presentation/test_results_presentation.py File build/android/pylib/results/presentation/test_results_presentation.py (right): https://codereview.chromium.org/2777353002/diff/1/build/android/pylib/results/presentation/test_results_presentation.py#newcode284 build/android/pylib/results/presentation/test_results_presentation.py:284: args.test_name if args.test_name else 'test_name', I am not sure ...
3 years, 9 months ago (2017-03-27 22:54:54 UTC) #8
BigBossZhiling
3 years, 9 months ago (2017-03-28 02:12:40 UTC) #9
jbudorick
https://codereview.chromium.org/2777353002/diff/1/build/android/pylib/results/presentation/template/main.html File build/android/pylib/results/presentation/template/main.html (right): https://codereview.chromium.org/2777353002/diff/1/build/android/pylib/results/presentation/template/main.html#newcode5 build/android/pylib/results/presentation/template/main.html:5: <link rel="stylesheet" href="https://storage.googleapis.com/chromium-result-details/css/default.css" type="text/css"> On 2017/03/27 22:37:36, BigBossZhiling wrote: ...
3 years, 9 months ago (2017-03-28 02:15:33 UTC) #10
BigBossZhiling
3 years, 8 months ago (2017-03-28 18:20:29 UTC) #11
BigBossZhiling
done included logic to download the file
3 years, 8 months ago (2017-03-28 23:38:07 UTC) #12
mikecase (-- gone --)
Just some comments. Looks pretty much good to me. :D https://codereview.chromium.org/2777353002/diff/80001/build/android/pylib/results/presentation/test_results_presentation.py File build/android/pylib/results/presentation/test_results_presentation.py (right): https://codereview.chromium.org/2777353002/diff/80001/build/android/pylib/results/presentation/test_results_presentation.py#newcode279 ...
3 years, 8 months ago (2017-03-29 21:40:17 UTC) #13
BigBossZhiling
https://codereview.chromium.org/2777353002/diff/80001/build/android/pylib/results/presentation/test_results_presentation.py File build/android/pylib/results/presentation/test_results_presentation.py (right): https://codereview.chromium.org/2777353002/diff/80001/build/android/pylib/results/presentation/test_results_presentation.py#newcode279 build/android/pylib/results/presentation/test_results_presentation.py:279: On 2017/03/29 21:40:17, mikecase wrote: > nit: add another ...
3 years, 8 months ago (2017-03-29 21:46:04 UTC) #14
jbudorick
https://codereview.chromium.org/2777353002/diff/100001/build/android/pylib/results/presentation/test_results_presentation.py File build/android/pylib/results/presentation/test_results_presentation.py (right): https://codereview.chromium.org/2777353002/diff/100001/build/android/pylib/results/presentation/test_results_presentation.py#newcode292 build/android/pylib/results/presentation/test_results_presentation.py:292: 'python %s -h "Content-Type:%s" cp %s gs://%s/%s' % ( ...
3 years, 8 months ago (2017-03-29 23:26:06 UTC) #15
jbudorick
On 2017/03/29 21:40:17, mikecase wrote: > Just some comments. Looks pretty much good to me. ...
3 years, 8 months ago (2017-03-29 23:26:24 UTC) #16
BigBossZhiling
https://codereview.chromium.org/2777353002/diff/100001/build/android/pylib/results/presentation/test_results_presentation.py File build/android/pylib/results/presentation/test_results_presentation.py (right): https://codereview.chromium.org/2777353002/diff/100001/build/android/pylib/results/presentation/test_results_presentation.py#newcode292 build/android/pylib/results/presentation/test_results_presentation.py:292: 'python %s -h "Content-Type:%s" cp %s gs://%s/%s' % ( ...
3 years, 8 months ago (2017-03-29 23:55:22 UTC) #17
jbudorick
one more q https://codereview.chromium.org/2777353002/diff/120001/build/android/pylib/results/presentation/template/main.html File build/android/pylib/results/presentation/template/main.html (right): https://codereview.chromium.org/2777353002/diff/120001/build/android/pylib/results/presentation/template/main.html#newcode5 build/android/pylib/results/presentation/template/main.html:5: <link rel="stylesheet" href="https://storage.googleapis.com/{{bucket}}/css/default.css" type="text/css"> Should this ...
3 years, 8 months ago (2017-03-30 00:10:12 UTC) #18
BigBossZhiling
fixed the url. good catch
3 years, 8 months ago (2017-03-30 01:01:39 UTC) #19
jbudorick
lgtm w/ reservations? https://codereview.chromium.org/2777353002/diff/140001/build/android/pylib/results/presentation/template/main.html File build/android/pylib/results/presentation/template/main.html (right): https://codereview.chromium.org/2777353002/diff/140001/build/android/pylib/results/presentation/template/main.html#newcode5 build/android/pylib/results/presentation/template/main.html:5: <link rel="stylesheet" href="https://storage.cloud.google.com/{{bucket}}/css/default.css" type="text/css"> I think ...
3 years, 8 months ago (2017-03-30 01:07:03 UTC) #20
BigBossZhiling
3 years, 8 months ago (2017-03-30 01:17:20 UTC) #21
jbudorick
lgtm w/o reservations :)
3 years, 8 months ago (2017-03-30 01:19:03 UTC) #22
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/2777353002/160001
3 years, 8 months ago (2017-03-30 03:22:42 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/183160)
3 years, 8 months ago (2017-03-30 06:41:01 UTC) #26
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/2777353002/160001
3 years, 8 months ago (2017-03-30 17:48:37 UTC) #28
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/0046d99e3911d416d0b5cb6f6f0191317bf41711
3 years, 8 months ago (2017-03-30 18:22:19 UTC) #31
BigBossZhiling
3 years, 8 months ago (2017-03-30 19:31:23 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:160001) has been created in
https://codereview.chromium.org/2786003003/ by hzl@google.com.

The reason for reverting is: Causing error in build bot.

Powered by Google App Engine
This is Rietveld 408576698