Home
last modified time | relevance | path

Searched +full:lava +full:- +full:test (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/mesa3d/.gitlab-ci/lava/
Dlava-gitlab-ci.yml2 …REGISTRY_IMAGE}/alpine/x86_64_lava_ssh_client:${ALPINE_X86_64_LAVA_SSH_TAG}--${MESA_TEMPLATES_COMM…
5 .lava-test:
10 FDO_CI_CONCURRENT: 6 # should be replaced by per-machine definitions
12 LAVA_HTTP_CACHE_URI: "http://caching-proxy/cache/?uri="
17 # per-job build artifacts
18 JOB_ROOTFS_OVERLAY_PATH: "${JOB_ARTIFACTS_BASE}/job-rootfs-overlay.tar.gz"
20 LAVA_S3_ARTIFACT_NAME: "mesa-${ARCH}-default-debugoptimized"
21 S3_ARTIFACT_NAME: "mesa-python-ci-artifacts"
28 - !reference [.download_s3, before_script]
30 - . artifacts/setup-test-env.sh
[all …]
Dlava-submit.sh5 # If we run in the fork (not from mesa or Marge-bot), reuse mainline kernel and rootfs, if exist.
8 if curl -s -o /dev/null -I -L -f --retry 4 --retry-delay 15 "${_url}"; then
9 echo -n "${_url}"
15 if [ -n "${_mainline_artifact}" ]; then
16 echo -n "${_mainline_artifact}"
20 if [ -n "${_fork_artifact}" ]; then
21 echo -n "${_fork_artifact}"
30 echo "If you aren't working on CI, please ping @mesa/ci-helpers to see if we can help." >&2
33 set -x
37 . "${SCRIPTS_DIR}/setup-test-env.sh"
[all …]
/third_party/mesa3d/src/panfrost/ci/
Dgitlab-ci.yml1 .panfrost-midgard-rules:
4 - !reference [.test, rules]
5 - !reference [.collabora-farm-rules, rules]
6 - !reference [.gl-rules, rules]
7 - changes: &panfrost_gallium_file_list
8 - src/gallium/drivers/panfrost/**/*
9 - src/gallium/winsys/panfrost/**/*
11 - changes: &panfrost_common_file_list
12 - src/panfrost/ci/gitlab-ci.yml
13 - src/panfrost/ci/deqp-$DEQP_SUITE.toml
[all …]
/third_party/mesa3d/src/intel/ci/
Dgitlab-ci-inc.yml1 .intel-common-rules:
4 - changes: &intel_common_file_list
5 - src/intel/*
6 - src/intel/blorp/**/*
7 - src/intel/common/**/*
8 - src/intel/compiler/**/*
9 - src/intel/dev/**/*
10 - src/intel/ds/**/*
11 - src/intel/genxml/**/*
12 - src/intel/isl/**/*
[all …]
Dgitlab-ci.yml2 - local: 'src/intel/ci/gitlab-ci-inc.yml'
4 anv-jsl:
6 - .lava-acer-cb317-1h-c3z6-dedede:x86_64
7 - .anv-test
9 DEQP_SUITE: anv-jsl
11 … # force fixed kernel, since too many flakes and unexpected results seen with 6.13-rc4 and 6.11-rc7
12 EXTERNAL_KERNEL_TAG: "v6.6.21-mesa-f8ea"
15 anv-jsl-full:
17 - anv-jsl
18 - .anv-manual-rules
[all …]
/third_party/mesa3d/.gitlab-ci/tests/utils/
Dtest_lava_job_definition.py9 import lava.utils.constants
11 from lava.lava_job_submitter import LAVAJobSubmitter
12 from lava.utils.lava_job_definition import LAVAJobDefinition
16 def flatten(iterable: Iterable[Iterable[Any]]) -> list[Any]:
23 def create_shell_file(content: str = "# test"):
36 def load_yaml_file(filename) -> dict:
43 boot_method = "u-boot"
50 mesa_job_name = "dut test"
52 project_name = "test-project"
72 # Remove all LAVA-related environment variables to make the test more robust
[all …]
/third_party/mesa3d/src/freedreno/ci/
Dgitlab-ci.yml2 - local: 'src/freedreno/ci/gitlab-ci-inc.yml'
4 a306-gl:
6 - .baremetal-deqp-test
7 - .a306-test
9 DEQP_SUITE: freedreno-a307
13 a306-piglit:
15 - .baremetal-deqp-test
16 - .a306-test
17 - .google-freedreno-manual-rules
20 DEQP_SUITE: freedreno-a306-piglit
[all …]
Dgitlab-ci-inc.yml2 .freedreno-common-rules:
4 - !reference [.test, rules]
5 - !reference [.no_scheduled_pipelines-rules, rules]
6 - changes: &freedreno_core_file_list
7 - src/freedreno/ci/gitlab-ci.yml
8 - src/freedreno/ci/gitlab-ci-inc.yml
9 - src/freedreno/ci/deqp-$DEQP_SUITE.toml
10 - src/freedreno/ci/$GPU_VERSION-fails.txt
11 - src/freedreno/ci/$GPU_VERSION-flakes.txt
12 - src/freedreno/ci/$GPU_VERSION-skips.txt
[all …]
/third_party/mesa3d/.gitlab-ci/tests/data/
DFASTBOOT_force_uart=False_job_definition.yaml1 job_name: 'test-project: my_pipeline_info'
5 - my_visibility_group
13 depthcharge-retry:
15 depthcharge-start:
17 depthcharge-action:
19 uboot-action:
22 - deploy:
32 - deploy:
44 image: registry.gitlab.collabora.com/lava/health-check-docker
46 - cat Image.gz my_dtb_filename.dtb > Image.gz+dtb
[all …]
DFASTBOOT_force_uart=True_job_definition.yaml1 job_name: 'test-project: my_pipeline_info'
5 - my_visibility_group
13 depthcharge-retry:
15 depthcharge-start:
17 depthcharge-action:
19 uboot-action:
22 - deploy:
31 - deploy:
43 image: registry.gitlab.collabora.com/lava/health-check-docker
45 - cat Image.gz my_dtb_filename.dtb > Image.gz+dtb
[all …]
DUBOOT_force_uart=False_job_definition.yaml1 job_name: 'test-project: my_pipeline_info'
5 - my_visibility_group
13 depthcharge-retry:
15 depthcharge-start:
17 depthcharge-action:
19 uboot-action:
22 - deploy:
38 - boot:
40 method: u-boot
42 - 'lava-shell:'
[all …]
DUBOOT_force_uart=True_job_definition.yaml1 job_name: 'test-project: my_pipeline_info'
5 - my_visibility_group
13 depthcharge-retry:
15 depthcharge-start:
17 depthcharge-action:
19 uboot-action:
22 - deploy:
36 - boot:
38 method: u-boot
40 - 'lava-shell:'
[all …]
/third_party/mesa3d/src/amd/ci/
Dgitlab-ci.yml2 - local: 'src/amd/ci/gitlab-ci-inc.yml'
4 # Run five jobs in parallel each running 1/55th of the test suite
5 radv-stoney-vkcts:
7 - .lava-test-deqp:x86_64
8 - .radv-stoney-test:x86_64
11 DEQP_SUITE: radv-stoney
14 radv-stoney-angle:
16 - .lava-test-deqp:x86_64
17 - .radv-stoney-test:x86_64
19 DEQP_SUITE: radv-stoney-angle
[all …]
Dgitlab-ci-inc.yml1 .radeonsi-rules:
4 - !reference [.test, rules]
5 - !reference [.collabora-farm-rules, rules]
6 - !reference [.gl-rules, rules]
7 - changes: &amd_common_file_list
8 - src/amd/*
9 - src/amd/addrlib/**/*
10 - src/amd/ci/gitlab-ci.yml
11 - src/amd/ci/gitlab-ci-inc.yml
12 - src/amd/ci/deqp-$DEQP_SUITE.toml
[all …]
/third_party/mesa3d/docs/ci/
DLAVA.rst1 LAVA CI
4 `LAVA <https://www.lavasoftware.org/>`__ is a system for functional
12 Available LAVA labs
13 -------------------
14 - Collabora `[dashboard] <https://lava.collabora.dev/scheduler/device_types>`__ (without authentica…
15 - Lima [dashboard not available]
17 Mesa-LAVA software architecture
18 -------------------------------
20 The gitlab-runner will run on some host that has access to the LAVA
21 lab, with tags like "mesa-ci-x86-64-lava-$DEVICE_TYPE" to control only
[all …]
/third_party/mesa3d/.gitlab-ci/lava/utils/
Duart_job_definition.py9 # Use the same image that is being used for the hardware enablement and health-checks.
10 # They are pretty small (<100MB) and have all the tools we need to run LAVA, so it is a safe choice.
12 # https://gitlab.collabora.com/lava/health-check-docker/-/blob/main/Dockerfile
13 # And the registry here: https://gitlab.collabora.com/lava/health-check-docker/container_registry/
14 DOCKER_IMAGE = "registry.gitlab.collabora.com/lava/health-check-docker"
19 ) -> tuple[dict[str, Any], ...]:
42 "mkbootimg --kernel Image.gz+dtb"
43 + f' --cmdline "{cmdline}"'
44 + " --pagesize 4096 --base 0x80000000 -o boot.img",
69 def tftp_deploy_actions(job_definition: "LAVAJobDefinition", nfsrootfs) -> tuple[dict[str, Any]]:
[all …]
Dssh_job_definition.py7 To reduce reliance on UART, we explored LAVA features, such as running docker
8 containers as a test alongside the DUT one, to be able to create an SSH server
11 via SSH pseudo terminal, instead of relying in the error-prone UART.
13 In more detail, we aim to use "export -p" to share the initial boot environment
14 with SSH LAVA test-cases.
15 The "init-stage1.sh" script handles tasks such as system mounting and network
16 setup, which are necessary for allocating a pseudo-terminal under "/dev/pts".
24 2. [DUT] Running the "init-stage1.sh" script for the first SSH test case.
25 3. [DUT] Export the first boot environment to `/dut-env-vars.sh` file.
26 4. [SSH] Enabling the pseudo-terminal for colors and running the "init-stage2.sh"
[all …]
Dlog_section.py8 from lava.utils.gitlab_section import GitlabSection
26 # For post-merge jobs, this should be ~infinite, but we can fail more
27 # aggressively for pre-merge.
30 # Empirically, successful device boot in LAVA time takes less than 3
32 # LAVA itself is configured to attempt thrice to boot the device,
34 # It is better to retry the boot than cancel the job and re-submit to avoid
38 # Estimated overhead in minutes for a job from GitLab to reach the test phase,
39 # including LAVA scheduling and boot duration
42 # Test DUT suite phase is where the initialization happens in DUT, not on docker.
44 LAVA_TEST_DUT_SUITE_TIMEOUT = int(getenv("CI_JOB_TIMEOUT")) // 60 - LAVA_TEST_OVERHEAD_MIN
[all …]
Dlog_follower.py6 # SPDX-License-Identifier: MIT
20 from lava.exceptions import MesaCITimeoutError
21 from lava.utils.console_format import CONSOLE_LOG
22 from lava.utils.gitlab_section import GitlabSection
23 from lava.utils.lava_farm import LavaFarm, get_lava_farm
24 from lava.utils.lava_log_hints import LAVALogHints
25 from lava.utils.log_section import (
70 def current_section(self, new_section: GitlabSection) -> None:
76 def phase(self) -> LogSectionType:
113 # Sections can have redundant regex to find them to mitigate LAVA
[all …]
Dlava_job_definition.py6 from lava.utils.lava_farm import LavaFarm, get_lava_farm
7 from lava.utils.ssh_job_definition import (
13 from lava.utils.uart_job_definition import (
24 from lava.lava_job_submitter import LAVAJobSubmitter
31 This class is responsible for generating the YAML payload to submit a LAVA
35 def __init__(self, job_submitter: "LAVAJobSubmitter") -> None:
37 # NFS args provided by LAVA
42 def has_ssh_support(self) -> bool:
46 # Only Collabora's farm supports to run docker container as a LAVA actions,
52 def generate_lava_yaml_payload(self) -> dict[str, Any]:
[all …]
Dlava_log_hints.py9 from lava.utils import LogFollower
11 from lava.exceptions import MesaCIKnownIssueException
12 from lava.utils.console_format import CONSOLE_LOG
13 from lava.utils.constants import (
21 from lava.utils.log_section import LogSectionType
24 def search_known_issue_patterns(patterns: Sequence[str], line: str) -> str:
39 def raise_known_issue(self, message) -> None:
75 def detect_forced_reboot(self, line: dict[str, Any]) -> None:
85 "Forced reboot detected during test phase, failing the job..."
90 def detect_a6xx_gpu_recovery_failure(self, line: dict[str, Any]) -> None:
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/ci/
Dgitlab-ci.yml1 .lima-rules:
4 - !reference [.test, rules]
5 - !reference [.lima-farm-rules, rules]
6 - !reference [.gl-rules, rules]
7 - changes:
8 - src/gallium/drivers/lima/**/*
9 - src/gallium/winsys/lima/**/*
10 - src/lima/**/*
13 # 4 devices (2023-12-16)
14 .lava-meson-gxl-s805x-libretech-ac:arm64:
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/ci/
Dgitlab-ci-inc.yml1 .zink-common-rules:
3 - !reference [.test, rules]
4 - !reference [.gl-rules, rules]
5 - changes: &zink_files_list
6 - src/gallium/drivers/zink/*
7 - src/gallium/drivers/zink/nir_to_spirv/*
8 - src/gallium/drivers/zink/ci/gitlab-ci.yml
9 - src/gallium/drivers/zink/ci/gitlab-ci-inc.yml
10 - src/gallium/drivers/zink/ci/deqp-$DEQP_SUITE.toml
11 - src/gallium/drivers/zink/ci/$GPU_VERSION-fails.txt
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/ci/
Dgitlab-ci.yml2 - local: 'src/gallium/drivers/svga/ci/gitlab-ci-inc.yml'
4 .vmware-qemu-traces:x86_64:
5 stage: software-renderer
7 - .lava-piglit-traces:x86_64
8 - .vmware-manual-rules
11 VISIBILITY_GROUP: "mesa-ci"
13 PIGLIT_TRACES_FILE: traces-vmware.yml
14 PIGLIT_REPLAY_EXTRA_ARGS: "--download-caching-proxy-url=${FDO_HTTP_CACHE_URI}"
15 PIGLIT_REPLAY_DEVICE_NAME: "gl-vmware-llvmpipe"
16 PIGLIT_RESULTS: "llvmpipe-replay"
[all …]
/third_party/mesa3d/.gitlab-ci/tests/
Dtest_lava_job_submitter.py6 # SPDX-License-Identifier: MIT
18 from lava.exceptions import MesaCIException, MesaCIRetryError, MesaCIFatalException
19 from lava.lava_job_submitter import (
29 from lava.utils import LogSectionType
31 from .lava.helpers import (
46 def mock_job_state(jid) -> dict[str, str]:
75 with patch("lava.lava_job_submitter.setup_lava_proxy") as mock_setup_lava_proxy:
95 NETWORK_EXCEPTION = xmlrpc.client.ProtocolError("", 0, "test", {})
96 XMLRPC_FAULT = xmlrpc.client.Fault(0, "test")
144 "test case took too long": pytest.param(
[all …]

1234