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