test-preinstalled-deps ○ success

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

174 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-p5lbx wRxjPbsJX, system ID: r_201AzAERJfrE
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-8eejdulz to ip-10-0-19-150.eu-central-1.compute.internal
21 09:35:29 Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
22 09:35:29 Normal Created Created container: init-permissions
23 09:35:30 Normal Started Started container init-permissions
24 09:35:30 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:30 Normal Created Created container: build
26 09:35:30 Normal Started Started container build
27 09:35:30 Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
28 09:35:30 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-8eejdulz via gitlab-runner-linux-1-5fd7c4d488-p5lbx...
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:33 Gitaly correlation ID: 01KQVQW4TM2ENZW1Z55V4SSEXS
36 09:35:33 Fetching changes with git depth set to 50...
37 09:35:33 Initialized empty Git repository in /build/internal/gitlab-templates/.git/
38 09:35:33 Created fresh repository.
39 09:35:34 Checking out eea928ac as detached HEAD (ref is refs/merge-requests/637/merge)...
40 09:35:34
41 09:35:34 Skipping Git submodules setup
42 09:35:34
43 09:35:34 section_end:1777973734:get_sources
44 09:35:34 +section_start:1777973734:step_script
45 09:35:34 +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-19-150.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-19-150.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-3-8eejdulz&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-19-150.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|=|54380617&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-preinstalled-deps&project=internal/gitlab-templates
112 09:35:35
113 09:35:35 Setting up credentials for Gitlab Python registries
114 09:35:35 $ echo This is a collapsible example section
115 09:35:35 This is a collapsible example section
116 09:35:35 $ python3 -m pytest ${PYTEST_OPTS:--m "not requirements"} --cov=. --cov-report=html --cov-report=xml --cov-report=term --junitxml=${CI_LOGS}/test_report.xml .
117 09:35:35 ============================= test session starts ==============================
118 09:35:35 platform linux -- Python 3.12.2, pytest-9.0.3, pluggy-1.6.0
119 09:35:35 rootdir: /build/internal/gitlab-templates
120 09:35:35 configfile: pytest.ini
121 09:35:35 plugins: cov-7.1.0
122 09:35:35 collected 2 items / 1 deselected / 1 selected
123 09:35:35
124 09:35:35 tests/test_python.py . [100%]
125 09:35:35
126 09:35:35 - generated xml file: /build/internal/gitlab-templates/ci-logs/test_report.xml -
127 09:35:35 ================================ tests coverage ================================
128 09:35:35 _______________ coverage: platform linux, python 3.12.2-final-0 ________________
129 09:35:35
130 09:35:35 Name Stmts Miss Cover
131 09:35:35 ------------------------------------------------
132 09:35:35 tests/__init__.py 0 0 100%
133 09:35:35 tests/test_python.py 4 0 100%
134 09:35:35 tests/test_requirements.py 6 2 67%
135 09:35:35 tests/utils/example.py 11 2 82%
136 09:35:35 ------------------------------------------------
137 09:35:35 TOTAL 21 4 81%
138 09:35:35 Coverage HTML written to dir htmlcov
139 09:35:35 Coverage XML written to file coverage.xml
140 09:35:35 ======================= 1 passed, 1 deselected in 0.12s ========================
141 09:35:35 $ sed -i -e "s=<source>.*</source>=<source>./</source>=g" coverage.xml
142 09:35:35 $ echo Bye
143 09:35:35 Bye
144 09:35:35
145 09:35:35 Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54380617
146 09:35:35
147 09:35:35
148 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-19-150.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-3-8eejdulz&var-resolution=15&from=1777973735000&to=1777973735000
149 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-19-150.eu-central-1.compute.internal&var-resolution=15s&from=1777973735000&to=1777973735000
150 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|=|54380617&sortOrder=Ascending&from=1777973735000&to=1777973735000
151 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-preinstalled-deps&project=internal/gitlab-templates
152 09:35:35
153 09:35:35
154 09:35:35 section_end:1777973735:step_script
155 09:35:35 +section_start:1777973735:upload_artifacts_on_success
156 09:35:35 +Uploading artifacts for successful job
157 09:35:36 Uploading artifacts...
158 09:35:36 htmlcov/: found 14 matching artifact files and directories
159 09:35:36 Uploading artifacts as "archive" to coordinator... 201 Created correlation_id=01KQVQWCQ3FF8ZZV74BP6Z3YE2 id=54380617 responseStatus=201 Created token=64_xs63K2
160 09:35:36 Uploading artifacts...
161 09:35:36 /build/internal/gitlab-templates/ci-logs/test_report.xml: found 1 matching artifact files and directories
162 09:35:37 Uploading artifacts as "junit" to coordinator... 201 Created correlation_id=01KQVQWD6D5G6SKTS2EQEEVMSB id=54380617 responseStatus=201 Created token=64_xs63K2
163 09:35:37 Uploading artifacts...
164 09:35:37 coverage.xml: found 1 matching artifact files and directories
165 09:35:37 Uploading artifacts as "cobertura" to coordinator... 201 Created correlation_id=01KQVQWDFYR63NXEAV9ABM5W00 id=54380617 responseStatus=201 Created token=64_xs63K2
166 09:35:37
167 09:35:37 section_end:1777973737:upload_artifacts_on_success
168 09:35:37 +section_start:1777973737:cleanup_file_variables
169 09:35:37 +Cleaning up project directory and file based variables
170 09:35:37
171 09:35:37 section_end:1777973737:cleanup_file_variables
172 09:35:37 +
173 09:35:37 Job succeeded
174