blob: 35d751ca804415cd56fa0641dc82434110f8de6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
loader: gecko_taskgraph.loader.transform:loader
kind-dependencies:
- toolchain
- instrumented-build
transforms:
- gecko_taskgraph.transforms.build_attrs:transforms
- gecko_taskgraph.transforms.build_schedules:transforms
- gecko_taskgraph.transforms.release_deps:transforms
- gecko_taskgraph.transforms.run_pgo_profile:transforms
- gecko_taskgraph.transforms.job:transforms
- gecko_taskgraph.transforms.task:transforms
job-defaults:
treeherder:
symbol: Bpgo(run)
kind: build
tier: 1
use-python: default
jobs:
linux-shippable/opt:
description: "Linux Profile Generation"
shipping-phase: build
shipping-product: firefox
index:
product: firefox
job-name: linux-profile
treeherder:
platform: linux32-shippable/opt
worker-type: b-linux-gcp
worker:
chain-of-trust: true
env:
NEED_XVFB: "true"
max-run-time: 1200
docker-image: {in-tree: ubuntu1804-test}
artifacts:
- type: directory
name: public/build
path: /builds/worker/artifacts/
run:
using: run-task
cwd: '{checkout}'
command: >
./taskcluster/scripts/misc/run-profileserver.sh
run-on-projects: ['release']
fetches:
toolchain:
- linux64-clang
- linux64-minidump-stackwalk
linux64-shippable/opt:
description: "Linux64 Profile Generation"
shipping-phase: build
shipping-product: firefox
index:
product: firefox
job-name: linux64-profile
treeherder:
platform: linux64-shippable/opt
worker-type: b-linux-gcp
worker:
chain-of-trust: true
env:
NEED_XVFB: "true"
max-run-time: 1200
docker-image: {in-tree: ubuntu1804-test}
artifacts:
- type: directory
name: public/build
path: /builds/worker/artifacts/
run:
using: run-task
cwd: '{checkout}'
command: >
./taskcluster/scripts/misc/run-profileserver.sh
run-on-projects: ['release']
fetches:
toolchain:
- linux64-clang
- linux64-minidump-stackwalk
android-x86-shippable/opt:
description: "Android 5.0 x86 Profile Generation"
shipping-phase: build
shipping-product: fennec
index:
product: mobile
job-name: android-x86-profile
treeherder:
platform: android-5-0-x86/pgo
worker-type: t-linux-xlarge-pgo
worker:
chain-of-trust: true
max-run-time: 3600
docker-image: {in-tree: ubuntu1804-test}
env:
WORKING_DIR: "/builds/worker"
MOZHARNESS_PATH: "/builds/worker/checkouts/gecko/testing/mozharness"
PYTHON: "/builds/worker/checkouts/gecko/mach python"
artifacts:
- type: directory
name: public/build
path: /builds/worker/artifacts/
run:
using: mozharness
job-script: taskcluster/scripts/tester/test-linux.sh
script: android_emulator_pgo.py
tooltool-downloads: internal
options: [installer-path=/builds/worker/fetches/geckoview-test_runner.apk]
config:
- android/android_common.py
- android/android-x86_64-profile-generation.py
- android/android_pgo.py
run-on-projects: ['release']
fetches:
toolchain:
- linux64-clang
- linux64-minidump-stackwalk
- linux64-hostutils
- android-sdk-linux
- android-system-image-x86_64-linux
- android-avd-x86_64-linux
android-x86_64-shippable/opt:
description: "Android 5.0 x86_64 Profile Generation"
shipping-phase: build
shipping-product: fennec
index:
product: mobile
job-name: android-x86_64-profile
treeherder:
platform: android-5-0-x86_64/pgo
worker-type: t-linux-xlarge-pgo
worker:
chain-of-trust: true
max-run-time: 3600
docker-image: {in-tree: ubuntu1804-test}
env:
WORKING_DIR: "/builds/worker"
MOZHARNESS_PATH: "/builds/worker/checkouts/gecko/testing/mozharness"
PYTHON: "/builds/worker/checkouts/gecko/mach python"
artifacts:
- type: directory
name: public/build
path: /builds/worker/artifacts/
run:
using: mozharness
job-script: taskcluster/scripts/tester/test-linux.sh
script: android_emulator_pgo.py
tooltool-downloads: internal
options: [installer-path=/builds/worker/fetches/geckoview-test_runner.apk]
config:
- android/android_common.py
- android/android-x86_64-profile-generation.py
- android/android_pgo.py
run-on-projects: ['release']
fetches:
toolchain:
- linux64-clang
- linux64-minidump-stackwalk
- linux64-hostutils
- android-sdk-linux
- android-system-image-x86_64-linux
- android-avd-x86_64-linux
android-aarch64-shippable/opt:
description: "Android 5.0 Aarch64 Profile Generation"
shipping-phase: build
shipping-product: fennec
index:
product: mobile
job-name: android-aarch64-profile
treeherder:
platform: android-5-0-aarch64/pgo
worker-type: b-linux-kvm-gcp
worker:
chain-of-trust: true
max-run-time: 2700
kvm: true # for access to /dev/kvm for hw accel in the emulator
docker-image: {in-tree: ubuntu1804-test}
env:
WORKING_DIR: "/builds/worker"
MOZHARNESS_PATH: "/builds/worker/checkouts/gecko/testing/mozharness"
PYTHON: "/builds/worker/checkouts/gecko/mach python"
artifacts:
- type: directory
name: public/build
path: /builds/worker/artifacts/
run:
using: mozharness
job-script: taskcluster/scripts/tester/test-linux.sh
script: android_emulator_pgo.py
tooltool-downloads: internal
options: [installer-path=/builds/worker/fetches/geckoview-test_runner.apk]
config:
- android/android_common.py
- android/android-aarch64-profile-generation.py
- android/android_pgo.py
run-on-projects: ['release']
fetches:
toolchain:
- linux64-clang
- linux64-minidump-stackwalk
- linux64-hostutils
- android-sdk-linux
- android31-system-image-x86_64-linux
- android31-avd-x86_64-linux
win32-shippable/opt:
description: "Win32 Profile Generation"
shipping-phase: build
shipping-product: firefox
index:
product: firefox
job-name: win32-profile
treeherder:
platform: windows2012-32-shippable/opt
worker-type: b-win2022
worker:
chain-of-trust: true
max-run-time: 2400
env:
UPLOAD_PATH: "artifacts"
artifacts:
- type: directory
name: public/build
path: build/src/artifacts/
run:
using: run-task
sparse-profile: profile-generate
cwd: '{checkout}'
command: ./taskcluster/scripts/misc/run-profileserver.sh
run-on-projects: ['release']
fetches:
toolchain:
- win64-clang-toolchain
- win32-minidump-stackwalk
win64-shippable/opt:
description: "Win64 Profile Generation"
shipping-phase: build
shipping-product: firefox
index:
product: firefox
job-name: win64-profile
treeherder:
platform: windows2012-64-shippable/opt
worker-type: b-win2022
worker:
chain-of-trust: true
max-run-time: 2400
env:
UPLOAD_PATH: "artifacts"
artifacts:
- type: directory
name: public/build
path: build/src/artifacts/
run:
using: run-task
sparse-profile: profile-generate
cwd: '{checkout}'
command: ./taskcluster/scripts/misc/run-profileserver.sh
run-on-projects: ['release']
fetches:
toolchain:
- win64-clang-toolchain
- win32-minidump-stackwalk
win64-nightlyasrelease/opt:
description: "Win64 Nightly-as-release Profile Generation"
shipping-phase: build
shipping-product: firefox
index:
product: firefox
job-name: win64-nightlyasrelease-profile
treeherder:
platform: win64-nightlyasrelease/opt
worker-type: b-win2022
worker:
chain-of-trust: true
max-run-time: 2400
env:
UPLOAD_PATH: "artifacts"
artifacts:
- type: directory
name: public/build
path: build/src/artifacts/
run:
using: run-task
sparse-profile: profile-generate
cwd: '{checkout}'
command: ./taskcluster/scripts/misc/run-profileserver.sh
run-on-projects: [trunk-only]
fetches:
toolchain:
- win64-clang-toolchain
- win32-minidump-stackwalk
macosx64-shippable/opt:
description: "macosx64 Profile Generation"
shipping-phase: build
shipping-product: firefox
index:
product: firefox
job-name: macosx64-profile
treeherder:
platform: macosx1015-64-shippable/opt
worker-type: b-osx-1015
worker:
chain-of-trust: true
max-run-time: 7200
env:
SHELL: "/bin/bash"
artifacts:
- type: directory
name: public/build
path: artifacts/
run:
using: run-task
sparse-profile: profile-generate
cwd: '{checkout}'
command: ./taskcluster/scripts/misc/run-profileserver-macos.sh
run-on-projects: ['release']
fetches:
toolchain:
- macosx64-clang
- macosx64-minidump-stackwalk
macosx64-aarch64-shippable/opt:
description: "macosx64 aarch64 Profile Generation"
shipping-phase: build
shipping-product: firefox
index:
product: firefox
job-name: macosx64-aarch64-profile
treeherder:
platform: macosx1100-64-shippable/opt
worker-type: b-osx-arm64
worker:
chain-of-trust: true
max-run-time: 7200
env:
SHELL: "/bin/bash"
artifacts:
- type: directory
name: public/build
path: artifacts/
run:
using: run-task
sparse-profile: profile-generate
cwd: '{checkout}'
command: ./taskcluster/scripts/misc/run-profileserver-macos.sh
run-on-projects: ['release']
fetches:
toolchain:
- macosx64-clang
- macosx64-minidump-stackwalk
|