Mesa (main): ci: Install pytest and freezegun plugin

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 17 00:00:31 UTC 2022


Module: Mesa
Branch: main
Commit: 694005343bbba5a2da8f839c2d4cd023b224157c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=694005343bbba5a2da8f839c2d4cd023b224157c

Author: Guilherme Gallo <guilherme.gallo at collabora.com>
Date:   Wed Feb 16 01:01:14 2022 -0300

ci: Install pytest and freezegun plugin

lava_job_submitter.py unit tests are written in pytest and uses
freezegun in order to simulate timeouts in some tests scenarios. So,
this commit adds the packages `python3-pytest` and `python3-freezegun`
to fulfill this dependencies.

Signed-off-by: Guilherme Gallo <guilherme.gallo at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14876>

---

 .gitlab-ci/container/debian/x86_build.sh | 2 ++
 .gitlab-ci/image-tags.yml                | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci/container/debian/x86_build.sh b/.gitlab-ci/container/debian/x86_build.sh
index 7eb3a6a3d4d..72e326af145 100644
--- a/.gitlab-ci/container/debian/x86_build.sh
+++ b/.gitlab-ci/container/debian/x86_build.sh
@@ -44,6 +44,8 @@ apt-get install -y --no-remove \
       llvm-11-dev \
       llvm-9-dev \
       ocl-icd-opencl-dev \
+      python3-freezegun \
+      python3-pytest \
       procps \
       spirv-tools \
       strace \
diff --git a/.gitlab-ci/image-tags.yml b/.gitlab-ci/image-tags.yml
index a7655db712b..5f0c0d72188 100644
--- a/.gitlab-ci/image-tags.yml
+++ b/.gitlab-ci/image-tags.yml
@@ -3,7 +3,7 @@ variables:
    DEBIAN_BASE_TAG: "2022-02-06-deqp-runner"
 
    DEBIAN_X86_BUILD_IMAGE_PATH: "debian/x86_build"
-   DEBIAN_BUILD_TAG: "2021-12-31-keep-cmake"
+   DEBIAN_BUILD_TAG: "2021-02-15-pytest"
 
    DEBIAN_X86_TEST_BASE_IMAGE: "debian/x86_test-base"
 
@@ -12,7 +12,7 @@ variables:
    DEBIAN_X86_TEST_VK_TAG: "2022-02-06-deqp"
 
    FEDORA_X86_BUILD_TAG: "2021-12-31-refactor"
-   KERNEL_ROOTFS_TAG: "2022-02-06-deqp"
+   KERNEL_ROOTFS_TAG: "2022-02-15-pytest"
 
    WINDOWS_X64_BUILD_PATH: "windows/x64_build"
    WINDOWS_X64_BUILD_TAG: "2022-20-02-base_split"



More information about the mesa-commit mailing list