build-python3-image: [3.12, BASE_IMAGE_TAG=3.12-bookworm, Dockerfile.python-3] β success
β±
Duration: 3m 39s
β³
Queued: 2s
π
Stage: docker-image
π₯
Runner: linux-aws-1
Average Duration
30s
This job: 3m 39s
Failure Rate
0.7%
last 30 days
βΆ
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
543 lines
Match - of 0
1
11:09:34
Running with gitlab-runner 18.9.0 (07e534ba)
2
11:09:34
on gitlab-runner-linux-1-746bdd58fd-tczzm wRxjPbsJX, system ID: r_DBMrRrXxkY91
3
11:09:34
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_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
11:09:34
Resolving secrets
5
11:09:34
section_start:1778065774:prepare_executor
6
11:09:34
+Preparing the "kubernetes" executor
7
11:09:34
"CPURequest" overwritten with "2"
8
11:09:34
"MemoryRequest" overwritten with "4G"
9
11:09:34
Using Kubernetes namespace: gitlab-runner
10
11:09:34
Using Kubernetes executor with image registry.scandit.com/dockerfiles/kaniko:v1.27.3-crane@sha256:72bdc063db14f38a45910d33ccf066ecb088d4833fb2437fef336e49b81fd4ac ...
11
11:09:34
Using attach strategy to execute scripts...
12
11:09:34
Using effective pull policy of [Always] for container build
13
11:09:34
Using effective pull policy of [Always] for container helper
14
11:09:34
Using effective pull policy of [Always] for container init-permissions
15
11:09:35
section_end:1778065775:prepare_executor
16
11:09:35
+section_start:1778065775:prepare_script
17
11:09:35
+Preparing environment
18
11:09:35
Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
19
11:09:35
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 ...
20
11:09:35
Subscribing to Kubernetes Pod events...
21
11:09:36
Type Reason Message
22
11:09:36
Normal Scheduled Successfully assigned gitlab-runner/runner-wrxjpbsjx-project-621-concurrent-0-c2wn6bvi to ip-10-0-28-187.eu-central-1.compute.internal
23
11:09:36
Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
24
11:09:36
Normal Created Created container: init-permissions
25
11:09:36
Normal Started Started container init-permissions
26
11:09:37
Normal Pulling Pulling image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/dockerfiles/kaniko@sha256:72bdc063db14f38a45910d33ccf066ecb088d4833fb2437fef336e49b81fd4ac"
27
11:09:37
Normal Pulled Successfully pulled image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/dockerfiles/kaniko@sha256:72bdc063db14f38a45910d33ccf066ecb088d4833fb2437fef336e49b81fd4ac" in 582ms (582ms including waiting). Image size: 49989654 bytes.
28
11:09:37
Normal Created Created container: build
29
11:09:38
Normal Started Started container build
30
11:09:38
Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
31
11:09:38
Normal Created Created container: helper
32
11:09:38
Normal Started Started container helper
33
11:09:39
Running on runner-wrxjpbsjx-project-621-concurrent-0-c2wn6bvi via gitlab-runner-linux-1-746bdd58fd-tczzm...
34
11:09:39
35
11:09:39
section_end:1778065779:prepare_script
36
11:09:39
+section_start:1778065779:get_sources
37
11:09:39
+Getting source from Git repository
38
11:09:39
Gitaly correlation ID: 01KQYFN62B1YTFJ08TYTQ4S56C
39
11:09:39
Fetching changes with git depth set to 1...
40
11:09:39
Initialized empty Git repository in /build/internal/gitlab-templates/.git/
41
11:09:39
Created fresh repository.
42
11:09:40
Checking out 19a8ce14 as detached HEAD (ref is master)...
43
11:09:40
44
11:09:40
Skipping Git submodules setup
45
11:09:40
46
11:09:40
section_end:1778065780:get_sources
47
11:09:40
+section_start:1778065780:step_script
48
11:09:40
+Executing "step_script" stage of the job script
49
11:09:40
section_start:1778065780:section_pre_build_script_0[hide_duration=true,collapsed=true]
$ function cleanup {
50
11:09:40
rv=$?
51
11:09:40
if [ $rv -ne 0 ]; then
52
11:09:40
echo ""
53
11:09:40
echo " Failure Cause Analysis might help, please open this link:"
54
11:09:40
echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
55
11:09:40
echo ""
56
11:09:40
fi
57
11:09:40
echo ""
58
11:09:40
echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
59
11:09:40
echo ""
60
11:09:40
echo ""
61
11:09:40
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"
62
11:09:40
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"
63
11:09:40
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|=|gitlab-runner&var-filters=source|=|${LOKI_LOGSOURCE}&var-filters=namespace|=|${SC_K8S_NAMESPACE}&var-filters=CI_PROJECT_ID|=|${CI_PROJECT_ID}&var-filters=CI_PIPELINE_ID|=|${CI_PIPELINE_ID}&var-filters=CI_JOB_ID|=|${CI_JOB_ID}&sortOrder=Ascending&from=${__start_time}000&to=${EPOCHSECONDS}000"
64
11:09:40
echo "Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=$(date -d '-7 days' +%Y-%m-%d)~$(date -d '+7 days' +%Y-%m-%d)&job_name=${CI_JOB_NAME}&project=${CI_PROJECT_PATH}"
65
11:09:40
echo ""
66
11:09:40
exit $rv
67
11:09:40
}
68
11:09:40
trap cleanup EXIT
69
11:09:40
echo "INFO: This is the CI job pre_build_script"
70
11:09:40
echo "INFO: It's defined in the backend/infra/aws repo."
71
11:09:40
echo "INFO: These additional Scandit variables are available to you:"
72
11:09:40
echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
73
11:09:40
echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
74
11:09:40
echo " SC_K8S_KYVERNO_PATCHES: |"
75
11:09:40
echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
76
11:09:40
echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
77
11:09:40
if command -v numfmt >/dev/null 2>&1; then
78
11:09:40
echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
79
11:09:40
else
80
11:09:40
echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
81
11:09:40
fi
82
11:09:40
__start_time=${EPOCHSECONDS}
83
11:09:40
echo ""
84
11:09:40
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"
85
11:09:40
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"
86
11:09:40
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|=|gitlab-runner&var-filters=source|=|${LOKI_LOGSOURCE}&var-filters=namespace|=|${SC_K8S_NAMESPACE}&var-filters=CI_PROJECT_ID|=|${CI_PROJECT_ID}&var-filters=CI_PIPELINE_ID|=|${CI_PIPELINE_ID}&var-filters=CI_JOB_ID|=|${CI_JOB_ID}&sortOrder=Ascending&from=${__start_time}000&to=now"
87
11:09:40
echo "Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=$(date -d '-7 days' +%Y-%m-%d)~$(date -d '+7 days' +%Y-%m-%d)&job_name=${CI_JOB_NAME}&project=${CI_PROJECT_PATH}"
88
11:09:40
echo ""
89
11:09:40
echo "Setting up credentials for Gitlab Python registries"
90
11:09:40
mkdir -p ~
91
11:09:40
echo "machine gitlab.scandit.com" > ~/.netrc
92
11:09:40
echo "login gitlab-ci-token" >> ~/.netrc
93
11:09:40
echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
94
11:09:40
chmod 600 ~/.netrc
95
11:09:40
if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
96
11:09:40
git config --global --add safe.directory $CI_PROJECT_DIR
97
11:09:40
fi
98
11:09:40
# Sonarqube server is running on the same cluster. Use internal address
99
11:09:40
export SONAR_HOST_URL="http://sonarqube.sonarqube.svc.cluster.local:9000"
100
11:09:40
section_end:1778065780:section_pre_build_script_0
101
11:09:40
INFO: This is the CI job pre_build_script
102
11:09:40
INFO: It's defined in the backend/infra/aws repo.
103
11:09:40
INFO: These additional Scandit variables are available to you:
104
11:09:40
SC_K8S_NODE_NAME: ip-10-0-28-187.eu-central-1.compute.internal
105
11:09:40
SC_K8S_IMAGE_ID:
106
11:09:40
SC_K8S_KYVERNO_PATCHES: |
107
11:09:40
108
11:09:40
cpu (r/l): 2/4
109
11:09:40
memory (r/l): 4000000000/17179869184
110
11:09:40
111
11:09:40
Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=lu1rmx27z&var-host=ip-10-0-28-187.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-0-c2wn6bvi&var-resolution=15&from=1778065780000&to=now
112
11:09:40
Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=lu1rmx27z&var-node=ip-10-0-28-187.eu-central-1.compute.internal&var-resolution=15s&from=1778065780000&to=now
113
11:09:40
Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=nVsAo7UVk&var-filters=log_group|=|gitlab-runner&var-filters=source|=|k8s-ci.aws.scandit.io&var-filters=namespace|=|gitlab-runner&var-filters=CI_PROJECT_ID|=|621&var-filters=CI_PIPELINE_ID|=|1581320&var-filters=CI_JOB_ID|=|54484695&sortOrder=Ascending&from=1778065780000&to=now
114
11:09:40
date: invalid date '-7 days'
115
11:09:40
date: invalid date '+7 days'
116
11:09:40
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=~&job_name=build-python3-image: [3.12, BASE_IMAGE_TAG=3.12-bookworm, Dockerfile.python-3]&project=internal/gitlab-templates
117
11:09:40
118
11:09:40
Setting up credentials for Gitlab Python registries
119
11:09:40
$ echo $DOCKER_CONFIG_JSON > /kaniko/.docker/config.json
120
11:09:40
$ mv /root/.netrc /kaniko/.netrc
121
11:09:40
section_start:1778065780:section_script_step_2[hide_duration=true,collapsed=true]
$ function copy_files() {
122
11:09:40
local src="$1"
123
11:09:40
local trg="$2"
124
11:09:40
for f in $src; do
125
11:09:40
t="$trg/`dirname $f`"
126
11:09:40
mkdir -p $t || true
127
11:09:40
echo "Copy $f"
128
11:09:40
cp -pr $f $trg/$f
129
11:09:40
done
130
11:09:40
}
131
11:09:40
function recursive_hash() {
132
11:09:40
local dir="$1"
133
11:09:40
find "$dir" -exec stat -c '%F|%a|%u:%g|%n' {} + -type f -exec sha256sum {} + | sort | sha256sum | cut -d ' ' -f1
134
11:09:40
}
135
11:09:40
function remote_docker_digest() {
136
11:09:40
local images="$1"
137
11:09:40
echo $images | xargs -n 1 crane digest
138
11:09:40
}
139
11:09:40
function remote_image_exists() {
140
11:09:40
local image="$1"
141
11:09:40
crane manifest $image > /dev/null 2>&1
142
11:09:40
}
143
11:09:40
function remote_images_are_identical() {
144
11:09:40
local imageA="$1"
145
11:09:40
local imageB="$2"
146
11:09:40
if [[ $(remote_docker_digest "$imageA") == $(remote_docker_digest "$imageB") ]]; then
147
11:09:40
return 0
148
11:09:40
else
149
11:09:40
return 1
150
11:09:40
fi
151
11:09:40
}
152
11:09:40
function copy_image() {
153
11:09:40
local image="$1"
154
11:09:40
local remotes="$2"
155
11:09:40
local backup_ext="$3"
156
11:09:40
echo "$image"
157
11:09:40
local source_digest=$(remote_docker_digest $image)
158
11:09:40
local target_digest
159
11:09:40
for registry in $remotes; do
160
11:09:40
if target_digest=$(remote_docker_digest $registry); then
161
11:09:40
if [ "$target_digest" != "$source_digest" ]; then
162
11:09:40
echo "image outdated, overwriting with newest version"
163
11:09:40
crane copy $image $registry
164
11:09:40
crane copy $image ${registry}${backup_ext}
165
11:09:40
fi
166
11:09:40
else
167
11:09:40
echo "image does not exist, writing newest version"
168
11:09:40
crane copy $image $registry
169
11:09:40
crane copy $image ${registry}${backup_ext}
170
11:09:40
fi
171
11:09:40
done
172
11:09:40
}
173
11:09:40
section_end:1778065780:section_script_step_2
174
11:09:40
section_start:1778065780:section_script_step_3[hide_duration=true,collapsed=true]
$ if [ "$CONTAINER_SUBDIR" != "" ]; then
175
11:09:40
echo "Entering subpath $CONTAINER_SUBDIR"
176
11:09:40
cd $CONTAINER_SUBDIR
177
11:09:40
fi
178
11:09:40
section_end:1778065780:section_script_step_3
179
11:09:40
$ copy_files "$CONTAINER_IMPLICIT_REQUIREMENTS $CONTAINER_REQUIREMENTS" "$CONTAINER_CONTEXT_PATH"
180
11:09:40
Copy Dockerfile.python-3
181
11:09:40
Copy requirements.txt
182
11:09:40
Copy .python-version
183
11:09:40
Copy .pip-version
184
11:09:40
$ echo "$CONTAINER_BUILD_ENVIRONMENT" > $CONTAINER_CONTEXT_PATH/.docker-build-env
185
11:09:40
$ docker_checksum=$(recursive_hash $CONTAINER_CONTEXT_PATH)
186
11:09:40
section_start:1778065780:section_script_step_7[hide_duration=true,collapsed=true]
$ if [ "$CONTAINER_IMAGE_NAME" == "" ]; then
187
11:09:40
final_image_name=${CONTAINER_IMAGE_URL}
188
11:09:40
else
189
11:09:40
final_image_name=${CONTAINER_IMAGE_URL}/${CONTAINER_IMAGE_NAME}
190
11:09:40
fi
191
11:09:40
section_end:1778065780:section_script_step_7
192
11:09:40
$ final_image_url=${final_image_name}:${docker_checksum}
193
11:09:40
section_start:1778065780:section_script_step_9[hide_duration=true,collapsed=true]
$ if [ "${PIPELINE_IMAGE_REFS}" == "1" ]; then
194
11:09:40
echo $CONTAINER_IMAGE_VARIABLE=${final_image_url}-P${CI_PROJECT_ID}-${CI_PIPELINE_ID} > $CI_PROJECT_DIR/docker_image_build.env
195
11:09:40
else
196
11:09:40
echo $CONTAINER_IMAGE_VARIABLE=$final_image_url > $CI_PROJECT_DIR/docker_image_build.env
197
11:09:40
fi
198
11:09:40
section_end:1778065780:section_script_step_9
199
11:09:40
$ echo ${CONTAINER_IMAGE_VARIABLE}_HASH=$docker_checksum >> $CI_PROJECT_DIR/docker_image_build.env
200
11:09:40
section_start:1778065780:section_script_step_11[hide_duration=true,collapsed=true]
$ if [ "${FORCE_BUILD}" != "true" ] || command -v crane &> /dev/null; then
201
11:09:40
echo $REGISTRY_PASSWORD | crane auth login $REGISTRY -u $REGISTRY_USER --password-stdin
202
11:09:40
fi
203
11:09:40
section_end:1778065780:section_script_step_11
204
11:09:40
205
11:09:40
WARNING! Your credentials are stored unencrypted in '/kaniko/.docker/config.json'.
206
11:09:40
Configure a credential helper to remove this warning. See
207
11:09:40
https://docs.docker.com/go/credential-store/
208
11:09:40
209
11:09:40
2026/05/06 11:09:40 logged in via /kaniko/.docker/config.json
210
11:09:40
section_start:1778065780:section_script_step_12[hide_duration=true,collapsed=true]
$ if [ "${FORCE_BUILD}" != "true" ] && remote_image_exists "$final_image_url"; then
211
11:09:40
echo "Image already exists, skip the build."
212
11:09:40
echo "$final_image_url"
213
11:09:40
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
214
11:09:40
_EXT=""
215
11:09:40
_BACKUP_EXT="-CI${CI_JOB_ID}-$(date '+%Y%m%d')"
216
11:09:40
elif [[ -n "$CI_MERGE_REQUEST_ID" ]]; then
217
11:09:40
_EXT="-MR${CI_MERGE_REQUEST_IID}"
218
11:09:40
_BACKUP_EXT=""
219
11:09:40
elif [[ "$CI_COMMIT_REF_PROTECTED" == "true" ]]; then
220
11:09:40
_EXT="-${CI_COMMIT_REF_SLUG}"
221
11:09:40
_BACKUP_EXT="-CI${CI_JOB_ID}-$(date '+%Y%m%d')"
222
11:09:40
fi
223
11:09:40
for _TAG in $CONTAINER_IMAGE_TAG; do
224
11:09:40
echo "Copying ${final_image_url} to ${final_image_name}:${_TAG}${_EXT}"
225
11:09:40
copy_image "${final_image_url}" "${final_image_name}:${_TAG}${_EXT}" "${_BACKUP_EXT}"
226
11:09:40
done
227
11:09:40
if [ "${PIPELINE_IMAGE_REFS}" == "1" ]; then
228
11:09:40
_EXT="-P${CI_PROJECT_ID}-${CI_PIPELINE_ID}"
229
11:09:40
echo "Copying ${final_image_url} to ${final_image_url}${_EXT}"
230
11:09:40
copy_image "${final_image_url}" "${final_image_url}${_EXT}"
231
11:09:40
for _TAG in $CONTAINER_IMAGE_TAG; do
232
11:09:40
echo "Copying ${final_image_url} to ${final_image_name}:${_TAG}${_EXT}"
233
11:09:40
copy_image "${final_image_url}" "${final_image_name}:${_TAG}${_EXT}"
234
11:09:40
done
235
11:09:40
fi
236
11:09:40
exit 0
237
11:09:40
fi
238
11:09:40
section_end:1778065780:section_script_step_12
239
11:09:50
$ DESTINATIONS="--destination=$final_image_url"
240
11:09:50
section_start:1778065790:section_script_step_14[hide_duration=true,collapsed=true]
$ if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
241
11:09:50
_EXT=""
242
11:09:50
TIMESTAMP_TAGS=$CONTAINER_IMAGE_TAG
243
11:09:50
elif [[ -n "$CI_MERGE_REQUEST_ID" ]]; then
244
11:09:50
_EXT="-MR${CI_MERGE_REQUEST_IID}"
245
11:09:50
TIMESTAMP_TAGS=""
246
11:09:50
elif [[ "$CI_COMMIT_REF_PROTECTED" == "true" ]]; then
247
11:09:50
_EXT="-${CI_COMMIT_REF_SLUG}"
248
11:09:50
TIMESTAMP_TAGS=$CONTAINER_IMAGE_TAG
249
11:09:50
fi
250
11:09:50
section_end:1778065790:section_script_step_14
251
11:09:50
section_start:1778065790:section_script_step_15[hide_duration=true,collapsed=true]
$ for _TAG in $CONTAINER_IMAGE_TAG; do
252
11:09:50
DESTINATIONS="${DESTINATIONS} --destination=${final_image_name}:${_TAG}${_EXT}"
253
11:09:50
done
254
11:09:50
section_end:1778065790:section_script_step_15
255
11:09:50
section_start:1778065790:section_script_step_16[hide_duration=true,collapsed=true]
$ if [ "${PIPELINE_IMAGE_REFS}" == "1" ]; then
256
11:09:50
_EXT="-P${CI_PROJECT_ID}-${CI_PIPELINE_ID}"
257
11:09:50
DESTINATIONS="${DESTINATIONS} --destination=${final_image_url}${_EXT}"
258
11:09:50
for _TAG in $CONTAINER_IMAGE_TAG; do
259
11:09:50
DESTINATIONS="${DESTINATIONS} --destination=${final_image_name}:${_TAG}${_EXT}"
260
11:09:50
done
261
11:09:50
fi
262
11:09:50
section_end:1778065790:section_script_step_16
263
11:09:50
section_start:1778065790:section_script_step_17[hide_duration=true,collapsed=true]
$ DATE=$(date '+%Y%m%d')
264
11:09:50
for _TAG in $TIMESTAMP_TAGS; do
265
11:09:50
DESTINATIONS="${DESTINATIONS} --destination=${final_image_name}:${_TAG}${_EXT}-CI${CI_JOB_ID}-${DATE}"
266
11:09:50
done
267
11:09:50
section_end:1778065790:section_script_step_17
268
11:09:50
section_start:1778065790:section_script_step_18[hide_duration=true,collapsed=true]
$ if [ -n "${CONTAINER_BUILD_ARGS}" ]; then
269
11:09:50
for _BUILD_ARG in $CONTAINER_BUILD_ARGS; do
270
11:09:50
FINAL_BUILD_ARGS="--build-arg $_BUILD_ARG $FINAL_BUILD_ARGS"
271
11:09:50
done
272
11:09:50
fi
273
11:09:50
section_end:1778065790:section_script_step_18
274
11:09:50
section_start:1778065790:section_script_step_19[hide_duration=true,collapsed=true]
$ for _PATH in $CONTAINER_IGNORE_PATHS; do
275
11:09:50
FINAL_IGNORE_PATHS="--ignore-path=$_PATH $FINAL_IGNORE_PATHS"
276
11:09:50
done
277
11:09:50
section_end:1778065790:section_script_step_19
278
11:09:50
section_start:1778065790:section_script_step_20[hide_duration=true,collapsed=true]
$ if [ -n "${CONTAINER_PLATFORM}" ]; then
279
11:09:50
KANIKO_PLATFORM="--custom-platform=${CONTAINER_PLATFORM}"
280
11:09:50
fi
281
11:09:50
section_end:1778065790:section_script_step_20
282
11:09:50
$ ANNOTATIONS=""
283
11:09:50
section_start:1778065790:section_script_step_22[hide_duration=true,collapsed=true]
$ if [[ -n "$CI_COMMIT_REF_NAME" ]]; then
284
11:09:50
ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY org.opencontainers.image.ref.name=${CI_COMMIT_REF_NAME}"
285
11:09:50
fi
286
11:09:50
section_end:1778065790:section_script_step_22
287
11:09:50
section_start:1778065790:section_script_step_23[hide_duration=true,collapsed=true]
$ if [[ -n "$CI_COMMIT_SHA" ]]; then
288
11:09:50
ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY org.opencontainers.image.revision=${CI_COMMIT_SHA}"
289
11:09:50
fi
290
11:09:50
section_end:1778065790:section_script_step_23
291
11:09:50
section_start:1778065790:section_script_step_24[hide_duration=true,collapsed=true]
$ if [[ -n "$CI_JOB_URL" ]]; then
292
11:09:50
ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY org.opencontainers.image.url=${CI_JOB_URL}"
293
11:09:50
fi
294
11:09:50
section_end:1778065790:section_script_step_24
295
11:09:50
section_start:1778065790:section_script_step_25[hide_duration=true,collapsed=true]
$ if [[ -n "$CI_PIPELINE_ID" ]]; then
296
11:09:50
ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY io.gitlab.ci.pipeline_id=${CI_PIPELINE_ID}"
297
11:09:50
fi
298
11:09:50
section_end:1778065790:section_script_step_25
299
11:09:50
section_start:1778065790:section_script_step_26[hide_duration=true,collapsed=true]
$ if [[ -n "$CI_JOB_ID" ]]; then
300
11:09:50
ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY io.gitlab.ci.job_id=${CI_JOB_ID}"
301
11:09:50
fi
302
11:09:50
section_end:1778065790:section_script_step_26
303
11:09:50
section_start:1778065790:section_script_step_27[hide_duration=true,collapsed=true]
$ if [[ -n "$CI_JOB_IMAGE" ]]; then
304
11:09:50
ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY io.gitlab.ci.job_image=${CI_JOB_IMAGE}"
305
11:09:50
fi
306
11:09:50
section_end:1778065790:section_script_step_27
307
11:09:50
$ ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY org.opencontainers.image.title=${final_image_name}:$(echo $CONTAINER_IMAGE_TAG | cut -d' ' -f1)"
308
11:09:50
$ ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY org.opencontainers.image.created=$(date -u +%Y-%m-%dT%H:%M:%SZ)"
309
11:09:50
$ ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY org.opencontainers.image.vendor=Scandit"
310
11:09:50
$ ANNOTATIONS="${ANNOTATIONS} $KANIKO_ANNOTATION_KEY io.scandit.ci.hash=${docker_checksum}"
311
11:09:50
section_start:1778065790:section_script_step_32[hide_duration=true,collapsed=true]
$ if [ -n "${CONTAINER_TARGET_STAGE}" ]; then
312
11:09:50
KANIKO_TARGET="--target $CONTAINER_TARGET_STAGE"
313
11:09:50
fi
314
11:09:50
section_end:1778065790:section_script_step_32
315
11:09:50
$ set -x
316
11:09:50
+ echo '$ /kaniko/executor --context $CONTAINER_CONTEXT_PATH --dockerfile $CONTAINER_DOCKERFILE $DESTINATIONS --cache=true --cache-copy-layers --cache-dir /cache/kaniko --cache-repo $CONTAINER_CACHE_REPO --cache-ttl=$CONTAINER_CACHE_TTL $FINAL_IGNORE_PATHS $KANIKO_TARGET $FINAL_BUILD_ARGS $KANIKO_PLATFORM $ANNOTATIONS $KANIKO_DEFAULT_FLAGS $KANIKO_EXTRA_FLAGS'
317
11:09:50
$ /kaniko/executor --context $CONTAINER_CONTEXT_PATH --dockerfile $CONTAINER_DOCKERFILE $DESTINATIONS --cache=true --cache-copy-layers --cache-dir /cache/kaniko --cache-repo $CONTAINER_CACHE_REPO --cache-ttl=$CONTAINER_CACHE_TTL $FINAL_IGNORE_PATHS $KANIKO_TARGET $FINAL_BUILD_ARGS $KANIKO_PLATFORM $ANNOTATIONS $KANIKO_DEFAULT_FLAGS $KANIKO_EXTRA_FLAGS
318
11:09:50
+ /kaniko/executor --context /build/internal/gitlab-templates/context/ --dockerfile Dockerfile.python-3 '--destination=registry.scandit.com/internal/gitlab-templates/python:b7a61fbe98d60d936734108b169c932f88fff8d0aac5a5a2234432e2dd18ac21' '--destination=registry.scandit.com/internal/gitlab-templates/python:3.12' '--destination=registry.scandit.com/internal/gitlab-templates/python:3.12-CI54484695-20260506' '--cache=true' --cache-copy-layers --cache-dir /cache/kaniko --cache-repo registry.scandit.com/internal/gitlab-templates/cache '--cache-ttl=336h' --build-arg 'BASE_IMAGE_TAG=3.12-bookworm' --annotation 'org.opencontainers.image.ref.name=master' --annotation 'org.opencontainers.image.revision=19a8ce14e2e16477c0e8fe40e5fa2b92ca33ea70' --annotation 'org.opencontainers.image.url=https://gitlab.scandit.com/internal/gitlab-templates/-/jobs/54484695' --annotation 'io.gitlab.ci.pipeline_id=1581320' --annotation 'io.gitlab.ci.job_id=54484695' --annotation 'io.gitlab.ci.job_image=registry.scandit.com/dockerfiles/kaniko:v1.27.3-crane@sha256:72bdc063db14f38a45910d33ccf066ecb088d4833fb2437fef336e49b81fd4ac' --annotation 'org.opencontainers.image.title=registry.scandit.com/internal/gitlab-templates/python:3.12' --annotation 'org.opencontainers.image.created=2026-05-06T11:09:50Z' --annotation 'org.opencontainers.image.vendor=Scandit' --annotation 'io.scandit.ci.hash=b7a61fbe98d60d936734108b169c932f88fff8d0aac5a5a2234432e2dd18ac21' --preserve-context '--credential-helpers=gitlab' --secret 'id=netrc,src=/kaniko/.netrc' --secret 'id=ci_job_token,env=CI_JOB_TOKEN'
319
11:09:50
INFO[0000] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
320
11:09:51
INFO[0000] Retrieving image manifest python:3.12-bookworm
321
11:09:51
INFO[0000] Retrieving image python:3.12-bookworm from registry index.docker.io
322
11:09:51
INFO[0000] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
323
11:09:52
INFO[0001] Retrieving image manifest python:3.12-bookworm
324
11:09:52
INFO[0001] Returning cached image manifest
325
11:09:52
INFO[0001] Retrieving image manifest python:3.12-bookworm
326
11:09:52
INFO[0001] Returning cached image manifest
327
11:09:52
INFO[0001] Retrieving image manifest python:3.12-bookworm
328
11:09:52
INFO[0001] Returning cached image manifest
329
11:09:52
INFO[0001] Built cross stage deps: map[]
330
11:09:52
INFO[0001] Skipping context snapshot as no-one requires it
331
11:09:52
INFO[0001] Retrieving image manifest python:3.12-bookworm
332
11:09:52
INFO[0001] Returning cached image manifest
333
11:09:52
INFO[0001] Retrieving image manifest python:3.12-bookworm
334
11:09:52
INFO[0001] Returning cached image manifest
335
11:09:52
INFO[0001] Building stage 'python:3.12-bookworm' [idx: '0', base-idx: '-1']
336
11:09:52
INFO[0001] Checking for cached layer registry.scandit.com/internal/gitlab-templates/cache:4aa82f716f80c2fc0d58cc1f7a315d65fe7859ed520e8f4629aeee5d53138656...
337
11:09:52
INFO[0001] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
338
11:09:52
INFO[0001] No cached layer found for cmd RUN git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT
339
11:09:52
INFO[0001] Unpacking rootfs as cmd RUN git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT requires it.
340
11:10:02
INFO[0011] ENV PYENV_VER=v2.3.36
341
11:10:02
INFO[0011] Taking snapshot of files...
342
11:10:02
INFO[0011] ENV PYENV_ROOT /root/.pyenv
343
11:10:02
INFO[0011] Taking snapshot of files...
344
11:10:02
INFO[0011] ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
345
11:10:02
INFO[0011] Taking snapshot of files...
346
11:10:02
INFO[0011] RUN git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT
347
11:10:02
INFO[0011] Initializing snapshotter ...
348
11:10:02
INFO[0011] Taking snapshot of full filesystem...
349
11:10:36
INFO[0045] Cmd: /bin/sh
350
11:10:36
INFO[0045] Args: [-c git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT]
351
11:10:36
INFO[0045] Running: [/kaniko/tini -s -- /bin/sh -c git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT]
352
11:10:36
Cloning into '/root/.pyenv'...
353
11:10:37
INFO[0046] Taking snapshot of full filesystem...
354
11:10:38
INFO[0047] RUN cd $PYENV_ROOT && git checkout $PYENV_VER
355
11:10:38
INFO[0047] Cmd: /bin/sh
356
11:10:38
INFO[0047] Args: [-c cd $PYENV_ROOT && git checkout $PYENV_VER]
357
11:10:38
INFO[0047] Running: [/kaniko/tini -s -- /bin/sh -c cd $PYENV_ROOT && git checkout $PYENV_VER]
358
11:10:38
INFO[0047] Pushing layer registry.scandit.com/internal/gitlab-templates/cache:4aa82f716f80c2fc0d58cc1f7a315d65fe7859ed520e8f4629aeee5d53138656 to cache now
359
11:10:38
INFO[0047] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
360
11:10:38
INFO[0047] Pushing image to registry.scandit.com/internal/gitlab-templates/cache:4aa82f716f80c2fc0d58cc1f7a315d65fe7859ed520e8f4629aeee5d53138656
361
11:10:38
Note: switching to 'v2.3.36'.
362
11:10:38
363
11:10:38
You are in 'detached HEAD' state. You can look around, make experimental
364
11:10:38
changes and commit them, and you can discard any commits you make in this
365
11:10:38
state without impacting any branches by switching back to a branch.
366
11:10:38
367
11:10:38
If you want to create a new branch to retain commits you create, you may
368
11:10:38
do so (now or later) by using -c with the switch command. Example:
369
11:10:38
370
11:10:38
git switch -c <new-branch-name>
371
11:10:38
372
11:10:38
Or undo this operation with:
373
11:10:38
374
11:10:38
git switch -
375
11:10:38
376
11:10:38
Turn off this advice by setting config variable advice.detachedHead to false
377
11:10:38
378
11:10:38
HEAD is now at 5e4879a2 v2.3.36
379
11:10:38
INFO[0047] Taking snapshot of full filesystem...
380
11:10:39
INFO[0048] Pushed registry.scandit.com/internal/gitlab-templates/cache@sha256:fa7b9dc077cb3864e606d2536ca03eefd51aaf165dba419865846be81fe92fa1
381
11:10:39
INFO[0049] Pushing layer registry.scandit.com/internal/gitlab-templates/cache:ba0db3758a565d2d2e2422aa1db025dbb40e077874cd6e1e401d3c49f3fcd62c to cache now
382
11:10:39
INFO[0049] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
383
11:10:39
INFO[0049] Pushing image to registry.scandit.com/internal/gitlab-templates/cache:ba0db3758a565d2d2e2422aa1db025dbb40e077874cd6e1e401d3c49f3fcd62c
384
11:10:40
INFO[0049] COPY /.python-version .python-version
385
11:10:40
INFO[0049] Taking snapshot of files...
386
11:10:40
INFO[0049] Pushing layer registry.scandit.com/internal/gitlab-templates/cache:5e779da5602a3411aed0b06bc0e08d3c6686e7e5b74cf75ca6cb8dd28794e2e3 to cache now
387
11:10:40
INFO[0049] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
388
11:10:40
INFO[0049] Pushing image to registry.scandit.com/internal/gitlab-templates/cache:5e779da5602a3411aed0b06bc0e08d3c6686e7e5b74cf75ca6cb8dd28794e2e3
389
11:10:40
INFO[0049] RUN eval "$(/root/.pyenv/bin/pyenv init --path)" && pyenv install $(cat .python-version) -s && pyenv global $(cat .python-version)
390
11:10:40
INFO[0049] Cmd: /bin/sh
391
11:10:40
INFO[0049] Args: [-c eval "$(/root/.pyenv/bin/pyenv init --path)" && pyenv install $(cat .python-version) -s && pyenv global $(cat .python-version)]
392
11:10:40
INFO[0049] Running: [/kaniko/tini -s -- /bin/sh -c eval "$(/root/.pyenv/bin/pyenv init --path)" && pyenv install $(cat .python-version) -s && pyenv global $(cat .python-version)]
393
11:10:40
Downloading Python-3.12.2.tar.xz...
394
11:10:40
-> https://www.python.org/ftp/python/3.12.2/Python-3.12.2.tar.xz
395
11:10:40
INFO[0049] Pushed registry.scandit.com/internal/gitlab-templates/cache@sha256:ffbef5e040eeec45c3a4e1500e541b6c74a189e3fd10b35dd7b6cdda284f2f1f
396
11:10:40
INFO[0049] Pushed registry.scandit.com/internal/gitlab-templates/cache@sha256:f07558694f0dd630bf87eb202e42c3364adef93197066c99377caca97cacc3f0
397
11:10:41
Installing Python-3.12.2...
398
11:12:37
Installed Python-3.12.2 to /root/.pyenv/versions/3.12.2
399
11:12:38
INFO[0166] Taking snapshot of full filesystem...
400
11:12:46
INFO[0175] Pushing layer registry.scandit.com/internal/gitlab-templates/cache:0b3d4dde0819fcc2180fb45da1885c190c4f446559d871702696eea8b042e275 to cache now
401
11:12:46
INFO[0175] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
402
11:12:46
INFO[0175] Pushing image to registry.scandit.com/internal/gitlab-templates/cache:0b3d4dde0819fcc2180fb45da1885c190c4f446559d871702696eea8b042e275
403
11:12:46
INFO[0175] RUN echo 'eval "$(/root/.pyenv/bin/pyenv init --path)"' >> /root/.profile
404
11:12:46
INFO[0175] Cmd: /bin/sh
405
11:12:46
INFO[0175] Args: [-c echo 'eval "$(/root/.pyenv/bin/pyenv init --path)"' >> /root/.profile]
406
11:12:46
INFO[0175] Running: [/kaniko/tini -s -- /bin/sh -c echo 'eval "$(/root/.pyenv/bin/pyenv init --path)"' >> /root/.profile]
407
11:12:46
INFO[0175] Taking snapshot of full filesystem...
408
11:12:52
INFO[0181] Pushing layer registry.scandit.com/internal/gitlab-templates/cache:bfc242ecea63c2c15b384e6069df1a9b8b0ad16b4052294800a11fbf1791b1f7 to cache now
409
11:12:52
INFO[0181] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
410
11:12:52
INFO[0181] SHELL ["/bin/bash", "-c"]
411
11:12:52
INFO[0181] Pushing image to registry.scandit.com/internal/gitlab-templates/cache:bfc242ecea63c2c15b384e6069df1a9b8b0ad16b4052294800a11fbf1791b1f7
412
11:12:52
INFO[0181] Taking snapshot of files...
413
11:12:52
INFO[0181] RUN pyenv version | grep $(cat .python-version)
414
11:12:52
INFO[0181] Cmd: /bin/bash
415
11:12:52
INFO[0181] Args: [-c pyenv version | grep $(cat .python-version)]
416
11:12:52
INFO[0181] Running: [/kaniko/tini -s -- /bin/bash -c pyenv version | grep $(cat .python-version)]
417
11:12:52
3.12.2 (set by //.python-version)
418
11:12:52
INFO[0181] Taking snapshot of full filesystem...
419
11:12:53
INFO[0182] Pushing layer registry.scandit.com/internal/gitlab-templates/cache:c1786d0b175d4ddb55286e63435f10707815e05ec84ea21598f1412338ca3bd0 to cache now
420
11:12:53
INFO[0182] RUN python3 -m pip install --upgrade pip wheel
421
11:12:53
INFO[0182] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
422
11:12:53
INFO[0182] Cmd: /bin/bash
423
11:12:53
INFO[0182] Args: [-c python3 -m pip install --upgrade pip wheel]
424
11:12:53
INFO[0182] Running: [/kaniko/tini -s -- /bin/bash -c python3 -m pip install --upgrade pip wheel]
425
11:12:53
INFO[0182] Pushing image to registry.scandit.com/internal/gitlab-templates/cache:c1786d0b175d4ddb55286e63435f10707815e05ec84ea21598f1412338ca3bd0
426
11:12:54
Requirement already satisfied: pip in /root/.pyenv/versions/3.12.2/lib/python3.12/site-packages (24.0)
427
11:12:54
Collecting pip
428
11:12:54
INFO[0183] Pushed registry.scandit.com/internal/gitlab-templates/cache@sha256:1ae8e9b808d46f6c3a5d57461796a946fae09fdf152f1dc5a8a1abcd62e7a2f3
429
11:12:54
Downloading pip-26.1.1-py3-none-any.whl.metadata (4.6 kB)
430
11:12:54
INFO[0183] Pushed registry.scandit.com/internal/gitlab-templates/cache@sha256:ccbaf0d017f202f76dd373b522d14b971b079ef53587ed9b3b2bd3f616b691fd
431
11:12:54
INFO[0183] Pushed registry.scandit.com/internal/gitlab-templates/cache@sha256:40a16d16998a61e07274f5aac89d283e865e354b4fc023e296ea60056dd0bad8
432
11:12:54
Collecting wheel
433
11:12:54
Downloading wheel-0.47.0-py3-none-any.whl.metadata (2.3 kB)
434
11:12:54
Collecting packaging>=24.0 (from wheel)
435
11:12:54
Downloading packaging-26.2-py3-none-any.whl.metadata (3.5 kB)
436
11:12:54
Downloading pip-26.1.1-py3-none-any.whl (1.8 MB)
437
11:12:54
ββββββββββββββββββββββββββββββββββββββββ 1.8/1.8 MB 67.0 MB/s eta 0:00:00
438
11:12:54
Downloading wheel-0.47.0-py3-none-any.whl (32 kB)
439
11:12:54
Downloading packaging-26.2-py3-none-any.whl (100 kB)
440
11:12:54
ββββββββββββββββββββββββββββββββββββββββ 100.2/100.2 kB 10.5 MB/s eta 0:00:00
441
11:12:54
Installing collected packages: pip, packaging, wheel
442
11:12:54
Attempting uninstall: pip
443
11:12:54
Found existing installation: pip 24.0
444
11:12:54
Uninstalling pip-24.0:
445
11:12:54
Successfully uninstalled pip-24.0
446
11:12:55
Successfully installed packaging-26.2 pip-26.1.1 wheel-0.47.0
447
11:12:55
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
448
11:12:55
INFO[0184] Taking snapshot of full filesystem...
449
11:12:57
INFO[0186] COPY /requirements.txt requirements.txt
450
11:12:57
INFO[0186] Pushing layer registry.scandit.com/internal/gitlab-templates/cache:3fea39beb03eec55065a1ea9a20bc9eb37d747ce02dde374ed83c7bdb1dbdd4b to cache now
451
11:12:57
INFO[0186] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
452
11:12:57
INFO[0186] Pushing image to registry.scandit.com/internal/gitlab-templates/cache:3fea39beb03eec55065a1ea9a20bc9eb37d747ce02dde374ed83c7bdb1dbdd4b
453
11:12:57
INFO[0186] Taking snapshot of files...
454
11:12:57
INFO[0186] Pushing layer registry.scandit.com/internal/gitlab-templates/cache:11e9f70596055c2fa501c03b19174d11ba15e7065cf19919a4870f6bfb5eb570 to cache now
455
11:12:57
INFO[0186] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
456
11:12:57
INFO[0186] Pushing image to registry.scandit.com/internal/gitlab-templates/cache:11e9f70596055c2fa501c03b19174d11ba15e7065cf19919a4870f6bfb5eb570
457
11:12:57
INFO[0186] RUN --mount=type=secret,id=netrc,target=/root/.netrc python3 -m pip install -r requirements.txt
458
11:12:57
INFO[0186] Cmd: /bin/bash
459
11:12:57
INFO[0186] Args: [-c python3 -m pip install -r requirements.txt]
460
11:12:57
INFO[0186] Running: [/kaniko/tini -s -- /bin/bash -c python3 -m pip install -r requirements.txt]
461
11:12:58
Looking in indexes: https://gitlab.scandit.com/api/v4/projects/621/packages/pypi/simple
462
11:12:58
Collecting pytest==9.0.3 (from -r requirements.txt (line 3))
463
11:12:58
Downloading pytest-9.0.3-py3-none-any.whl.metadata (7.6 kB)
464
11:12:58
Collecting pytest-cov==7.1.0 (from -r requirements.txt (line 4))
465
11:12:58
Downloading pytest_cov-7.1.0-py3-none-any.whl.metadata (32 kB)
466
11:12:58
Collecting iniconfig>=1.0.1 (from pytest==9.0.3->-r requirements.txt (line 3))
467
11:12:58
Downloading iniconfig-2.3.0-py3-none-any.whl.metadata (2.5 kB)
468
11:12:58
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)
469
11:12:58
Collecting pluggy<2,>=1.5 (from pytest==9.0.3->-r requirements.txt (line 3))
470
11:12:58
Downloading pluggy-1.6.0-py3-none-any.whl.metadata (4.8 kB)
471
11:12:59
Collecting pygments>=2.7.2 (from pytest==9.0.3->-r requirements.txt (line 3))
472
11:12:59
Downloading pygments-2.20.0-py3-none-any.whl.metadata (2.5 kB)
473
11:12:59
Collecting coverage>=7.10.6 (from coverage[toml]>=7.10.6->pytest-cov==7.1.0->-r requirements.txt (line 4))
474
11:12:59
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)
475
11:12:59
Downloading pytest-9.0.3-py3-none-any.whl (375 kB)
476
11:12:59
Downloading pytest_cov-7.1.0-py3-none-any.whl (22 kB)
477
11:12:59
Downloading pluggy-1.6.0-py3-none-any.whl (20 kB)
478
11:12:59
Downloading coverage-7.13.5-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (254 kB)
479
11:12:59
Downloading iniconfig-2.3.0-py3-none-any.whl (7.5 kB)
480
11:12:59
Downloading pygments-2.20.0-py3-none-any.whl (1.2 MB)
481
11:12:59
ββββββββββββββββββββββββββββββββββββββββ 1.2/1.2 MB 131.2 MB/s 0:00:00
482
11:12:59
Installing collected packages: pygments, pluggy, iniconfig, coverage, pytest, pytest-cov
483
11:12:59
INFO[0188] Pushed registry.scandit.com/internal/gitlab-templates/cache@sha256:55b9c5e1884fc49c8eb201e09a9371cfdd704cb5762301978502048d9ffa7c06
484
11:13:00
INFO[0189] Pushed registry.scandit.com/internal/gitlab-templates/cache@sha256:a183394170c652d0f73ac69d453274114476e382dec48f36231ead18233cefff
485
11:13:00
486
11:13:00
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
487
11:13:00
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.
488
11:13:00
INFO[0189] Taking snapshot of full filesystem...
489
11:13:02
INFO[0191] Pushing layer registry.scandit.com/internal/gitlab-templates/cache:1341b5af1710055894c1053022824c20400b076b2a37d3d8dbbab26e7df26e52 to cache now
490
11:13:02
INFO[0191] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
491
11:13:02
INFO[0191] Pushing image to registry.scandit.com/internal/gitlab-templates/cache:1341b5af1710055894c1053022824c20400b076b2a37d3d8dbbab26e7df26e52
492
11:13:04
INFO[0193] Pushed registry.scandit.com/internal/gitlab-templates/cache@sha256:734c91551488685b2c03fc42012ddba383341e4d2e0998012db05a4b67104dba
493
11:13:04
INFO[0193] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
494
11:13:04
INFO[0193] Pushing image to registry.scandit.com/internal/gitlab-templates/python:b7a61fbe98d60d936734108b169c932f88fff8d0aac5a5a2234432e2dd18ac21
495
11:13:10
INFO[0199] Pushed registry.scandit.com/internal/gitlab-templates/python@sha256:09b443a843587e8bf4be21f99c1e5926f0a2a7d52c781c74c315411898ce86a7
496
11:13:10
INFO[0199] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
497
11:13:10
INFO[0199] Pushing image to registry.scandit.com/internal/gitlab-templates/python:3.12
498
11:13:11
INFO[0200] Pushed registry.scandit.com/internal/gitlab-templates/python@sha256:09b443a843587e8bf4be21f99c1e5926f0a2a7d52c781c74c315411898ce86a7
499
11:13:11
INFO[0200] credential providers by priority: [file:/kaniko/.docker/config.json, gitlab]
500
11:13:11
INFO[0200] Pushing image to registry.scandit.com/internal/gitlab-templates/python:3.12-CI54484695-20260506
501
11:13:11
INFO[0200] Pushed registry.scandit.com/internal/gitlab-templates/python@sha256:09b443a843587e8bf4be21f99c1e5926f0a2a7d52c781c74c315411898ce86a7
502
11:13:12
+ cleanup
503
11:13:12
+ rv=0
504
11:13:12
+ '[' 0 -ne 0 ]
505
11:13:12
+ echo
506
11:13:12
507
11:13:12
+ echo 'Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54484695'
508
11:13:12
Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54484695
509
11:13:12
+ echo
510
11:13:12
511
11:13:12
+ echo
512
11:13:12
513
11:13:12
+ echo 'Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=lu1rmx27z&var-host=ip-10-0-28-187.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-0-c2wn6bvi&var-resolution=15&from=1778065780000&to=1778065991000'
514
11:13:12
Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=lu1rmx27z&var-host=ip-10-0-28-187.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-0-c2wn6bvi&var-resolution=15&from=1778065780000&to=1778065991000
515
11:13:12
+ echo 'Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=lu1rmx27z&var-node=ip-10-0-28-187.eu-central-1.compute.internal&var-resolution=15s&from=1778065780000&to=1778065991000'
516
11:13:12
Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=lu1rmx27z&var-node=ip-10-0-28-187.eu-central-1.compute.internal&var-resolution=15s&from=1778065780000&to=1778065991000
517
11:13:12
+ echo 'Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=nVsAo7UVk&var-filters=log_group|=|gitlab-runner&var-filters=source|=|k8s-ci.aws.scandit.io&var-filters=namespace|=|gitlab-runner&var-filters=CI_PROJECT_ID|=|621&var-filters=CI_PIPELINE_ID|=|1581320&var-filters=CI_JOB_ID|=|54484695&sortOrder=Ascending&from=1778065780000&to=1778065991000'
518
11:13:12
Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=nVsAo7UVk&var-filters=log_group|=|gitlab-runner&var-filters=source|=|k8s-ci.aws.scandit.io&var-filters=namespace|=|gitlab-runner&var-filters=CI_PROJECT_ID|=|621&var-filters=CI_PIPELINE_ID|=|1581320&var-filters=CI_JOB_ID|=|54484695&sortOrder=Ascending&from=1778065780000&to=1778065991000
519
11:13:12
+ date -d '-7 days' '+%Y-%m-%d'
520
11:13:12
date: invalid date '-7 days'
521
11:13:12
+ date -d '+7 days' '+%Y-%m-%d'
522
11:13:12
date: invalid date '+7 days'
523
11:13:12
+ echo 'Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=~&job_name=build-python3-image: [3.12, BASE_IMAGE_TAG=3.12-bookworm, Dockerfile.python-3]&project=internal/gitlab-templates'
524
11:13:12
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=~&job_name=build-python3-image: [3.12, BASE_IMAGE_TAG=3.12-bookworm, Dockerfile.python-3]&project=internal/gitlab-templates
525
11:13:12
+ echo
526
11:13:12
527
11:13:12
+ exit 0
528
11:13:12
529
11:13:12
section_end:1778065992:step_script
530
11:13:12
+section_start:1778065992:upload_artifacts_on_success
531
11:13:12
+Uploading artifacts for successful job
532
11:13:12
Uploading artifacts...
533
11:13:12
docker_image_build.env: found 1 matching artifact files and directories
534
11:13:13
Uploading artifacts as "dotenv" to coordinator... 201 Created correlation_id=01KQYFVTVA2VMP355BZGPX4MG9 id=54484695 responseStatus=201 Created token=64_sLjwNF
535
11:13:13
536
11:13:13
section_end:1778065993:upload_artifacts_on_success
537
11:13:13
+section_start:1778065993:cleanup_file_variables
538
11:13:13
+Cleaning up project directory and file based variables
539
11:13:13
540
11:13:13
section_end:1778065993:cleanup_file_variables
541
11:13:13
+
542
11:13:13
Job succeeded
543