Home
last modified time | relevance | path

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

123

/external/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 FDO_HTTP_CACHE_URI: "http://caching-proxy/cache/?uri="
14 BASE_SYSTEM_HOST_PREFIX: "${S3_HOST}/mesa-lava"
17 # per-job build artifacts
18 JOB_ROOTFS_OVERLAY_PATH: "${JOB_ARTIFACTS_BASE}/job-rootfs-overlay.tar.gz"
20 S3_ARTIFACT_NAME: "mesa-${ARCH}-default-debugoptimized"
25 - ./artifacts/lava/lava-submit.sh
30 - results/
[all …]
Dlava_job_submitter.py3 # Copyright (C) 2020 - 2023 Collabora Limited
8 # SPDX-License-Identifier: MIT
10 """Send a job to LAVA, track it and collect log back"""
26 from lava.exceptions import (
32 from lava.utils import (
45 from lava.utils import DEFAULT_GITLAB_SECTION_TIMEOUTS as GL_SECTION_TIMEOUTS
48 # sophisticated dict-like data abstractions.
59 # Timeout in seconds to decide if the device from the dispatched LAVA job has
64 # check if the dispatched LAVA job is running or waiting in the job queue.
69 # How many seconds the script will wait to let LAVA finalize the job and give
[all …]
/external/mesa3d/.gitlab-ci/
Dlava-gitlab-ci.yml2 DISTRIBUTION_TAG: "2020-11-09-kmod-fix"
5 stage: container-2
7 - .ci-run-policy
10 …RL: "https://gitlab.freedesktop.org/tomeu/linux/-/archive/v5.10-rc2-for-mesa-ci/linux-v5.10-rc2-fo…
14 - .gitlab-ci/container/lava_build.sh
18 - .use-x86_build-base
19 - .kernel+rootfs
20 image: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
26 - .use-arm_build
27 - .kernel+rootfs
[all …]
/external/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 …]
/external/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
14 # We don't enable a full run of anv-jsl nightly because it's about 8 hours of
16 .anv-jsl-full:
18 - anv-jsl
19 - .intel-manual-rules
21 DEQP_SUITE: anv-jsl-full
[all …]
/external/mesa3d/src/freedreno/ci/
Dgitlab-ci.yml2 - local: 'src/freedreno/ci/gitlab-ci-inc.yml'
6 - .baremetal-deqp-test
7 - .a306-test
9 DEQP_SUITE: freedreno-a307
15 - .a306_piglit
20 a306-traces:
22 - .google-freedreno-test-traces
23 - .a306-test
25 PIGLIT_REPLAY_DEVICE_NAME: "freedreno-a306"
26 PIGLIT_RESULTS: "freedreno-a306-replay"
[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 …]
/external/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:
20 - deploy:
25 url: None/lava-rootfs.tar.zst
28 - deploy:
40 image: registry.gitlab.collabora.com/lava/health-check-docker
42 - 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:
20 - deploy:
28 url: None/lava-rootfs.tar.zst
34 - boot:
36 method: u-boot
38 - 'lava-shell:'
[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:
20 - deploy:
25 url: None/lava-rootfs.tar.zst
27 - deploy:
39 image: registry.gitlab.collabora.com/lava/health-check-docker
41 - cat Image.gz my_dtb_filename.dtb > Image.gz+dtb
[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:
20 - deploy:
28 url: None/lava-rootfs.tar.zst
32 - boot:
34 method: u-boot
36 - 'lava-shell:'
[all …]
/external/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 …]
/external/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 …]
/external/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], ...]:
41 "mkbootimg --kernel Image.gz+dtb"
42 …+ ' --cmdline "root=/dev/nfs rw nfsroot=$NFS_SERVER_IP:$NFS_ROOTFS,tcp,hard rootwait ip=dhcp init=…
43 + " --pagesize 4096 --base 0x80000000 -o boot.img",
68 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_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 (
68 def current_section(self, new_section: GitlabSection) -> None:
74 def phase(self) -> LogSectionType:
111 # 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 (
22 from lava.lava_job_submitter import LAVAJobSubmitter
29 This class is responsible for generating the YAML payload to submit a LAVA
33 def __init__(self, job_submitter: "LAVAJobSubmitter") -> None:
36 def has_ssh_support(self) -> bool:
40 # Only Collabora's farm supports to run docker container as a LAVA actions,
46 def generate_lava_yaml_payload(self) -> dict[str, Any]:
48 Generates a YAML payload for submitting a LAVA job, based on the provided arguments.
[all …]
Dlava_log_hints.py8 from lava.utils import LogFollower
10 from lava.exceptions import MesaCIKnownIssueException
11 from lava.utils.console_format import CONSOLE_LOG
12 from lava.utils.constants import (
17 from lava.utils.log_section import LogSectionType
20 def search_known_issue_patterns(patterns: Sequence[str], line: str) -> str:
33 def raise_known_issue(self, message) -> None:
68 def detect_forced_reboot(self, line: dict[str, Any]) -> None:
78 "Forced reboot detected during test phase, failing the job..."
Dlog_section.py8 from lava.utils.gitlab_section import GitlabSection
20 # Empirically, successful device boot in LAVA time takes less than 3
22 # LAVA itself is configured to attempt thrice to boot the device,
24 # It is better to retry the boot than cancel the job and re-submit to avoid
28 # Test DUT suite phase is where the initialization happens in DUT, not on docker.
32 # Test suite phase is where the initialization happens on docker.
35 # Test cases may take a long time, this script has no right to interrupt
36 # them. But if the test case takes almost 1h, it will never succeed due to
40 # LAVA post processing may refer to a test suite teardown, or the
67 ) -> Optional[GitlabSection]:
[all …]
/external/mesa3d/src/amd/ci/
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 …]
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:x86_64:
7 - .lava-test-deqp:x86_64
8 - .radv-stoney-test:x86_64
13 radv-stoney-angle:
15 - .lava-test-deqp:x86_64
16 - .radv-stoney-test:x86_64
17 - .radeonsi+radv-rules # Note: Xorg uses radeonsi, so depend on both gl and vulkan
19 DEQP_SUITE: radv-stoney-angle
[all …]
/external/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 …]
/external/mesa3d/src/gallium/drivers/zink/ci/
Dgitlab-ci.yml2 - local: 'src/gallium/drivers/zink/ci/gitlab-ci-inc.yml'
4 zink-lvp:
6 - .test-gl
7 - .deqp-test
8 - .zink-lvp-test
10 DEQP_SUITE: zink-lvp
13 # Enable validation (except for on piglit, see deqp-zink-lvp.toml), logging
16 XVFB_SCRIPT: "VK_DRIVER=lvp install/deqp-runner.sh"
18 xvfb-run --server-args='-noreset' bash -c ". $SCRIPTS_DIR/setup-test-env.sh && ${XVFB_SCRIPT}"
20 zink-anv-tgl:
[all …]
/external/mesa3d/.gitlab-ci/tests/
Dtest_lava_job_submitter.py6 # SPDX-License-Identifier: MIT
18 from lava.exceptions import MesaCIException, MesaCIRetryError
19 from lava.lava_job_submitter import (
28 from lava.utils import LogSectionType
30 from .lava.helpers import (
71 with patch("lava.lava_job_submitter.setup_lava_proxy") as mock_setup_lava_proxy:
91 NETWORK_EXCEPTION = xmlrpc.client.ProtocolError("", 0, "test", {})
92 XMLRPC_FAULT = xmlrpc.client.Fault(0, "test")
135 "test case took too long": pytest.param(
262 delta_time = end_time - start_time
[all …]

123