test-install-deps-extra β success
β±
Duration: 19s
β³
Queued: 0s
π
Stage: test
π₯
Runner: linux-aws-1
Average Duration
40s
This job: 19s
Failure Rate
2.1%
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
238 lines
Match - of 0
1
09:35:29
Running with gitlab-runner 18.9.0 (07e534ba)
2
09:35:29
on gitlab-runner-linux-1-5fd7c4d488-p5lbx wRxjPbsJX, system ID: r_201AzAERJfrE
3
09:35:29
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
09:35:29
Resolving secrets
5
09:35:29
section_start:1777973729:prepare_executor
6
09:35:29
+Preparing the "kubernetes" executor
7
09:35:29
Using Kubernetes namespace: gitlab-runner
8
09:35:29
Using Kubernetes executor with image registry.scandit.com/internal/gitlab-templates/python:b7a61fbe98d60d936734108b169c932f88fff8d0aac5a5a2234432e2dd18ac21 ...
9
09:35:29
Using attach strategy to execute scripts...
10
09:35:29
Using effective pull policy of [Always] for container build
11
09:35:29
Using effective pull policy of [Always] for container helper
12
09:35:29
Using effective pull policy of [Always] for container init-permissions
13
09:35:29
section_end:1777973729:prepare_executor
14
09:35:29
+section_start:1777973729:prepare_script
15
09:35:29
+Preparing environment
16
09:35:29
Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
17
09:35:29
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 ...
18
09:35:29
Subscribing to Kubernetes Pod events...
19
09:35:30
Type Reason Message
20
09:35:30
Normal Scheduled Successfully assigned gitlab-runner/runner-wrxjpbsjx-project-621-concurrent-4-8t5fxry1 to ip-10-0-34-10.eu-central-1.compute.internal
21
09:35:30
Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
22
09:35:30
Normal Created Created container: init-permissions
23
09:35:30
Normal Started Started container init-permissions
24
09:35:34
Normal Pulled Container image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/internal/gitlab-templates/python@sha256:dd8a59329b6b82ad963c2d53c0d43a4bd289518a25da311c677f1cb930e408ee" already present on machine
25
09:35:34
Normal Created Created container: build
26
09:35:35
Normal Started Started container build
27
09:35:35
Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
28
09:35:35
Normal Created Created container: helper
29
09:35:35
Normal Started Started container helper
30
09:35:36
Running on runner-wrxjpbsjx-project-621-concurrent-4-8t5fxry1 via gitlab-runner-linux-1-5fd7c4d488-p5lbx...
31
09:35:36
32
09:35:36
section_end:1777973736:prepare_script
33
09:35:36
+section_start:1777973736:get_sources
34
09:35:36
+Getting source from Git repository
35
09:35:36
Gitaly correlation ID: 01KQVQW58X5ZCSFERRXRY96NQP
36
09:35:36
Fetching changes with git depth set to 50...
37
09:35:36
Initialized empty Git repository in /build/internal/gitlab-templates/.git/
38
09:35:36
Created fresh repository.
39
09:35:38
Checking out eea928ac as detached HEAD (ref is refs/merge-requests/637/merge)...
40
09:35:38
41
09:35:38
Skipping Git submodules setup
42
09:35:38
43
09:35:38
section_end:1777973738:get_sources
44
09:35:38
+section_start:1777973738:step_script
45
09:35:38
+Executing "step_script" stage of the job script
46
09:35:38
section_start:1777973738:section_pre_build_script_0[hide_duration=true,collapsed=true]
$ function cleanup {
47
09:35:38
rv=$?
48
09:35:38
if [ $rv -ne 0 ]; then
49
09:35:38
echo ""
50
09:35:38
echo " Failure Cause Analysis might help, please open this link:"
51
09:35:38
echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
52
09:35:38
echo ""
53
09:35:38
fi
54
09:35:38
echo ""
55
09:35:38
echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
56
09:35:38
echo ""
57
09:35:38
echo ""
58
09:35:38
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"
59
09:35:38
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"
60
09:35:38
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"
61
09:35:38
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}"
62
09:35:38
echo ""
63
09:35:38
exit $rv
64
09:35:38
}
65
09:35:38
trap cleanup EXIT
66
09:35:38
echo "INFO: This is the CI job pre_build_script"
67
09:35:38
echo "INFO: It's defined in the backend/infra/aws repo."
68
09:35:38
echo "INFO: These additional Scandit variables are available to you:"
69
09:35:38
echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
70
09:35:38
echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
71
09:35:38
echo " SC_K8S_KYVERNO_PATCHES: |"
72
09:35:38
echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
73
09:35:38
echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
74
09:35:38
if command -v numfmt >/dev/null 2>&1; then
75
09:35:38
echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
76
09:35:38
else
77
09:35:38
echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
78
09:35:38
fi
79
09:35:38
__start_time=${EPOCHSECONDS}
80
09:35:38
echo ""
81
09:35:38
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"
82
09:35:38
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"
83
09:35:38
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"
84
09:35:38
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}"
85
09:35:38
echo ""
86
09:35:38
echo "Setting up credentials for Gitlab Python registries"
87
09:35:38
mkdir -p ~
88
09:35:38
echo "machine gitlab.scandit.com" > ~/.netrc
89
09:35:38
echo "login gitlab-ci-token" >> ~/.netrc
90
09:35:38
echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
91
09:35:38
chmod 600 ~/.netrc
92
09:35:38
if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
93
09:35:38
git config --global --add safe.directory $CI_PROJECT_DIR
94
09:35:38
fi
95
09:35:38
# Sonarqube server is running on the same cluster. Use internal address
96
09:35:38
export SONAR_HOST_URL="http://sonarqube.sonarqube.svc.cluster.local:9000"
97
09:35:38
section_end:1777973738:section_pre_build_script_0
98
09:35:38
INFO: This is the CI job pre_build_script
99
09:35:38
INFO: It's defined in the backend/infra/aws repo.
100
09:35:38
INFO: These additional Scandit variables are available to you:
101
09:35:38
SC_K8S_NODE_NAME: ip-10-0-34-10.eu-central-1.compute.internal
102
09:35:38
SC_K8S_IMAGE_ID:
103
09:35:38
SC_K8S_KYVERNO_PATCHES: |
104
09:35:38
105
09:35:38
cpu (r/l): 1/4
106
09:35:38
memory (r/l): 1.0GB/16GB
107
09:35:38
108
09:35:38
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-34-10.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-4-8t5fxry1&var-resolution=15&from=1777973738000&to=now
109
09:35:38
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-34-10.eu-central-1.compute.internal&var-resolution=15s&from=1777973738000&to=now
110
09:35:38
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|=|1578751&var-filters=CI_JOB_ID|=|54380619&sortOrder=Ascending&from=1777973738000&to=now
111
09:35:38
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-28~2026-05-12&job_name=test-install-deps-extra&project=internal/gitlab-templates
112
09:35:38
113
09:35:38
Setting up credentials for Gitlab Python registries
114
09:35:38
$ export UV_CACHE_DIR=$CACHE_DIR/.uv
115
09:35:38
$ echo "UV_CACHE_DIR $UV_CACHE_DIR"
116
09:35:38
UV_CACHE_DIR /.uv
117
09:35:38
section_start:1777973738:section_script_step_2[hide_duration=true,collapsed=true]
$ export python_version=$(cat ./.python-version)
118
09:35:38
eval "$($HOME/.pyenv/bin/pyenv init -)"
119
09:35:38
echo "Activating Python $python_version"
120
09:35:38
pyenv shell $python_version || (
121
09:35:38
echo "ERROR: Installing a new Python version in container based CI jobs is no longer allowed."
122
09:35:38
echo "Please ensure the image contains a pre-installed Python ${python_version}."
123
09:35:38
exit 1
124
09:35:38
)
125
09:35:38
pyenv version
126
09:35:38
section_end:1777973738:section_script_step_2
127
09:35:38
Activating Python 3.12
128
09:35:38
3.12.2 (set by PYENV_VERSION environment variable)
129
09:35:38
section_start:1777973738:section_script_step_3[hide_duration=true,collapsed=true]
$ export python_version=$(cat ./.python-version)
130
09:35:38
VENV_CACHE_PATH=${CACHE_DIR:-/cache}/venv/${CI_PROJECT_ID}/${python_version}/${CI_COMMIT_BRANCH}
131
09:35:38
mkdir -p $VENV_CACHE_PATH
132
09:35:38
# if creation of venv fails, re-run it with "--clear"
133
09:35:38
python3 -m venv $VENV_CACHE_PATH || python3 -m venv $VENV_CACHE_PATH --clear
134
09:35:38
source $VENV_CACHE_PATH/bin/activate
135
09:35:38
python3 --version
136
09:35:38
pip install --upgrade wheel uv
137
09:35:38
section_end:1777973738:section_script_step_3
138
09:35:42
Python 3.12.2
139
09:35:42
Collecting wheel
140
09:35:42
Downloading wheel-0.47.0-py3-none-any.whl.metadata (2.3 kB)
141
09:35:42
Collecting uv
142
09:35:43
Downloading uv-0.11.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
143
09:35:43
Collecting packaging>=24.0 (from wheel)
144
09:35:43
Downloading packaging-26.2-py3-none-any.whl.metadata (3.5 kB)
145
09:35:43
Downloading wheel-0.47.0-py3-none-any.whl (32 kB)
146
09:35:43
Downloading uv-0.11.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.7 MB)
147
09:35:43
ββββββββββββββββββββββββββββββββββββββββ 24.7/24.7 MB 301.1 MB/s eta 0:00:00
148
09:35:43
Downloading packaging-26.2-py3-none-any.whl (100 kB)
149
09:35:43
βββββββββββββββββββββββββββββββββββββββ 100.2/100.2 kB 273.3 MB/s eta 0:00:00
150
09:35:43
Installing collected packages: uv, packaging, wheel
151
09:35:43
Successfully installed packaging-26.2 uv-0.11.9 wheel-0.47.0
152
09:35:43
153
09:35:43
[notice] A new release of pip is available: 24.0 -> 26.1.1
154
09:35:43
[notice] To update, run: pip install --upgrade pip
155
09:35:43
$ time uv pip install ${PIP_REQUIREMENTS:--r requirements.txt} ${PIP_ARGS}
156
09:35:43
Using Python 3.12.2 environment at: /cache/venv/621/3.12
157
09:35:44
Resolved 12 packages in 443ms
158
09:35:44
Downloading pygments (1.2MiB)
159
09:35:44
Downloaded pygments
160
09:35:44
Prepared 11 packages in 78ms
161
09:35:44
Installed 11 packages in 465ms
162
09:35:44
+ certifi==2026.4.22
163
09:35:44
+ charset-normalizer==3.4.7
164
09:35:44
+ coverage==7.13.5
165
09:35:44
+ idna==3.13
166
09:35:44
+ iniconfig==2.3.0
167
09:35:44
+ pluggy==1.6.0
168
09:35:44
+ pygments==2.20.0
169
09:35:44
+ pytest==9.0.3
170
09:35:44
+ pytest-cov==7.1.0
171
09:35:44
+ requests==2.33.1
172
09:35:44
+ urllib3==2.6.3
173
09:35:44
174
09:35:44
real 0m1.050s
175
09:35:44
user 0m0.169s
176
09:35:44
sys 0m0.230s
177
09:35:44
$ pyenv rehash
178
09:35:44
$ echo This is a collapsible example section
179
09:35:44
This is a collapsible example section
180
09:35:44
$ python3 -m pytest ${PYTEST_OPTS:--m "not requirements"} --cov=. --cov-report=html --cov-report=xml --cov-report=term --junitxml=${CI_LOGS}/test_report.xml .
181
09:35:45
============================= test session starts ==============================
182
09:35:45
platform linux -- Python 3.12.2, pytest-9.0.3, pluggy-1.6.0
183
09:35:45
rootdir: /build/internal/gitlab-templates
184
09:35:45
configfile: pytest.ini
185
09:35:45
plugins: cov-7.1.0
186
09:35:45
collected 2 items / 1 deselected / 1 selected
187
09:35:45
188
09:35:45
tests/test_requirements.py . [100%]
189
09:35:45
190
09:35:45
- generated xml file: /build/internal/gitlab-templates/ci-logs/test_report.xml -
191
09:35:45
================================ tests coverage ================================
192
09:35:45
_______________ coverage: platform linux, python 3.12.2-final-0 ________________
193
09:35:45
194
09:35:45
Name Stmts Miss Cover
195
09:35:45
------------------------------------------------
196
09:35:45
tests/__init__.py 0 0 100%
197
09:35:45
tests/test_python.py 4 1 75%
198
09:35:45
tests/test_requirements.py 6 0 100%
199
09:35:45
tests/utils/example.py 11 10 9%
200
09:35:45
------------------------------------------------
201
09:35:45
TOTAL 21 11 48%
202
09:35:45
Coverage HTML written to dir htmlcov
203
09:35:45
Coverage XML written to file coverage.xml
204
09:35:45
======================= 1 passed, 1 deselected in 0.12s ========================
205
09:35:45
$ sed -i -e "s=<source>.*</source>=<source>./</source>=g" coverage.xml
206
09:35:45
$ echo Bye
207
09:35:45
Bye
208
09:35:45
209
09:35:45
Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54380619
210
09:35:45
211
09:35:45
212
09:35: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-34-10.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-4-8t5fxry1&var-resolution=15&from=1777973738000&to=1777973745000
213
09:35: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-34-10.eu-central-1.compute.internal&var-resolution=15s&from=1777973738000&to=1777973745000
214
09:35: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|=|1578751&var-filters=CI_JOB_ID|=|54380619&sortOrder=Ascending&from=1777973738000&to=1777973745000
215
09:35:45
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-28~2026-05-12&job_name=test-install-deps-extra&project=internal/gitlab-templates
216
09:35:45
217
09:35:45
218
09:35:45
section_end:1777973745:step_script
219
09:35:45
+section_start:1777973745:upload_artifacts_on_success
220
09:35:45
+Uploading artifacts for successful job
221
09:35:46
Uploading artifacts...
222
09:35:46
htmlcov/: found 14 matching artifact files and directories
223
09:35:46
Uploading artifacts as "archive" to coordinator... 201 Created correlation_id=01KQVQWPQ9ZQX4X4C9AE9NQA13 id=54380619 responseStatus=201 Created token=64_RMT2WR
224
09:35:46
Uploading artifacts...
225
09:35:46
/build/internal/gitlab-templates/ci-logs/test_report.xml: found 1 matching artifact files and directories
226
09:35:47
Uploading artifacts as "junit" to coordinator... 201 Created correlation_id=01KQVQWQ5CF8P5KX8661J6Z4ZD id=54380619 responseStatus=201 Created token=64_RMT2WR
227
09:35:47
Uploading artifacts...
228
09:35:47
coverage.xml: found 1 matching artifact files and directories
229
09:35:47
Uploading artifacts as "cobertura" to coordinator... 201 Created correlation_id=01KQVQWQF6JK9B2V38WNQ6MXBE id=54380619 responseStatus=201 Created token=64_RMT2WR
230
09:35:47
231
09:35:47
section_end:1777973747:upload_artifacts_on_success
232
09:35:47
+section_start:1777973747:cleanup_file_variables
233
09:35:47
+Cleaning up project directory and file based variables
234
09:35:47
235
09:35:47
section_end:1777973747:cleanup_file_variables
236
09:35:47
+
237
09:35:48
Job succeeded
238