Skip to content

Commit 1887de0

Browse files
Helen Koikemripard
authored andcommitted
drm/ci: uprev mesa version: fix container build & crosvm
When building containers, some rust packages were installed without locking the dependencies version, which got updated and started giving errors like: error: failed to compile `bindgen-cli v0.62.0`, intermediate artifacts can be found at `/tmp/cargo-installkNKRwf` Caused by: package `rustix v0.38.13` cannot be built because it requires rustc 1.63 or newer, while the currently active rustc version is 1.60.0 A patch to Mesa was added fixing this error, so update it. Also, commit in linux kernel 6.6 rc3 broke booting in crosvm. Mesa has upreved crosvm to fix this issue. Signed-off-by: Helen Koike <[email protected]> [crosvm mesa update] Co-Developed-by: Vignesh Raman <[email protected]> Signed-off-by: Vignesh Raman <[email protected]> [v1 container build uprev] Tested-by: Jessica Zhang <[email protected]> Acked-by: Jessica Zhang <[email protected]> Reviewed-by: David Heidelberg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
1 parent b829e93 commit 1887de0

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

drivers/gpu/drm/ci/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.build:
22
extends:
33
- .build-rules
4+
- .container+build-rules
45
stage: build
56
artifacts:
67
paths:

drivers/gpu/drm/ci/gitlab-ci.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
variables:
22
DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa
3-
DRM_CI_COMMIT_SHA: &drm-ci-commit-sha 0dc961645c4f0241f8512cb0ec3ad59635842072
3+
DRM_CI_COMMIT_SHA: &drm-ci-commit-sha edfbf74df1d4d6ce54ffe24566108be0e1a98c3d
44

55
UPSTREAM_REPO: git://anongit.freedesktop.org/drm/drm
66
TARGET_BRANCH: drm-next
@@ -24,6 +24,8 @@ variables:
2424
PIPELINE_ARTIFACTS_BASE: ${S3_HOST}/artifacts/${CI_PROJECT_PATH}/${CI_PIPELINE_ID}
2525
# per-job artifact storage on MinIO
2626
JOB_ARTIFACTS_BASE: ${PIPELINE_ARTIFACTS_BASE}/${CI_JOB_ID}
27+
# default kernel for rootfs before injecting the current kernel tree
28+
KERNEL_IMAGE_BASE: https://${S3_HOST}/mesa-lava/gfx-ci/linux/v6.4.12-for-mesa-ci-f6b4ad45f48d
2729

2830
LAVA_JOB_PRIORITY: 30
2931

@@ -86,6 +88,17 @@ include:
8688
- '/.gitlab-ci/container/gitlab-ci.yml'
8789
- '/.gitlab-ci/test/gitlab-ci.yml'
8890
- '/.gitlab-ci/lava/lava-gitlab-ci.yml'
91+
- '/src/microsoft/ci/gitlab-ci-inc.yml'
92+
- '/src/gallium/drivers/zink/ci/gitlab-ci-inc.yml'
93+
- '/src/gallium/drivers/crocus/ci/gitlab-ci-inc.yml'
94+
- '/src/gallium/drivers/softpipe/ci/gitlab-ci-inc.yml'
95+
- '/src/gallium/drivers/llvmpipe/ci/gitlab-ci-inc.yml'
96+
- '/src/gallium/drivers/virgl/ci/gitlab-ci-inc.yml'
97+
- '/src/gallium/drivers/nouveau/ci/gitlab-ci-inc.yml'
98+
- '/src/gallium/frontends/lavapipe/ci/gitlab-ci-inc.yml'
99+
- '/src/intel/ci/gitlab-ci-inc.yml'
100+
- '/src/freedreno/ci/gitlab-ci-inc.yml'
101+
- '/src/amd/ci/gitlab-ci-inc.yml'
89102
- drivers/gpu/drm/ci/image-tags.yml
90103
- drivers/gpu/drm/ci/container.yml
91104
- drivers/gpu/drm/ci/static-checks.yml
@@ -154,6 +167,11 @@ stages:
154167
# Run automatically once all dependency jobs have passed
155168
- when: on_success
156169

170+
# When to automatically run the CI for container jobs
171+
.container+build-rules:
172+
rules:
173+
- !reference [.no_scheduled_pipelines-rules, rules]
174+
- when: manual
157175

158176
.ci-deqp-artifacts:
159177
artifacts:

drivers/gpu/drm/ci/image-tags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variables:
2-
CONTAINER_TAG: "2023-08-10-mesa-uprev"
2+
CONTAINER_TAG: "2023-10-11-mesa-uprev"
33
DEBIAN_X86_64_BUILD_BASE_IMAGE: "debian/x86_64_build-base"
44
DEBIAN_BASE_TAG: "${CONTAINER_TAG}"
55

drivers/gpu/drm/ci/lava-submit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cp "$SCRIPTS_DIR"/setup-test-env.sh results/job-rootfs-overlay/
2222

2323
# Prepare env vars for upload.
2424
section_start variables "Variables passed through:"
25-
KERNEL_IMAGE_BASE_URL="https://${BASE_SYSTEM_HOST_PATH}" \
25+
KERNEL_IMAGE_BASE="https://${BASE_SYSTEM_HOST_PATH}" \
2626
artifacts/ci-common/generate-env.sh | tee results/job-rootfs-overlay/set-job-env-vars.sh
2727
section_end variables
2828

0 commit comments

Comments
 (0)