build-python3-image-project-specific-dind ○ success
⏱
Duration: 3m 19s
⏳
Queued: 6s
📁
Stage: docker-image
🖥
Runner: docker-dind
Average Duration
1m 17s
This job: 3m 19s
Failure Rate
1.6%
last 30 days
External Links
▶
Job Execution Phases
💡 Tip: Click on any phase bar to jump to that section in the log below
▶
Job Analysis
Job Status: Passed
Status: Job passed successfully
▶
Full Job Log
646 lines
Match - of 0
1
17:05:30
Running with gitlab-runner 18.9.0 (07e534ba)
2
17:05:30
on gitlab-runner-docker-dind-648487dd7c-jc7fc jdudsTMJT, system ID: r_MWTdVN7BW7GV
3
17:05:30
feature flags: FF_USE_FASTZIP:true, FF_USE_NEW_BASH_EVAL_STRATEGY:true, FF_USE_DYNAMIC_TRACE_FORCE_SEND_INTERVAL:true, FF_SCRIPT_SECTIONS:true, FF_ENABLE_JOB_CLEANUP:true, FF_USE_ADVANCED_POD_SPEC_CONFIGURATION:true, FF_PRINT_POD_EVENTS:true, FF_USE_DUMB_INIT_WITH_KUBERNETES_EXECUTOR:true, FF_LOG_IMAGES_CONFIGURED_FOR_JOB:true, FF_CLEAN_UP_FAILED_CACHE_EXTRACT:true, FF_GIT_URLS_WITHOUT_TOKENS:true, FF_WAIT_FOR_POD_TO_BE_REACHABLE:true, FF_USE_FLEETING_ACQUIRE_HEARTBEATS:true, FF_USE_JOB_ROUTER:true
4
17:05:30
Resolving secrets
5
17:05:30
section_start:1777827930:prepare_executor
6
17:05:30
+Preparing the "kubernetes" executor
7
17:05:30
"CPURequest" overwritten with "2"
8
17:05:30
"MemoryRequest" overwritten with "4G"
9
17:05:30
Using Kubernetes namespace: gitlab-runner
10
17:05:30
Using Kubernetes executor with image registry.scandit.com/dockerfiles/docker-buildx:latest@sha256:9d5993dcf2cdcb4a35130aca6eca1337cc82e552dfa433e086e3956128a70bd9 ...
11
17:05:30
Using attach strategy to execute scripts...
12
17:05:30
Using effective pull policy of [Always] for container build
13
17:05:30
Using effective pull policy of [Always] for container helper
14
17:05:30
Using effective pull policy of [Always] for container init-permissions
15
17:05:30
Using effective pull policy of [Always] for container docker
16
17:05:30
section_end:1777827930:prepare_executor
17
17:05:30
+section_start:1777827930:prepare_script
18
17:05:30
+Preparing environment
19
17:05:30
Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
20
17:05:30
WARNING: Advanced Pod Spec configuration enabled, merging the provided PodSpec to the generated one. This is a beta feature and is subject to change. Feedback is collected in this issue: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/29659 ...
21
17:05:31
Subscribing to Kubernetes Pod events...
22
17:05:31
Type Reason Message
23
17:05:31
Normal Scheduled Successfully assigned gitlab-runner/runner-jdudstmjt-project-621-concurrent-0-o4hq1b0i to ci7
24
17:05:31
Normal Pulled Container image "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v18.9.0" already present on machine
25
17:05:32
Normal Created Created container: init-permissions
26
17:05:32
Normal Started Started container init-permissions
27
17:05:33
Normal Pulled Container image "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v18.9.0" already present on machine
28
17:05:33
Normal Created Created container: helper
29
17:05:33
Normal Started Started container helper
30
17:05:33
Normal Pulling Pulling image "registry.scandit.com/dockerfiles/docker-buildx:latest@sha256:9d5993dcf2cdcb4a35130aca6eca1337cc82e552dfa433e086e3956128a70bd9"
31
17:05:46
Normal Pulled Successfully pulled image "registry.scandit.com/dockerfiles/docker-buildx:latest@sha256:9d5993dcf2cdcb4a35130aca6eca1337cc82e552dfa433e086e3956128a70bd9" in 12.655s (12.655s including waiting). Image size: 175124112 bytes.
32
17:05:46
Normal Created Created container: build
33
17:05:46
Normal Started Started container build
34
17:05:46
Normal Pulling Pulling image "registry.scandit.com/dockerfiles/docker-buildx:dind@sha256:2e9ef548630c4428c8cbf07d9be8eabec977b783a10f092d80ee28032748fc9d"
35
17:05:50
Normal Pulled Successfully pulled image "registry.scandit.com/dockerfiles/docker-buildx:dind@sha256:2e9ef548630c4428c8cbf07d9be8eabec977b783a10f092d80ee28032748fc9d" in 4.125s (4.125s including waiting). Image size: 141004310 bytes.
36
17:05:50
Normal Created Created container: docker
37
17:05:51
Normal Started Started container docker
38
17:05:53
Running on runner-jdudstmjt-project-621-concurrent-0-o4hq1b0i via gitlab-runner-docker-dind-648487dd7c-jc7fc...
39
17:05:53
40
17:05:53
section_end:1777827953:prepare_script
41
17:05:53
+section_start:1777827953:get_sources
42
17:05:53
+Getting source from Git repository
43
17:05:53
Gitaly correlation ID: 01KQQCTR2E7B4KJME0XAXEB4CR
44
17:05:54
Fetching changes with git depth set to 1...
45
17:05:54
Initialized empty Git repository in /build/internal/gitlab-templates/.git/
46
17:05:54
Created fresh repository.
47
17:05:54
Checking out 32840034 as detached HEAD (ref is master)...
48
17:05:54
49
17:05:54
Skipping Git submodules setup
50
17:05:54
51
17:05:54
section_end:1777827954:get_sources
52
17:05:54
+section_start:1777827954:step_script
53
17:05:54
+Executing "step_script" stage of the job script
54
17:05:55
section_start:1777827954:section_pre_build_script_0[hide_duration=true,collapsed=true]
$ function cleanup {
55
17:05:55
rv=$?
56
17:05:55
if [ $rv -ne 0 ]; then
57
17:05:55
echo ""
58
17:05:55
echo " Failure Cause Analysis might help, please open this link:"
59
17:05:55
echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
60
17:05:55
echo ""
61
17:05:55
fi
62
17:05:55
echo ""
63
17:05:55
echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
64
17:05:55
echo ""
65
17:05:55
echo ""
66
17:05:55
echo "Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=${GRAFANA_DATASOURCE}&var-host=${SC_K8S_NODE_NAME}&var-namespace=${SC_K8S_NAMESPACE}&var-pod=${HOSTNAME}&var-resolution=15&from=${__start_time}000&to=${EPOCHSECONDS}000"
67
17:05:55
echo "Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=${GRAFANA_DATASOURCE}&var-node=${SC_K8S_NODE_NAME}&var-resolution=15s&from=${__start_time}000&to=${EPOCHSECONDS}000"
68
17:05:55
echo "Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=${LOKI_DATASOURCE}&var-filters=log_group%7C=%7Cgitlab-runner&var-filters=source%7C%3D%7C${LOKI_LOGSOURCE}&var-filters=namespace%7C%3D%7C${SC_K8S_NAMESPACE}&var-filters=CI_PROJECT_ID%7C%3D%7C${CI_PROJECT_ID}&var-filters=CI_PIPELINE_ID%7C%3D%7C${CI_PIPELINE_ID}&var-filters=CI_JOB_ID%7C%3D%7C${CI_JOB_ID}&sortOrder=Ascending&from=${__start_time}000&to=${EPOCHSECONDS}000"
69
17:05:55
__date_from=$(date -d "@$(( EPOCHSECONDS - 604800 ))" +%Y-%m-%d)
70
17:05:55
__date_to=$(date -d "@$(( EPOCHSECONDS + 604800 ))" +%Y-%m-%d)
71
17:05:55
echo "Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=${__date_from}~${__date_to}&job_name=${CI_JOB_NAME}&project=${CI_PROJECT_PATH}"
72
17:05:55
echo ""
73
17:05:55
exit $rv
74
17:05:55
}
75
17:05:55
trap cleanup EXIT
76
17:05:55
echo "INFO: This is the CI job pre_build_script"
77
17:05:55
echo "INFO: It's defined in the backend/infra/onprem/k8s repo."
78
17:05:55
echo "INFO: These additional Scandit variables are available to you:"
79
17:05:55
echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
80
17:05:55
echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
81
17:05:55
echo " SC_K8S_KYVERNO_PATCHES: |"
82
17:05:55
echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
83
17:05:55
echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
84
17:05:55
if command -v numfmt >/dev/null 2>&1; then
85
17:05:55
echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
86
17:05:55
else
87
17:05:55
echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
88
17:05:55
fi
89
17:05:55
__start_time=${EPOCHSECONDS}
90
17:05:55
echo ""
91
17:05:55
echo "Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=${GRAFANA_DATASOURCE}&var-host=${SC_K8S_NODE_NAME}&var-namespace=${SC_K8S_NAMESPACE}&var-pod=${HOSTNAME}&var-resolution=15&from=${__start_time}000&to=now"
92
17:05:55
echo "Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=${GRAFANA_DATASOURCE}&var-node=${SC_K8S_NODE_NAME}&var-resolution=15s&from=${__start_time}000&to=now"
93
17:05:55
echo "Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=${LOKI_DATASOURCE}&var-filters=log_group%7C%3D%7Cgitlab-runner&var-filters=source%7C%3D%7C${LOKI_LOGSOURCE}&var-filters=namespace%7C%3D%7C${SC_K8S_NAMESPACE}&var-filters=CI_PROJECT_ID%7C%3D%7C${CI_PROJECT_ID}&var-filters=CI_PIPELINE_ID%7C%3D%7C${CI_PIPELINE_ID}&var-filters=CI_JOB_ID%7C%3D%7C${CI_JOB_ID}&sortOrder=Ascending&from=${__start_time}000&to=now"
94
17:05:55
__date_from=$(date -d "@$(( EPOCHSECONDS - 604800 ))" +%Y-%m-%d)
95
17:05:55
__date_to=$(date -d "@$(( EPOCHSECONDS + 604800 ))" +%Y-%m-%d)
96
17:05:55
echo "Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=${__date_from}~${__date_to}&job_name=${CI_JOB_NAME}&project=${CI_PROJECT_PATH}"
97
17:05:55
echo ""
98
17:05:55
echo "Setting up credentials for Gitlab Python registries"
99
17:05:55
mkdir -p ~
100
17:05:55
echo "machine gitlab.scandit.com" > ~/.netrc
101
17:05:55
echo "login gitlab-ci-token" >> ~/.netrc
102
17:05:55
echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
103
17:05:55
chmod 600 ~/.netrc
104
17:05:55
if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
105
17:05:55
git config --global --add safe.directory $CI_PROJECT_DIR
106
17:05:55
fi
107
17:05:55
sleep infinity &
108
17:05:55
echo $! > ~/.bg_pid
109
17:05:55
section_end:1777827954:section_pre_build_script_0
110
17:05:55
INFO: This is the CI job pre_build_script
111
17:05:55
INFO: It's defined in the backend/infra/onprem/k8s repo.
112
17:05:55
INFO: These additional Scandit variables are available to you:
113
17:05:55
SC_K8S_NODE_NAME: ci7
114
17:05:55
SC_K8S_IMAGE_ID:
115
17:05:55
SC_K8S_KYVERNO_PATCHES: |
116
17:05:55
117
17:05:55
cpu (r/l): 2/8
118
17:05:55
memory (r/l): 4000000000/17179869184
119
17:05:55
120
17:05:55
Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-host=ci7&var-namespace=gitlab-runner&var-pod=runner-jdudstmjt-project-621-concurrent-0-o4hq1b0i&var-resolution=15&from=000&to=now
121
17:05:55
Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-node=ci7&var-resolution=15s&from=000&to=now
122
17:05:55
Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=nVsAo7UVk&var-filters=log_group%7C%3D%7Cgitlab-runner&var-filters=source%7C%3D%7Czrh.int.scandit.io&var-filters=namespace%7C%3D%7Cgitlab-runner&var-filters=CI_PROJECT_ID%7C%3D%7C621&var-filters=CI_PIPELINE_ID%7C%3D%7C1576293&var-filters=CI_JOB_ID%7C%3D%7C54273478&sortOrder=Ascending&from=000&to=now
123
17:05:55
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=1969-12-25~1970-01-08&job_name=build-python3-image-project-specific-dind&project=internal/gitlab-templates
124
17:05:55
125
17:05:55
Setting up credentials for Gitlab Python registries
126
17:05:55
$ mkdir -p ~/.docker
127
17:05:55
$ echo $DOCKER_CONFIG_JSON > ~/.docker/config.json
128
17:05:55
section_start:1777827954:section_script_step_2[hide_duration=true,collapsed=true]
$ for i in $(seq 1 30)
129
17:05:55
do
130
17:05:55
docker info 2>&1 > /dev/null && break
131
17:05:55
echo "Waiting for docker to start"
132
17:05:55
sleep 1s
133
17:05:55
done
134
17:05:55
section_end:1777827954:section_script_step_2
135
17:06:00
section_start:1777827959:section_script_step_3[hide_duration=true,collapsed=true]
$ function copy_files() {
136
17:06:00
local src="$1"
137
17:06:00
local trg="$2"
138
17:06:00
for f in $src; do
139
17:06:00
t="$trg/`dirname $f`"
140
17:06:00
mkdir -p $t || true
141
17:06:00
echo "Copy $f"
142
17:06:00
cp -pr $f $trg/$f
143
17:06:00
done
144
17:06:00
}
145
17:06:00
function recursive_hash() {
146
17:06:00
local dir="$1"
147
17:06:00
find "$dir" -exec stat -c '%F|%a|%u:%g|%n' {} + -type f -exec sha256sum {} + | sort | sha256sum | cut -d ' ' -f1
148
17:06:00
}
149
17:06:00
function remote_docker_digest() {
150
17:06:00
local images="$1"
151
17:06:00
echo $images | xargs -n 1 crane digest
152
17:06:00
}
153
17:06:00
function remote_image_exists() {
154
17:06:00
local image="$1"
155
17:06:00
crane manifest $image > /dev/null 2>&1
156
17:06:00
}
157
17:06:00
function remote_images_are_identical() {
158
17:06:00
local imageA="$1"
159
17:06:00
local imageB="$2"
160
17:06:00
if [[ $(remote_docker_digest "$imageA") == $(remote_docker_digest "$imageB") ]]; then
161
17:06:00
return 0
162
17:06:00
else
163
17:06:00
return 1
164
17:06:00
fi
165
17:06:00
}
166
17:06:00
function copy_image() {
167
17:06:00
local image="$1"
168
17:06:00
local remotes="$2"
169
17:06:00
local backup_ext="$3"
170
17:06:00
echo "$image"
171
17:06:00
local source_digest=$(remote_docker_digest $image)
172
17:06:00
local target_digest
173
17:06:00
for registry in $remotes; do
174
17:06:00
if target_digest=$(remote_docker_digest $registry); then
175
17:06:00
if [ "$target_digest" != "$source_digest" ]; then
176
17:06:00
echo "image outdated, overwriting with newest version"
177
17:06:00
crane copy $image $registry
178
17:06:00
crane copy $image ${registry}${backup_ext}
179
17:06:00
fi
180
17:06:00
else
181
17:06:00
echo "image does not exist, writing newest version"
182
17:06:00
crane copy $image $registry
183
17:06:00
crane copy $image ${registry}${backup_ext}
184
17:06:00
fi
185
17:06:00
done
186
17:06:00
}
187
17:06:00
section_end:1777827959:section_script_step_3
188
17:06:00
section_start:1777827959:section_script_step_4[hide_duration=true,collapsed=true]
$ if [ "$CONTAINER_SUBDIR" != "" ]; then
189
17:06:00
echo "Entering subpath $CONTAINER_SUBDIR"
190
17:06:00
cd $CONTAINER_SUBDIR
191
17:06:00
fi
192
17:06:00
section_end:1777827959:section_script_step_4
193
17:06:00
$ copy_files "$CONTAINER_IMPLICIT_REQUIREMENTS $CONTAINER_REQUIREMENTS" "$CONTAINER_CONTEXT_PATH"
194
17:06:00
Copy Dockerfile.python-3
195
17:06:00
Copy requirements.txt
196
17:06:00
Copy .python-version
197
17:06:00
Copy .pip-version
198
17:06:00
$ echo "$CONTAINER_BUILD_ENVIRONMENT" > $CONTAINER_CONTEXT_PATH/.docker-build-env
199
17:06:00
$ docker_checksum=$(recursive_hash $CONTAINER_CONTEXT_PATH)
200
17:06:00
section_start:1777827959:section_script_step_8[hide_duration=true,collapsed=true]
$ if [ "$CONTAINER_IMAGE_NAME" == "" ]; then
201
17:06:00
final_image_name=${CONTAINER_IMAGE_URL}
202
17:06:00
else
203
17:06:00
final_image_name=${CONTAINER_IMAGE_URL}/${CONTAINER_IMAGE_NAME}
204
17:06:00
fi
205
17:06:00
section_end:1777827959:section_script_step_8
206
17:06:00
$ final_image_url=${final_image_name}:${docker_checksum}
207
17:06:00
section_start:1777827959:section_script_step_10[hide_duration=true,collapsed=true]
$ if [ "${PIPELINE_IMAGE_REFS}" == "1" ]; then
208
17:06:00
echo $CONTAINER_IMAGE_VARIABLE=${final_image_url}-P${CI_PROJECT_ID}-${CI_PIPELINE_ID} > $CI_PROJECT_DIR/docker_image_build.env
209
17:06:00
else
210
17:06:00
echo $CONTAINER_IMAGE_VARIABLE=$final_image_url > $CI_PROJECT_DIR/docker_image_build.env
211
17:06:00
fi
212
17:06:00
section_end:1777827959:section_script_step_10
213
17:06:00
$ echo ${CONTAINER_IMAGE_VARIABLE}_HASH=$docker_checksum >> $CI_PROJECT_DIR/docker_image_build.env
214
17:06:00
section_start:1777827959:section_script_step_12[hide_duration=true,collapsed=true]
$ if [ "${FORCE_BUILD}" != "true" ] || command -v crane &> /dev/null; then
215
17:06:00
echo $REGISTRY_PASSWORD | crane auth login $REGISTRY -u $REGISTRY_USER --password-stdin
216
17:06:00
fi
217
17:06:00
section_end:1777827959:section_script_step_12
218
17:06:00
2026/05/03 17:05:59 logged in via /root/.docker/config.json
219
17:06:00
section_start:1777827959:section_script_step_13[hide_duration=true,collapsed=true]
$ if [ "${FORCE_BUILD}" != "true" ] && remote_image_exists "$final_image_url"; then
220
17:06:00
echo "Image already exists, skip the build."
221
17:06:00
echo "$final_image_url"
222
17:06:00
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
223
17:06:00
_EXT=""
224
17:06:00
_BACKUP_EXT="-CI${CI_JOB_ID}-$(date '+%Y%m%d')"
225
17:06:00
elif [[ -n "$CI_MERGE_REQUEST_ID" ]]; then
226
17:06:00
_EXT="-MR${CI_MERGE_REQUEST_IID}"
227
17:06:00
_BACKUP_EXT=""
228
17:06:00
elif [[ "$CI_COMMIT_REF_PROTECTED" == "true" ]]; then
229
17:06:00
_EXT="-${CI_COMMIT_REF_SLUG}"
230
17:06:00
_BACKUP_EXT="-CI${CI_JOB_ID}-$(date '+%Y%m%d')"
231
17:06:00
fi
232
17:06:00
for _TAG in $CONTAINER_IMAGE_TAG; do
233
17:06:00
echo "Copying ${final_image_url} to ${final_image_name}:${_TAG}${_EXT}"
234
17:06:00
copy_image "${final_image_url}" "${final_image_name}:${_TAG}${_EXT}" "${_BACKUP_EXT}"
235
17:06:00
done
236
17:06:00
if [ "${PIPELINE_IMAGE_REFS}" == "1" ]; then
237
17:06:00
_EXT="-P${CI_PROJECT_ID}-${CI_PIPELINE_ID}"
238
17:06:00
echo "Copying ${final_image_url} to ${final_image_url}${_EXT}"
239
17:06:00
copy_image "${final_image_url}" "${final_image_url}${_EXT}"
240
17:06:00
for _TAG in $CONTAINER_IMAGE_TAG; do
241
17:06:00
echo "Copying ${final_image_url} to ${final_image_name}:${_TAG}${_EXT}"
242
17:06:00
copy_image "${final_image_url}" "${final_image_name}:${_TAG}${_EXT}"
243
17:06:00
done
244
17:06:00
fi
245
17:06:00
exit 0
246
17:06:00
fi
247
17:06:00
section_end:1777827959:section_script_step_13
248
17:06:00
section_start:1777827960:section_script_step_14[hide_duration=true,collapsed=true]
$ if [ -n "${CONTAINER_BUILD_ARGS}" ]; then
249
17:06:00
for _BUILD_ARG in $CONTAINER_BUILD_ARGS; do
250
17:06:00
FINAL_BUILD_ARGS="--build-arg $_BUILD_ARG $FINAL_BUILD_ARGS"
251
17:06:00
done
252
17:06:00
fi
253
17:06:00
section_end:1777827960:section_script_step_14
254
17:06:00
$ docker pull "$final_image_url" || true
255
17:06:00
Error response from daemon: failed to resolve reference "registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03": registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03: not found
256
17:06:00
$ docker pull "${final_image_name}:$CONTAINER_IMAGE_TAG" || true
257
17:06:00
latest: Pulling from internal/gitlab-templates
258
17:06:01
89732bc75041: Pulling fs layer
259
17:06:01
bf4a0babba5b: Pulling fs layer
260
17:06:01
7d24df9b6e72: Pulling fs layer
261
17:06:01
892dd596fd61: Pulling fs layer
262
17:06:01
5a90e78f64c8: Pulling fs layer
263
17:06:01
063d1e58f288: Pulling fs layer
264
17:06:02
bf4a0babba5b: Download complete
265
17:06:02
89732bc75041: Download complete
266
17:06:02
063d1e58f288: Download complete
267
17:06:02
7d24df9b6e72: Download complete
268
17:06:02
892dd596fd61: Download complete
269
17:06:02
063d1e58f288: Pull complete
270
17:06:02
5a90e78f64c8: Download complete
271
17:06:03
5a90e78f64c8: Pull complete
272
17:06:03
7d24df9b6e72: Pull complete
273
17:06:04
bf4a0babba5b: Pull complete
274
17:06:04
89732bc75041: Pull complete
275
17:06:04
892dd596fd61: Pull complete
276
17:06:04
Digest: sha256:c8442aafbccac42d753407b25d21fec2b372e9b4e8acf9c3ba2a58d28111571b
277
17:06:04
Status: Downloaded newer image for registry.scandit.com/internal/gitlab-templates:latest
278
17:06:04
registry.scandit.com/internal/gitlab-templates:latest
279
17:06:04
$ docker build --cache-from "$final_image_url" --cache-from "${final_image_name}:$CONTAINER_IMAGE_TAG" --secret id=netrc,src=/root/.netrc --secret id=ci_job_token,env=CI_JOB_TOKEN --tag "$final_image_url" -f $CONTAINER_DOCKERFILE $FINAL_BUILD_ARGS "${CONTAINER_CONTEXT_PATH}"
280
17:06:04
#0 building with "default" instance using docker driver
281
17:06:04
282
17:06:04
#1 [internal] load build definition from Dockerfile.python-3
283
17:06:04
#1 transferring dockerfile:
284
17:06:05
#1 transferring dockerfile: 1.13kB done
285
17:06:05
#1 DONE 0.3s
286
17:06:05
287
17:06:05
#2 [internal] load metadata for docker.io/library/python:3.12-bookworm
288
17:06:05
#2 ...
289
17:06:05
290
17:06:05
#3 [auth] library/python:pull token for registry-1.docker.io
291
17:06:05
#3 DONE 0.0s
292
17:06:05
293
17:06:05
#2 [internal] load metadata for docker.io/library/python:3.12-bookworm
294
17:06:08
#2 DONE 3.8s
295
17:06:09
296
17:06:09
#4 [internal] load .dockerignore
297
17:06:09
#4 transferring context: 2B done
298
17:06:09
#4 DONE 0.1s
299
17:06:09
300
17:06:09
#5 [internal] load build context
301
17:06:09
#5 DONE 0.0s
302
17:06:09
303
17:06:09
#6 [auth] internal/gitlab-templates:pull token for registry.scandit.com
304
17:06:09
#6 DONE 0.0s
305
17:06:09
306
17:06:09
#7 [stage-0 1/10] FROM docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1
307
17:06:09
#7 resolve docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1 0.1s done
308
17:06:09
#7 DONE 0.1s
309
17:06:09
310
17:06:09
#8 importing cache manifest from registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03
311
17:06:09
#8 ERROR: failed to configure registry cache importer: registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03: not found
312
17:06:09
313
17:06:09
#9 importing cache manifest from registry.scandit.com/internal/gitlab-templates:latest
314
17:06:09
#9 inferred cache manifest type: application/vnd.oci.image.manifest.v1+json done
315
17:06:09
#9 DONE 0.2s
316
17:06:09
317
17:06:09
#5 [internal] load build context
318
17:06:09
#5 transferring context: 282B done
319
17:06:09
#5 DONE 0.2s
320
17:06:09
321
17:06:09
#7 [stage-0 1/10] FROM docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1
322
17:06:09
#7 DONE 0.8s
323
17:06:10
324
17:06:10
#7 [stage-0 1/10] FROM docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1
325
17:06:10
#7 sha256:6ada59ee1c4457a2478c31272454fb7a47283d9c90904ea2e9479488c4948f68 0B / 248B 0.2s
326
17:06:10
#7 sha256:7e2b65e636fe1d2e8e87a94742e1f5a0f1174af50bc1930967df2d8f9d6e311a 0B / 25.70MB 0.2s
327
17:06:10
#7 sha256:dfc792c67fd1c4f6f03f68173f31ce330935554f04aab717b390b7398f83e6c8 0B / 6.16MB 0.2s
328
17:06:10
#7 sha256:6ada59ee1c4457a2478c31272454fb7a47283d9c90904ea2e9479488c4948f68 248B / 248B 0.3s
329
17:06:10
#7 sha256:7e2b65e636fe1d2e8e87a94742e1f5a0f1174af50bc1930967df2d8f9d6e311a 7.34MB / 25.70MB 0.3s
330
17:06:10
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 0B / 211.55MB 0.2s
331
17:06:10
#7 sha256:6ada59ee1c4457a2478c31272454fb7a47283d9c90904ea2e9479488c4948f68 248B / 248B 0.4s done
332
17:06:10
#7 sha256:7e2b65e636fe1d2e8e87a94742e1f5a0f1174af50bc1930967df2d8f9d6e311a 22.02MB / 25.70MB 0.5s
333
17:06:10
#7 sha256:dfc792c67fd1c4f6f03f68173f31ce330935554f04aab717b390b7398f83e6c8 6.16MB / 6.16MB 0.5s
334
17:06:10
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 19.92MB / 211.55MB 0.5s
335
17:06:10
#7 sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa 0B / 64.40MB 0.2s
336
17:06:10
#7 sha256:7e2b65e636fe1d2e8e87a94742e1f5a0f1174af50bc1930967df2d8f9d6e311a 25.70MB / 25.70MB 0.6s
337
17:06:10
#7 sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa 7.34MB / 64.40MB 0.3s
338
17:06:10
#7 sha256:7e2b65e636fe1d2e8e87a94742e1f5a0f1174af50bc1930967df2d8f9d6e311a 25.70MB / 25.70MB 0.7s done
339
17:06:10
#7 sha256:dfc792c67fd1c4f6f03f68173f31ce330935554f04aab717b390b7398f83e6c8 6.16MB / 6.16MB 0.6s done
340
17:06:10
#7 sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa 27.26MB / 64.40MB 0.5s
341
17:06:11
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 50.33MB / 211.55MB 0.8s
342
17:06:11
#7 sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa 37.75MB / 64.40MB 0.6s
343
17:06:11
#7 sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00 0B / 48.49MB 0.2s
344
17:06:11
#7 sha256:e5203b2bfeff92b72e816dc6cbb1f16856f0cd592e521e3c0cfa195a78fe180e 0B / 24.04MB 0.2s
345
17:06:11
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 73.40MB / 211.55MB 0.9s
346
17:06:11
#7 sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa 45.09MB / 64.40MB 0.8s
347
17:06:11
#7 sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00 20.97MB / 48.49MB 0.3s
348
17:06:11
#7 sha256:e5203b2bfeff92b72e816dc6cbb1f16856f0cd592e521e3c0cfa195a78fe180e 11.53MB / 24.04MB 0.3s
349
17:06:11
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 95.42MB / 211.55MB 1.1s
350
17:06:11
#7 sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa 55.57MB / 64.40MB 0.9s
351
17:06:11
#7 sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00 32.51MB / 48.49MB 0.5s
352
17:06:11
#7 sha256:e5203b2bfeff92b72e816dc6cbb1f16856f0cd592e521e3c0cfa195a78fe180e 24.04MB / 24.04MB 0.5s
353
17:06:11
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 116.23MB / 211.55MB 1.2s
354
17:06:11
#7 sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa 64.40MB / 64.40MB 1.1s
355
17:06:11
#7 sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00 44.04MB / 48.49MB 0.6s
356
17:06:11
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 136.31MB / 211.55MB 1.4s
357
17:06:11
#7 sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00 48.49MB / 48.49MB 0.8s
358
17:06:11
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 158.33MB / 211.55MB 1.5s
359
17:06:12
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 180.20MB / 211.55MB 1.7s
360
17:06:12
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 202.38MB / 211.55MB 1.8s
361
17:06:13
#7 sha256:e5203b2bfeff92b72e816dc6cbb1f16856f0cd592e521e3c0cfa195a78fe180e 24.04MB / 24.04MB 2.5s done
362
17:06:13
#7 sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa 64.40MB / 64.40MB 3.0s done
363
17:06:13
#7 sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00 48.49MB / 48.49MB 2.9s done
364
17:06:13
#7 sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 211.55MB / 211.55MB 3.7s done
365
17:06:13
#7 extracting sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00
366
17:06:17
#7 extracting sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00 3.4s done
367
17:06:17
#7 DONE 8.2s
368
17:06:17
369
17:06:17
#7 [stage-0 1/10] FROM docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1
370
17:06:17
#7 extracting sha256:e5203b2bfeff92b72e816dc6cbb1f16856f0cd592e521e3c0cfa195a78fe180e
371
17:06:19
#7 extracting sha256:e5203b2bfeff92b72e816dc6cbb1f16856f0cd592e521e3c0cfa195a78fe180e 1.7s done
372
17:06:19
#7 DONE 9.9s
373
17:06:19
374
17:06:19
#7 [stage-0 1/10] FROM docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1
375
17:06:19
#7 extracting sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa
376
17:06:23
#7 extracting sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa 4.2s done
377
17:06:23
#7 DONE 14.2s
378
17:06:23
379
17:06:23
#7 [stage-0 1/10] FROM docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1
380
17:06:23
#7 extracting sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9
381
17:06:34
#7 extracting sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9 11.0s done
382
17:06:34
#7 DONE 25.2s
383
17:06:34
384
17:06:34
#7 [stage-0 1/10] FROM docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1
385
17:06:34
#7 extracting sha256:dfc792c67fd1c4f6f03f68173f31ce330935554f04aab717b390b7398f83e6c8
386
17:06:34
#7 extracting sha256:dfc792c67fd1c4f6f03f68173f31ce330935554f04aab717b390b7398f83e6c8 0.6s done
387
17:06:34
#7 DONE 25.8s
388
17:06:35
389
17:06:35
#7 [stage-0 1/10] FROM docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1
390
17:06:35
#7 extracting sha256:7e2b65e636fe1d2e8e87a94742e1f5a0f1174af50bc1930967df2d8f9d6e311a
391
17:06:36
#7 extracting sha256:7e2b65e636fe1d2e8e87a94742e1f5a0f1174af50bc1930967df2d8f9d6e311a 1.5s done
392
17:06:36
#7 DONE 27.2s
393
17:06:36
394
17:06:36
#7 [stage-0 1/10] FROM docker.io/library/python:3.12-bookworm@sha256:49de7aa80568e7a112035322a6a961cd55774862b35198886f7508223abf6ca1
395
17:06:36
#7 extracting sha256:6ada59ee1c4457a2478c31272454fb7a47283d9c90904ea2e9479488c4948f68 0.1s done
396
17:06:36
#7 DONE 27.3s
397
17:06:36
398
17:06:36
#10 [stage-0 2/10] RUN git clone https://github.com/pyenv/pyenv.git /root/.pyenv
399
17:06:36
#10 0.369 Cloning into '/root/.pyenv'...
400
17:06:40
#10 DONE 4.1s
401
17:06:40
402
17:06:40
#11 [stage-0 3/10] RUN cd /root/.pyenv && git checkout v2.3.36
403
17:06:41
#11 0.512 Note: switching to 'v2.3.36'.
404
17:06:41
#11 0.512
405
17:06:41
#11 0.512 You are in 'detached HEAD' state. You can look around, make experimental
406
17:06:41
#11 0.512 changes and commit them, and you can discard any commits you make in this
407
17:06:41
#11 0.512 state without impacting any branches by switching back to a branch.
408
17:06:41
#11 0.512
409
17:06:41
#11 0.512 If you want to create a new branch to retain commits you create, you may
410
17:06:41
#11 0.512 do so (now or later) by using -c with the switch command. Example:
411
17:06:41
#11 0.512
412
17:06:41
#11 0.512 git switch -c <new-branch-name>
413
17:06:41
#11 0.512
414
17:06:41
#11 0.512 Or undo this operation with:
415
17:06:41
#11 0.512
416
17:06:41
#11 0.512 git switch -
417
17:06:41
#11 0.512
418
17:06:41
#11 0.512 Turn off this advice by setting config variable advice.detachedHead to false
419
17:06:41
#11 0.512
420
17:06:41
#11 0.512 HEAD is now at 5e4879a2 v2.3.36
421
17:06:41
#11 DONE 0.6s
422
17:06:41
423
17:06:41
#12 [stage-0 4/10] COPY /.python-version .python-version
424
17:06:41
#12 DONE 0.2s
425
17:06:41
426
17:06:41
#13 [stage-0 5/10] RUN eval "$(/root/.pyenv/bin/pyenv init --path)" && pyenv install $(cat .python-version) -s && pyenv global $(cat .python-version)
427
17:06:41
#13 0.670 Downloading Python-3.12.2.tar.xz...
428
17:06:41
#13 0.670 -> https://www.python.org/ftp/python/3.12.2/Python-3.12.2.tar.xz
429
17:06:43
#13 2.564 Installing Python-3.12.2...
430
17:07:51
#13 70.43 Installed Python-3.12.2 to /root/.pyenv/versions/3.12.2
431
17:07:57
#13 DONE 76.2s
432
17:07:57
433
17:07:57
#14 [stage-0 6/10] RUN echo 'eval "$(/root/.pyenv/bin/pyenv init --path)"' >> /root/.profile
434
17:07:58
#14 DONE 0.8s
435
17:07:58
436
17:07:58
#15 [stage-0 7/10] RUN pyenv version | grep $(cat .python-version)
437
17:07:58
#15 0.480 3.12.2 (set by //.python-version)
438
17:07:58
#15 DONE 0.6s
439
17:07:58
440
17:07:58
#16 [stage-0 8/10] RUN python3 -m pip install --upgrade pip wheel
441
17:07:59
#16 0.969 Requirement already satisfied: pip in /root/.pyenv/versions/3.12.2/lib/python3.12/site-packages (24.0)
442
17:07:59
#16 1.194 Collecting pip
443
17:08:00
#16 1.294 Downloading pip-26.1-py3-none-any.whl.metadata (4.6 kB)
444
17:08:00
#16 1.498 Collecting wheel
445
17:08:00
#16 1.512 Downloading wheel-0.47.0-py3-none-any.whl.metadata (2.3 kB)
446
17:08:00
#16 1.618 Collecting packaging>=24.0 (from wheel)
447
17:08:00
#16 1.639 Downloading packaging-26.2-py3-none-any.whl.metadata (3.5 kB)
448
17:08:00
#16 1.711 Downloading pip-26.1-py3-none-any.whl (1.8 MB)
449
17:08:00
#16 1.827 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 16.4 MB/s eta 0:00:00
450
17:08:00
#16 1.843 Downloading wheel-0.47.0-py3-none-any.whl (32 kB)
451
17:08:00
#16 1.879 Downloading packaging-26.2-py3-none-any.whl (100 kB)
452
17:08:00
#16 1.907 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.2/100.2 kB 3.9 MB/s eta 0:00:00
453
17:08:00
#16 1.955 Installing collected packages: pip, packaging, wheel
454
17:08:00
#16 1.955 Attempting uninstall: pip
455
17:08:00
#16 1.958 Found existing installation: pip 24.0
456
17:08:00
#16 2.024 Uninstalling pip-24.0:
457
17:08:01
#16 2.287 Successfully uninstalled pip-24.0
458
17:08:02
#16 3.713 Successfully installed packaging-26.2 pip-26.1 wheel-0.47.0
459
17:08:02
#16 3.713 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
460
17:08:02
#16 DONE 4.0s
461
17:08:02
462
17:08:02
#17 [stage-0 9/10] COPY /requirements.txt requirements.txt
463
17:08:02
#17 DONE 0.2s
464
17:08:03
465
17:08:03
#18 [stage-0 10/10] RUN --mount=type=secret,id=netrc,target=/root/.netrc python3 -m pip install -r requirements.txt
466
17:08:03
#18 0.874 Looking in indexes: https://gitlab.scandit.com/api/v4/projects/621/packages/pypi/simple
467
17:08:04
#18 1.214 Collecting pytest==9.0.3 (from -r requirements.txt (line 3))
468
17:08:04
#18 1.326 Downloading pytest-9.0.3-py3-none-any.whl.metadata (7.6 kB)
469
17:08:04
#18 1.472 Collecting pytest-cov==7.1.0 (from -r requirements.txt (line 4))
470
17:08:04
#18 1.490 Downloading pytest_cov-7.1.0-py3-none-any.whl.metadata (32 kB)
471
17:08:04
#18 1.652 Collecting iniconfig>=1.0.1 (from pytest==9.0.3->-r requirements.txt (line 3))
472
17:08:04
#18 1.668 Downloading iniconfig-2.3.0-py3-none-any.whl.metadata (2.5 kB)
473
17:08:04
#18 1.691 Requirement already satisfied: packaging>=22 in ./root/.pyenv/versions/3.12.2/lib/python3.12/site-packages (from pytest==9.0.3->-r requirements.txt (line 3)) (26.2)
474
17:08:04
#18 1.801 Collecting pluggy<2,>=1.5 (from pytest==9.0.3->-r requirements.txt (line 3))
475
17:08:04
#18 1.816 Downloading pluggy-1.6.0-py3-none-any.whl.metadata (4.8 kB)
476
17:08:04
#18 1.975 Collecting pygments>=2.7.2 (from pytest==9.0.3->-r requirements.txt (line 3))
477
17:08:05
#18 1.991 Downloading pygments-2.20.0-py3-none-any.whl.metadata (2.5 kB)
478
17:08:05
#18 2.641 Collecting coverage>=7.10.6 (from coverage[toml]>=7.10.6->pytest-cov==7.1.0->-r requirements.txt (line 4))
479
17:08:05
#18 2.656 Downloading coverage-7.13.5-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.metadata (8.5 kB)
480
17:08:05
#18 2.706 Downloading pytest-9.0.3-py3-none-any.whl (375 kB)
481
17:08:05
#18 2.789 Downloading pytest_cov-7.1.0-py3-none-any.whl (22 kB)
482
17:08:05
#18 2.824 Downloading pluggy-1.6.0-py3-none-any.whl (20 kB)
483
17:08:05
#18 2.862 Downloading coverage-7.13.5-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (254 kB)
484
17:08:05
#18 2.908 Downloading iniconfig-2.3.0-py3-none-any.whl (7.5 kB)
485
17:08:05
#18 2.945 Downloading pygments-2.20.0-py3-none-any.whl (1.2 MB)
486
17:08:05
#18 3.009 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 18.0 MB/s 0:00:00
487
17:08:06
#18 3.063 Installing collected packages: pygments, pluggy, iniconfig, coverage, pytest, pytest-cov
488
17:08:07
#18 4.492
489
17:08:07
#18 4.493 Successfully installed coverage-7.13.5 iniconfig-2.3.0 pluggy-1.6.0 pygments-2.20.0 pytest-9.0.3 pytest-cov-7.1.0
490
17:08:07
#18 4.494 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
491
17:08:11
#18 DONE 8.4s
492
17:08:11
493
17:08:11
#19 exporting to image
494
17:08:11
#19 exporting layers
495
17:08:30
#19 exporting layers 19.1s done
496
17:08:30
#19 exporting manifest sha256:ccc04467cccd9b7eb396a4a316608b1d1820dbe40cb3447acb0f9a49f591a71b 0.0s done
497
17:08:30
#19 exporting config sha256:0fb438c4b65db50a09c91d417c544bb9154a611ade7c6955165bca50212e3f67 0.0s done
498
17:08:30
#19 naming to registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03 done
499
17:08:30
#19 unpacking to registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03
500
17:08:42
#19 unpacking to registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03 11.7s done
501
17:08:42
#19 DONE 31.0s
502
17:08:42
------
503
17:08:42
> importing cache manifest from registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03:
504
17:08:42
------
505
17:08:42
506
17:08:42
2 warnings found (use docker --debug to expand):
507
17:08:42
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 6)
508
17:08:42
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 7)
509
17:08:42
$ docker push $final_image_url
510
17:08:42
The push refers to repository [registry.scandit.com/internal/gitlab-templates]
511
17:08:42
7e2b65e636fe: Waiting
512
17:08:42
6ada59ee1c44: Waiting
513
17:08:42
8fcda2b4d799: Waiting
514
17:08:42
3e05aa3a4208: Waiting
515
17:08:42
a113e5b7f096: Waiting
516
17:08:42
e5203b2bfeff: Waiting
517
17:08:42
2933ecab0f11: Waiting
518
17:08:42
0e2dd75a27b2: Waiting
519
17:08:42
b655d4d6fa2e: Waiting
520
17:08:42
dfc792c67fd1: Waiting
521
17:08:42
098eb2667d34: Waiting
522
17:08:42
7d6470120bdb: Waiting
523
17:08:42
db53381ee51f: Waiting
524
17:08:42
8a2a1e88db11: Waiting
525
17:08:42
4f4fb700ef54: Waiting
526
17:08:42
d700be839981: Waiting
527
17:08:42
8fcda2b4d799: Layer already exists
528
17:08:42
3e05aa3a4208: Waiting
529
17:08:42
a113e5b7f096: Waiting
530
17:08:42
e5203b2bfeff: Layer already exists
531
17:08:42
2933ecab0f11: Layer already exists
532
17:08:42
0e2dd75a27b2: Waiting
533
17:08:42
b655d4d6fa2e: Waiting
534
17:08:42
dfc792c67fd1: Layer already exists
535
17:08:42
098eb2667d34: Waiting
536
17:08:42
7d6470120bdb: Waiting
537
17:08:42
db53381ee51f: Layer already exists
538
17:08:42
8a2a1e88db11: Waiting
539
17:08:42
4f4fb700ef54: Layer already exists
540
17:08:42
d700be839981: Waiting
541
17:08:42
7e2b65e636fe: Layer already exists
542
17:08:42
6ada59ee1c44: Layer already exists
543
17:08:43
3e05aa3a4208: Pushed
544
17:08:43
098eb2667d34: Pushed
545
17:08:43
7d6470120bdb: Pushed
546
17:08:43
8a2a1e88db11: Pushed
547
17:08:43
b655d4d6fa2e: Pushed
548
17:08:43
d700be839981: Pushed
549
17:08:43
a113e5b7f096: Pushed
550
17:08:46
0e2dd75a27b2: Pushed
551
17:08:47
c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03: digest: sha256:ccc04467cccd9b7eb396a4a316608b1d1820dbe40cb3447acb0f9a49f591a71b size: 3458
552
17:08:47
section_start:1777828126:section_script_step_19[hide_duration=true,collapsed=true]
$ if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
553
17:08:47
_EXT=""
554
17:08:47
_BACKUP_EXT="-CI${CI_JOB_ID}-$(date '+%Y%m%d')"
555
17:08:47
elif [[ -n "$CI_MERGE_REQUEST_ID" ]]; then
556
17:08:47
_EXT="-MR${CI_MERGE_REQUEST_IID}"
557
17:08:47
_BACKUP_EXT=""
558
17:08:47
elif [[ "$CI_COMMIT_REF_PROTECTED" == "true" ]]; then
559
17:08:47
_EXT="-${CI_COMMIT_REF_SLUG}"
560
17:08:47
_BACKUP_EXT="-CI${CI_JOB_ID}-$(date '+%Y%m%d')"
561
17:08:47
fi
562
17:08:47
section_end:1777828126:section_script_step_19
563
17:08:47
section_start:1777828127:section_script_step_20[hide_duration=true,collapsed=true]
$ for _TAG in $CONTAINER_IMAGE_TAG; do
564
17:08:47
echo "Copying ${final_image_url} to ${final_image_name}:${_TAG}${_EXT}"
565
17:08:47
copy_image "${final_image_url}" "${final_image_name}:${_TAG}${_EXT}" "${_BACKUP_EXT}"
566
17:08:47
done
567
17:08:47
section_end:1777828127:section_script_step_20
568
17:08:47
Copying registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03 to registry.scandit.com/internal/gitlab-templates:latest
569
17:08:47
registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03
570
17:08:47
image outdated, overwriting with newest version
571
17:08:47
2026/05/03 17:08:47 Copying from registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03 to registry.scandit.com/internal/gitlab-templates:latest
572
17:08:47
2026/05/03 17:08:47 existing blob: sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9
573
17:08:47
2026/05/03 17:08:47 existing blob: sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa
574
17:08:47
2026/05/03 17:08:47 existing blob: sha256:e5203b2bfeff92b72e816dc6cbb1f16856f0cd592e521e3c0cfa195a78fe180e
575
17:08:47
2026/05/03 17:08:47 existing blob: sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00
576
17:08:47
2026/05/03 17:08:47 existing blob: sha256:dfc792c67fd1c4f6f03f68173f31ce330935554f04aab717b390b7398f83e6c8
577
17:08:47
2026/05/03 17:08:47 existing blob: sha256:7e2b65e636fe1d2e8e87a94742e1f5a0f1174af50bc1930967df2d8f9d6e311a
578
17:08:47
2026/05/03 17:08:47 existing blob: sha256:6ada59ee1c4457a2478c31272454fb7a47283d9c90904ea2e9479488c4948f68
579
17:08:47
2026/05/03 17:08:47 existing blob: sha256:d700be839981db51fc0decdb7a8040a0a53649a645004107591ad41460727bb4
580
17:08:47
2026/05/03 17:08:47 existing blob: sha256:7d6470120bdb8176bd8997bc131d4a89dd4f1a844a51ad4e20fa5d11262920c2
581
17:08:47
2026/05/03 17:08:47 existing blob: sha256:8a2a1e88db113e233f74958575827cde20ff84879cfeae1f5b241be67f78df54
582
17:08:47
2026/05/03 17:08:47 existing blob: sha256:0e2dd75a27b20394e925228b958e930b51f67a405ecd11c0c75fa3646d24e139
583
17:08:47
2026/05/03 17:08:47 existing blob: sha256:3e05aa3a420827be632644e58cdba8a63d5fc042006187af4f5075388f7c1621
584
17:08:47
2026/05/03 17:08:47 existing blob: sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
585
17:08:47
2026/05/03 17:08:47 existing blob: sha256:b655d4d6fa2ea6cd527c8734bb15b57dce93a12c2b3cf09bd2c3181f0eed36bc
586
17:08:47
2026/05/03 17:08:47 existing blob: sha256:098eb2667d340322483e942425bf05b30965134313a42aabc9bf4ad717a5c8d3
587
17:08:47
2026/05/03 17:08:47 existing blob: sha256:a113e5b7f09693fb7b06fc493a7b25649fe4f0cbfd13ec436b2009a9245ff93b
588
17:08:47
2026/05/03 17:08:47 existing blob: sha256:0fb438c4b65db50a09c91d417c544bb9154a611ade7c6955165bca50212e3f67
589
17:08:47
2026/05/03 17:08:47 registry.scandit.com/internal/gitlab-templates:latest: digest: sha256:ccc04467cccd9b7eb396a4a316608b1d1820dbe40cb3447acb0f9a49f591a71b size: 3458
590
17:08:47
2026/05/03 17:08:47 Copying from registry.scandit.com/internal/gitlab-templates:c19231bcc0d10483901ec9a7fe08878e40ecaff1e3be41091b183ebbbfcbfa03 to registry.scandit.com/internal/gitlab-templates:latest-CI54273478-20260503
591
17:08:48
2026/05/03 17:08:47 existing blob: sha256:2933ecab0f11302fd71f29aa83ad2904683246f7a8320ad0dc3a60b23f05fee9
592
17:08:48
2026/05/03 17:08:47 existing blob: sha256:db53381ee51f9e43304e236099ba097ae1b33ae41a8007e0b6319992eb55fd00
593
17:08:48
2026/05/03 17:08:47 existing blob: sha256:e5203b2bfeff92b72e816dc6cbb1f16856f0cd592e521e3c0cfa195a78fe180e
594
17:08:48
2026/05/03 17:08:47 existing blob: sha256:8fcda2b4d7993820b00c5488d173051e76d01ba6b85620617ba77001b0f9e2fa
595
17:08:48
2026/05/03 17:08:47 existing blob: sha256:dfc792c67fd1c4f6f03f68173f31ce330935554f04aab717b390b7398f83e6c8
596
17:08:48
2026/05/03 17:08:47 existing blob: sha256:7e2b65e636fe1d2e8e87a94742e1f5a0f1174af50bc1930967df2d8f9d6e311a
597
17:08:48
2026/05/03 17:08:47 existing blob: sha256:d700be839981db51fc0decdb7a8040a0a53649a645004107591ad41460727bb4
598
17:08:48
2026/05/03 17:08:47 existing blob: sha256:6ada59ee1c4457a2478c31272454fb7a47283d9c90904ea2e9479488c4948f68
599
17:08:48
2026/05/03 17:08:48 existing blob: sha256:7d6470120bdb8176bd8997bc131d4a89dd4f1a844a51ad4e20fa5d11262920c2
600
17:08:48
2026/05/03 17:08:48 existing blob: sha256:8a2a1e88db113e233f74958575827cde20ff84879cfeae1f5b241be67f78df54
601
17:08:48
2026/05/03 17:08:48 existing blob: sha256:0e2dd75a27b20394e925228b958e930b51f67a405ecd11c0c75fa3646d24e139
602
17:08:48
2026/05/03 17:08:48 existing blob: sha256:3e05aa3a420827be632644e58cdba8a63d5fc042006187af4f5075388f7c1621
603
17:08:48
2026/05/03 17:08:48 existing blob: sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
604
17:08:48
2026/05/03 17:08:48 existing blob: sha256:b655d4d6fa2ea6cd527c8734bb15b57dce93a12c2b3cf09bd2c3181f0eed36bc
605
17:08:48
2026/05/03 17:08:48 existing blob: sha256:098eb2667d340322483e942425bf05b30965134313a42aabc9bf4ad717a5c8d3
606
17:08:48
2026/05/03 17:08:48 existing blob: sha256:a113e5b7f09693fb7b06fc493a7b25649fe4f0cbfd13ec436b2009a9245ff93b
607
17:08:48
2026/05/03 17:08:48 existing blob: sha256:0fb438c4b65db50a09c91d417c544bb9154a611ade7c6955165bca50212e3f67
608
17:08:48
2026/05/03 17:08:48 registry.scandit.com/internal/gitlab-templates:latest-CI54273478-20260503: digest: sha256:ccc04467cccd9b7eb396a4a316608b1d1820dbe40cb3447acb0f9a49f591a71b size: 3458
609
17:08:48
section_start:1777828128:section_script_step_21[hide_duration=true,collapsed=true]
$ if [ "${PIPELINE_IMAGE_REFS}" == "1" ]; then
610
17:08:48
_EXT="-P${CI_PROJECT_ID}-${CI_PIPELINE_ID}"
611
17:08:48
echo "Copying ${final_image_url} to ${final_image_url}${_EXT}"
612
17:08:48
copy_image "${final_image_url}" "${final_image_url}${_EXT}"
613
17:08:48
for _TAG in $CONTAINER_IMAGE_TAG; do
614
17:08:48
echo "Copying ${final_image_url} to ${final_image_name}:${_TAG}${_EXT}"
615
17:08:48
copy_image "${final_image_url}" "${final_image_name}:${_TAG}${_EXT}"
616
17:08:48
done
617
17:08:48
fi
618
17:08:48
section_end:1777828128:section_script_step_21
619
17:08:48
620
17:08:48
Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54273478
621
17:08:48
622
17:08:48
623
17:08:48
Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-host=ci7&var-namespace=gitlab-runner&var-pod=runner-jdudstmjt-project-621-concurrent-0-o4hq1b0i&var-resolution=15&from=000&to=000
624
17:08:48
Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-node=ci7&var-resolution=15s&from=000&to=000
625
17:08:48
Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=nVsAo7UVk&var-filters=log_group%7C=%7Cgitlab-runner&var-filters=source%7C%3D%7Czrh.int.scandit.io&var-filters=namespace%7C%3D%7Cgitlab-runner&var-filters=CI_PROJECT_ID%7C%3D%7C621&var-filters=CI_PIPELINE_ID%7C%3D%7C1576293&var-filters=CI_JOB_ID%7C%3D%7C54273478&sortOrder=Ascending&from=000&to=000
626
17:08:48
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=1969-12-25~1970-01-08&job_name=build-python3-image-project-specific-dind&project=internal/gitlab-templates
627
17:08:48
628
17:08:48
629
17:08:48
section_end:1777828128:step_script
630
17:08:48
+section_start:1777828128:upload_artifacts_on_success
631
17:08:48
+Uploading artifacts for successful job
632
17:08:48
Uploading artifacts...
633
17:08:48
docker_image_build.env: found 1 matching artifact files and directories
634
17:08:49
Uploading artifacts as "dotenv" to coordinator... 201 Created correlation_id=01KQQD0SYE88KADH849GZTNJ9D id=54273478 responseStatus=201 Created token=64_zFyGMK
635
17:08:49
636
17:08:49
section_end:1777828129:upload_artifacts_on_success
637
17:08:49
+section_start:1777828129:cleanup_file_variables
638
17:08:49
+Cleaning up project directory and file based variables
639
17:08:49
Removing context/
640
17:08:49
Removing docker_image_build.env
641
17:08:49
HEAD is now at 3284003 Merge branch 'renovate/docker-digests' into 'master'
642
17:08:49
643
17:08:49
section_end:1777828129:cleanup_file_variables
644
17:08:49
+
645
17:08:49
Job succeeded
646