[midPoint-ci] Build failed in Jenkins: midpilot-smart-integration #806
Jenkins
noreply at evolveum.com
Fri Oct 2 23:36:16 CEST 2026
See <https://jenkins.e/job/midpilot-smart-integration/806/display/redirect>
Changes:
------------------------------------------
[...truncated 156 lines...]
ephemeral-storage: "512Mi"
volumeMounts:
- mountPath: "/run/buildkit"
name: "buildkit-socket"
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
- command:
- "/bin/sh"
- "-c"
- "sleep 7200"
image: "registry.evolveum.com/internal/jenkins-tools:1"
name: "tools"
resources:
limits:
memory: "2Gi"
cpu: "2"
ephemeral-storage: "2Gi"
requests:
memory: "512Mi"
cpu: "200m"
ephemeral-storage: "512Mi"
tty: true
volumeMounts:
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
imagePullSecrets:
- name: "harbor-pull-internal"
nodeSelector:
kubernetes.io/os: "linux"
restartPolicy: "Never"
serviceAccountName: "jenkins-test-runner"
terminationGracePeriodSeconds: 30
volumes:
- emptyDir: {}
name: "buildkit-socket"
- emptyDir:
medium: ""
name: "workspace-volume"
Running on midpilot-smart-integration-806-npddn-jr85n-5s0nq in /home/jenkins/agent/workspace/midpilot-smart-integration
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 45 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] script
[Pipeline] {
[Pipeline] checkout
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Honoring refspec on initial clone
Cloning repository https://github.com/Evolveum/midpilot-smart-integration.git
> git init /home/jenkins/agent/workspace/midpilot-smart-integration # timeout=10
Fetching upstream changes from https://github.com/Evolveum/midpilot-smart-integration.git
> git --version # timeout=10
> git --version # 'git version 2.39.5'
> git fetch --tags --force --progress -- https://github.com/Evolveum/midpilot-smart-integration.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/Evolveum/midpilot-smart-integration.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 0348b247e1d58be822e6dad5c919f013cba1883c (origin/main)
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f 0348b247e1d58be822e6dad5c919f013cba1883c # timeout=10
Commit message: "Use /models endpoint for LLM health check instead of completion"
> git rev-list --no-walk 0348b247e1d58be822e6dad5c919f013cba1883c # timeout=10
[Pipeline] sh
+ git rev-parse HEAD
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (QA)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ uv run --link-mode=copy poe qa
Using CPython 3.13.11 interpreter at: /usr/local/bin/python3
Creating virtual environment at: .venv
Building midpilot-smart-integration @ file:///home/jenkins/agent/workspace/midpilot-smart-integration
Downloading pydantic-core (2.0MiB)
Downloading openai (1.6MiB)
Downloading pygments (1.2MiB)
Downloading mypy (14.5MiB)
Downloading zstandard (5.3MiB)
Downloading tiktoken (1.1MiB)
Downloading ast-serialize (1.2MiB)
Downloading ruff (9.8MiB)
Downloading sqlalchemy (3.2MiB)
Downloading virtualenv (5.1MiB)
Downloaded tiktoken
Downloaded ast-serialize
Downloaded pygments
Downloaded pydantic-core
Downloaded openai
Downloaded sqlalchemy
Downloaded virtualenv
Downloaded zstandard
Downloaded ruff
Downloaded mypy
Built midpilot-smart-integration @ file:///home/jenkins/agent/workspace/midpilot-smart-integration
Installed 98 packages in 160ms
Poe => mypy . --exclude=.venv
Success: no issues found in 83 source files
Poe => ruff check
All checks passed!
Poe => ruff format --diff
84 files already formatted
Warning: Poe failed to locate envfile at '/home/jenkins/agent/workspace/midpilot-smart-integration/.env.test'
Warning: Poe failed to locate envfile at '/home/jenkins/agent/workspace/midpilot-smart-integration/.env.test'
Poe => pytest test/unit
........................................................................ [ 66%]
..................................... [100%]
109 passed in 2.38s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Prepare build context and envs)
[Pipeline] sh
+ rm -rf build-context
+ mkdir -p build-context
[Pipeline] libraryResource
[Pipeline] writeFile
[Pipeline] sh
+ cp -r src docs LICENSE server.py pyproject.toml uv.lock build-context/
[Pipeline] container
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] readFile
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Verify arm64 emulation)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
BuildKit reported platforms:
ID PLATFORMS
linux/386
linux/amd64/v2
linux/amd64/v3
linux/amd64/v4
linux/arm64
q6wrrzg8ri2rk0rnimt3dz0j6 linux/amd64
OK: linux/arm64 emulation available.
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Harbor login)
[Pipeline] withCredentials
Masking supported pattern matches of $HARBOR_PASS
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ mkdir -p /root/.docker
+ printf '{"auths":{"%s":{"username":"%s","password":"%s"}}}' registry.evolveum.com 'robot$public+jenkins' ****
[Pipeline] }
[Pipeline] // container
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ crane auth login registry.evolveum.com -u 'robot$public+jenkins' -p ****
WARNING! Your credentials are stored unencrypted in '/root/.docker/config.json'.
Configure a credential helper to remove this warning. See
https://docs.docker.com/go/credential-store/
2026/10/02 21:36:11 logged in via /root/.docker/config.json
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build & push image)
[Pipeline] script
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ crane digest registry.evolveum.com/public/midpilot-smart-integration-base:ubuntu-26.04
[Pipeline] }
[Pipeline] // container
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ max_attempts=20
+ attempt=1
+ sleep_time=1
+ '[' 1 -le 20 ]
+ buildctl debug workers
+ echo 'BuildKit daemon is ready'
BuildKit daemon is ready
+ break
+ '[' 1 -gt 20 ]
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ date -u '+%Y-%m-%dT%H:%M:%SZ'
[Pipeline] sh
+ buildctl build --frontend dockerfile.v0 '--progress=plain' --local 'context=build-context' --local 'dockerfile=build-context' --opt 'filename=Dockerfile' --opt 'platform=linux/amd64,linux/arm64' --opt 'build-arg:GIT_COMMIT=0348b247e1d58be822e6dad5c919f013cba1883c' --opt 'build-arg:base_image_ref=registry.evolveum.com/public/midpilot-smart-integration-base:ubuntu-26.04' --opt 'build-arg:http_proxy=http://fw.v130.e:3128' --opt 'build-arg:https_proxy=http://fw.v130.e:3128' --opt 'build-arg:no_proxy=localhost,127.0.0.1,10.0.0.0/8,.local,.internal,.e,.svc,.cluster.local,jenkins-agent' --opt 'build-arg:uv_version=0.12' --opt 'label:org.opencontainers.image.created=2026-10-02T21:36:13Z' --opt 'label:org.opencontainers.image.base.name=registry.evolveum.com/public/midpilot-smart-integration-base:ubuntu-26.04' --opt 'label:org.opencontainers.image.base.digest=sha256:7f9dbd8d2c64463ad214deb9a9e5957dd6b991b3740cc2fac4327c0c853a1aeb' --opt 'label:org.opencontainers.image.revision=0348b247' --opt 'label:org.opencontainers.image.version=0.1.0' --opt 'label:org.opencontainers.image.description=Evolveum midPilot Smart Integration service' --opt 'label:org.opencontainers.image.source=https://github.com/Evolveum/midpilot-smart-integration.git' --opt 'attest:sbom=' --opt 'attest:provenance=mode=max' --output 'type=image,"name=registry.evolveum.com/public/midpilot-smart-integration:0348b247,registry.evolveum.com/public/midpilot-smart-integration:latest",push=true'
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 979B done
#1 DONE 0.0s
#2 resolve image config for docker-image://docker.io/docker/buildkit-syft-scanner:stable-1
#2 DONE 1.5s
Dockerfile:12
--------------------
11 | COPY uv.lock pyproject.toml ./
12 | >>> RUN --mount=from=ghcr.io/astral-sh/uv:${uv_version},source=/usr,target=/usr/local/bin/uv \
13 | >>> uv sync --locked --no-install-project --no-dev --no-python-downloads --link-mode=copy \
14 | >>> && rm uv.lock pyproject.toml
15 |
--------------------
error: failed to solve: dockerfile parse error on line 12: 'from' doesn't support variable expansion, define alias stage instead
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Upload SBOM to DTrack)
Stage "Upload SBOM to DTrack" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] step
More information about the midPoint-ci
mailing list