Dockerfile: Avoid messing with WORKDIR
PATCH 1/8 Dockerfile: Avoid messing with WORKDIR
Just to reset it soon after. Let's just cd for each command.
--- Dockerfile.build-fedora | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)
Dockerfile.build-fedora +5 -9
@@ -27,11 +27,11 @@ RUN dnf install -y \ # We need peg to build overlay RUN dnf install -y make RUN mkdir /tmp/peg -WORKDIR /tmp/peg + # originaly from http://piumarta.com/software/peg/ -RUN curl -O https://intel-gfx-ci.01.org/mirror/peg/peg-0.1.18.tar.gz -RUN tar xf peg-0.1.18.tar.gz -RUN cd peg-0.1.18 && make PREFIX=/usr install +RUN cd /tmp/peg && curl -O https://intel-gfx-ci.01.org/mirror/peg/peg-0.1.18.tar.gz +RUN tar -C /tmp/peg -xf /tmp/peg/peg-0.1.18.tar.gz +RUN cd /tmp/peg/peg-0.1.18 && make PREFIX=/usr install RUN rm -fr /tmp/peg # For compile-testing on clang
@@ -41,8 +41,4 @@ RUN dnf install -y clang RUN dnf install -y findutils # Meson version switching shenanigans -WORKDIR /usr/src -RUN curl -O https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/meson-0.47.0.tar.gz - -# Cleanup workdir -WORKDIR / +RUN cd /usr/src && curl -O https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/meson-0.47.0.tar.gz
Signature · 6 lines
2.21.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 2/8 Dockerfile: Make sure that we use correct base image
Correct one = the one tagged with current commit, so in case of parallel pipelines we don't take the wrong "latest".
--- .gitlab-ci.yml | 4 +++- .gitlab-ci/pull-or-rebuild.sh | 5 +++-- Dockerfile | 4 ++-- Dockerfile.build-debian | 3 ++- 4 files changed, 10 insertions(+), 6 deletions(-)
.gitlab-ci.yml +3 -1
@@ -31,6 +31,8 @@ build-containers:build-debian: script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - .gitlab-ci/pull-or-rebuild.sh Dockerfile.build-debian-minimal build-debian-minimal + - docker pull $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA + - docker tag $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA build-debian-minimal:commit-$CI_COMMIT_SHA - .gitlab-ci/pull-or-rebuild.sh Dockerfile.build-debian build-debian build-containers:build-debian-armhf:
@@ -293,5 +295,5 @@ containers:igt: script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker pull $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA - - docker tag $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA build-fedora + - docker tag $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA build-fedora:commit-$CI_COMMIT_SHA - .gitlab-ci/pull-or-rebuild.sh Dockerfile igt
.gitlab-ci/pull-or-rebuild.sh +3 -2
@@ -44,8 +44,9 @@ if [ $IMAGE_PRESENT -eq 0 ] && [ ${FORCE_REBUILD:-0} -eq 0 ] ; then docker tag $DOCKERNAME $COMMITNAME else echo "Building $NAME:$TAG" - docker build -t $DOCKERNAME -t $NAME \ - -t $REFNAME -t $COMMITNAME -f $DOCKERFILE . + docker build --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA \ + -t $DOCKERNAME -t $NAME \ + -t $REFNAME -t $COMMITNAME -f $DOCKERFILE . docker push $DOCKERNAME fi docker push $REFNAME
Dockerfile +2 -2
@@ -1,5 +1,5 @@ -# Version number to bump for force image rebuild: 0 -FROM build-fedora +ARG CI_COMMIT_SHA +FROM build-fedora:commit-$CI_COMMIT_SHA COPY opt-igt /opt/igt COPY .gitlab-ci/docker-help.sh /usr/local/bin/docker-help.sh
Dockerfile.build-debian +2 -1
@@ -1,4 +1,5 @@ -FROM build-debian-minimal +ARG CI_COMMIT_SHA +FROM build-debian-minimal:commit-$CI_COMMIT_SHA RUN apt-get update RUN apt-get install -y \
Signature · 6 lines
2.21.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 3/8 .gitlab-ci: Remove dead code
In reply to Arkadiusz HilerTAG is unused since few revisions of the original patchset ago and never was cleaned up properly.
--- .gitlab-ci/pull-or-rebuild.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
.gitlab-ci/pull-or-rebuild.sh +2 -6
@@ -38,12 +38,12 @@ IMAGE_PRESENT=$? set -e if [ $IMAGE_PRESENT -eq 0 ] && [ ${FORCE_REBUILD:-0} -eq 0 ] ; then - echo "Skipping $NAME:$TAG, already built" + echo "Skipping, already built" docker tag $DOCKERNAME $NAME docker tag $DOCKERNAME $REFNAME docker tag $DOCKERNAME $COMMITNAME else - echo "Building $NAME:$TAG" + echo "Building!" docker build --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA \ -t $DOCKERNAME -t $NAME \ -t $REFNAME -t $COMMITNAME -f $DOCKERFILE .
@@ -51,7 +51,3 @@ else fi docker push $REFNAME docker push $COMMITNAME -if [ $TAG = "master" ]; then - docker tag $CHECKNAME $IMAGENAME - docker push $IMAGENAME -fi
Signature · 6 lines
2.21.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 4/8 .gitalb-ci: Use only the necessary tags
In reply to Arkadiusz HilerTag build-* images only with dockerfile-$FILE_SHA1 for changes detection and commit-$COMMIT_SHA1, so we know which set of images we have to use for any given commit.
The igt container needs only ref (e.g. master) and commit-$COMMIT_SHA1 tags, as the dockerfile-$FILE_SHA1 one is irrelevant - we build build every time anyway.
--- .gitlab-ci.yml | 14 +++++------ .gitlab-ci/pull-or-rebuild.sh | 47 +++++++++++++++++++++-------------- 2 files changed, 36 insertions(+), 25 deletions(-)
.gitlab-ci.yml +7 -7
@@ -30,10 +30,10 @@ build-containers:build-debian: DOCKER_DRIVER: overlay2 script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - - .gitlab-ci/pull-or-rebuild.sh Dockerfile.build-debian-minimal build-debian-minimal + - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-minimal build-debian-minimal - docker pull $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA - docker tag $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA build-debian-minimal:commit-$CI_COMMIT_SHA - - .gitlab-ci/pull-or-rebuild.sh Dockerfile.build-debian build-debian + - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian build-debian build-containers:build-debian-armhf: stage: build-containers
@@ -45,7 +45,7 @@ build-containers:build-debian-armhf: DOCKER_DRIVER: overlay2 script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - - .gitlab-ci/pull-or-rebuild.sh Dockerfile.build-debian-armhf build-debian-armhf + - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-armhf build-debian-armhf build-containers:build-debian-arm64: stage: build-containers
@@ -57,7 +57,7 @@ build-containers:build-debian-arm64: DOCKER_DRIVER: overlay2 script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - - .gitlab-ci/pull-or-rebuild.sh Dockerfile.build-debian-arm64 build-debian-arm64 + - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-arm64 build-debian-arm64 build-containers:build-debian-mips: stage: build-containers
@@ -69,7 +69,7 @@ build-containers:build-debian-mips: DOCKER_DRIVER: overlay2 script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - - .gitlab-ci/pull-or-rebuild.sh Dockerfile.build-debian-mips build-debian-mips + - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-mips build-debian-mips build-containers:build-fedora: stage: build-containers
@@ -81,7 +81,7 @@ build-containers:build-fedora: DOCKER_DRIVER: overlay2 script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - - .gitlab-ci/pull-or-rebuild.sh Dockerfile.build-fedora build-fedora + - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-fedora build-fedora #################### BUILD #########################
@@ -296,4 +296,4 @@ containers:igt: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker pull $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA - docker tag $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA build-fedora:commit-$CI_COMMIT_SHA - - .gitlab-ci/pull-or-rebuild.sh Dockerfile igt + - .gitlab-ci/pull-or-rebuild.sh igt Dockerfile igt
.gitlab-ci/pull-or-rebuild.sh +29 -18
59 lines not on this page · raw message
Signature · 6 lines
2.21.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 5/8 .gitlab-ci: Switch to podman/buildah/skopeo
In reply to Arkadiusz HilerThe current setup uses docker-inside-docker setup which seems to fail
quite often:
WARNING: Service runner-HnMPegeT-project-3185-concurrent-0-docker-0 probably didn't start properly. Using docker image XYZ for docker:stable ...
ERROR: Job failed (system failure): Error response from daemon: No such container: XYZ (executor_docker.go:743:0s)
Switching over to buildah (invoked via podman - docker's drop-in replacement) everything will happen locally without the need to engage any daemons, which should make the build more reliable.
We force using docker format for the containers as only the very latest docker can understand OCI and it does not have widespread adoption yet.
Buildah can also use chroot for isolation which simplifies network handling for nested containers and have a potential of being a tad bit faster.
To query remotes and manage remote tags we can use skopeo, which saves us from pulling full images from the remote without an actual need.
--- .gitlab-ci.yml | 64 ++++++++++------------------------- .gitlab-ci/pull-or-rebuild.sh | 20 +++++------ 2 files changed, 27 insertions(+), 57 deletions(-)
.gitlab-ci.yml +18 -46
@@ -1,5 +1,7 @@ image: $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA variables: + BUILDAH_FORMAT: docker + BUILDAH_ISOLATION: chroot MESON_OPTIONS: > -Dlibdrm_drivers=intel,nouveau,amdgpu -Doverlay=enabled
@@ -22,65 +24,40 @@ stages: build-containers:build-debian: stage: build-containers - image: docker:stable - services: - - docker:dind - variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_DRIVER: overlay2 + image: registry.freedesktop.org/wayland/ci-templates/buildah script: - - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-minimal build-debian-minimal - - docker pull $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA - - docker tag $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA build-debian-minimal:commit-$CI_COMMIT_SHA + - podman pull $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA + - podman tag $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA build-debian-minimal:commit-$CI_COMMIT_SHA - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian build-debian build-containers:build-debian-armhf: stage: build-containers - image: docker:stable - services: - - docker:dind - variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_DRIVER: overlay2 + image: registry.freedesktop.org/wayland/ci-templates/buildah script: - - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-armhf build-debian-armhf build-containers:build-debian-arm64: stage: build-containers - image: docker:stable - services: - - docker:dind - variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_DRIVER: overlay2 + image: registry.freedesktop.org/wayland/ci-templates/buildah script: - - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-arm64 build-debian-arm64 build-containers:build-debian-mips: stage: build-containers - image: docker:stable - services: - - docker:dind - variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_DRIVER: overlay2 + image: registry.freedesktop.org/wayland/ci-templates/buildah script: - - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-mips build-debian-mips build-containers:build-fedora: stage: build-containers - image: docker:stable - services: - - docker:dind - variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_DRIVER: overlay2 + image: registry.freedesktop.org/wayland/ci-templates/buildah script: - - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-fedora build-fedora #################### BUILD #########################
@@ -280,20 +257,15 @@ pages: ############## CONTAINERS #################### - containers:igt: stage: containers - image: docker:stable - services: - - docker:dind + image: registry.freedesktop.org/wayland/ci-templates/buildah dependencies: - build:tests-fedora variables: - DOCKER_HOST: tcp://docker:2375 - DOCKER_DRIVER: overlay2 FORCE_REBUILD: 1 script: - - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - - docker pull $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA - - docker tag $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA build-fedora:commit-$CI_COMMIT_SHA + - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - podman pull $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA + - podman tag $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA build-fedora:commit-$CI_COMMIT_SHA - .gitlab-ci/pull-or-rebuild.sh igt Dockerfile igt
.gitlab-ci/pull-or-rebuild.sh +9 -11
@@ -36,28 +36,26 @@ COMMITNAME=$IMAGENAME:commit-$CI_COMMIT_SHA if [ "$TYPE" = "base" ]; then # base container (building, etc) - we rebuild only if changed or forced - docker pull $DOCKERNAME + skopeo inspect docker://$DOCKERNAME IMAGE_PRESENT=$? set -e if [ $IMAGE_PRESENT -eq 0 ] && [ ${FORCE_REBUILD:-0} -eq 0 ] ; then echo "Skipping, already built" - docker tag $DOCKERNAME $COMMITNAME else echo "Building!" - docker build --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA \ - -t $DOCKERNAME -t $COMMITNAME -f $DOCKERFILE . - docker push $DOCKERNAME - fi - docker push $COMMITNAME + podman build --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA -t $DOCKERNAME -f $DOCKERFILE . + podman push $DOCKERNAME + fi + + skopeo copy docker://$DOCKERNAME docker://$COMMITNAME elif [ "$TYPE" = "igt" ]; then # container with IGT, we don't care about Dockerfile changes # we always rebuild set -e - docker build --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA \ - -t $REFNAME -t $COMMITNAME -f $DOCKERFILE . - docker push $REFNAME - docker push $COMMITNAME + podman build --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA -t $COMMITNAME -f $DOCKERFILE . + podman push $COMMITNAME + skopeo copy docker://$COMMITNAME docker://$REFNAME else echo "unknown build type $TYPE" exit 1
Signature · 6 lines
2.21.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 6/8 Dockerfile: Clean package manager caches and squash images
In reply to Arkadiusz HilerTo save some space and bandwidth. Without --squash the caches would get cleaned up only from the last layer which would save us nothing.
--- .gitlab-ci/pull-or-rebuild.sh | 2 +- Dockerfile.build-debian | 2 ++ Dockerfile.build-debian-arm64 | 2 ++ Dockerfile.build-debian-armhf | 2 ++ Dockerfile.build-debian-minimal | 2 ++ Dockerfile.build-debian-mips | 2 ++ Dockerfile.build-fedora | 2 ++ 7 files changed, 13 insertions(+), 1 deletion(-)
.gitlab-ci/pull-or-rebuild.sh +1 -1
@@ -44,7 +44,7 @@ if [ "$TYPE" = "base" ]; then echo "Skipping, already built" else echo "Building!" - podman build --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA -t $DOCKERNAME -f $DOCKERFILE . + podman build --squash --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA -t $DOCKERNAME -f $DOCKERFILE . podman push $DOCKERNAME fi
Dockerfile.build-debian +2 -0
@@ -23,3 +23,5 @@ RUN apt-get install -y \ xutils-dev \ libtool \ make + +RUN apt-get clean
Dockerfile.build-debian-arm64 +2 -0
@@ -37,3 +37,5 @@ RUN apt-get install -t stretch-backports -y \ libdrm-dev:arm64 \ qemu-user \ qemu-user-static + +RUN apt-get clean
Dockerfile.build-debian-armhf +2 -0
@@ -37,3 +37,5 @@ RUN apt-get install -t stretch-backports -y \ libdrm-dev:armhf \ qemu-user \ qemu-user-static + +RUN apt-get clean
Dockerfile.build-debian-minimal +2 -0
@@ -23,3 +23,5 @@ RUN apt-get install -y \ RUN apt-get install -t stretch-backports -y \ meson \ libdrm-dev + +RUN apt-get clean
Dockerfile.build-debian-mips +2 -0
@@ -37,3 +37,5 @@ RUN apt-get install -t stretch-backports -y \ libdrm-dev:mips \ qemu-user \ qemu-user-static + +RUN apt-get clean
Dockerfile.build-fedora +2 -0
@@ -42,3 +42,5 @@ RUN dnf install -y findutils # Meson version switching shenanigans RUN cd /usr/src && curl -O https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/meson-0.47.0.tar.gz + +RUN dnf clean all
Signature · 6 lines
2.21.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 7/8 .gitlab-ci: Don't pull images until they are needed
In reply to Arkadiusz HilerWe were pulling and tagging images locally ahead of time just in case the next build may need it (i.e. debian-minimal for the fully featured debian).
Instead of doing that we can specify the registry in Dockerfile's FROM cluse, so the image is pulled only when we are need it.
--- .gitlab-ci.yml | 4 ---- .gitlab-ci/pull-or-rebuild.sh | 6 ++++-- Dockerfile | 3 ++- Dockerfile.build-debian | 3 ++- 4 files changed, 8 insertions(+), 8 deletions(-)
.gitlab-ci.yml +0 -4
@@ -28,8 +28,6 @@ build-containers:build-debian: script: - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian-minimal build-debian-minimal - - podman pull $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA - - podman tag $CI_REGISTRY/$CI_PROJECT_PATH/build-debian-minimal:commit-$CI_COMMIT_SHA build-debian-minimal:commit-$CI_COMMIT_SHA - .gitlab-ci/pull-or-rebuild.sh base Dockerfile.build-debian build-debian build-containers:build-debian-armhf:
@@ -266,6 +264,4 @@ containers:igt: FORCE_REBUILD: 1 script: - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - - podman pull $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA - - podman tag $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:commit-$CI_COMMIT_SHA build-fedora:commit-$CI_COMMIT_SHA - .gitlab-ci/pull-or-rebuild.sh igt Dockerfile igt
.gitlab-ci/pull-or-rebuild.sh +4 -2
@@ -34,6 +34,8 @@ REFNAME=$IMAGENAME:$REF DOCKERNAME=$IMAGENAME:dockerfile-$DOCKERFILE_CHECKSUM COMMITNAME=$IMAGENAME:commit-$CI_COMMIT_SHA +PODMAN_BUILD="podman build --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA --build-arg=CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE" + if [ "$TYPE" = "base" ]; then # base container (building, etc) - we rebuild only if changed or forced skopeo inspect docker://$DOCKERNAME
@@ -44,7 +46,7 @@ if [ "$TYPE" = "base" ]; then echo "Skipping, already built" else echo "Building!" - podman build --squash --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA -t $DOCKERNAME -f $DOCKERFILE . + $PODMAN_BUILD --squash -t $DOCKERNAME -f $DOCKERFILE . podman push $DOCKERNAME fi
@@ -53,7 +55,7 @@ elif [ "$TYPE" = "igt" ]; then # container with IGT, we don't care about Dockerfile changes # we always rebuild set -e - podman build --build-arg=CI_COMMIT_SHA=$CI_COMMIT_SHA -t $COMMITNAME -f $DOCKERFILE . + $PODMAN_BUILD -t $COMMITNAME -f $DOCKERFILE . podman push $COMMITNAME skopeo copy docker://$COMMITNAME docker://$REFNAME else
Dockerfile +2 -1
@@ -1,5 +1,6 @@ ARG CI_COMMIT_SHA -FROM build-fedora:commit-$CI_COMMIT_SHA +ARG CI_REGISTRY_IMAGE +FROM $CI_REGISTRY_IMAGE/build-fedora:commit-$CI_COMMIT_SHA COPY opt-igt /opt/igt COPY .gitlab-ci/docker-help.sh /usr/local/bin/docker-help.sh
Dockerfile.build-debian +2 -1
@@ -1,5 +1,6 @@ ARG CI_COMMIT_SHA -FROM build-debian-minimal:commit-$CI_COMMIT_SHA +ARG CI_REGISTRY_IMAGE +FROM $CI_REGISTRY_IMAGE/build-debian-minimal:commit-$CI_COMMIT_SHA RUN apt-get update RUN apt-get install -y \
Signature · 6 lines
2.21.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 8/8 .gitlab-ci: Use true --prefix
In reply to Arkadiusz HilerWe have to use the final location of IGT for --prefix as some of the binaries use that for asset lookup (e.g. register definitions that end up in $PREFIX/share/).
To install it under a local directory during the early build steps it's better to use $DESTDIR.
--- .gitlab-ci.yml | 6 +++--- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
.gitlab-ci.yml +3 -3
@@ -63,14 +63,14 @@ build-containers:build-fedora: build:tests-fedora: stage: build script: - - meson --prefix=`pwd`/opt-igt $MESON_OPTIONS build + - meson --prefix=/opt/igt $MESON_OPTIONS build - ninja -C build - - ninja -C build install + - DESTDIR="$PWD/installdir" ninja -C build install - ninja -C build igt-gpu-tools-doc artifacts: paths: - build - - opt-igt + - installdir build:tests-fedora-no-libunwind: stage: build
Dockerfile +1 -1
@@ -2,7 +2,7 @@ ARG CI_COMMIT_SHA ARG CI_REGISTRY_IMAGE FROM $CI_REGISTRY_IMAGE/build-fedora:commit-$CI_COMMIT_SHA -COPY opt-igt /opt/igt +COPY installdir/opt/igt /opt/igt COPY .gitlab-ci/docker-help.sh /usr/local/bin/docker-help.sh ENV PATH="/opt/igt/bin:${PATH}"
Signature · 6 lines
2.21.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/8] Dockerfile: Avoid messing with WORKDIR
In reply to Arkadiusz Hiler== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/8] Dockerfile: Avoid messing with WORKDIR
URL : https://patchwork.freedesktop.org/series/66156/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6825 -> IGTPW_3411
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/66156/revisions/1/mbox/
Known issues
------------
Here are the changes found in IGTPW_3411 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s4-devices:
- fi-kbl-7500u: [PASS][1] -> [DMESG-WARN][2] ([fdo#105128] / [fdo#107139])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/fi-kbl-7500u/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/fi-kbl-7500u/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u3: [PASS][3] -> [FAIL][4] ([fdo#103167])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/fi-icl-u3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/fi-icl-u3/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live_requests:
- {fi-icl-guc}: [INCOMPLETE][5] ([fdo#107713] / [fdo#109644] / [fdo#110464]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/fi-icl-guc/igt@i915_selftest@live_requests.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/fi-icl-guc/igt@i915_selftest@live_requests.html
* igt@kms_frontbuffer_tracking@basic:
- {fi-icl-guc}: [FAIL][7] ([fdo#103167]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/fi-icl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/fi-icl-guc/igt@[email protected]
#### Warnings ####
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][9] ([fdo#111096]) -> [FAIL][10] ([fdo#111407])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/fi-kbl-7500u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/fi-kbl-7500u/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#105128]: https://bugs.freedesktop.org/show_bug.cgi?id=105128
[fdo#107139]: https://bugs.freedesktop.org/show_bug.cgi?id=107139
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#109644]: https://bugs.freedesktop.org/show_bug.cgi?id=109644
[fdo#110464]: https://bugs.freedesktop.org/show_bug.cgi?id=110464
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
Participating hosts (53 -> 43)
------------------------------
Missing (10): fi-ilk-m540 fi-bxt-dsi fi-hsw-4200u fi-skl-guc fi-byt-squawks fi-icl-u2 fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5163 -> IGTPW_3411
CI-20190529: 20190529
CI_DRM_6825: f58d764f8e206f346e591fb18622a2a55fa85930 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3411: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/
IGT_5163: 9bd37d5e307748a5b43e92a5b0ea9be8fc60b339 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 14 lines · Arkadiusz Hiler
Just to reset it soon after. Let's just
cdfor each command.Signed-off-by Arkadiusz Hiler <[email protected]>--- Dockerfile.build-fedora | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)Dockerfile.build-fedora +0
-0@@ -27,11 +27,11 @@ RUN dnf install -y \ # We need peg to build overlay RUN dnf install -y make
Dockerfile.build-fedora RUN dnf install -y \ · line 34
Quoted 10 lines
Dockerfile.build-fedora +4
-4RUN mkdir /tmp/peg -WORKDIR /tmp/peg + # originaly from http://piumarta.com/software/peg/ -RUN curl -O https://intel-gfx-ci.01.org/mirror/peg/peg-0.1.18.tar.gz -RUN tar xf peg-0.1.18.tar.gz -RUN cd peg-0.1.18 && make PREFIX=/usr install +RUN cd /tmp/peg && curl -O https://intel-gfx-ci.01.org/mirror/peg/peg-0.1.18.tar.gz +RUN tar -C /tmp/peg -xf /tmp/peg/peg-0.1.18.tar.gz +RUN cd /tmp/peg/peg-0.1.18 && make PREFIX=/usr install
make -C /tmp/peg/peg-0.1.18 PREFIX=/usr install
Dockerfile.build-fedora RUN dnf install -y clang · line 44
Quoted 13 lines
Dockerfile.build-fedora +1
-5RUN rm -fr /tmp/peg # For compile-testing on clang@@ -41,8 +41,4 @@ RUN dnf install -y clang RUN dnf install -y findutils # Meson version switching shenanigans -WORKDIR /usr/src -RUN curl -O https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/meson-0.47.0.tar.gz - -# Cleanup workdir -WORKDIR / +RUN cd /usr/src && curl -O https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/meson-0.47.0.tar.gz
Removing the useless-use-of-cd in this curl invocation:
curl -o "/usr/src/#1" "https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/{meson-0.47.0.tar.gz}"
Similar trick can be applied to the above curl line.
Signature · 5 lines
Petri Latvala _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 44 lines · Petri Latvala
Quoted 14 lines · Arkadiusz Hiler
Just to reset it soon after. Let's just
cdfor each command.Signed-off-by Arkadiusz Hiler <[email protected]>--- Dockerfile.build-fedora | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)Dockerfile.build-fedora +0
-0@@ -27,11 +27,11 @@ RUN dnf install -y \ # We need peg to build overlay RUN dnf install -y makeDockerfile.build-fedora RUN dnf install -y \ · line 34
Quoted 10 lines
Dockerfile.build-fedora +4
-4RUN mkdir /tmp/peg -WORKDIR /tmp/peg + # originaly from http://piumarta.com/software/peg/ -RUN curl -O https://intel-gfx-ci.01.org/mirror/peg/peg-0.1.18.tar.gz -RUN tar xf peg-0.1.18.tar.gz -RUN cd peg-0.1.18 && make PREFIX=/usr install +RUN cd /tmp/peg && curl -O https://intel-gfx-ci.01.org/mirror/peg/peg-0.1.18.tar.gz +RUN tar -C /tmp/peg -xf /tmp/peg/peg-0.1.18.tar.gz +RUN cd /tmp/peg/peg-0.1.18 && make PREFIX=/usr installmake -C
/tmp/peg/peg-0.1.18PREFIX=/usr installDockerfile.build-fedora RUN dnf install -y clang · line 44
Quoted 13 lines
Dockerfile.build-fedora +1
-5RUN rm -fr /tmp/peg # For compile-testing on clang@@ -41,8 +41,4 @@ RUN dnf install -y clang RUN dnf install -y findutils # Meson version switching shenanigans -WORKDIR /usr/src -RUN curl -O https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/meson-0.47.0.tar.gz - -# Cleanup workdir -WORKDIR / +RUN cd /usr/src && curl -O https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/meson-0.47.0.tar.gzRemoving the useless-use-of-cd in this curl invocation:
Quoted 4 lines
curl -o "/usr/src/#1" "https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/{meson-0.47.0.tar.gz}"
Similar trick can be applied to the above curl line.
I am not sure that this curl invocation is that much better than a simple cd, but ok:
https://gitlab.freedesktop.org/ivyl/igt/commit/e31bd8a518458a15c121a33bd7c72ef0b09e5251
And here's the pipeline:
https://gitlab.freedesktop.org/ivyl/igt/pipelines/60764
To save some real-hardware CI time I'll just keep the updates on gitlab, it does not affect anything else anyway.
Signature · 6 lines
Cheers, Arek _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/8] Dockerfile: Avoid messing with WORKDIR
In reply to Arkadiusz Hiler== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/8] Dockerfile: Avoid messing with WORKDIR
URL : https://patchwork.freedesktop.org/series/66156/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_6825_full -> IGTPW_3411_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_3411_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_3411_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/66156/revisions/1/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3411_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_schedule@pi-ringfull-bsd1:
- shard-kbl: [PASS][1] -> [FAIL][2] +4 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-kbl7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-kbl2/igt@[email protected]
* igt@gem_exec_suspend@basic-s4-devices:
- shard-snb: [PASS][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-snb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-snb5/igt@[email protected]
* igt@i915_pm_rpm@debugfs-read:
- shard-hsw: [PASS][5] -> [FAIL][6] +4 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-hsw8/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-hsw8/igt@[email protected]
* igt@perf_pmu@cpu-hotplug:
- shard-kbl: [PASS][7] -> [TIMEOUT][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-kbl6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-kbl2/igt@[email protected]
* igt@perf_pmu@enable-race-rcs0:
- shard-apl: [PASS][9] -> [TIMEOUT][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl4/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl4/igt@[email protected]
* igt@perf_pmu@init-wait-rcs0:
- shard-apl: [PASS][11] -> [FAIL][12] +8 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl3/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl4/igt@[email protected]
* igt@perf_pmu@semaphore-wait-idle-rcs0:
- shard-apl: NOTRUN -> [FAIL][13] +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl4/igt@[email protected]
#### Warnings ####
* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- shard-hsw: [SKIP][14] ([fdo#109271]) -> [FAIL][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-hsw7/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-hsw8/igt@[email protected]
Known issues
------------
Here are the changes found in IGTPW_3411_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@suspend:
- shard-snb: [PASS][16] -> [FAIL][17] ([fdo#107918])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-snb6/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-snb5/igt@[email protected]
* igt@gem_exec_schedule@deep-bsd:
- shard-iclb: [PASS][18] -> [SKIP][19] ([fdo#111325]) +3 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb7/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb1/igt@[email protected]
* igt@i915_pm_rps@min-max-config-loaded:
- shard-iclb: [PASS][20] -> [FAIL][21] ([fdo#111409])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb3/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb2/igt@[email protected]
* igt@i915_selftest@mock_fence:
- shard-iclb: [PASS][22] -> [INCOMPLETE][23] ([fdo#107713])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb7/igt@i915_selftest@mock_fence.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb7/igt@i915_selftest@mock_fence.html
* igt@i915_suspend@fence-restore-untiled:
- shard-apl: [PASS][24] -> [DMESG-WARN][25] ([fdo#108566]) +4 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl1/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite:
- shard-iclb: [PASS][26] -> [FAIL][27] ([fdo#103167]) +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb1/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb7/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
- shard-snb: [PASS][28] -> [FAIL][29] ([fdo#103375]) +4 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-snb6/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-snb5/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-apl: [PASS][30] -> [FAIL][31] ([fdo#103375])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl5/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl4/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-kbl: [PASS][32] -> [FAIL][33] ([fdo#103375]) +9 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-kbl6/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-kbl2/igt@[email protected]
* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-iclb: [PASS][34] -> [SKIP][35] ([fdo#109441]) +2 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb2/igt@kms_psr@psr2_cursor_plane_onoff.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb1/igt@kms_psr@psr2_cursor_plane_onoff.html
* igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:
- shard-hsw: [PASS][36] -> [FAIL][37] ([fdo#103375]) +3 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-hsw1/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-hsw8/igt@[email protected]
* igt@prime_busy@hang-bsd2:
- shard-iclb: [PASS][38] -> [SKIP][39] ([fdo#109276]) +17 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb4/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb7/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@reset-stress:
- shard-kbl: [FAIL][40] ([fdo#109661]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-kbl6/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-kbl7/igt@[email protected]
* igt@gem_exec_schedule@independent-bsd1:
- shard-iclb: [SKIP][42] ([fdo#109276]) -> [PASS][43] +21 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb6/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb2/igt@[email protected]
* igt@gem_exec_schedule@pi-ringfull-blt:
- shard-apl: [FAIL][44] ([fdo#111547]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl5/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl6/igt@[email protected]
- shard-iclb: [FAIL][46] ([fdo#111547]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb5/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb6/igt@[email protected]
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [SKIP][48] ([fdo#111325]) -> [PASS][49] +7 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb2/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb3/igt@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- shard-hsw: [FAIL][50] ([fdo#111548]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-hsw8/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-hsw4/igt@[email protected]
* igt@i915_pm_rpm@system-suspend:
- shard-kbl: [INCOMPLETE][52] ([fdo#103665] / [fdo#107807]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-kbl2/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-kbl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-256x256-onscreen:
- shard-kbl: [FAIL][54] ([fdo#103232]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-kbl3/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-kbl4/igt@[email protected]
- shard-apl: [FAIL][56] ([fdo#103232]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl3/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl3/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-apl: [DMESG-WARN][58] ([fdo#108566]) -> [PASS][59] +2 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl4/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-apl: [FAIL][60] ([fdo#105363]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl2/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-onoff:
- shard-glk: [FAIL][62] ([fdo#103167]) -> [PASS][63] +1 similar issue
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-glk2/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-glk5/igt@[email protected]
- shard-apl: [FAIL][64] ([fdo#103167]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl2/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite:
- shard-iclb: [FAIL][66] ([fdo#103167]) -> [PASS][67] +3 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
* igt@kms_plane_scaling@pipe-a-plane-scaling:
- shard-apl: [INCOMPLETE][68] ([fdo#103927]) -> [PASS][69] +5 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl7/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl8/igt@[email protected]
* igt@kms_psr@psr2_suspend:
- shard-iclb: [SKIP][70] ([fdo#109441]) -> [PASS][71] +3 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb7/igt@kms_psr@psr2_suspend.html
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb2/igt@kms_psr@psr2_suspend.html
* igt@kms_setmode@basic:
- shard-kbl: [FAIL][72] ([fdo#99912]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-kbl3/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-kbl2/igt@[email protected]
* igt@perf_pmu@most-busy-check-all-rcs0:
- shard-apl: [FAIL][74] ([fdo#111545]) -> [PASS][75] +1 similar issue
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl5/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl8/igt@[email protected]
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv:
- shard-iclb: [SKIP][76] ([fdo#109276]) -> [FAIL][77] ([fdo#111329])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb5/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb1/igt@[email protected]
* igt@gem_mocs_settings@mocs-settings-bsd2:
- shard-iclb: [FAIL][78] ([fdo#111330]) -> [SKIP][79] ([fdo#109276]) +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb2/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb8/igt@[email protected]
* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [DMESG-WARN][80] ([fdo#107724]) -> [SKIP][81] ([fdo#109349])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-iclb2/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-iclb1/igt@[email protected]
* igt@perf_pmu@cpu-hotplug:
- shard-hsw: [TIMEOUT][82] ([fdo#111546]) -> [INCOMPLETE][83] ([fdo#103540])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-hsw8/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-hsw6/igt@[email protected]
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807
[fdo#107918]: https://bugs.freedesktop.org/show_bug.cgi?id=107918
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111329]: https://bugs.freedesktop.org/show_bug.cgi?id=111329
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#111409]: https://bugs.freedesktop.org/show_bug.cgi?id=111409
[fdo#111545]: https://bugs.freedesktop.org/show_bug.cgi?id=111545
[fdo#111546]: https://bugs.freedesktop.org/show_bug.cgi?id=111546
[fdo#111547]: https://bugs.freedesktop.org/show_bug.cgi?id=111547
[fdo#111548]: https://bugs.freedesktop.org/show_bug.cgi?id=111548
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (10 -> 6)
------------------------------
Missing (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-j5005
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5163 -> IGTPW_3411
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_6825: f58d764f8e206f346e591fb18622a2a55fa85930 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3411: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/
IGT_5163: 9bd37d5e307748a5b43e92a5b0ea9be8fc60b339 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Re: [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/8] Dockerfile: Avoid messing with WORKDIR
Quoted 59 lines · Patchwork
== Series Details ==
Series: series starting with [i-g-t,1/8] Dockerfile: Avoid messing with WORKDIR
URL : https://patchwork.freedesktop.org/series/66156/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_6825_full->IGTPW_3411_full
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
IGTPW_3411_fullabsolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
IGTPW_3411_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.External URL: https://patchwork.freedesktop.org/api/1.0/series/66156/revisions/1/mbox/
Possible new issues
-------------------Here are the unknown changes that may have been introduced in
IGTPW_3411_full:### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_schedule@pi-ringfull-bsd1:
- shard-kbl: [PASS][1] -> [FAIL][2] +4 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-kbl7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-kbl2/igt@[email protected]* igt@gem_exec_suspend@basic-s4-devices:
- shard-snb: [PASS][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-snb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-snb5/igt@[email protected]* igt@i915_pm_rpm@debugfs-read:
- shard-hsw: [PASS][5] -> [FAIL][6] +4 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-hsw8/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-hsw8/igt@[email protected]* igt@perf_pmu@cpu-hotplug:
- shard-kbl: [PASS][7] -> [TIMEOUT][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-kbl6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-kbl2/igt@[email protected]* igt@perf_pmu@enable-race-rcs0:
- shard-apl: [PASS][9] -> [TIMEOUT][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl4/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl4/igt@[email protected]
Quoted 8 lines
* igt@perf_pmu@init-wait-rcs0:
- shard-apl: [PASS][11] -> [FAIL][12] +8 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6825/shard-apl3/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl4/igt@[email protected]* igt@perf_pmu@semaphore-wait-idle-rcs0:
- shard-apl: NOTRUN -> [FAIL][13] +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3411/shard-apl4/igt@[email protected]
All false postitives. The series is touching only .gitlab-ci and Dockerfiles.
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev