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

Issue 1125653004: Check in cq_stats.py (Closed)

Created:
5 years, 7 months ago by Paweł Hajdan Jr.
Modified:
5 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : coverage #

Total comments: 28

Patch Set 3 : fixes #

Patch Set 4 : fixes #

Patch Set 5 : trying to fix tz issues #

Patch Set 6 : use utc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2332 lines, --2 lines) Patch
A + infra/tools/cq_stats/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + infra/tools/cq_stats/__main__.py View 1 1 chunk +8 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/cq_stats.py View 1 2 3 4 5 1 chunk +1206 lines, -0 lines 0 comments Download
A + infra/tools/cq_stats/test/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.py View 1 2 3 1 chunk +671 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_fetch_git_logs.json View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_fetch_svn_logs.json View 1 2 3 5 1 chunk +38 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_fetch_tree_status.json View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_main.json View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_organize_stats.json View 1 2 3 4 5 1 chunk +236 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_print_attempt_counts.json View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_print_duration.json View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_print_log_stats.json View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_print_stats.json View 1 1 chunk +42 lines, -0 lines 0 comments Download
A infra/tools/cq_stats/test/cq_stats_test.expected/TestCQStats.test_print_usage.json View 1 2 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
Paweł Hajdan Jr.
5 years, 7 months ago (2015-05-05 15:28:02 UTC) #2
pgervais
Did a very partial review... https://chromiumcodereview.appspot.com/1125653004/diff/20001/infra/tools/cq_stats/test/cq_stats_test.py File infra/tools/cq_stats/test/cq_stats_test.py (right): https://chromiumcodereview.appspot.com/1125653004/diff/20001/infra/tools/cq_stats/test/cq_stats_test.py#newcode640 infra/tools/cq_stats/test/cq_stats_test.py:640: # for print_stats(). This ...
5 years, 7 months ago (2015-05-05 16:22:58 UTC) #3
Sergey Berezin
Thanks, Pawel, for taking this up! Appreciate finishing the job I couldn't get to in ...
5 years, 7 months ago (2015-05-05 17:06:19 UTC) #4
pgervais
https://codereview.chromium.org/1125653004/diff/20001/infra/tools/cq_stats/test/cq_stats_test.py File infra/tools/cq_stats/test/cq_stats_test.py (right): https://codereview.chromium.org/1125653004/diff/20001/infra/tools/cq_stats/test/cq_stats_test.py#newcode924 infra/tools/cq_stats/test/cq_stats_test.py:924: def test_acquire_stats(self): On 2015/05/05 17:06:19, Sergey Berezin wrote: > ...
5 years, 7 months ago (2015-05-05 21:34:05 UTC) #5
Sergiy Byelozyorov
I am not sure if Git correctly handles empty files. Please put a copyright header ...
5 years, 7 months ago (2015-05-06 09:56:58 UTC) #6
Paweł Hajdan Jr.
Thanks for the review. For now I'm keeping __init__.py files empty, consistent with other files ...
5 years, 7 months ago (2015-05-06 11:09:16 UTC) #7
Sergiy Byelozyorov
On 2015/05/06 11:09:16, Paweł Hajdan Jr. wrote: > For now I'm keeping __init__.py files empty, ...
5 years, 7 months ago (2015-05-06 11:21:45 UTC) #8
pgervais
On 2015/05/06 11:21:45, Sergiy Byelozyorov wrote: > On 2015/05/06 11:09:16, Paweł Hajdan Jr. wrote: > ...
5 years, 7 months ago (2015-05-06 20:20:07 UTC) #9
pgervais
https://codereview.chromium.org/1125653004/diff/20001/infra/tools/cq_stats/test/cq_stats_test.py File infra/tools/cq_stats/test/cq_stats_test.py (right): https://codereview.chromium.org/1125653004/diff/20001/infra/tools/cq_stats/test/cq_stats_test.py#newcode211 infra/tools/cq_stats/test/cq_stats_test.py:211: self.assertListEqual([ On 2015/05/06 11:09:15, Paweł Hajdan Jr. wrote: > ...
5 years, 7 months ago (2015-05-07 00:37:21 UTC) #10
Paweł Hajdan Jr.
PTAL I'm happy to take further specific actionable suggestions what to do with this patch. ...
5 years, 7 months ago (2015-05-07 11:08:55 UTC) #11
pgervais
The new way to handle expectations looks good to me, leaving the final decision to ...
5 years, 7 months ago (2015-05-07 15:42:23 UTC) #12
Sergey Berezin
LGTM, thanks for figuring out the expectations. I also filed a bug: http://crbug.com/485373, soon to ...
5 years, 7 months ago (2015-05-07 16:51:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125653004/60001
5 years, 7 months ago (2015-05-08 09:49:17 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: infra_tester on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/infra_tester/builds/1663)
5 years, 7 months ago (2015-05-08 09:57:02 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125653004/100001
5 years, 7 months ago (2015-05-08 11:30:50 UTC) #20
commit-bot: I haz the power
5 years, 7 months ago (2015-05-08 11:39:22 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/infra/infra/+/c2ba1b0e7aa09f6fedf12b58d2630...

Powered by Google App Engine
This is Rietveld 408576698