Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 1 | - job: |
| 2 | name: tf-a-lts2.10-main |
Paul Sokolovsky | 6067c52 | 2024-02-07 13:48:17 +0700 | [diff] [blame] | 3 | node: docker-amd64-tf-a-lts2.10-jammy |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 4 | project-type: multijob |
| 5 | concurrent: true |
| 6 | disabled: false |
| 7 | description: Main CI job for Trusted Firmware. |
| 8 | properties: |
| 9 | - throttle: |
| 10 | option: project |
| 11 | enabled: true |
| 12 | max-total: 5 |
| 13 | - build-discarder: |
| 14 | days-to-keep: 60 |
| 15 | num-to-keep: 30 |
| 16 | - authorization: |
| 17 | !include: authorization.yaml.inc |
| 18 | parameters: |
| 19 | - string: |
| 20 | name: TF_GERRIT_PROJECT |
| 21 | default: 'TF-A/trusted-firmware-a' |
| 22 | - string: |
| 23 | name: TF_GERRIT_BRANCH |
| 24 | default: 'refs/heads/lts-v2.10' |
| 25 | - string: |
| 26 | name: TF_GERRIT_REFSPEC |
| 27 | default: '+refs/heads/lts-v2.10:refs/remotes/origin/lts-v2.10' |
| 28 | - string: |
| 29 | name: TFTF_GERRIT_PROJECT |
| 30 | default: 'TF-A/tf-a-tests' |
| 31 | - string: |
| 32 | name: TFTF_GERRIT_BRANCH |
| 33 | default: 'refs/heads/lts-v2.10' |
| 34 | - string: |
| 35 | name: TFTF_GERRIT_REFSPEC |
| 36 | default: '+refs/heads/lts-v2.10:refs/remotes/origin/lts-v2.10' |
| 37 | - string: |
Paul Sokolovsky | d37d2a5 | 2024-02-23 22:50:25 +0700 | [diff] [blame] | 38 | name: TF_M_TESTS_GERRIT_REFSPEC |
| 39 | default: '95d3407a65e26fb3a4319ab38c257e50c9ee804f' |
| 40 | description: | |
| 41 | tf-m-tests refspec to use. The master branch is used by default. |
| 42 | - string: |
| 43 | name: TF_M_EXTRAS_GERRIT_REFSPEC |
| 44 | default: '+refs/heads/master:refs/remotes/origin/master' |
| 45 | description: | |
| 46 | tf-m-extras refspec to use. The master branch is used by default. |
| 47 | - string: |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 48 | name: SPM_REFSPEC |
| 49 | default: 'v2.10' |
| 50 | description: | |
| 51 | SPM(Hafnium) refspec to use. The master branch is used by default. |
| 52 | - string: |
| 53 | name: CI_REFSPEC |
| 54 | default: '+refs/heads/lts-v2.10:refs/remotes/origin/lts-v2.10' |
| 55 | - string: |
| 56 | name: MBEDTLS_URL |
Yann Gautier | 43056e5 | 2024-09-30 15:39:19 +0200 | [diff] [blame] | 57 | default: 'https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.1.tar.gz' |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 58 | - string: |
| 59 | name: LAVA_RETRIES |
| 60 | default: 2 |
| 61 | description: | |
| 62 | Number of tries submitting job to LAVA in case it fails (stopgap measure against nondeterministic failures) |
| 63 | - string: |
| 64 | name: USE_TUXSUITE_FVP |
| 65 | default: 1 |
| 66 | description: | |
| 67 | Whether to submit FVP tests via TuxSuite (instead of LAVA) |
| 68 | - string: |
| 69 | name: SHARE_FOLDER |
| 70 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 71 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 72 | triggers: |
Paul Sokolovsky | 70fee32 | 2024-09-07 17:27:52 +0300 | [diff] [blame] | 73 | - timed: 'H H(0-7) * * 1,3,5' |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 74 | wrappers: |
| 75 | - credentials-binding: |
| 76 | - ssh-user-private-key: |
| 77 | credential-id: TFA_CI_BOT_USER_SSH_KEY |
| 78 | key-file-variable: CI_BOT_KEY |
| 79 | username-variable: CI_BOT_USERNAME |
| 80 | passphrase-variable: '' |
| 81 | - workspace-cleanup |
| 82 | - timestamps |
| 83 | builders: |
| 84 | - shell: |
| 85 | !include-raw: scripts/clone.sh |
| 86 | - shell: | |
| 87 | #!/bin/bash |
| 88 | set -e |
| 89 | cat << EOF > tf-a-env.param |
| 90 | GERRIT_PROJECT=${TF_GERRIT_PROJECT} |
| 91 | GERRIT_BRANCH=${TF_GERRIT_BRANCH} |
| 92 | GERRIT_REFSPEC=${TF_GERRIT_REFSPEC} |
| 93 | QA_SERVER_PROJECT=${JOB_NAME} |
| 94 | QA_SERVER_VERSION=${BUILD_NUMBER} |
| 95 | SHARE_FOLDER=${SHARE_FOLDER} |
| 96 | EOF |
| 97 | cat << EOF > tf-a-tests-env.param |
| 98 | GERRIT_PROJECT=${TFTF_GERRIT_PROJECT} |
| 99 | GERRIT_BRANCH=${TFTF_GERRIT_BRANCH} |
| 100 | GERRIT_REFSPEC=${TFTF_GERRIT_REFSPEC} |
| 101 | QA_SERVER_PROJECT=${JOB_NAME} |
| 102 | QA_SERVER_VERSION=${BUILD_NUMBER} |
| 103 | SHARE_FOLDER=${SHARE_FOLDER} |
| 104 | EOF |
| 105 | - multijob: |
| 106 | name: Run static checks on the code |
| 107 | condition: COMPLETED |
| 108 | projects: |
| 109 | - name: tf-a-static-checks |
| 110 | current-parameters: true |
| 111 | kill-phase-on: NEVER |
| 112 | property-file: tf-a-env.param |
| 113 | - multijob: |
| 114 | name: Build Trusted Firmware |
| 115 | condition: COMPLETED |
| 116 | projects: |
| 117 | - name: tf-a-lts2.10-ci-gateway |
| 118 | alias: tf-l1-build-fvp tf-l2-build-fvp |
| 119 | current-parameters: true |
| 120 | kill-phase-on: NEVER |
| 121 | predefined-parameters: | |
| 122 | TEST_GROUPS=tf-l1-build-fvp tf-l2-build-fvp |
| 123 | property-file: tf-a-env.param |
| 124 | - name: tf-a-lts2.10-ci-gateway |
| 125 | alias: tf-l1-build-juno tf-l2-build-juno |
| 126 | current-parameters: true |
| 127 | kill-phase-on: NEVER |
| 128 | predefined-parameters: TEST_GROUPS=tf-l1-build-juno tf-l2-build-juno |
| 129 | property-file: tf-a-env.param |
| 130 | - name: tf-a-lts2.10-ci-gateway |
| 131 | alias: tf-l1-build-plat |
| 132 | current-parameters: true |
| 133 | kill-phase-on: NEVER |
| 134 | predefined-parameters: TEST_GROUPS=tf-l1-build-plat |
| 135 | property-file: tf-a-env.param |
| 136 | - name: tf-a-lts2.10-ci-gateway |
| 137 | alias: tf-l1-build-clang |
| 138 | current-parameters: true |
| 139 | kill-phase-on: NEVER |
| 140 | predefined-parameters: TEST_GROUPS=tf-l1-build-clang |
| 141 | property-file: tf-a-env.param |
| 142 | - multijob: |
| 143 | name: TFTF Tests for FVP |
| 144 | condition: COMPLETED |
| 145 | projects: |
| 146 | - name: tf-a-lts2.10-ci-gateway |
| 147 | alias: tftf-l2-fwu |
| 148 | current-parameters: true |
| 149 | kill-phase-on: NEVER |
| 150 | predefined-parameters: TEST_GROUPS=tftf-l2-fwu |
| 151 | property-file: tf-a-tests-env.param |
| 152 | - name: tf-a-lts2.10-ci-gateway |
| 153 | alias: tftf-l1-fvp tftf-l2-fvp-auxiliary |
| 154 | current-parameters: true |
| 155 | kill-phase-on: NEVER |
| 156 | predefined-parameters: TEST_GROUPS=tftf-l1-fvp tftf-l2-fvp-auxiliary |
| 157 | property-file: tf-a-tests-env.param |
| 158 | - name: tf-a-lts2.10-ci-gateway |
| 159 | alias: tftf-l2-fvp tftf-l2-fvp-dynamiq |
| 160 | current-parameters: true |
| 161 | kill-phase-on: NEVER |
| 162 | predefined-parameters: TEST_GROUPS=tftf-l2-fvp tftf-l2-fvp-dynamiq |
| 163 | property-file: tf-a-tests-env.param |
| 164 | - name: tf-a-lts2.10-ci-gateway |
| 165 | alias: tftf-l2-extensive-tests-fvp |
| 166 | current-parameters: true |
| 167 | kill-phase-on: NEVER |
| 168 | predefined-parameters: TEST_GROUPS=tftf-l2-extensive-tests-fvp |
| 169 | property-file: tf-a-tests-env.param |
| 170 | - multijob: |
| 171 | name: Boot up to the Linux shell prompt |
| 172 | condition: COMPLETED |
| 173 | projects: |
| 174 | - name: tf-a-lts2.10-ci-gateway |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 175 | alias: tf-l2-boot-tests-aarch32 |
| 176 | current-parameters: true |
| 177 | kill-phase-on: NEVER |
| 178 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-aarch32 |
| 179 | property-file: tf-a-env.param |
| 180 | - name: tf-a-lts2.10-ci-gateway |
| 181 | alias: tf-l2-boot-tests-rootfs |
| 182 | current-parameters: true |
| 183 | kill-phase-on: NEVER |
| 184 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-rootfs |
| 185 | property-file: tf-a-env.param |
| 186 | - name: tf-a-lts2.10-ci-gateway |
| 187 | alias: tf-l2-boot-tests-spm-mm |
| 188 | current-parameters: true |
| 189 | kill-phase-on: NEVER |
| 190 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-spm-mm |
| 191 | property-file: tf-a-env.param |
| 192 | - name: tf-a-lts2.10-ci-gateway |
| 193 | alias: spm-l2-boot-tests |
| 194 | current-parameters: true |
| 195 | kill-phase-on: NEVER |
| 196 | predefined-parameters: TEST_GROUPS=spm-l2-boot-tests |
| 197 | property-file: tf-a-env.param |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 198 | - multijob: |
| 199 | name: Boot up to the Linux shell prompt - Part 2 |
| 200 | condition: COMPLETED |
| 201 | projects: |
| 202 | - name: tf-a-lts2.10-ci-gateway |
| 203 | alias: tf-l2-boot-tests-misc |
| 204 | current-parameters: true |
| 205 | kill-phase-on: NEVER |
| 206 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-misc |
| 207 | property-file: tf-a-env.param |
| 208 | - name: tf-a-lts2.10-ci-gateway |
| 209 | alias: tf-l2-boot-tests-latest |
| 210 | current-parameters: true |
| 211 | kill-phase-on: NEVER |
| 212 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-latest |
| 213 | property-file: tf-a-env.param |
| 214 | - name: tf-a-lts2.10-ci-gateway |
| 215 | alias: tf-l2-boot-tests-cortex |
| 216 | current-parameters: true |
| 217 | kill-phase-on: NEVER |
| 218 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-cortex |
| 219 | property-file: tf-a-env.param |
| 220 | - name: tf-a-lts2.10-ci-gateway |
| 221 | alias: tf-l2-boot-tests-gicv2 |
| 222 | current-parameters: true |
| 223 | kill-phase-on: NEVER |
| 224 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-gicv2 |
| 225 | property-file: tf-a-env.param |
| 226 | - name: tf-a-lts2.10-ci-gateway |
| 227 | alias: tf-l2-boot-tests-bl2_el3 |
| 228 | current-parameters: true |
| 229 | kill-phase-on: NEVER |
| 230 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-bl2_el3 |
| 231 | property-file: tf-a-env.param |
| 232 | - name: tf-a-lts2.10-ci-gateway |
| 233 | alias: qemu-boot-tests |
| 234 | current-parameters: true |
| 235 | kill-phase-on: NEVER |
| 236 | predefined-parameters: TEST_GROUPS=qemu-boot-tests |
| 237 | property-file: tf-a-env.param |
| 238 | - multijob: |
| 239 | name: Juno Boot Tests |
| 240 | condition: COMPLETED |
| 241 | projects: |
| 242 | - name: tf-a-lts2.10-ci-gateway |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 243 | alias: tf-l2-boot-tests-juno |
| 244 | current-parameters: true |
| 245 | kill-phase-on: NEVER |
| 246 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-juno |
| 247 | property-file: tf-a-env.param |
| 248 | - name: tf-a-lts2.10-ci-gateway |
| 249 | alias: tftf-l1-juno |
| 250 | current-parameters: true |
| 251 | kill-phase-on: NEVER |
| 252 | predefined-parameters: TEST_GROUPS=tftf-l1-juno |
| 253 | property-file: tf-a-env.param |
| 254 | - multijob: |
| 255 | name: Miscellaneous tests |
| 256 | condition: COMPLETED |
| 257 | projects: |
| 258 | - name: tf-a-lts2.10-ci-gateway |
| 259 | alias: tf-l3-boot-tests-css |
| 260 | current-parameters: true |
| 261 | kill-phase-on: NEVER |
| 262 | predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-css |
| 263 | property-file: tf-a-env.param |
| 264 | - name: tf-a-lts2.10-ci-gateway |
| 265 | alias: tf-l3-boot-tests-spm-mm |
| 266 | current-parameters: true |
| 267 | kill-phase-on: NEVER |
| 268 | predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-spm-mm |
| 269 | property-file: tf-a-env.param |
| 270 | - name: tf-a-lts2.10-ci-gateway |
| 271 | alias: tf-l3-boot-tests-ras |
| 272 | current-parameters: true |
| 273 | kill-phase-on: NEVER |
| 274 | predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-ras |
| 275 | property-file: tf-a-env.param |
| 276 | - name: tf-a-lts2.10-ci-gateway |
| 277 | alias: tf-l3-boot-tests-misc |
| 278 | current-parameters: true |
| 279 | kill-phase-on: NEVER |
| 280 | predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-misc |
| 281 | property-file: tf-a-env.param |
| 282 | - name: tf-a-lts2.10-ci-gateway |
| 283 | alias: tf-l3-boot-tests-n1sdp |
| 284 | current-parameters: true |
| 285 | kill-phase-on: NEVER |
| 286 | predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-n1sdp |
| 287 | property-file: tf-a-env.param |
| 288 | - name: tf-a-lts2.10-ci-gateway |
| 289 | alias: spm-l3-boot-tests |
| 290 | current-parameters: true |
| 291 | kill-phase-on: NEVER |
| 292 | predefined-parameters: TEST_GROUPS=spm-l3-boot-tests |
| 293 | property-file: tf-a-env.param |
| 294 | - name: tf-a-lts2.10-ci-gateway |
Manish Pandey | 939c500 | 2024-03-22 14:06:21 +0000 | [diff] [blame] | 295 | alias: tf-l2-boot-tests-partner-boards |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 296 | current-parameters: true |
| 297 | kill-phase-on: NEVER |
Manish Pandey | 939c500 | 2024-03-22 14:06:21 +0000 | [diff] [blame] | 298 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-partner-boards |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 299 | property-file: tf-a-env.param |
| 300 | # Platform-specific self-tests. |
| 301 | # These tests run from the BL31 image then halt the target. |
| 302 | - name: tf-a-lts2.10-ci-gateway |
Manish Pandey | 939c500 | 2024-03-22 14:06:21 +0000 | [diff] [blame] | 303 | alias: tf-l2-boot-tests-arm-plats |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 304 | current-parameters: true |
| 305 | kill-phase-on: NEVER |
Manish Pandey | 939c500 | 2024-03-22 14:06:21 +0000 | [diff] [blame] | 306 | predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-arm-plats |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 307 | property-file: tf-a-env.param |
| 308 | - multijob: |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 309 | name: Run doc build check |
| 310 | condition: COMPLETED |
| 311 | projects: |
| 312 | - name: tf-a-lts2.10-ci-gateway |
| 313 | alias: tf-l1-check-docs |
| 314 | current-parameters: true |
| 315 | kill-phase-on: NEVER |
| 316 | predefined-parameters: TEST_GROUPS=tf-l1-check-docs |
| 317 | property-file: tf-a-env.param |
| 318 | - multijob: |
| 319 | name: Generate visualizations |
| 320 | condition: COMPLETED |
| 321 | projects: |
| 322 | - name: tf-a-sloc-visualization |
| 323 | current-parameters: true |
| 324 | kill-phase-on: NEVER |
| 325 | property-file: tf-a-env.param |
| 326 | - name: tf-a-test-category-visualization |
| 327 | current-parameters: true |
| 328 | kill-phase-on: NEVER |
| 329 | property-file: tf-a-env.param |
| 330 | - name: tf-a-test-result-visualization |
| 331 | current-parameters: true |
| 332 | kill-phase-on: NEVER |
| 333 | predefined-parameters: TARGET_BUILD=${JOB_NAME}/${BUILD_NUMBER} |
| 334 | property-file: tf-a-env.param |
| 335 | # Run the unstable TF-A Tests at the end but do not let their results |
| 336 | # participate in the job's success/failure. |
| 337 | - trigger-builds: |
| 338 | - project: tf-a-lts2.10-ci-gateway |
| 339 | current-parameters: True |
| 340 | property-file: tf-a-tests-env.param |
| 341 | property-file-fail-on-missing: True |
| 342 | predefined-parameters: TEST_GROUPS=tftf-unstable |
| 343 | block: True |
| 344 | block-thresholds: |
| 345 | build-step-failure-threshold: never |
| 346 | unstable-threshold: never |
| 347 | failure-threshold: never |
Paul Sokolovsky | 6142372 | 2024-02-01 00:36:34 +0700 | [diff] [blame] | 348 | publishers: |
| 349 | - email: |
Arthur She | 7e4b2ce | 2025-01-09 22:11:59 -0800 | [diff] [blame] | 350 | recipients: okash@google.com, bipin.ravi@arm.com, vwadekar@nvidia.com, joanna.farley@arm.com |