pre-commit ○ success

Duration: 1m 9s
Queued: 1s
📁 Stage: lint
🖥 Runner: linux-aws-1
Average Duration
26s
This job: 1m 9s
Failure Rate
0.9%
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

167 lines
Match - of 0
1 17:06:58 Running with gitlab-runner 18.9.0 (07e534ba)
2 17:06:58 on gitlab-runner-linux-1-5fd7c4d488-2p5ws wRxjPbsJX, system ID: r_ApPziMY2hZUA
3 17:06:58 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 17:06:58 Resolving secrets
5 17:06:58 section_start:1777828018:prepare_executor
6 17:06:58 +Preparing the "kubernetes" executor
7 17:06:58 Using Kubernetes namespace: gitlab-runner
8 17:06:58 Using Kubernetes executor with image registry.scandit.com/internal/gitlab-templates/pre-commit:17f326f916c2676c279ad503717158f9dc23bc3df559feda764e3fd7ac8bdc56 ...
9 17:06:58 Using attach strategy to execute scripts...
10 17:06:58 Using effective pull policy of [Always] for container build
11 17:06:58 Using effective pull policy of [Always] for container helper
12 17:06:58 Using effective pull policy of [Always] for container init-permissions
13 17:06:58 section_end:1777828018:prepare_executor
14 17:06:58 +section_start:1777828018:prepare_script
15 17:06:58 +Preparing environment
16 17:06:58 Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
17 17:06:58 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:06:59 Subscribing to Kubernetes Pod events...
19 17:06:59 Type Reason Message
20 17:06:59 Warning FailedScheduling 0/19 nodes are available: 1 node(s) had untolerated taint {scandit.io/clickhouse: production}, 1 node(s) had untolerated taint {scandit.io/clickhouse: staging}, 1 node(s) had untolerated taint {scandit.io/sonarqube: dedicated}, 16 node(s) didn't match Pod's node affinity/selector. preemption: 0/19 nodes are available: 19 Preemption is not helpful for scheduling.
21 17:07:08 Normal TriggeredScaleUp pod triggered scale-up: [{eks-ondemand-ci-x86-m8-32C-128G-v2-1a-6ace9784-48b2-a474-a3cb-2bb0d09d17d9 0->1 (max: 30)}]
22 17:07:31 Warning FailedScheduling 0/20 nodes are available: 1 node(s) had untolerated taint {node.cloudprovider.kubernetes.io/uninitialized: true}, 1 node(s) had untolerated taint {scandit.io/clickhouse: production}, 1 node(s) had untolerated taint {scandit.io/clickhouse: staging}, 1 node(s) had untolerated taint {scandit.io/sonarqube: dedicated}, 16 node(s) didn't match Pod's node affinity/selector. preemption: 0/20 nodes are available: 20 Preemption is not helpful for scheduling.
23 17:07:31 Warning FailedScheduling 0/20 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/not-ready: }, 1 node(s) had untolerated taint {scandit.io/clickhouse: production}, 1 node(s) had untolerated taint {scandit.io/clickhouse: staging}, 1 node(s) had untolerated taint {scandit.io/sonarqube: dedicated}, 16 node(s) didn't match Pod's node affinity/selector. preemption: 0/20 nodes are available: 20 Preemption is not helpful for scheduling.
24 17:07:31 Warning FailedScheduling 0/20 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/not-ready: }, 1 node(s) had untolerated taint {scandit.io/clickhouse: production}, 1 node(s) had untolerated taint {scandit.io/clickhouse: staging}, 1 node(s) had untolerated taint {scandit.io/sonarqube: dedicated}, 16 node(s) didn't match Pod's node affinity/selector. preemption: 0/20 nodes are available: 20 Preemption is not helpful for scheduling.
25 17:07:42 Normal Scheduled Successfully assigned gitlab-runner/runner-wrxjpbsjx-project-621-concurrent-0-wj8zrxf8 to ip-10-0-19-189.eu-central-1.compute.internal
26 17:07:42 Normal Pulling Pulling image "gitlab/gitlab-runner-helper:x86_64-v18.8.0"
27 17:07:45 Normal Pulled Successfully pulled image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" in 2.96s (2.96s including waiting). Image size: 39949060 bytes.
28 17:07:45 Normal Created Created container: init-permissions
29 17:07:46 Normal Started Started container init-permissions
30 17:07:46 Normal TaintManagerEviction Cancelling deletion of Pod gitlab-runner/runner-wrxjpbsjx-project-621-concurrent-0-wj8zrxf8
31 17:07:53 Normal Pulling Pulling image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/internal/gitlab-templates/pre-commit@sha256:e1a42072273b679421c82fa0fb2d4487612d040caad8151ebb4c02ca2babfe0e"
32 17:08:01 Normal Pulled Successfully pulled image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/internal/gitlab-templates/pre-commit@sha256:e1a42072273b679421c82fa0fb2d4487612d040caad8151ebb4c02ca2babfe0e" in 7.272s (7.272s including waiting). Image size: 484588746 bytes.
33 17:08:01 Normal Created Created container: build
34 17:08:01 Normal Started Started container build
35 17:08:01 Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
36 17:08:01 Normal Created Created container: helper
37 17:08:01 Normal Started Started container helper
38 17:08:03 Running on runner-wrxjpbsjx-project-621-concurrent-0-wj8zrxf8 via gitlab-runner-linux-1-5fd7c4d488-2p5ws...
39 17:08:03
40 17:08:03 section_end:1777828083:prepare_script
41 17:08:03 +section_start:1777828083:get_sources
42 17:08:03 +Getting source from Git repository
43 17:08:04 Gitaly correlation ID: 01KQQCXE2S5WBYP04CH6PN9AT1
44 17:08:04 Fetching changes with git depth set to 50...
45 17:08:04 Initialized empty Git repository in /build/internal/gitlab-templates/.git/
46 17:08:04 Created fresh repository.
47 17:08:05 Checking out 32840034 as detached HEAD (ref is master)...
48 17:08:05
49 17:08:05 Skipping Git submodules setup
50 17:08:05
51 17:08:05 section_end:1777828085:get_sources
52 17:08:05 +section_start:1777828085:step_script
53 17:08:05 +Executing "step_script" stage of the job script
54 17:08:05 section_start:1777828085:section_pre_build_script_0[hide_duration=true,collapsed=true] $ function cleanup {
55 17:08:05 rv=$?
56 17:08:05 if [ $rv -ne 0 ]; then
57 17:08:05 echo ""
58 17:08:05 echo " Failure Cause Analysis might help, please open this link:"
59 17:08:05 echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
60 17:08:05 echo ""
61 17:08:05 fi
62 17:08:05 echo ""
63 17:08:05 echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
64 17:08:05 echo ""
65 17:08:05 echo ""
66 17:08:05 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"
67 17:08:05 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"
68 17:08:05 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"
69 17:08:05 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}"
70 17:08:05 echo ""
71 17:08:05 exit $rv
72 17:08:05 }
73 17:08:05 trap cleanup EXIT
74 17:08:05 echo "INFO: This is the CI job pre_build_script"
75 17:08:05 echo "INFO: It's defined in the backend/infra/aws repo."
76 17:08:05 echo "INFO: These additional Scandit variables are available to you:"
77 17:08:05 echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
78 17:08:05 echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
79 17:08:05 echo " SC_K8S_KYVERNO_PATCHES: |"
80 17:08:05 echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
81 17:08:05 echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
82 17:08:05 if command -v numfmt >/dev/null 2>&1; then
83 17:08:05 echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
84 17:08:05 else
85 17:08:05 echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
86 17:08:05 fi
87 17:08:05 __start_time=${EPOCHSECONDS}
88 17:08:05 echo ""
89 17:08:05 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"
90 17:08:05 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"
91 17:08:05 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"
92 17:08:05 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}"
93 17:08:05 echo ""
94 17:08:05 echo "Setting up credentials for Gitlab Python registries"
95 17:08:05 mkdir -p ~
96 17:08:05 echo "machine gitlab.scandit.com" > ~/.netrc
97 17:08:05 echo "login gitlab-ci-token" >> ~/.netrc
98 17:08:05 echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
99 17:08:05 chmod 600 ~/.netrc
100 17:08:05 if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
101 17:08:05 git config --global --add safe.directory $CI_PROJECT_DIR
102 17:08:05 fi
103 17:08:05 # Sonarqube server is running on the same cluster. Use internal address
104 17:08:05 export SONAR_HOST_URL="http://sonarqube.sonarqube.svc.cluster.local:9000"
105 17:08:05 section_end:1777828085:section_pre_build_script_0
106 17:08:05 INFO: This is the CI job pre_build_script
107 17:08:05 INFO: It's defined in the backend/infra/aws repo.
108 17:08:05 INFO: These additional Scandit variables are available to you:
109 17:08:05 SC_K8S_NODE_NAME: ip-10-0-19-189.eu-central-1.compute.internal
110 17:08:05 SC_K8S_IMAGE_ID:
111 17:08:05 SC_K8S_KYVERNO_PATCHES: |
112 17:08:05
113 17:08:05 cpu (r/l): 1/4
114 17:08:05 memory (r/l): 1.0GB/16GB
115 17:08:05
116 17:08:05 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-189.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-0-wj8zrxf8&var-resolution=15&from=1777828085000&to=now
117 17:08:05 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-189.eu-central-1.compute.internal&var-resolution=15s&from=1777828085000&to=now
118 17:08:05 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|=|1576293&var-filters=CI_JOB_ID|=|54273484&sortOrder=Ascending&from=1777828085000&to=now
119 17:08:05 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-26~2026-05-10&job_name=pre-commit&project=internal/gitlab-templates
120 17:08:05
121 17:08:05 Setting up credentials for Gitlab Python registries
122 17:08:05 $ rm -f .python-version
123 17:08:05 $ pre-commit run --config $PRE_COMMIT_CONFIG_YAML $PRE_COMMIT_EXTRA_ARGS --all-files
124 17:08:05 check for added large files..............................................Passed
125 17:08:05 check that executables have shebangs.................(no files to check)Skipped
126 17:08:05 check json...............................................................Passed
127 17:08:05 check for merge conflicts................................................Passed
128 17:08:05 check that scripts with shebangs are executable..........................Passed
129 17:08:06 check toml...............................................................Passed
130 17:08:06 check xml............................................(no files to check)Skipped
131 17:08:06 check yaml...............................................................Passed
132 17:08:06 debug statements (python)................................................Passed
133 17:08:06 detect private key.......................................................Passed
134 17:08:06 fix end of files.........................................................Passed
135 17:08:06 fix utf-8 byte order marker..............................................Passed
136 17:08:06 mixed line ending........................................................Passed
137 17:08:06 pretty format json.......................................................Passed
138 17:08:06 sort simple yaml files...............................(no files to check)Skipped
139 17:08:06 trim trailing whitespace.................................................Passed
140 17:08:06 Pretty format INI........................................................Passed
141 17:08:06 Pretty format TOML.......................................................Passed
142 17:08:06 Format YAML files........................................................Passed
143 17:08:06 yamllint.................................................................Passed
144 17:08:06
145 17:08:06 Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54273484
146 17:08:06
147 17:08:06
148 17:08:06 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-189.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-0-wj8zrxf8&var-resolution=15&from=1777828085000&to=1777828086000
149 17:08:06 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-189.eu-central-1.compute.internal&var-resolution=15s&from=1777828085000&to=1777828086000
150 17:08:06 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|=|1576293&var-filters=CI_JOB_ID|=|54273484&sortOrder=Ascending&from=1777828085000&to=1777828086000
151 17:08:06 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-26~2026-05-10&job_name=pre-commit&project=internal/gitlab-templates
152 17:08:06
153 17:08:06
154 17:08:06 section_end:1777828086:step_script
155 17:08:06 +section_start:1777828086:after_script
156 17:08:06 +Running after_script
157 17:08:07 Running after script...
158 17:08:07 $ git diff > pre-commit.diff
159 17:08:07
160 17:08:07 section_end:1777828087:after_script
161 17:08:07 +section_start:1777828087:cleanup_file_variables
162 17:08:07 +Cleaning up project directory and file based variables
163 17:08:07
164 17:08:07 section_end:1777828087:cleanup_file_variables
165 17:08:07 +
166 17:08:07 Job succeeded
167