test-install-deps ○ success

Duration: 32s
Queued: 0s
📁 Stage: test
🖥 Runner: linux-1
Average Duration
37s
This job: 32s
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

246 lines
Match - of 0
1 17:05:41 Running with gitlab-runner 18.9.0 (07e534ba)
2 17:05:41 on gitlab-runner-linux-1-5b9cfd64ff-k5sg5 aP4tCsXyp, system ID: r_wQDtEh3nNZsL
3 17:05:41 feature flags: FF_USE_FASTZIP:true, FF_USE_NEW_BASH_EVAL_STRATEGY:true, FF_USE_DYNAMIC_TRACE_FORCE_SEND_INTERVAL:true, FF_SCRIPT_SECTIONS:true, FF_ENABLE_JOB_CLEANUP:true, FF_USE_ADVANCED_POD_SPEC_CONFIGURATION:true, FF_PRINT_POD_EVENTS:true, FF_USE_DUMB_INIT_WITH_KUBERNETES_EXECUTOR:true, FF_LOG_IMAGES_CONFIGURED_FOR_JOB:true, FF_CLEAN_UP_FAILED_CACHE_EXTRACT:true, FF_GIT_URLS_WITHOUT_TOKENS:true, FF_WAIT_FOR_POD_TO_BE_REACHABLE:true, FF_USE_FLEETING_ACQUIRE_HEARTBEATS:true, FF_USE_JOB_ROUTER:true
4 17:05:41 Resolving secrets
5 17:05:41 section_start:1777827941:prepare_executor
6 17:05:41 +Preparing the "kubernetes" executor
7 17:05:41 Using Kubernetes namespace: gitlab-runner
8 17:05:41 Using Kubernetes executor with image registry.scandit.com/internal/gitlab-templates/python:b7a61fbe98d60d936734108b169c932f88fff8d0aac5a5a2234432e2dd18ac21 ...
9 17:05:41 Using attach strategy to execute scripts...
10 17:05:41 Using effective pull policy of [Always] for container helper
11 17:05:41 Using effective pull policy of [Always] for container init-permissions
12 17:05:41 Using effective pull policy of [Always] for container build
13 17:05:41 section_end:1777827941:prepare_executor
14 17:05:41 +section_start:1777827941:prepare_script
15 17:05:41 +Preparing environment
16 17:05:41 Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
17 17:05:41 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 17:05:41 Subscribing to Kubernetes Pod events...
19 17:05:41 Type Reason Message
20 17:05:41 Normal Scheduled Successfully assigned gitlab-runner/runner-ap4tcsxyp-project-621-concurrent-7-g6f2ywd4 to ci9
21 17:05:42 Normal Pulled Container image "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v18.9.0" already present on machine
22 17:05:42 Normal Created Created container: init-permissions
23 17:05:43 Normal Started Started container init-permissions
24 17:05:43 Normal Pulled Container image "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v18.9.0" already present on machine
25 17:05:44 Normal Created Created container: helper
26 17:05:44 Normal Started Started container helper
27 17:05:44 Normal Pulling Pulling image "registry.scandit.com/internal/gitlab-templates/python:b7a61fbe98d60d936734108b169c932f88fff8d0aac5a5a2234432e2dd18ac21"
28 17:05:56 Normal Pulled Successfully pulled image "registry.scandit.com/internal/gitlab-templates/python:b7a61fbe98d60d936734108b169c932f88fff8d0aac5a5a2234432e2dd18ac21" in 12.093s (12.093s including waiting). Image size: 506855138 bytes.
29 17:05:56 Normal Created Created container: build
30 17:05:56 Normal Started Started container build
31 17:06:00 Running on runner-ap4tcsxyp-project-621-concurrent-7-g6f2ywd4 via gitlab-runner-linux-1-5b9cfd64ff-k5sg5...
32 17:06:00
33 17:06:00 section_end:1777827960:prepare_script
34 17:06:00 +section_start:1777827960:get_sources
35 17:06:00 +Getting source from Git repository
36 17:06:00 Gitaly correlation ID: 01KQQCV29FRGTZRHF64B8K8N82
37 17:06:00 Fetching changes with git depth set to 50...
38 17:06:00 Initialized empty Git repository in /build/internal/gitlab-templates/.git/
39 17:06:00 Created fresh repository.
40 17:06:01 Checking out 32840034 as detached HEAD (ref is master)...
41 17:06:01
42 17:06:01 Skipping Git submodules setup
43 17:06:01
44 17:06:01 section_end:1777827961:get_sources
45 17:06:01 +section_start:1777827961:step_script
46 17:06:01 +Executing "step_script" stage of the job script
47 17:06:02 section_start:1777827961:section_pre_build_script_0[hide_duration=true,collapsed=true] $ function cleanup {
48 17:06:02 rv=$?
49 17:06:02 if [ $rv -ne 0 ]; then
50 17:06:02 echo ""
51 17:06:02 echo " Failure Cause Analysis might help, please open this link:"
52 17:06:02 echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
53 17:06:02 echo ""
54 17:06:02 fi
55 17:06:02 echo ""
56 17:06:02 echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
57 17:06:02 echo ""
58 17:06:02 echo ""
59 17:06:02 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"
60 17:06:02 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"
61 17:06:02 echo "Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=${LOKI_DATASOURCE}&var-filters=log_group%7C=%7Cgitlab-runner&var-filters=source%7C%3D%7C${LOKI_LOGSOURCE}&var-filters=namespace%7C%3D%7C${SC_K8S_NAMESPACE}&var-filters=CI_PROJECT_ID%7C%3D%7C${CI_PROJECT_ID}&var-filters=CI_PIPELINE_ID%7C%3D%7C${CI_PIPELINE_ID}&var-filters=CI_JOB_ID%7C%3D%7C${CI_JOB_ID}&sortOrder=Ascending&from=${__start_time}000&to=${EPOCHSECONDS}000"
62 17:06:02 __date_from=$(date -d "@$(( EPOCHSECONDS - 604800 ))" +%Y-%m-%d)
63 17:06:02 __date_to=$(date -d "@$(( EPOCHSECONDS + 604800 ))" +%Y-%m-%d)
64 17:06:02 echo "Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=${__date_from}~${__date_to}&job_name=${CI_JOB_NAME}&project=${CI_PROJECT_PATH}"
65 17:06:02 echo ""
66 17:06:02 exit $rv
67 17:06:02 }
68 17:06:02 trap cleanup EXIT
69 17:06:02 echo "INFO: This is the CI job pre_build_script"
70 17:06:02 echo "INFO: It's defined in the backend/infra/onprem/k8s repo."
71 17:06:02 echo "INFO: These additional Scandit variables are available to you:"
72 17:06:02 echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
73 17:06:02 echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
74 17:06:02 echo " SC_K8S_KYVERNO_PATCHES: |"
75 17:06:02 echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
76 17:06:02 echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
77 17:06:02 if command -v numfmt >/dev/null 2>&1; then
78 17:06:02 echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
79 17:06:02 else
80 17:06:02 echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
81 17:06:02 fi
82 17:06:02 __start_time=${EPOCHSECONDS}
83 17:06:02 echo ""
84 17:06:02 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 17:06:02 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 17:06:02 echo "Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=${LOKI_DATASOURCE}&var-filters=log_group%7C%3D%7Cgitlab-runner&var-filters=source%7C%3D%7C${LOKI_LOGSOURCE}&var-filters=namespace%7C%3D%7C${SC_K8S_NAMESPACE}&var-filters=CI_PROJECT_ID%7C%3D%7C${CI_PROJECT_ID}&var-filters=CI_PIPELINE_ID%7C%3D%7C${CI_PIPELINE_ID}&var-filters=CI_JOB_ID%7C%3D%7C${CI_JOB_ID}&sortOrder=Ascending&from=${__start_time}000&to=now"
87 17:06:02 __date_from=$(date -d "@$(( EPOCHSECONDS - 604800 ))" +%Y-%m-%d)
88 17:06:02 __date_to=$(date -d "@$(( EPOCHSECONDS + 604800 ))" +%Y-%m-%d)
89 17:06:02 echo "Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=${__date_from}~${__date_to}&job_name=${CI_JOB_NAME}&project=${CI_PROJECT_PATH}"
90 17:06:02 echo ""
91 17:06:02 echo "Setting up credentials for Gitlab Python registries"
92 17:06:02 mkdir -p ~
93 17:06:02 echo "machine gitlab.scandit.com" > ~/.netrc
94 17:06:02 echo "login gitlab-ci-token" >> ~/.netrc
95 17:06:02 echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
96 17:06:02 chmod 600 ~/.netrc
97 17:06:02 if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
98 17:06:02 git config --global --add safe.directory $CI_PROJECT_DIR
99 17:06:02 fi
100 17:06:02 sleep infinity &
101 17:06:02 echo $! > ~/.bg_pid
102 17:06:02 section_end:1777827961:section_pre_build_script_0
103 17:06:02 INFO: This is the CI job pre_build_script
104 17:06:02 INFO: It's defined in the backend/infra/onprem/k8s repo.
105 17:06:02 INFO: These additional Scandit variables are available to you:
106 17:06:02 SC_K8S_NODE_NAME: ci9
107 17:06:02 SC_K8S_IMAGE_ID:
108 17:06:02 SC_K8S_KYVERNO_PATCHES: |
109 17:06:02
110 17:06:02 cpu (r/l): 1/8
111 17:06:02 memory (r/l): 1.0GB/16GB
112 17:06:02
113 17:06:02 Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-host=ci9&var-namespace=gitlab-runner&var-pod=runner-ap4tcsxyp-project-621-concurrent-7-g6f2ywd4&var-resolution=15&from=1777827961000&to=now
114 17:06:02 Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-node=ci9&var-resolution=15s&from=1777827961000&to=now
115 17:06:02 Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=nVsAo7UVk&var-filters=log_group%7C%3D%7Cgitlab-runner&var-filters=source%7C%3D%7Czrh.int.scandit.io&var-filters=namespace%7C%3D%7Cgitlab-runner&var-filters=CI_PROJECT_ID%7C%3D%7C621&var-filters=CI_PIPELINE_ID%7C%3D%7C1576293&var-filters=CI_JOB_ID%7C%3D%7C54273488&sortOrder=Ascending&from=1777827961000&to=now
116 17:06:02 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-26~2026-05-10&job_name=test-install-deps&project=internal/gitlab-templates
117 17:06:02
118 17:06:02 Setting up credentials for Gitlab Python registries
119 17:06:02 $ export UV_CACHE_DIR=$CACHE_DIR/.uv
120 17:06:02 $ echo "UV_CACHE_DIR $UV_CACHE_DIR"
121 17:06:02 UV_CACHE_DIR /.uv
122 17:06:02 section_start:1777827961:section_script_step_2[hide_duration=true,collapsed=true] $ export python_version=$(cat ./.python-version)
123 17:06:02 eval "$($HOME/.pyenv/bin/pyenv init -)"
124 17:06:02 echo "Activating Python $python_version"
125 17:06:02 pyenv shell $python_version || (
126 17:06:02 echo "ERROR: Installing a new Python version in container based CI jobs is no longer allowed."
127 17:06:02 echo "Please ensure the image contains a pre-installed Python ${python_version}."
128 17:06:02 exit 1
129 17:06:02 )
130 17:06:02 pyenv version
131 17:06:02 section_end:1777827961:section_script_step_2
132 17:06:02 Activating Python 3.12
133 17:06:02 3.12.2 (set by PYENV_VERSION environment variable)
134 17:06:02 section_start:1777827962:section_script_step_3[hide_duration=true,collapsed=true] $ export python_version=$(cat ./.python-version)
135 17:06:02 VENV_CACHE_PATH=${CACHE_DIR:-/cache}/venv/${CI_PROJECT_ID}/${python_version}/${CI_COMMIT_BRANCH}
136 17:06:02 mkdir -p $VENV_CACHE_PATH
137 17:06:02 # if creation of venv fails, re-run it with "--clear"
138 17:06:02 python3 -m venv $VENV_CACHE_PATH || python3 -m venv $VENV_CACHE_PATH --clear
139 17:06:02 source $VENV_CACHE_PATH/bin/activate
140 17:06:02 python3 --version
141 17:06:02 pip install --upgrade wheel uv
142 17:06:02 section_end:1777827962:section_script_step_3
143 17:06:06 Python 3.12.2
144 17:06:07 Collecting wheel
145 17:06:07 Downloading wheel-0.47.0-py3-none-any.whl.metadata (2.3 kB)
146 17:06:07 Collecting uv
147 17:06:07 Downloading uv-0.11.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
148 17:06:07 Collecting packaging>=24.0 (from wheel)
149 17:06:07 Downloading packaging-26.2-py3-none-any.whl.metadata (3.5 kB)
150 17:06:07 Downloading wheel-0.47.0-py3-none-any.whl (32 kB)
151 17:06:07 Downloading uv-0.11.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.8 MB)
152 17:06:08 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.8/24.8 MB 73.7 MB/s eta 0:00:00
153 17:06:08 Downloading packaging-26.2-py3-none-any.whl (100 kB)
154 17:06:08 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.2/100.2 kB 197.9 MB/s eta 0:00:00
155 17:06:09 Installing collected packages: uv, packaging, wheel
156 17:06:09 Successfully installed packaging-26.2 uv-0.11.8 wheel-0.47.0
157 17:06:09
158 17:06:09 [notice] A new release of pip is available: 24.0 -> 26.1
159 17:06:09 [notice] To update, run: pip install --upgrade pip
160 17:06:09 $ time uv pip install ${PIP_REQUIREMENTS:--r requirements.txt} ${PIP_ARGS}
161 17:06:10 Using Python 3.12.2 environment at: /cache/venv/621/3.12/master
162 17:06:10 Resolved 7 packages in 450ms
163 17:06:10 Downloading pygments (1.2MiB)
164 17:06:10 Downloaded pygments
165 17:06:10 Prepared 6 packages in 110ms
166 17:06:10 Installed 6 packages in 18ms
167 17:06:10 + coverage==7.13.5
168 17:06:10 + iniconfig==2.3.0
169 17:06:10 + pluggy==1.6.0
170 17:06:10 + pygments==2.20.0
171 17:06:10 + pytest==9.0.3
172 17:06:10 + pytest-cov==7.1.0
173 17:06:10
174 17:06:10 real 0m0.654s
175 17:06:10 user 0m0.175s
176 17:06:10 sys 0m0.174s
177 17:06:10 $ pyenv rehash
178 17:06:10 $ echo This is a collapsible example section
179 17:06:10 This is a collapsible example section
180 17:06:10 $ 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 17:06:11 ============================= test session starts ==============================
182 17:06:11 platform linux -- Python 3.12.2, pytest-9.0.3, pluggy-1.6.0
183 17:06:11 rootdir: /build/internal/gitlab-templates
184 17:06:11 configfile: pytest.ini
185 17:06:11 plugins: cov-7.1.0
186 17:06:11 collected 2 items / 1 deselected / 1 selected
187 17:06:11
188 17:06:11 tests/test_python.py . [100%]
189 17:06:11
190 17:06:11 - generated xml file: /build/internal/gitlab-templates/ci-logs/test_report.xml -
191 17:06:11 ================================ tests coverage ================================
192 17:06:11 _______________ coverage: platform linux, python 3.12.2-final-0 ________________
193 17:06:11
194 17:06:11 Name Stmts Miss Cover
195 17:06:11 ------------------------------------------------
196 17:06:11 tests/__init__.py 0 0 100%
197 17:06:11 tests/test_python.py 4 0 100%
198 17:06:11 tests/test_requirements.py 6 2 67%
199 17:06:11 tests/utils/example.py 11 2 82%
200 17:06:11 ------------------------------------------------
201 17:06:11 TOTAL 21 4 81%
202 17:06:11 Coverage HTML written to dir htmlcov
203 17:06:11 Coverage XML written to file coverage.xml
204 17:06:11 ======================= 1 passed, 1 deselected in 0.16s ========================
205 17:06:11 $ sed -i -e "s=<source>.*</source>=<source>./</source>=g" coverage.xml
206 17:06:11 $ echo Bye
207 17:06:11 Bye
208 17:06:11
209 17:06:11 Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54273488
210 17:06:11
211 17:06:11
212 17:06:11 Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-host=ci9&var-namespace=gitlab-runner&var-pod=runner-ap4tcsxyp-project-621-concurrent-7-g6f2ywd4&var-resolution=15&from=1777827961000&to=1777827971000
213 17:06:11 Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-node=ci9&var-resolution=15s&from=1777827961000&to=1777827971000
214 17:06:11 Loki Logs: https://grafana.scandit.com/a/grafana-lokiexplore-app/explore/log_group/gitlab-runner/logs?var-ds=nVsAo7UVk&var-filters=log_group%7C=%7Cgitlab-runner&var-filters=source%7C%3D%7Czrh.int.scandit.io&var-filters=namespace%7C%3D%7Cgitlab-runner&var-filters=CI_PROJECT_ID%7C%3D%7C621&var-filters=CI_PIPELINE_ID%7C%3D%7C1576293&var-filters=CI_JOB_ID%7C%3D%7C54273488&sortOrder=Ascending&from=1777827961000&to=1777827971000
215 17:06:11 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-26~2026-05-10&job_name=test-install-deps&project=internal/gitlab-templates
216 17:06:11
217 17:06:11
218 17:06:11 section_end:1777827971:step_script
219 17:06:11 +section_start:1777827971:upload_artifacts_on_success
220 17:06:11 +Uploading artifacts for successful job
221 17:06:12 Uploading artifacts...
222 17:06:12 htmlcov/: found 14 matching artifact files and directories
223 17:06:12 Uploading artifacts as "archive" to coordinator... 201 Created correlation_id=01KQQCW10PP1G5QZSWJHZ18D5W id=54273488 responseStatus=201 Created token=64_eCnEz9
224 17:06:12 Uploading artifacts...
225 17:06:12 /build/internal/gitlab-templates/ci-logs/test_report.xml: found 1 matching artifact files and directories
226 17:06:13 Uploading artifacts as "junit" to coordinator... 201 Created correlation_id=01KQQCW1EAW0G6ZB83W3YGM52F id=54273488 responseStatus=201 Created token=64_eCnEz9
227 17:06:13 Uploading artifacts...
228 17:06:13 coverage.xml: found 1 matching artifact files and directories
229 17:06:13 Uploading artifacts as "cobertura" to coordinator... 201 Created correlation_id=01KQQCW1PWBBPP48C3PEH17AE1 id=54273488 responseStatus=201 Created token=64_eCnEz9
230 17:06:13
231 17:06:13 section_end:1777827973:upload_artifacts_on_success
232 17:06:13 +section_start:1777827973:cleanup_file_variables
233 17:06:13 +Cleaning up project directory and file based variables
234 17:06:13 Removing .coverage
235 17:06:13 Removing .pytest_cache/
236 17:06:13 Removing ci-logs/
237 17:06:13 Removing coverage.xml
238 17:06:13 Removing htmlcov/
239 17:06:13 Removing tests/__pycache__/
240 17:06:13 Removing tests/utils/__pycache__/
241 17:06:13 HEAD is now at 3284003 Merge branch 'renovate/docker-digests' into 'master'
242 17:06:13
243 17:06:13 section_end:1777827973:cleanup_file_variables
244 17:06:13 +
245 17:06:13 Job succeeded
246