OLD | NEW |
---|---|
(Empty) | |
1 Skia Trybots | |
borenet
2015/02/24 14:13:46
Are we talking about buildbots or trybots here? I
| |
2 ============ | |
3 | |
4 Overview | |
5 -------- | |
6 | |
7 Like the Chromium team, the Skia team uses [buildbot](http://trac.buildbot.net/) | |
8 to run continuous builds and tests. | |
9 | |
10 Here is a link to our main buildbot page, from which you can also access our | |
11 Android, Compile, and FYI test consoles\: | |
12 | |
13 Externally-facing: http://build.chromium.org/p/client.skia/console | |
14 | |
15 Internally-facing: http://chromegw.corp.google.com/i/client.skia/console | |
16 http://chromegw.corp.google.com/i/client.skia.internal/cons ole | |
borenet
2015/02/24 14:13:46
While these links are still useful for tracking do
| |
17 \(only visible internally\) | |
18 | |
19 Architecture | |
20 ------------ | |
21 | |
22 The buildbot system consists of these elements: \(see | |
23 http://buildbot.net/buildbot/docs/current/manual/introduction.html#system-archit ecture | |
24 for more detail\) | |
25 | |
26 * buildbot master | |
27 | |
28 * watches for new commits to land in the Skia repository | |
29 \(https://skia.googlesource.com/skia\) | |
30 * whenever a new commit lands, it tells buildbot slaves to start building an d | |
31 testing the latest revision | |
32 * serves up status pages whenever anybody requests them | |
33 | |
34 * buildslave \(or "buildbot slave"\) | |
35 | |
36 * a machine that builds and runs code as directed by the buildbot master | |
borenet
2015/02/24 14:13:45
More precisely, a process running on a machine. T
| |
37 * one or more builders run on each buildslave | |
38 | |
39 * builder | |
40 | |
41 * one of perhaps many build configurations for a particular buildslave \(for | |
42 example, we have Debug and Release builds for each platform\) | |
43 * each builder maintains its own local checkout of the Skia repo | |
44 * only one builder is running at any given time on any single buildslave; ot herwise, | |
45 different builders could interfere with each other's performance numbers | |
borenet
2015/02/24 14:13:45
Can we move this above buildslaves (maybe to the v
| |
46 | |
47 | |
48 Source Code Revisions | |
borenet
2015/02/24 14:13:46
I don't think this section is needed. At most (if
| |
49 --------------------- | |
50 | |
51 Because of the distributed nature of the buildbot, there may be several | |
52 different revisions of the buildbot code in play at any one time: | |
53 | |
54 1. Current head of "master" branch \(or close to it\): checked out on slaves, ru n in | |
55 response to directives coming from the master | |
56 2. The head of the "master" branch the last time we restarted the master. Behav ior | |
57 of the master-side buildbot Python code is governed by this revision. | |
58 3. The revision currently checked out on the master, between \#1 and \#2. Behavi or of | |
59 master-served HTML and run-on-the-client Javascript is governed by this | |
60 revision. | |
61 4. Revision of the HTML/JS running on each client. Should be close to | |
62 master_checkedout_revision but may lag behind \(especially if the client has a | |
63 really long refresh time set\). | |
64 | |
65 | |
66 Console View | |
borenet
2015/02/24 14:13:46
Again, I think this is useful information, but I'd
| |
67 ------------ | |
68 | |
69 The buildbot master process watches for new commits to land in the Skia | |
70 repository \(https://skia.googlesource.com/skia\). Whenever a new commit is | |
71 made, the buildbot master tells slaves to start building and testing the latest | |
72 revision. | |
73 | |
74 If the new commits land faster than the buildbots have time to cycle through all | |
75 buildbot types, then not every revision will be tested individually. Instead, | |
76 if the commits are on the same branch, they will be batched into a single build. | |
77 | |
78 The console view shows a table with builders on the X-axis and commits on the | |
79 Y-axis. The cells are colored in according to the status of the build for each | |
80 commit: green indicates success, red indicates failure, orange indicates | |
81 repeated failure, yellow indicates an in-progress build, and white indicates | |
82 that no build has started yet for a given revision. | |
83 | |
84 For more detail, you can click on an individual cell to get a summary of the | |
85 steps which ran for that build. You can also click one of the colored bars at | |
86 the top of each column to see a summary of recent builds for a given builder. | |
87 | |
88 | |
89 Submitting a Try from Rietveld | |
borenet
2015/02/24 14:13:45
This seems out of place here. Maybe it belongs in
| |
90 ------------------------------ | |
91 | |
92 The easiest way to submit a try is from the Rietveld web UI. To submit a try | |
93 this way, simply click the "try more bots" link underneath the desired patch | |
94 set, and a menu will pop up so that you can choose one or more trybots to run. | |
95 | |
96 | |
OLD | NEW |