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

Side by Side Diff: site/dev/testing/skialab.md

Issue 1203443003: Tweak SkiaLab docs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix numbering Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 SkiaLab 1 SkiaLab
2 ======= 2 =======
3 3
4 Overview 4 Overview
5 -------- 5 --------
6 6
7 Skia's buildbots are hosted in three places: 7 Skia's buildbots are hosted in three places:
8 8
9 * Google Compute Engine. This is the preferred location for bots which don't 9 * Google Compute Engine. This is the preferred location for bots which don't
10 need to run on physical hardware, ie. anything that doesn't require a GPU, 10 need to run on physical hardware, ie. anything that doesn't require a GPU,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 1. Click on the box associated with a failed build. 60 1. Click on the box associated with a failed build.
61 2. A popup will appear with some information about the build, including the 61 2. A popup will appear with some information about the build, including the
62 builder and buildslave. Click the "Lookup" link next to "Host machine". This 62 builder and buildslave. Click the "Lookup" link next to "Host machine". This
63 will bring you to the [SkiaLab Hosts](https://status.skia.org/hosts) page, 63 will bring you to the [SkiaLab Hosts](https://status.skia.org/hosts) page,
64 which contains information about the machines in the lab, pre-filtered to 64 which contains information about the machines in the lab, pre-filtered to
65 select the machine which runs the buildslave in question. 65 select the machine which runs the buildslave in question.
66 3. The information box will display the hostname of the machine as well as the 66 3. The information box will display the hostname of the machine as well as the
67 KVM switch and number used to access the machine, if the machine is in the 67 KVM switch and number used to access the machine, if the machine is in the
68 SkiaLab. 68 SkiaLab.
69 4. Walk over to the lab. While standing at the KVM switch indicated by the host 69 4. Walk over to the lab. While standing at the KVM switch indicated by the host
70 information page, double tab <ctrl> and then press the number or letter from 70 information page, double tap \<ctrl\> and then press the number or letter fro m
71 the information page. It may be necessary to move or click the mouse to wake 71 the information page. It may be necessary to move or click the mouse to wake
72 the machine up. 72 the machine up.
73 5. Log in to the machine if necessary. The password is stored in 73 5. Log in to the machine if necessary. The password is stored in
74 [Valentine](https://valentine/). 74 [Valentine](https://valentine/).
75 75
76 ### Rebooting a problematic Android device 76 ### Rebooting a problematic Android device
77 77
78 Follow the same process as above, with some slight changes: 78 Follow the same process as above, with some slight changes:
79 79
80 1. On the [Status](https://status.skia.org/) page, click the box for the failed 80 1. On the [Status](https://status.skia.org/) page, click the box for the failed
(...skipping 20 matching lines...) Expand all
101 101
102 This assumes that we're just adding a host machine for a new buildbot slave, 102 This assumes that we're just adding a host machine for a new buildbot slave,
103 and doesn't cover how to make changes to the buildbot code to change the 103 and doesn't cover how to make changes to the buildbot code to change the
104 behavior of the builder itself. 104 behavior of the builder itself.
105 105
106 1. Obtain the machine itself and place it on the racks in the lab. Connect 106 1. Obtain the machine itself and place it on the racks in the lab. Connect
107 power, ethernet, and KVM cables. 107 power, ethernet, and KVM cables.
108 2. If we already have a disk image appropriate for this machine, follow the 108 2. If we already have a disk image appropriate for this machine, follow the
109 instructions for flashing a disk image to a machine below. Otherwise, follow 109 instructions for flashing a disk image to a machine below. Otherwise, follow
110 the instructions for bringing up a new machine from scratch. 110 the instructions for bringing up a new machine from scratch.
111 3. Set the hostname for the machine. 111 3. Power on the machine. Be sure to kill any buildbot processes that start up,
112 4. Add the new slave to the slaves.cfg file on the appropriate master, eg. 112 eg. `killall python` on Linux and Mac, and just close any cmd instances which
113 pop up on Windows.
114 4. Set the hostname for the machine.
115 5. Ensure that the machine is labeled with its hostname and KVM number.
116 6. Add the new slave to the slaves.cfg file on the appropriate master, eg.
113 https://chromium.googlesource.com/chromium/tools/build/+/master/masters/maste r.client.skia/slaves.cfg, 117 https://chromium.googlesource.com/chromium/tools/build/+/master/masters/maste r.client.skia/slaves.cfg,
114 and upload the change for code review. 118 and upload the change for code review.
115 5. Add an entry for the new host machine to the slave_hosts_cfg.py file in the 119 7. Add an entry for the new host machine to the slave_hosts_cfg.py file in the
116 Skia infra repo: https://skia.googlesource.com/buildbot/+/master/site_config/ slave_hosts_cfg.py, 120 Skia infra repo: https://skia.googlesource.com/buildbot/+/master/site_config/ slave_hosts_cfg.py,
117 and upload it for review. 121 and upload it for review.
118 6. Commit the change to add the slave to the master. Once it lands, commit the 122 8. Commit the change to add the slave to the master. Once it lands, commit the
119 slave_hosts_cfg.py change immediately afterward. 123 slave_hosts_cfg.py change immediately afterward.
120 7. Restart the build master. Either ask borenet@ to do this or file a 124 9. Restart the build master. Either ask borenet@ to do this or file a
121 [ticket](https://code.google.com/p/chromium/issues/entry?template=Build%20Inf rastructure&labels=Infra-Labs,Restrict-View-Google,Infra-Troopers&summary=Restar t%20request%20for%20[%20name%20]&comment=Please%20provide%20the%20reason%20for%2 0restart.%0A%0ASet%20to%20Pri-0%20if%20immediate%20restarted%20is%20required,%20 otherwise%20please%20set%20to%20Pri-1%20and%20the%20restart%20will%20happen%20wh en%20the%20trooper%20gets%20a%20free%20moment.) for a trooper to do it. 125 [ticket](https://code.google.com/p/chromium/issues/entry?template=Build%20Inf rastructure&labels=Infra-Labs,Restrict-View-Google,Infra-Troopers&summary=Restar t%20request%20for%20[%20name%20]&comment=Please%20provide%20the%20reason%20for%2 0restart.%0A%0ASet%20to%20Pri-0%20if%20immediate%20restarted%20is%20required,%20 otherwise%20please%20set%20to%20Pri-1%20and%20the%20restart%20will%20happen%20wh en%20the%20trooper%20gets%20a%20free%20moment.) for a trooper to do it.
122 8. Reboot the machine and monitor the build master to ensure that it connects. 126 10. Reboot the machine and monitor the build master to ensure that it connects.
127 This can take some time, since the bot needs to sync Chrome.
123 128
124 129
125 ### Bringing up a new Android bot 130 ### Bringing up a new Android bot
126 131
127 1. Locate or add a host machine. We generally want to keep the number of 132 1. Locate or add a host machine. We generally want to keep the number of
128 devices attached to each host below 5 or so. If a new host machine is 133 devices attached to each host below 5 or so. If a new host machine is
129 required, follow the above instructions for bringing up a new buildbot 134 required, follow the above instructions for bringing up a new buildbot
130 host machine, with the exception that the slave corresponds to the Android 135 host machine, with the exception that the slave corresponds to the Android
131 device, not the host machine itself. 136 device, not the host machine itself.
132 2. Ensure that the buildslave is not yet running: 137 2. Ensure that the buildslave is not yet running:
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 11. Select the external drive to use for /home/partimag, something like, 216 11. Select the external drive to use for /home/partimag, something like,
212 "1000GB_ntfs_My_Passport". 217 "1000GB_ntfs_My_Passport".
213 12. Select the bot_img directory. 218 12. Select the bot_img directory.
214 13. "Beginner" 219 13. "Beginner"
215 14. "savedisk" 220 14. "savedisk"
216 15. Choose a name for the disk image. The convention is: 221 15. Choose a name for the disk image. The convention is:
217 `skiabot-<hardware type>-<OS>-<disk image revision #>` 222 `skiabot-<hardware type>-<OS>-<disk image revision #>`
218 12. Choose the hard drive in the machine. It should be the only option. 223 12. Choose the hard drive in the machine. It should be the only option.
219 13. "y" 224 13. "y"
220 14. Choose "reboot" or "shut down" when finished. 225 14. Choose "reboot" or "shut down" when finished.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698