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