test-install-deps β—‹ success

⏱ Duration: 42s
⏳ Queued: 3s
πŸ“ Stage: test
πŸ–₯ Runner: linux-aws-1
Average Duration
37s
This job: 42s
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

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