test-preinstalled-deps ○ success

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

175 lines
Match - of 0
1 23:36:28 Running with gitlab-runner 18.9.0 (07e534ba)
2 23:36:28 on gitlab-runner-linux-1-5fd7c4d488-2p5ws wRxjPbsJX, system ID: r_ApPziMY2hZUA
3 23:36: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 23:36:28 Resolving secrets
5 23:36:28 section_start:1777678588:prepare_executor
6 23:36:28 +Preparing the "kubernetes" executor
7 23:36:28 Using Kubernetes namespace: gitlab-runner
8 23:36:28 Using Kubernetes executor with image registry.scandit.com/internal/gitlab-templates/python:b7a61fbe98d60d936734108b169c932f88fff8d0aac5a5a2234432e2dd18ac21 ...
9 23:36:28 Using attach strategy to execute scripts...
10 23:36:28 Using effective pull policy of [Always] for container build
11 23:36:28 Using effective pull policy of [Always] for container helper
12 23:36:28 Using effective pull policy of [Always] for container init-permissions
13 23:36:28 section_end:1777678588:prepare_executor
14 23:36:28 +section_start:1777678588:prepare_script
15 23:36:28 +Preparing environment
16 23:36:28 Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
17 23:36: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 23:36:29 Subscribing to Kubernetes Pod events...
19 23:36:29 Type Reason Message
20 23:36:29 Normal Scheduled Successfully assigned gitlab-runner/runner-wrxjpbsjx-project-621-concurrent-0-hupj3j2i to ip-10-0-43-232.eu-central-1.compute.internal
21 23:36:29 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:30 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 23.801s (23.801s including waiting). Image size: 506855138 bytes.
26 23:36:54 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:55 Normal Created Created container: helper
30 23:36:55 Normal Started Started container helper
31 23:36:59 Running on runner-wrxjpbsjx-project-621-concurrent-0-hupj3j2i via gitlab-runner-linux-1-5fd7c4d488-2p5ws...
32 23:36:59
33 23:36:59 section_end:1777678619:prepare_script
34 23:36:59 +section_start:1777678619:get_sources
35 23:36:59 +Getting source from Git repository
36 23:37:00 Gitaly correlation ID: 01KQJYD5JDPDRAW0C462MPB5H5
37 23:37:00 Fetching changes with git depth set to 50...
38 23:37:00 Initialized empty Git repository in /build/internal/gitlab-templates/.git/
39 23:37:00 Created fresh repository.
40 23:37:01 Checking out 50468f6f as detached HEAD (ref is refs/merge-requests/636/merge)...
41 23:37:01
42 23:37:01 Skipping Git submodules setup
43 23:37:01
44 23:37:01 section_end:1777678621:get_sources
45 23:37:01 +section_start:1777678621:step_script
46 23:37:01 +Executing "step_script" stage of the job script
47 23:37:01 section_start:1777678621:section_pre_build_script_0[hide_duration=true,collapsed=true] $ function cleanup {
48 23:37:01 rv=$?
49 23:37:01 if [ $rv -ne 0 ]; then
50 23:37:01 echo ""
51 23:37:01 echo " Failure Cause Analysis might help, please open this link:"
52 23:37:01 echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
53 23:37:01 echo ""
54 23:37:01 fi
55 23:37:01 echo ""
56 23:37:01 echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
57 23:37:01 echo ""
58 23:37:01 echo ""
59 23:37:01 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:01 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:01 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:01 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:01 echo ""
64 23:37:01 exit $rv
65 23:37:01 }
66 23:37:01 trap cleanup EXIT
67 23:37:01 echo "INFO: This is the CI job pre_build_script"
68 23:37:01 echo "INFO: It's defined in the backend/infra/aws repo."
69 23:37:01 echo "INFO: These additional Scandit variables are available to you:"
70 23:37:01 echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
71 23:37:01 echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
72 23:37:01 echo " SC_K8S_KYVERNO_PATCHES: |"
73 23:37:01 echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
74 23:37:01 echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
75 23:37:01 if command -v numfmt >/dev/null 2>&1; then
76 23:37:01 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:01 else
78 23:37:01 echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
79 23:37:01 fi
80 23:37:01 __start_time=${EPOCHSECONDS}
81 23:37:01 echo ""
82 23:37:01 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:01 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:01 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:01 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:01 echo ""
87 23:37:01 echo "Setting up credentials for Gitlab Python registries"
88 23:37:01 mkdir -p ~
89 23:37:01 echo "machine gitlab.scandit.com" > ~/.netrc
90 23:37:01 echo "login gitlab-ci-token" >> ~/.netrc
91 23:37:01 echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
92 23:37:01 chmod 600 ~/.netrc
93 23:37:01 if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
94 23:37:01 git config --global --add safe.directory $CI_PROJECT_DIR
95 23:37:01 fi
96 23:37:01 # Sonarqube server is running on the same cluster. Use internal address
97 23:37:01 export SONAR_HOST_URL="http://sonarqube.sonarqube.svc.cluster.local:9000"
98 23:37:01 section_end:1777678621:section_pre_build_script_0
99 23:37:01 INFO: This is the CI job pre_build_script
100 23:37:01 INFO: It's defined in the backend/infra/aws repo.
101 23:37:01 INFO: These additional Scandit variables are available to you:
102 23:37:01 SC_K8S_NODE_NAME: ip-10-0-43-232.eu-central-1.compute.internal
103 23:37:01 SC_K8S_IMAGE_ID:
104 23:37:01 SC_K8S_KYVERNO_PATCHES: |
105 23:37:01
106 23:37:01 cpu (r/l): 1/4
107 23:37:01 memory (r/l): 1.0GB/16GB
108 23:37:01
109 23:37:01 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-0-hupj3j2i&var-resolution=15&from=1777678621000&to=now
110 23:37:01 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=1777678621000&to=now
111 23:37:01 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|=|54243458&sortOrder=Ascending&from=1777678621000&to=now
112 23:37:01 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-24~2026-05-08&job_name=test-preinstalled-deps&project=internal/gitlab-templates
113 23:37:01
114 23:37:01 Setting up credentials for Gitlab Python registries
115 23:37:01 $ echo This is a collapsible example section
116 23:37:01 This is a collapsible example section
117 23:37:01 $ python3 -m pytest ${PYTEST_OPTS:--m "not requirements"} --cov=. --cov-report=html --cov-report=xml --cov-report=term --junitxml=${CI_LOGS}/test_report.xml .
118 23:37:02 ============================= test session starts ==============================
119 23:37:02 platform linux -- Python 3.12.2, pytest-9.0.3, pluggy-1.6.0
120 23:37:02 rootdir: /build/internal/gitlab-templates
121 23:37:02 configfile: pytest.ini
122 23:37:02 plugins: cov-7.1.0
123 23:37:02 collected 2 items / 1 deselected / 1 selected
124 23:37:02
125 23:37:02 tests/test_python.py . [100%]
126 23:37:02
127 23:37:02 - generated xml file: /build/internal/gitlab-templates/ci-logs/test_report.xml -
128 23:37:02 ================================ tests coverage ================================
129 23:37:02 _______________ coverage: platform linux, python 3.12.2-final-0 ________________
130 23:37:02
131 23:37:02 Name Stmts Miss Cover
132 23:37:02 ------------------------------------------------
133 23:37:02 tests/__init__.py 0 0 100%
134 23:37:02 tests/test_python.py 4 0 100%
135 23:37:02 tests/test_requirements.py 6 2 67%
136 23:37:02 tests/utils/example.py 11 2 82%
137 23:37:02 ------------------------------------------------
138 23:37:02 TOTAL 21 4 81%
139 23:37:02 Coverage HTML written to dir htmlcov
140 23:37:02 Coverage XML written to file coverage.xml
141 23:37:02 ======================= 1 passed, 1 deselected in 0.12s ========================
142 23:37:02 $ sed -i -e "s=<source>.*</source>=<source>./</source>=g" coverage.xml
143 23:37:02 $ echo Bye
144 23:37:02 Bye
145 23:37:02
146 23:37:02 Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54243458
147 23:37:02
148 23:37:02
149 23:37:02 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-0-hupj3j2i&var-resolution=15&from=1777678621000&to=1777678622000
150 23:37:02 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=1777678621000&to=1777678622000
151 23:37:02 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|=|54243458&sortOrder=Ascending&from=1777678621000&to=1777678622000
152 23:37:02 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-24~2026-05-08&job_name=test-preinstalled-deps&project=internal/gitlab-templates
153 23:37:02
154 23:37:02
155 23:37:02 section_end:1777678622:step_script
156 23:37:02 +section_start:1777678622:upload_artifacts_on_success
157 23:37:02 +Uploading artifacts for successful job
158 23:37:03 Uploading artifacts...
159 23:37:03 htmlcov/: found 14 matching artifact files and directories
160 23:37:04 Uploading artifacts as "archive" to coordinator... 201 Created correlation_id=01KQJYE8NXSDNWCP43R8WVQPMF id=54243458 responseStatus=201 Created token=64_jq3f55
161 23:37:04 Uploading artifacts...
162 23:37:04 /build/internal/gitlab-templates/ci-logs/test_report.xml: found 1 matching artifact files and directories
163 23:37:04 Uploading artifacts as "junit" to coordinator... 201 Created correlation_id=01KQJYE9D92FKMETAYC3NX2YQ2 id=54243458 responseStatus=201 Created token=64_jq3f55
164 23:37:04 Uploading artifacts...
165 23:37:04 coverage.xml: found 1 matching artifact files and directories
166 23:37:04 Uploading artifacts as "cobertura" to coordinator... 201 Created correlation_id=01KQJYE9RARS0NVRG3CVW5T3J6 id=54243458 responseStatus=201 Created token=64_jq3f55
167 23:37:04
168 23:37:04 section_end:1777678624:upload_artifacts_on_success
169 23:37:04 +section_start:1777678624:cleanup_file_variables
170 23:37:04 +Cleaning up project directory and file based variables
171 23:37:05
172 23:37:05 section_end:1777678625:cleanup_file_variables
173 23:37:05 +
174 23:37:05 Job succeeded
175