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

Issue 10035003: Split up Each Swarm Test into Two Steps (Closed)

Created:
8 years, 8 months ago by csharp
Modified:
8 years, 8 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, nsylvain+cc_chromium.org, cmp+cc_chromium.org
Visibility:
Public.

Description

Split up Each Swarm Test into Two Steps Each swarm step will be now be split into an upload step, where it sends the test request to swarm, and a get step, where it retrieves the output from the test. All the upload steps occur before any get steps, so the swarm master will see all the test requests right away and be able to start them as soon as possible. BUG=98834 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133190

Patch Set 1 #

Total comments: 20

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Adding tests to presubmit #

Total comments: 12

Patch Set 4 : Merging port into url #

Patch Set 5 : Adjusting test file names #

Patch Set 6 : Making test executable #

Patch Set 7 : #

Patch Set 8 : Renaming broken test :( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -338 lines) Patch
M PRESUBMIT.py View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M masters/master.chromium.swarm/master.cfg View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M scripts/master/factory/swarm_commands.py View 1 2 3 1 chunk +29 lines, -6 lines 0 comments Download
M scripts/master/factory/swarm_factory.py View 1 2 3 1 chunk +12 lines, -6 lines 0 comments Download
A scripts/slave/get_swarm_results.py View 1 2 3 1 chunk +199 lines, -0 lines 0 comments Download
M scripts/slave/run_slavelastic.py View 1 2 3 10 chunks +17 lines, -142 lines 0 comments Download
D scripts/slave/run_slavelastic_unittest.py View 1 chunk +0 lines, -76 lines 0 comments Download
D scripts/slave/slave_utils_unittest.py View 1 2 1 chunk +0 lines, -86 lines 0 comments Download
A + scripts/slave/unittests/get_swarm_results_test.py View 1 2 3 4 5 4 chunks +42 lines, -13 lines 0 comments Download
A + scripts/slave/unittests/slave_utils_test_broken.py View 1 2 3 4 5 6 7 1 chunk +1 line, -7 lines 0 comments Download
A scripts/slave/unittests/test_env.py View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
csharp
Most of the code in get_swarm_results.py and get_swarm_results_unittest.py was just move from the ran_slavelastic stuff ...
8 years, 8 months ago (2012-04-17 19:20:37 UTC) #1
M-A Ruel
Is the unit test run by the presubmit check, I don't think so, it'd be ...
8 years, 8 months ago (2012-04-17 20:16:00 UTC) #2
csharp
https://chromiumcodereview.appspot.com/10035003/diff/1/scripts/master/factory/swarm_commands.py File scripts/master/factory/swarm_commands.py (right): https://chromiumcodereview.appspot.com/10035003/diff/1/scripts/master/factory/swarm_commands.py#newcode18 scripts/master/factory/swarm_commands.py:18: def AddSendSwarmTestStep(self, target_platform, swarm_server, On 2012/04/17 20:16:00, Marc-Antoine Ruel ...
8 years, 8 months ago (2012-04-18 18:20:29 UTC) #3
M-A Ruel
Also, you should update PRESUBMIT.py to run tests found in scripts/slave/unittests automatically, like it's doing ...
8 years, 8 months ago (2012-04-19 18:31:28 UTC) #4
csharp
Updated presubmit to include the slave tests now (it slipped my mind last time and ...
8 years, 8 months ago (2012-04-19 19:02:16 UTC) #5
M-A Ruel
https://chromiumcodereview.appspot.com/10035003/diff/9001/masters/master.chromium.swarm/master.cfg File masters/master.chromium.swarm/master.cfg (right): https://chromiumcodereview.appspot.com/10035003/diff/9001/masters/master.chromium.swarm/master.cfg#newcode92 masters/master.chromium.swarm/master.cfg:92: 'swarm_server' : 'http://vm155-m1'}) 'swarm_server' : 'http://vm155-m1:9001/'}) ? https://chromiumcodereview.appspot.com/10035003/diff/9001/scripts/slave/get_swarm_results.py File ...
8 years, 8 months ago (2012-04-19 19:07:19 UTC) #6
csharp
https://chromiumcodereview.appspot.com/10035003/diff/9001/masters/master.chromium.swarm/master.cfg File masters/master.chromium.swarm/master.cfg (right): https://chromiumcodereview.appspot.com/10035003/diff/9001/masters/master.chromium.swarm/master.cfg#newcode92 masters/master.chromium.swarm/master.cfg:92: 'swarm_server' : 'http://vm155-m1'}) On 2012/04/19 19:07:19, Marc-Antoine Ruel wrote: ...
8 years, 8 months ago (2012-04-19 19:23:22 UTC) #7
M-A Ruel
lgtm
8 years, 8 months ago (2012-04-19 20:07:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10035003/12001
8 years, 8 months ago (2012-04-19 20:13:23 UTC) #9
commit-bot: I haz the power
Presubmit check for 10035003-12001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 8 months ago (2012-04-19 20:21:17 UTC) #10
M-A Ruel
On 2012/04/19 20:21:17, I haz the power (commit-bot) wrote: > Out of 4 files, found ...
8 years, 8 months ago (2012-04-19 20:26:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10035003/14001
8 years, 8 months ago (2012-04-19 20:26:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10035003/17001
8 years, 8 months ago (2012-04-19 20:51:25 UTC) #13
commit-bot: I haz the power
Presubmit check for 10035003-17001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 8 months ago (2012-04-19 20:57:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10035003/13013
8 years, 8 months ago (2012-04-19 21:05:25 UTC) #15
commit-bot: I haz the power
Presubmit check for 10035003-13013 failed and returned exit status -2001. The presubmit check was hung. ...
8 years, 8 months ago (2012-04-19 21:15:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10035003/13013
8 years, 8 months ago (2012-04-19 23:45:14 UTC) #17
commit-bot: I haz the power
Presubmit check for 10035003-13013 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 8 months ago (2012-04-19 23:51:26 UTC) #18
M-A Ruel
On 2012/04/19 23:51:26, I haz the power (commit-bot) wrote: > import slave.get_swarm_results as swarm_results > ...
8 years, 8 months ago (2012-04-19 23:53:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/10035003/25001
8 years, 8 months ago (2012-04-20 13:22:17 UTC) #20
commit-bot: I haz the power
8 years, 8 months ago (2012-04-20 13:27:22 UTC) #21
Change committed as 133190

Powered by Google App Engine
This is Rietveld 408576698