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
|
# 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
transforms:
- gecko_taskgraph.transforms.test_apk:transforms
# While not a build, the build optimization works well for these tasks.
- gecko_taskgraph.transforms.build_schedules:transforms
- gecko_taskgraph.transforms.job:transforms
- gecko_taskgraph.transforms.task:transforms
kind-dependencies:
- toolchain
- build-fat-aar
job-defaults:
attributes:
retrigger: true
dependencies:
build-fat-aar: build-fat-aar-android-geckoview-fat-aar/opt
fetches:
toolchain:
- android-sdk-linux
- android-gradle-dependencies
- android-gradle-python-envs
- linux64-jdk
build-fat-aar:
- target.maven.tar.xz
run:
using: gradlew
use-caches: false
treeherder:
kind: test
worker-type: b-linux-medium-gcp
worker:
docker-image: {in-tree: android-components}
max-run-time: 7200
jobs:
focus-debug:
description: Focus unit tests
attributes:
build-type: focus-debug
shipping-product: focus
run:
pre-gradlew:
- ["cd", "mobile/android/focus-android"]
gradlew: ['clean', 'test']
dummy-secrets:
- content: "faketoken"
path: .adjust_token
treeherder:
platform: 'focus-android-all/opt'
symbol: focus-debug(T)
tier: 1
worker:
artifacts:
- name: public/reports/index.html
path: /builds/worker/checkouts/gecko/mobile/android/focus-android/app/build/reports/tests/testFocusDebugUnitTest/index.html
type: file
- name: public/reports/test
path: /builds/worker/checkouts/gecko/mobile/android/focus-android/app/build/reports/tests
type: directory
fenix-debug:
description: Fenix unit tests
attributes:
build-type: fenix-debug
shipping-product: fenix
run:
pre-gradlew:
- ["cd", "mobile/android/fenix"]
- ['java', '-version']
gradlew: ['clean', 'testFenixDebugUnitTest']
treeherder:
platform: 'fenix-android-all/opt'
symbol: fenix-debug(T)
tier: 1
worker:
artifacts:
- name: public/reports/index.html
path: /builds/worker/checkouts/gecko/mobile/android/fenix/app/build/reports/tests/testFenixDebugUnitTest/index.html
type: file
- name: public/reports/test
path: /builds/worker/checkouts/gecko/mobile/android/fenix/app/build/reports/tests
type: directory
routes:
by-level:
'3':
- notify.slack-channel.G016BC5FUHJ.on-failed
'default': []
scopes:
by-level:
'3':
- queue:route:notify.slack-channel.G016BC5FUHJ.on-failed
- notify:slack-channel:G016BC5FUHJ
'default': []
extra:
notify:
by-level:
'3':
slackBlocks: |
[
{
"type": "header",
"text": {
"type": "plain_text",
"text": "firefox-android :firefox: ${task.metadata.name} :x:\n "
}
},
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Task*: <https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId}|Taskcluster>"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Owner*: ${task.metadata.owner}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Source*: <${task.payload.env.GECKO_HEAD_REPOSITORY}/rev/${task.payload.env.GECKO_HEAD_REV}|Commit> :hg:"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Test Summary*: <https://firefoxci.taskcluster-artifacts.net/${status.taskId}/0/public/reports/index.html|Results> :debug:"
}
},
{
"type": "divider"
},
{
"type": "context",
"elements": [
{
"type": "mrkdwn",
"text": ":testops-notify: created by <https://mozilla-hub.atlassian.net/wiki/spaces/MTE/overview|Mobile Test Engineering>"
}
]
}
]
'default': {}
|