ci: Bump vulkan CTS version to 1.2.3.2, and keep the GL CTS around.
[mesa.git] / .gitlab-ci.yml
1 variables:
2 FDO_UPSTREAM_REPO: mesa/mesa
3 CI_PRE_CLONE_SCRIPT: |-
4 set -o xtrace
5 /usr/bin/wget -q -O- ${CI_PROJECT_URL}/-/raw/${CI_COMMIT_SHA}/.gitlab-ci/download-git-cache.sh | sh -
6 set +o xtrace
7
8 include:
9 - project: 'freedesktop/ci-templates'
10 ref: &ci-templates-sha 52dd4a94044449c8481d18dcdc221a3c636366d2
11 file: '/templates/debian.yml'
12 - project: 'freedesktop/ci-templates'
13 ref: *ci-templates-sha
14 file: '/templates/alpine.yml'
15 - local: '.gitlab-ci/lava-gitlab-ci.yml'
16 - local: '.gitlab-ci/test-source-dep.yml'
17
18 stages:
19 - container+docs
20 - container-2
21 - git-archive
22 - deploy
23 - meson-x86_64
24 - scons
25 - meson-misc
26 - llvmpipe
27 - softpipe
28 - freedreno
29 - panfrost
30 - radv
31 - lima
32 - virgl
33 - radeonsi
34 - success
35
36 # Generic rule to not run the job during scheduled pipelines
37 # ----------------------------------------------------------
38 .scheduled_pipelines-rules:
39 rules: &ignore_scheduled_pipelines
40 if: '$CI_PIPELINE_SOURCE == "schedule"'
41 when: never
42
43 .docs-base:
44 extends: .ci-run-policy
45 image: alpine
46 script:
47 - apk --no-cache add py3-pip graphviz
48 - pip3 install sphinx sphinx_rtd_theme
49 - sphinx-build -b html docs public
50
51 pages:
52 extends: .docs-base
53 stage: deploy
54 artifacts:
55 paths:
56 - public
57 rules:
58 - *ignore_scheduled_pipelines
59 - if: '$CI_PROJECT_NAMESPACE == "mesa" && $CI_COMMIT_REF_NAME == "master"'
60 changes: &docs-or-ci
61 - docs/**/*
62 - .gitlab-ci.yml
63 when: always
64 # Other cases default to never
65
66 test-docs:
67 extends: .docs-base
68 # Cancel job if a newer commit is pushed to the same branch
69 interruptible: true
70 stage: container+docs
71 rules:
72 - *ignore_scheduled_pipelines
73 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
74 changes: *docs-or-ci
75 when: on_success
76 - if: '$GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == "mesa/mesa"'
77 changes: *docs-or-ci
78 when: on_success
79 - changes: *docs-or-ci
80 when: manual
81 # Other cases default to never
82
83 # When to automatically run the CI
84 .ci-run-policy:
85 rules:
86 - *ignore_scheduled_pipelines
87 # If any files affecting the pipeline are changed, build/test jobs run
88 # automatically once all dependency jobs have passed
89 - changes: &all_paths
90 - VERSION
91 - bin/git_sha1_gen.py
92 - bin/install_megadrivers.py
93 - bin/meson_get_version.py
94 - bin/symbols-check.py
95 # GitLab CI
96 - .gitlab-ci.yml
97 - .gitlab-ci/**/*
98 # Meson
99 - meson*
100 - build-support/**/*
101 - subprojects/**/*
102 # SCons
103 - SConstruct
104 - scons/**/*
105 - common.py
106 # Source code
107 - include/**/*
108 - src/**/*
109 when: on_success
110 # Otherwise, build/test jobs won't run
111 - when: never
112 retry:
113 max: 2
114 when:
115 - runner_system_failure
116
117 success:
118 stage: success
119 image: debian:stable-slim
120 rules:
121 - *ignore_scheduled_pipelines
122 - if: '$CI_PROJECT_NAMESPACE == "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
123 when: never
124 - if: '$GITLAB_USER_LOGIN == "marge-bot"'
125 changes: *docs-or-ci
126 when: never
127 - changes: *all_paths
128 when: never
129 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
130 when: on_success
131 variables:
132 GIT_STRATEGY: none
133 script:
134 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
135
136
137 .ci-deqp-artifacts:
138 artifacts:
139 name: "mesa_${CI_JOB_NAME}"
140 when: always
141 untracked: false
142 paths:
143 # Watch out! Artifacts are relative to the build dir.
144 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
145 - artifacts
146
147 # Build the CI docker images.
148 #
149 # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
150 # image doesn't exist yet, the container stage job generates it.
151 #
152 # In order to generate a new image, one should generally change the tag.
153 # While removing the image from the registry would also work, that's not
154 # recommended except for ephemeral images during development: Replacing
155 # an image after a significant amount of time might pull in newer
156 # versions of gcc/clang or other packages, which might break the build
157 # with older commits using the same tag.
158 #
159 # After merging a change resulting in generating a new image to the
160 # main repository, it's recommended to remove the image from the source
161 # repository's container registry, so that the image from the main
162 # repository's registry will be used there as well.
163
164 .container:
165 stage: container+docs
166 extends:
167 - .ci-run-policy
168 rules:
169 - *ignore_scheduled_pipelines
170 # Run pipeline by default in the main project if any CI pipeline
171 # configuration files were changed, to ensure docker images are up to date
172 - if: '$CI_PROJECT_PATH == "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
173 changes:
174 - .gitlab-ci.yml
175 - .gitlab-ci/**/*
176 when: on_success
177 # Run pipeline by default if it was triggered by Marge Bot, is for a
178 # merge request, and any files affecting the pipeline were changed
179 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
180 changes:
181 *all_paths
182 when: on_success
183 # Run pipeline by default in the main project if it was not triggered by
184 # Marge Bot, and any files affecting the pipeline were changed
185 - if: '$GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == "mesa/mesa"'
186 changes:
187 *all_paths
188 when: on_success
189 # Allow triggering jobs manually in other cases if any files affecting the
190 # pipeline were changed
191 - changes:
192 *all_paths
193 when: manual
194 # Otherwise, container jobs won't run
195 - when: never
196 variables:
197 FDO_DISTRIBUTION_VERSION: buster-slim
198 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
199 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
200 # no need to pull the whole repo to build the container image
201 GIT_STRATEGY: none
202
203 # Debian 10 based x86 build image base
204 x86_build-base:
205 extends:
206 - .fdo.container-build@debian
207 - .container
208 variables:
209 FDO_DISTRIBUTION_TAG: &x86_build-base "2020-08-13-gold"
210
211 .use-x86_build-base:
212 extends:
213 - x86_build-base
214 - .ci-run-policy
215 stage: container-2
216 variables:
217 BASE_TAG: *x86_build-base
218 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
219 needs:
220 - x86_build-base
221
222 # Debian 10 based x86 main build image
223 x86_build:
224 extends:
225 - .use-x86_build-base
226 variables:
227 FDO_DISTRIBUTION_TAG: &x86_build "2020-08-13-gold"
228
229 .use-x86_build:
230 variables:
231 TAG: *x86_build
232 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
233 needs:
234 - x86_build
235
236 # Debian 10 based i386 cross-build image
237 i386_build:
238 extends:
239 - .use-x86_build-base
240 variables:
241 FDO_DISTRIBUTION_TAG: &i386_build "2020-08-13-gold"
242
243 .use-i386_build:
244 variables:
245 TAG: *i386_build
246 image: "$CI_REGISTRY_IMAGE/debian/i386_build:$TAG"
247 needs:
248 - i386_build
249
250 # Debian 10 based ppc64el cross-build image
251 ppc64el_build:
252 extends:
253 - .use-x86_build-base
254 variables:
255 FDO_DISTRIBUTION_TAG: &ppc64el_build "2020-08-13-gold"
256
257 .use-ppc64el_build:
258 variables:
259 TAG: *ppc64el_build
260 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:$TAG"
261 needs:
262 - ppc64el_build
263
264 # Debian 10 based s390x cross-build image
265 s390x_build:
266 extends:
267 - .use-x86_build-base
268 variables:
269 FDO_DISTRIBUTION_TAG: &s390x_build "2020-08-13-gold"
270
271 .use-s390x_build:
272 variables:
273 TAG: *s390x_build
274 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:$TAG"
275 needs:
276 - s390x_build
277
278 # Debian 10 based x86 test image base
279 x86_test-base:
280 extends: x86_build-base
281 variables:
282 FDO_DISTRIBUTION_TAG: &x86_test-base "2020-08-13-gold"
283
284 .use-x86_test-base:
285 extends:
286 - x86_build-base
287 - .ci-run-policy
288 stage: container-2
289 variables:
290 BASE_TAG: *x86_test-base
291 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
292 needs:
293 - x86_test-base
294
295 # Debian 10 based x86 test image for GL
296 x86_test-gl:
297 extends: .use-x86_test-base
298 variables:
299 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-08-24-gold"
300
301 # Debian 10 based x86 test image for VK
302 x86_test-vk:
303 extends: .use-x86_test-base
304 variables:
305 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-08-31-deqp-version"
306
307 # Debian 9 based x86 build image (old LLVM)
308 x86_build_old:
309 extends: x86_build-base
310 variables:
311 FDO_DISTRIBUTION_TAG: &x86_build_old "2020-08-13-gold"
312 FDO_DISTRIBUTION_VERSION: stretch-slim
313
314 .use-x86_build_old:
315 variables:
316 TAG: *x86_build_old
317 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
318 needs:
319 - x86_build_old
320
321 # Debian 10 based ARM build image
322 arm_build:
323 extends:
324 - .fdo.container-build@debian@arm64v8
325 - .container
326 variables:
327 FDO_DISTRIBUTION_TAG: &arm_build "2020-08-13-gold"
328
329 .use-arm_build:
330 variables:
331 TAG: *arm_build
332 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
333 needs:
334 - arm_build
335
336 # Debian 10 based x86 baremetal image base
337 arm_test-base:
338 extends:
339 - .fdo.container-build@debian
340 - .container
341 variables:
342 FDO_DISTRIBUTION_TAG: &arm_test-base "2020-08-13-gold"
343
344 .use-arm_test-base:
345 extends:
346 - arm_test-base
347 - .ci-run-policy
348 stage: container-2
349 variables:
350 BASE_TAG: *arm_test-base
351 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:$BASE_TAG"
352 needs:
353 - arm_test-base
354
355 # x86 image with ARM64 rootfs for baremetal testing.
356 arm64_test:
357 extends:
358 - .use-arm_test-base
359 variables:
360 FDO_DISTRIBUTION_TAG: &arm64_test "2020-08-31-deqp-version"
361
362 .use-arm64_test:
363 variables:
364 TAG: *arm64_test
365 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:$TAG"
366 needs:
367 - arm64_test
368
369 # Native Windows docker builds
370 #
371 # Unlike the above Linux-based builds - including MinGW/SCons builds which
372 # cross-compile for Windows - which use the freedesktop ci-templates, we
373 # cannot use the same scheme here. As Windows lacks support for
374 # Docker-in-Docker, and Podman does not run natively on Windows, we have
375 # to open-code much of the same ourselves.
376 #
377 # This is achieved by first running in a native Windows shell instance
378 # (host PowerShell) in the container stage to build and push the image,
379 # then in the build stage by executing inside Docker.
380
381 .windows-docker-vs2019:
382 variables:
383 WINDOWS_TAG: "2020-05-05-llvm"
384 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
385 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
386
387 .windows_build_vs2019:
388 extends:
389 - .container
390 - .windows-docker-vs2019
391 stage: container+docs
392 variables:
393 GIT_STRATEGY: fetch # we do actually need the full repository though
394 timeout: 4h # LLVM takes ages
395 tags:
396 - windows
397 - shell
398 - "1809"
399 - mesa
400 script:
401 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
402
403 .use-windows_build_vs2019:
404 extends: .windows-docker-vs2019
405 image: "$WINDOWS_IMAGE"
406 needs:
407 - windows_build_vs2019
408
409 git_archive:
410 extends: .fdo.container-build@alpine
411 stage: container+docs
412 rules:
413 - if: '$CI_PIPELINE_SOURCE == "schedule"'
414 when: always
415 variables:
416 FDO_REPO_SUFFIX: &git-archive-suffix "alpine/git_archive"
417 FDO_DISTRIBUTION_EXEC: 'pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366'
418 # no need to pull the whole repo to build the container image
419 GIT_STRATEGY: none
420 FDO_DISTRIBUTION_TAG: &git-archive-tag "2020-07-07"
421 FDO_DISTRIBUTION_PACKAGES: git py3-pip
422
423
424 # Git archive
425
426 make git archive:
427 stage: git-archive
428 extends: .fdo.suffixed-image@alpine
429 rules:
430 - if: '$CI_PIPELINE_SOURCE == "schedule"'
431 when: on_success
432 # ensure we are running on packet
433 tags:
434 - packet.net
435 variables:
436 FDO_DISTRIBUTION_TAG: *git-archive-tag
437 FDO_REPO_SUFFIX: *git-archive-suffix
438 needs:
439 - git_archive
440
441 script:
442 # compress the current folder
443 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
444
445 # login with the JWT token
446 - ci-fairy minio login $CI_JOB_JWT
447 - ci-fairy minio cp ../$CI_PROJECT_NAME.tar.gz minio://minio-packet.freedesktop.org/git-cache/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_PROJECT_NAME.tar.gz
448
449
450 # BUILD
451
452 # Shared between windows and Linux
453 .build-common:
454 extends: .ci-run-policy
455 # Cancel job if a newer commit is pushed to the same branch
456 interruptible: true
457 artifacts:
458 name: "mesa_${CI_JOB_NAME}"
459 when: always
460 paths:
461 - _build/meson-logs/*.txt
462 # scons:
463 - build/*/config.log
464 - shader-db
465
466 # Just Linux
467 .build-linux:
468 extends: .build-common
469 variables:
470 CCACHE_COMPILERCHECK: "content"
471 CCACHE_COMPRESS: "true"
472 CCACHE_DIR: /cache/mesa/ccache
473 # Use ccache transparently, and print stats before/after
474 before_script:
475 - export PATH="/usr/lib/ccache:$PATH"
476 - export CCACHE_BASEDIR="$PWD"
477 - ccache --show-stats
478 after_script:
479 - ccache --show-stats
480
481 .build-windows:
482 extends: .build-common
483 tags:
484 - windows
485 - docker
486 - "1809"
487 - mesa
488 cache:
489 key: ${CI_JOB_NAME}
490 paths:
491 - subprojects/packagecache
492
493 .meson-build:
494 extends:
495 - .build-linux
496 - .use-x86_build
497 stage: meson-x86_64
498 variables:
499 LLVM_VERSION: 9
500 script:
501 - .gitlab-ci/meson-build.sh
502
503 .scons-build:
504 extends:
505 - .build-linux
506 - .use-x86_build
507 stage: scons
508 script:
509 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
510
511 meson-testing:
512 extends:
513 - .meson-build
514 - .ci-deqp-artifacts
515 variables:
516 UNWIND: "enabled"
517 DRI_LOADERS: >
518 -D glx=dri
519 -D gbm=enabled
520 -D egl=enabled
521 -D platforms=x11
522 GALLIUM_ST: >
523 -D dri3=enabled
524 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
525 VULKAN_DRIVERS: amd
526 BUILDTYPE: "debugoptimized"
527 EXTRA_OPTION: >
528 -D werror=true
529 UPLOAD_FOR_LAVA: 1
530 DEBIAN_ARCH: amd64
531 script:
532 - .gitlab-ci/meson-build.sh
533 - .gitlab-ci/prepare-artifacts.sh
534
535 meson-gallium:
536 extends: .meson-build
537 variables:
538 UNWIND: "enabled"
539 DRI_LOADERS: >
540 -D glx=dri
541 -D gbm=enabled
542 -D egl=enabled
543 -D platforms=x11,wayland
544 GALLIUM_ST: >
545 -D dri3=enabled
546 -D gallium-extra-hud=true
547 -D gallium-vdpau=enabled
548 -D gallium-xvmc=enabled
549 -D gallium-omx=bellagio
550 -D gallium-va=enabled
551 -D gallium-xa=enabled
552 -D gallium-nine=true
553 -D gallium-opencl=disabled
554 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
555 VULKAN_DRIVERS: swrast
556 EXTRA_OPTION: >
557 -D osmesa=gallium
558 -D tools=all
559 -D werror=true
560 script:
561 - .gitlab-ci/meson-build.sh
562 - .gitlab-ci/run-shader-db.sh
563 - src/freedreno/.gitlab-ci/run-fdtools.sh
564
565 # Test a release build with -Werror so new warnings don't sneak in.
566 meson-release:
567 extends: .meson-build
568 variables:
569 UNWIND: "enabled"
570 DRI_LOADERS: >
571 -D glx=dri
572 -D gbm=enabled
573 -D egl=enabled
574 -D platforms=x11,wayland
575 GALLIUM_ST: >
576 -D dri3=enabled
577 -D gallium-extra-hud=true
578 -D gallium-vdpau=enabled
579 -D gallium-xvmc=disabled
580 -D gallium-omx=disabled
581 -D gallium-va=enabled
582 -D gallium-xa=enabled
583 -D gallium-nine=false
584 -D gallium-opencl=disabled
585 -D llvm=false
586 GALLIUM_DRIVERS: "nouveau,kmsro,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
587 BUILDTYPE: "release"
588 EXTRA_OPTION: >
589 -D osmesa=none
590 -D tools=all
591 -D werror=true
592 script:
593 - .gitlab-ci/meson-build.sh
594
595 meson-classic:
596 extends: .meson-build
597 variables:
598 UNWIND: "enabled"
599 DRI_LOADERS: >
600 -D glx=dri
601 -D gbm=enabled
602 -D egl=enabled
603 -D platforms=x11,wayland,drm,surfaceless
604 DRI_DRIVERS: "auto"
605 EXTRA_OPTION: >
606 -D osmesa=classic
607 -D tools=all
608 -D werror=true
609
610 meson-android:
611 extends: .meson-build
612 variables:
613 UNWIND: "disabled"
614 DRI_LOADERS: >
615 -D glx=disabled
616 -D gbm=disabled
617 -D egl=enabled
618 -D platforms=android
619 GALLIUM_DRIVERS: freedreno
620 VULKAN_DRIVERS: freedreno,intel,amd
621 EXTRA_OPTION: >
622 -D android-stub=true
623 -D werror=true
624 GALLIUM_ST: >
625 -D dri3=disabled
626 -D gallium-vdpau=disabled
627 -D gallium-xvmc=disabled
628 -D gallium-omx=disabled
629 -D gallium-va=disabled
630 -D gallium-xa=disabled
631 -D gallium-nine=false
632 -D gallium-opencl=disabled
633
634 .meson-cross:
635 extends:
636 - .meson-build
637 stage: meson-misc
638 variables:
639 UNWIND: "disabled"
640 DRI_LOADERS: >
641 -D glx=disabled
642 -D gbm=disabled
643 -D egl=enabled
644 -D platforms=[]
645 -D osmesa=none
646 GALLIUM_ST: >
647 -D dri3=disabled
648 -D gallium-vdpau=disabled
649 -D gallium-xvmc=disabled
650 -D gallium-omx=disabled
651 -D gallium-va=disabled
652 -D gallium-xa=disabled
653 -D gallium-nine=false
654 LLVM_VERSION: "8"
655
656 .meson-arm:
657 extends:
658 - .meson-cross
659 - .use-arm_build
660 variables:
661 VULKAN_DRIVERS: freedreno
662 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
663 BUILDTYPE: "debugoptimized"
664 tags:
665 - aarch64
666
667 meson-armhf:
668 extends:
669 - .meson-arm
670 - .ci-deqp-artifacts
671 variables:
672 CROSS: armhf
673 LLVM_VERSION: "7"
674 EXTRA_OPTION: >
675 -D llvm=disabled
676 UPLOAD_FOR_LAVA: 1
677 DEBIAN_ARCH: armhf
678 script:
679 - .gitlab-ci/meson-build.sh
680 - .gitlab-ci/prepare-artifacts.sh
681
682 meson-arm64:
683 extends:
684 - .meson-arm
685 - .ci-deqp-artifacts
686 variables:
687 VULKAN_DRIVERS: "freedreno"
688 EXTRA_OPTION: >
689 -D llvm=disabled
690 UPLOAD_FOR_LAVA: 1
691 DEBIAN_ARCH: arm64
692 script:
693 - .gitlab-ci/meson-build.sh
694 - .gitlab-ci/prepare-artifacts.sh
695
696 meson-arm64-build-test:
697 extends:
698 - .meson-arm
699 - .ci-deqp-artifacts
700 variables:
701 VULKAN_DRIVERS: "amd"
702 EXTRA_OPTION: >
703 -Dtools=panfrost
704 script:
705 - .gitlab-ci/meson-build.sh
706
707 meson-clang:
708 extends: .meson-build
709 variables:
710 UNWIND: "enabled"
711 DRI_LOADERS: >
712 -D glvnd=true
713 DRI_DRIVERS: "auto"
714 GALLIUM_DRIVERS: "auto"
715 VULKAN_DRIVERS: intel,amd,freedreno
716 CC: "ccache clang-9"
717 CXX: "ccache clang++-9"
718
719 .meson-windows-vs2019:
720 extends:
721 - .build-windows
722 - .use-windows_build_vs2019
723 stage: meson-misc
724 script:
725 - . .\.gitlab-ci\windows\mesa_build.ps1
726
727 scons-win64:
728 extends: .scons-build
729 variables:
730 SCONS_TARGET: platform=windows machine=x86_64 debug=1
731 SCONS_CHECK_COMMAND: "true"
732 allow_failure: true
733
734 meson-clover:
735 extends: .meson-build
736 variables:
737 UNWIND: "enabled"
738 DRI_LOADERS: >
739 -D glx=disabled
740 -D egl=disabled
741 -D gbm=disabled
742 GALLIUM_DRIVERS: "r600,radeonsi"
743 GALLIUM_ST: >
744 -D dri3=disabled
745 -D gallium-vdpau=disabled
746 -D gallium-xvmc=disabled
747 -D gallium-omx=disabled
748 -D gallium-va=disabled
749 -D gallium-xa=disabled
750 -D gallium-nine=false
751 -D gallium-opencl=icd
752 script:
753 - .gitlab-ci/meson-build.sh
754 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
755
756 meson-clover-old-llvm:
757 extends:
758 - meson-clover
759 - .use-x86_build_old
760 variables:
761 UNWIND: "disabled"
762 DRI_LOADERS: >
763 -D glx=disabled
764 -D egl=disabled
765 -D gbm=disabled
766 -D platforms=[]
767 GALLIUM_DRIVERS: "i915,r600"
768 script:
769 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
770 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
771 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
772 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
773 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
774
775 meson-vulkan:
776 extends: .meson-build
777 variables:
778 UNWIND: "disabled"
779 DRI_LOADERS: >
780 -D glx=disabled
781 -D gbm=disabled
782 -D egl=disabled
783 -D platforms=x11,wayland
784 -D osmesa=none
785 GALLIUM_ST: >
786 -D dri3=enabled
787 -D gallium-vdpau=disabled
788 -D gallium-xvmc=disabled
789 -D gallium-omx=disabled
790 -D gallium-va=disabled
791 -D gallium-xa=disabled
792 -D gallium-nine=false
793 -D gallium-opencl=disabled
794 -D b_sanitize=undefined
795 -D c_args=-fno-sanitize-recover=all
796 -D cpp_args=-fno-sanitize-recover=all
797 UBSAN_OPTIONS: "print_stacktrace=1"
798 VULKAN_DRIVERS: intel,amd,freedreno
799 EXTRA_OPTION: >
800 -D vulkan-overlay-layer=true
801 -D build-aco-tests=true
802 -D werror=true
803
804 meson-i386:
805 extends:
806 - .meson-cross
807 - .use-i386_build
808 variables:
809 CROSS: i386
810 VULKAN_DRIVERS: intel,amd
811 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
812 EXTRA_OPTION: >
813 -D vulkan-overlay-layer=true
814 -D werror=true
815
816 meson-s390x:
817 extends:
818 - .meson-cross
819 - .use-s390x_build
820 tags:
821 - kvm
822 variables:
823 CROSS: s390x
824 EXTRA_OPTION: >
825 -D werror=true
826 GALLIUM_DRIVERS: "swrast"
827
828 meson-ppc64el:
829 extends:
830 - meson-s390x
831 - .use-ppc64el_build
832 variables:
833 CROSS: ppc64el
834 EXTRA_OPTION: ""
835 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
836 VULKAN_DRIVERS: "amd"
837
838 meson-mingw32-x86_64:
839 extends: .meson-build
840 stage: meson-misc
841 variables:
842 UNWIND: "disabled"
843 DRI_DRIVERS: ""
844 GALLIUM_DRIVERS: "swrast"
845 EXTRA_OPTION: >
846 -Dllvm=disabled
847 -Dosmesa=gallium
848 --cross-file=.gitlab-ci/x86_64-w64-mingw32
849
850 .test:
851 extends:
852 - .ci-run-policy
853 # Cancel job if a newer commit is pushed to the same branch
854 interruptible: true
855 variables:
856 GIT_STRATEGY: none # testing doesn't build anything from source
857 before_script:
858 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
859 - rm -rf install
860 - tar -xf artifacts/install.tar
861 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
862 artifacts:
863 when: always
864 name: "mesa_${CI_JOB_NAME}"
865 paths:
866 - results/
867
868 .test-gl:
869 extends:
870 - .test
871 variables:
872 TAG: *x86_test-gl
873 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
874 needs:
875 - meson-testing
876 - x86_test-gl
877
878 .test-vk:
879 extends:
880 - .test
881 variables:
882 TAG: *x86_test-vk
883 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
884 needs:
885 - meson-testing
886 - x86_test-vk
887
888 .piglit-test:
889 extends:
890 - .test-gl
891 - .llvmpipe-rules
892 artifacts:
893 when: on_failure
894 name: "mesa_${CI_JOB_NAME}"
895 paths:
896 - summary/
897 variables:
898 LIBGL_ALWAYS_SOFTWARE: 1
899 PIGLIT_NO_WINDOW: 1
900 script:
901 - install/piglit/run.sh
902
903 piglit-quick_gl:
904 extends: .piglit-test
905 variables:
906 LP_NUM_THREADS: 0
907 NIR_VALIDATE: 0
908 PIGLIT_OPTIONS: >
909 --process-isolation false
910 -x egl_ext_device_
911 -x egl_ext_platform_device
912 -x ext_timer_query@time-elapsed
913 -x glx-multithread-clearbuffer
914 -x glx-multithread-shader-compile
915 -x max-texture-size
916 -x maxsize
917 PIGLIT_PROFILES: quick_gl
918
919 piglit-glslparser:
920 extends: .piglit-test
921 variables:
922 LP_NUM_THREADS: 0
923 NIR_VALIDATE: 0
924 PIGLIT_PROFILES: glslparser
925
926 piglit-quick_shader:
927 extends: .piglit-test
928 variables:
929 LP_NUM_THREADS: 1
930 NIR_VALIDATE: 0
931 PIGLIT_PROFILES: quick_shader
932
933 .deqp-test:
934 variables:
935 DEQP_SKIPS: deqp-default-skips.txt
936 script:
937 - ./install/deqp-runner.sh
938
939 .deqp-test-gl:
940 extends:
941 - .test-gl
942 - .deqp-test
943
944 .deqp-test-vk:
945 extends:
946 - .test-vk
947 - .deqp-test
948 variables:
949 DEQP_VER: vk
950
951 .fossilize-test:
952 extends: .test-vk
953 script:
954 - ./install/fossilize-runner.sh
955 artifacts:
956 when: on_failure
957 name: "mesa_${CI_JOB_NAME}"
958 paths:
959 - results/
960
961 llvmpipe-gles2:
962 variables:
963 DEQP_VER: gles2
964 NIR_VALIDATE: 0
965 # Don't use threads inside llvmpipe, we've already got all cores
966 # busy at the deqp-runner level.
967 LP_NUM_THREADS: 0
968 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
969 LIBGL_ALWAYS_SOFTWARE: "true"
970 DEQP_EXPECTED_RENDERER: llvmpipe
971 extends:
972 - .deqp-test-gl
973 - .llvmpipe-rules
974
975 softpipe-gles2:
976 extends:
977 - llvmpipe-gles2
978 - .softpipe-rules
979 variables:
980 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
981 DEQP_SKIPS: deqp-softpipe-skips.txt
982 GALLIUM_DRIVER: "softpipe"
983 DEQP_EXPECTED_RENDERER: softpipe
984
985 softpipe-gles3:
986 variables:
987 DEQP_VER: gles3
988 extends: softpipe-gles2
989
990 softpipe-gles31:
991 parallel: 2
992 variables:
993 DEQP_VER: gles31
994 extends: softpipe-gles2
995
996 # Note that KHR-GL3* test sets include all tests from the previous
997 # version, so we only need to run one test list (unlike dEQP-GLES,
998 # where the test sets are separate).
999 softpipe-gl:
1000 variables:
1001 DEQP_VER: gl33
1002 extends:
1003 - softpipe-gles2
1004
1005 virgl-gles2-on-gl:
1006 variables:
1007 DEQP_VER: gles2
1008 NIR_VALIDATE: 0
1009 DEQP_NO_SAVE_RESULTS: 1
1010 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1011 # Don't use threads inside llvmpipe, we've already got all cores
1012 # busy at the deqp-runner level.
1013 LP_NUM_THREADS: 0
1014 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1015 DEQP_OPTIONS: "--deqp-log-images=disable"
1016 LIBGL_ALWAYS_SOFTWARE: "true"
1017 GALLIUM_DRIVER: "virpipe"
1018 DEQP_EXPECTED_RENDERER: virgl
1019 extends:
1020 - .deqp-test-gl
1021 - .virgl-rules
1022
1023 virgl-gles3-on-gl:
1024 variables:
1025 DEQP_VER: gles3
1026 DEQP_RUNNER_OPTIONS: "--timeout 180"
1027 extends: virgl-gles2-on-gl
1028
1029 virgl-gles31-on-gl:
1030 parallel: 2
1031 variables:
1032 DEQP_VER: gles31
1033 MESA_GLES_VERSION_OVERRIDE: "3.1"
1034 MESA_GLSL_VERSION_OVERRIDE: "310"
1035 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1036 extends: virgl-gles3-on-gl
1037
1038 virgl-gl30-on-gl:
1039 variables:
1040 DEQP_VER: gl30
1041 extends: virgl-gles2-on-gl
1042
1043 virgl-gl31-on-gl:
1044 variables:
1045 DEQP_VER: gl31
1046 extends: virgl-gles2-on-gl
1047
1048 virgl-gl32-on-gl:
1049 variables:
1050 DEQP_VER: gl32
1051 extends: virgl-gles2-on-gl
1052
1053 # Rules for tests that should not be present in MRs or the main
1054 # project's pipeline (don't block marge or report red on
1055 # mesa/mesamaster) but should be present on pipelines in personal
1056 # branches (so you can opt in to running the flaky test when you want
1057 # to).
1058 .test-manual:
1059 rules:
1060 - *ignore_scheduled_pipelines
1061 - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
1062 changes:
1063 *all_paths
1064 when: manual
1065 - when: never
1066
1067 virgl-gles2-on-gles:
1068 variables:
1069 VIRGL_HOST_API: GLES
1070 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1071 extends:
1072 - virgl-gles2-on-gl
1073 - .test-manual
1074
1075 virgl-gles3-on-gles:
1076 variables:
1077 VIRGL_HOST_API: GLES
1078 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1079 extends:
1080 - virgl-gles3-on-gl
1081 - .test-manual
1082
1083 virgl-gles31-on-gles:
1084 variables:
1085 VIRGL_HOST_API: GLES
1086 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1087 extends:
1088 - virgl-gles31-on-gl
1089 - .test-manual
1090
1091 arm64_a630_gles2:
1092 extends:
1093 - arm64_a306_gles2
1094 variables:
1095 BM_KERNEL: /lava-files/cheza-kernel
1096 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
1097 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
1098 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
1099 GIT_STRATEGY: none
1100 DEQP_EXPECTED_RENDERER: FD630
1101 DEQP_NO_SAVE_RESULTS: ""
1102 tags:
1103 - google-freedreno-cheza
1104 script:
1105 - ./install/bare-metal/cros-servo.sh
1106
1107 arm64_a630_gles31:
1108 extends: arm64_a630_gles2
1109 variables:
1110 DEQP_VER: gles31
1111 # gles31 is about 12 minutes with validation enabled.
1112 NIR_VALIDATE: 0
1113
1114 arm64_a630_gles3:
1115 extends: arm64_a630_gles2
1116 variables:
1117 DEQP_VER: gles3
1118 # gles3 is about 15 minutes with validation enabled.
1119 NIR_VALIDATE: 0
1120
1121 # We almost always manage to lower UBOs back to constant uploads in
1122 # the test suite, so get a little testing for it here.
1123 arm64_a630_noubo:
1124 extends: arm64_a630_gles31
1125 variables:
1126 DEQP_VER: gles31
1127 IR3_SHADER_DEBUG: nouboopt
1128 DEQP_CASELIST_FILTER: "functional.*ubo"
1129
1130 # The driver does some guessing as to whether to render using gmem
1131 # or bypass, and some GLES3.1 features interact with either one.
1132 # Do a little testing with gmem and bypass forced.
1133 arm64_a630_bypass:
1134 extends: arm64_a630_gles31
1135 variables:
1136 CI_NODE_INDEX: 1
1137 CI_NODE_TOTAL: 5
1138 FD_MESA_DEBUG: nogmem
1139 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1140
1141 arm64_a630_traces:
1142 extends:
1143 - arm64_a630_gles2
1144 variables:
1145 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1146 DEVICE_NAME: "freedreno-a630"
1147 DRIVER_NAME: "freedreno"
1148 TRACIE_NO_UNIT_TESTS: 1
1149 TRACIE_UPLOAD_TO_MINIO: 1
1150 # This lets us run several more traces which don't use any features we're
1151 # missing.
1152 MESA_GLSL_VERSION_OVERRIDE: "460"
1153 MESA_GL_VERSION_OVERRIDE: "4.6"
1154
1155 # Along with checking gmem path, check that we don't get obvious nir
1156 # validation failures (though it's too expensive to have it on for the
1157 # full CTS)
1158 arm64_a630_gmem:
1159 extends: arm64_a630_gles31
1160 variables:
1161 CI_NODE_INDEX: 1
1162 CI_NODE_TOTAL: 5
1163 FD_MESA_DEBUG: nobypass
1164 NIR_VALIDATE: 1
1165
1166 arm64_a630_vk:
1167 extends: arm64_a630_gles2
1168 variables:
1169 DEQP_VER: vk
1170 CI_NODE_INDEX: 1
1171 CI_NODE_TOTAL: 50
1172 VK_DRIVER: freedreno
1173 # Force binning in the main run, which makes sure we render at
1174 # least 2 bins. This is the path that impacts the most different
1175 # features. However, we end up with flaky results in
1176 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1177 TU_DEBUG: forcebin
1178
1179 # Do a separate sysmem pass over the testcases that really affect sysmem
1180 # rendering. This is currently very flaky, leave it as an option for devs
1181 # to click play on in their branches.
1182 arm64_a630_vk_sysmem:
1183 extends:
1184 - arm64_a630_vk
1185 variables:
1186 CI_NODE_INDEX: 1
1187 CI_NODE_TOTAL: 10
1188 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1189 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1190 TU_DEBUG: sysmem
1191
1192 .baremetal-test:
1193 extends:
1194 - .ci-run-policy
1195 - .test
1196 # Cancel job if a newer commit is pushed to the same branch
1197 interruptible: true
1198 stage: test
1199 artifacts:
1200 when: always
1201 name: "mesa_${CI_JOB_NAME}"
1202 paths:
1203 - results/
1204 - serial*.txt
1205
1206 arm64_a306_gles2:
1207 extends:
1208 - .baremetal-test
1209 - .use-arm64_test
1210 - .freedreno-rules
1211 variables:
1212 BM_KERNEL: /lava-files/Image.gz
1213 BM_DTB: /lava-files/apq8016-sbc.dtb
1214 BM_ROOTFS: /lava-files/rootfs-arm64
1215 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1216 FLAKES_CHANNEL: "#freedreno-ci"
1217 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1218 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1219 DEQP_SKIPS: deqp-default-skips.txt
1220 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1221 DEQP_VER: gles2
1222 DEQP_PARALLEL: 4
1223 DEQP_EXPECTED_RENDERER: FD307
1224 # Since we can't get artifacts back yet, skip making them.
1225 DEQP_NO_SAVE_RESULTS: 1
1226 # NIR_VALIDATE=0 left intentionally unset as a3xx is fast enough at its small testsuite.
1227 script:
1228 - ./install/bare-metal/fastboot.sh
1229 needs:
1230 - arm64_test
1231 - meson-arm64
1232 tags:
1233 - google-freedreno-db410c
1234
1235 # Fractional run, single threaded, due to flaky results
1236 arm64_a306_gles3:
1237 extends:
1238 - arm64_a306_gles2
1239 variables:
1240 DEQP_VER: gles3
1241 DEQP_PARALLEL: 1
1242 CI_NODE_INDEX: 1
1243 CI_NODE_TOTAL: 25
1244 NIR_VALIDATE: 0
1245
1246 # Fractional runs with debug options. Note that since we're not
1247 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1248 arm64_a306_gles3_options:
1249 extends: arm64_a306_gles2
1250 variables:
1251 DEQP_VER: gles3
1252 script:
1253 # Check that the non-constbuf UBO case works.
1254 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1255
1256 arm64_a530_gles2:
1257 extends:
1258 - arm64_a306_gles2
1259 variables:
1260 BM_KERNEL: /lava-files/db820c-kernel
1261 BM_DTB: /lava-files/db820c.dtb
1262 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1263 # current upstream kernel.
1264 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1265 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1266 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1267 DEQP_EXPECTED_RENDERER: FD530
1268 NIR_VALIDATE: 0
1269 tags:
1270 - google-freedreno-db820c
1271
1272 arm64_a530_gles3:
1273 extends:
1274 - arm64_a530_gles2
1275 variables:
1276 DEQP_VER: gles3
1277 DEQP_PARALLEL: 1
1278 CI_NODE_INDEX: 1
1279 CI_NODE_TOTAL: 40
1280
1281 arm64_a530_gles31:
1282 extends:
1283 - arm64_a530_gles3
1284 variables:
1285 DEQP_VER: gles31
1286 CI_NODE_INDEX: 1
1287 CI_NODE_TOTAL: 10
1288
1289 # RADV CI
1290 .test-radv:
1291 extends: .radv-rules
1292 stage: radv
1293 variables:
1294 VK_DRIVER: radeon
1295 ACO_DEBUG: validateir,validatera
1296
1297 # Can only be triggered manually on personal branches because RADV is the only
1298 # driver that does Vulkan testing at the moment.
1299 radv_polaris10_vkcts:
1300 extends:
1301 - .deqp-test-vk
1302 - .test-radv
1303 - .test-manual
1304 variables:
1305 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1306 tags:
1307 - polaris10
1308
1309 radv-fossils:
1310 extends:
1311 - .fossilize-test
1312 - .test-radv
1313 script:
1314 # Pitcairn (GFX6)
1315 - export RADV_FORCE_FAMILY="pitcairn"
1316 - ./install/fossilize-runner.sh
1317 # Bonaire (GFX7)
1318 - export RADV_FORCE_FAMILY="bonaire"
1319 - ./install/fossilize-runner.sh
1320 # Polaris10 (GFX8)
1321 - export RADV_FORCE_FAMILY="polaris10"
1322 - ./install/fossilize-runner.sh
1323 # Vega10 (GFX9)
1324 - export RADV_FORCE_FAMILY="gfx900"
1325 - ./install/fossilize-runner.sh
1326 # Navi10 (GFX10)
1327 - export RADV_FORCE_FAMILY="gfx1010"
1328 - ./install/fossilize-runner.sh
1329 # Sienna Cichlid (GFX10)
1330 - export RADV_FORCE_FAMILY="gfx1030"
1331 - ./install/fossilize-runner.sh
1332
1333 # Traces CI
1334 .traces-test:
1335 cache:
1336 key: ${CI_JOB_NAME}
1337 paths:
1338 - traces-db/
1339 variables:
1340 TRACIE_UPLOAD_TO_MINIO: 1
1341
1342 .traces-test-gl:
1343 extends:
1344 - .test-gl
1345 - .traces-test
1346 script:
1347 - ./install/tracie-runner-gl.sh
1348
1349 .traces-test-vk:
1350 extends:
1351 - .test-vk
1352 - .traces-test
1353 script:
1354 - ./install/tracie-runner-vk.sh
1355
1356 llvmpipe-traces:
1357 extends:
1358 - .traces-test-gl
1359 - .llvmpipe-rules
1360 variables:
1361 LIBGL_ALWAYS_SOFTWARE: "true"
1362 GALLIUM_DRIVER: "llvmpipe"
1363 DEVICE_NAME: "gl-vmware-llvmpipe"
1364 DRIVER_NAME: "llvmpipe"
1365
1366 radv-polaris10-traces:
1367 extends:
1368 - .traces-test-vk
1369 - .test-radv
1370 - .test-manual
1371 variables:
1372 DEVICE_NAME: "vk-amd-polaris10"
1373 DRIVER_NAME: "radv"
1374 tags:
1375 - polaris10
1376
1377 radv-raven-traces:
1378 extends:
1379 - .traces-test-vk
1380 - .test-radv
1381 - .test-manual
1382 variables:
1383 DEVICE_NAME: "vk-amd-raven"
1384 DRIVER_NAME: "radv"
1385 tags:
1386 - raven
1387
1388 virgl-traces:
1389 extends:
1390 - .traces-test-gl
1391 - .virgl-rules
1392 variables:
1393 LIBGL_ALWAYS_SOFTWARE: "true"
1394 GALLIUM_DRIVER: "virpipe"
1395 DEVICE_NAME: "gl-virgl"
1396 DRIVER_NAME: "virgl"
1397 MESA_GLES_VERSION_OVERRIDE: "3.1"
1398 MESA_GLSL_VERSION_OVERRIDE: "310"