post-slack-message-pass ○ success
⏱
Duration: 35s
⏳
Queued: 2s
📁
Stage: post-message
🖥
Runner: linux-1
Average Duration
25s
This job: 35s
Failure Rate
0.0%
last 30 days
External Links
▶
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
190 lines
Match - of 0
1
23:40:25
Running with gitlab-runner 18.9.0 (07e534ba)
2
23:40:25
on gitlab-runner-linux-1-5b9cfd64ff-k5sg5 aP4tCsXyp, system ID: r_wQDtEh3nNZsL
3
23:40:25
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
23:40:25
Resolving secrets
5
23:40:25
section_start:1777678825:prepare_executor
6
23:40:25
+Preparing the "kubernetes" executor
7
23:40:25
Using Kubernetes namespace: gitlab-runner
8
23:40:25
Using Kubernetes executor with image registry.scandit.com/dockerfiles/pyenv:ubuntu-3.12@sha256:9b81c4935aa331311e8c891e6b2b84f09c95bf1de5863ff990d9149e13600145 ...
9
23:40:25
Using attach strategy to execute scripts...
10
23:40:25
Using effective pull policy of [Always] for container helper
11
23:40:25
Using effective pull policy of [Always] for container init-permissions
12
23:40:25
Using effective pull policy of [Always] for container build
13
23:40:25
section_end:1777678825:prepare_executor
14
23:40:25
+section_start:1777678825:prepare_script
15
23:40:25
+Preparing environment
16
23:40:25
Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
17
23:40:25
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:40:25
Subscribing to Kubernetes Pod events...
19
23:40:25
Type Reason Message
20
23:40:25
Normal Scheduled Successfully assigned gitlab-runner/runner-ap4tcsxyp-project-621-concurrent-0-doqhemwt to ci7
21
23:40:26
Normal Pulled Container image "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v18.9.0" already present on machine
22
23:40:26
Normal Created Created container: init-permissions
23
23:40:26
Normal Started Started container init-permissions
24
23:40:32
Normal Pulled Container image "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v18.9.0" already present on machine
25
23:40:33
Normal Created Created container: helper
26
23:40:33
Normal Started Started container helper
27
23:40:33
Normal Pulling Pulling image "registry.scandit.com/dockerfiles/pyenv:ubuntu-3.12@sha256:9b81c4935aa331311e8c891e6b2b84f09c95bf1de5863ff990d9149e13600145"
28
23:40:54
Normal Pulled Successfully pulled image "registry.scandit.com/dockerfiles/pyenv:ubuntu-3.12@sha256:9b81c4935aa331311e8c891e6b2b84f09c95bf1de5863ff990d9149e13600145" in 21.144s (21.144s including waiting). Image size: 446658959 bytes.
29
23:40:54
Normal Created Created container: build
30
23:40:54
Normal Started Started container build
31
23:40:56
Running on runner-ap4tcsxyp-project-621-concurrent-0-doqhemwt via gitlab-runner-linux-1-5b9cfd64ff-k5sg5...
32
23:40:56
33
23:40:56
section_end:1777678856:prepare_script
34
23:40:56
+section_start:1777678856:get_sources
35
23:40:56
+Getting source from Git repository
36
23:40:56
Gitaly correlation ID: 01KQJYMDHFGWSJH6PB13CVW62Q
37
23:40:56
Fetching changes with git depth set to 50...
38
23:40:56
Initialized empty Git repository in /build/internal/gitlab-templates/.git/
39
23:40:56
Created fresh repository.
40
23:40:57
Checking out 50468f6f as detached HEAD (ref is refs/merge-requests/636/merge)...
41
23:40:57
42
23:40:57
Skipping Git submodules setup
43
23:40:57
44
23:40:57
section_end:1777678857:get_sources
45
23:40:57
+section_start:1777678857:download_artifacts
46
23:40:57
+Downloading artifacts
47
23:40:58
Downloading artifacts for test-preinstalled-deps (54243458)...
48
23:40:58
Downloading artifacts from coordinator... ok correlation_id=01KQJYNDW00D82WAJBTD31XCSJ host=gitlab.scandit.com id=54243458 responseStatus=200 OK token=64_xPVdsw
49
23:40:58
Downloading artifacts for test-install-deps (54243459)...
50
23:40:58
Downloading artifacts from coordinator... ok correlation_id=01KQJYNE2S0E2N5J3PTJK3EHF0 host=gitlab.scandit.com id=54243459 responseStatus=200 OK token=64_xPVdsw
51
23:40:58
Downloading artifacts for test-install-deps-extra (54243460)...
52
23:40:58
Downloading artifacts from coordinator... ok correlation_id=01KQJYNE8ZS8CW55KQN0083P7G host=gitlab.scandit.com id=54243460 responseStatus=200 OK token=64_xPVdsw
53
23:40:58
Downloading artifacts for snyk-container-test (54243467)...
54
23:40:59
Downloading artifacts from coordinator... ok correlation_id=01KQJYNEF6KT6HFFF2CT8S4T8C host=gitlab.scandit.com id=54243467 responseStatus=200 OK token=64_xPVdsw
55
23:40:59
Downloading artifacts for snyk-container-test-delta (54243468)...
56
23:40:59
Downloading artifacts from coordinator... ok correlation_id=01KQJYNEMY3SSYR43PB95SNV9W host=gitlab.scandit.com id=54243468 responseStatus=200 OK token=64_xPVdsw
57
23:40:59
58
23:40:59
section_end:1777678859:download_artifacts
59
23:40:59
+section_start:1777678859:step_script
60
23:40:59
+Executing "step_script" stage of the job script
61
23:40:59
section_start:1777678859:section_pre_build_script_0[hide_duration=true,collapsed=true]
$ function cleanup {
62
23:40:59
rv=$?
63
23:40:59
if [ $rv -ne 0 ]; then
64
23:40:59
echo ""
65
23:40:59
echo " Failure Cause Analysis might help, please open this link:"
66
23:40:59
echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
67
23:40:59
echo ""
68
23:40:59
fi
69
23:40:59
echo ""
70
23:40:59
echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
71
23:40:59
echo ""
72
23:40:59
echo ""
73
23:40:59
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"
74
23:40:59
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"
75
23:40:59
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"
76
23:40:59
__date_from=$(date -d "@$(( EPOCHSECONDS - 604800 ))" +%Y-%m-%d)
77
23:40:59
__date_to=$(date -d "@$(( EPOCHSECONDS + 604800 ))" +%Y-%m-%d)
78
23:40:59
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}"
79
23:40:59
echo ""
80
23:40:59
exit $rv
81
23:40:59
}
82
23:40:59
trap cleanup EXIT
83
23:40:59
echo "INFO: This is the CI job pre_build_script"
84
23:40:59
echo "INFO: It's defined in the backend/infra/onprem/k8s repo."
85
23:40:59
echo "INFO: These additional Scandit variables are available to you:"
86
23:40:59
echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
87
23:40:59
echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
88
23:40:59
echo " SC_K8S_KYVERNO_PATCHES: |"
89
23:40:59
echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
90
23:40:59
echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
91
23:40:59
if command -v numfmt >/dev/null 2>&1; then
92
23:40:59
echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
93
23:40:59
else
94
23:40:59
echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
95
23:40:59
fi
96
23:40:59
__start_time=${EPOCHSECONDS}
97
23:40:59
echo ""
98
23:40:59
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"
99
23:40:59
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"
100
23:40:59
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"
101
23:40:59
__date_from=$(date -d "@$(( EPOCHSECONDS - 604800 ))" +%Y-%m-%d)
102
23:40:59
__date_to=$(date -d "@$(( EPOCHSECONDS + 604800 ))" +%Y-%m-%d)
103
23:40:59
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}"
104
23:40:59
echo ""
105
23:40:59
echo "Setting up credentials for Gitlab Python registries"
106
23:40:59
mkdir -p ~
107
23:40:59
echo "machine gitlab.scandit.com" > ~/.netrc
108
23:40:59
echo "login gitlab-ci-token" >> ~/.netrc
109
23:40:59
echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
110
23:40:59
chmod 600 ~/.netrc
111
23:40:59
if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
112
23:40:59
git config --global --add safe.directory $CI_PROJECT_DIR
113
23:40:59
fi
114
23:40:59
sleep infinity &
115
23:40:59
echo $! > ~/.bg_pid
116
23:40:59
section_end:1777678859:section_pre_build_script_0
117
23:40:59
INFO: This is the CI job pre_build_script
118
23:40:59
INFO: It's defined in the backend/infra/onprem/k8s repo.
119
23:40:59
INFO: These additional Scandit variables are available to you:
120
23:40:59
SC_K8S_NODE_NAME: ci7
121
23:40:59
SC_K8S_IMAGE_ID:
122
23:40:59
SC_K8S_KYVERNO_PATCHES: |
123
23:40:59
124
23:40:59
cpu (r/l): 1/8
125
23:40:59
memory (r/l): 1.0GB/16GB
126
23:40:59
127
23:40:59
Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-host=ci7&var-namespace=gitlab-runner&var-pod=runner-ap4tcsxyp-project-621-concurrent-0-doqhemwt&var-resolution=15&from=1777678859000&to=now
128
23:40:59
Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-node=ci7&var-resolution=15s&from=1777678859000&to=now
129
23:40:59
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%7C1575288&var-filters=CI_JOB_ID%7C%3D%7C54243473&sortOrder=Ascending&from=1777678859000&to=now
130
23:40:59
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-25~2026-05-09&job_name=post-slack-message-pass&project=internal/gitlab-templates
131
23:40:59
132
23:40:59
Setting up credentials for Gitlab Python registries
133
23:40:59
$ set +x
134
23:40:59
section_start:1777678859:section_script_step_1[hide_duration=true,collapsed=true]
$ if [[ "$SLACK_POSTING_DISABLED" == "true" ]]; then
135
23:40:59
echo "SLACK_POSTING_DISABLED set to true, disabling posting to Slack"
136
23:40:59
exit 0
137
23:40:59
fi
138
23:40:59
section_end:1777678859:section_script_step_1
139
23:40:59
section_start:1777678859:section_script_step_2[hide_duration=true,collapsed=true]
$ if [[ -z "$SLACK_WEBHOOK" ]]; then
140
23:40:59
echo "SLACK_WEBHOOK not defined, unable to post to Slack"
141
23:40:59
exit 1
142
23:40:59
fi
143
23:40:59
section_end:1777678859:section_script_step_2
144
23:40:59
section_start:1777678859:section_script_step_3[hide_duration=true,collapsed=true]
$ if [[ -n "$MESSAGE" && -n "$MESSAGE_BLOCK" ]]; then
145
23:40:59
echo "Error: Only use either MESSAGE or MESSAGE_BLOCK variable but never both!"
146
23:40:59
exit 1
147
23:40:59
fi
148
23:40:59
section_end:1777678859:section_script_step_3
149
23:40:59
section_start:1777678859:section_script_step_4[hide_duration=true,collapsed=true]
$ if [[ -z "$MESSAGE" && -z "$MESSAGE_BLOCK" ]]; then
150
23:40:59
MESSAGE="Warning: Looks like this job is misconfigured: $CI_JOB_URL"
151
23:40:59
fi
152
23:40:59
section_end:1777678859:section_script_step_4
153
23:40:59
section_start:1777678859:section_script_step_5[hide_duration=true,collapsed=true]
$ if [[ -n "$MESSAGE" ]]; then
154
23:40:59
MESSAGE_BLOCK="{\"text\":\"${MESSAGE}\"}"
155
23:40:59
echo "Sending text-only message:"
156
23:40:59
else
157
23:40:59
echo "Sending Slack Block format message:"
158
23:40:59
fi
159
23:40:59
echo "$MESSAGE_BLOCK" > msg.json
160
23:40:59
echo "$MESSAGE_BLOCK"
161
23:40:59
section_end:1777678859:section_script_step_5
162
23:40:59
Sending text-only message:
163
23:40:59
{"text":":excellent_burns: All good in gitlab-templates"}
164
23:40:59
$ curl -X POST -H 'Content-type: application/json' --data @msg.json "$SLACK_WEBHOOK"
165
23:40:59
% Total % Received % Xferd Average Speed Time Time Time Current
166
23:40:59
Dload Upload Total Spent Left Speed
167
23:40:59
168
23:40:59
+ 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 59 100 2 100 57 6 187 --:--:-- --:--:-- --:--:-- 194
169
23:41:00
ok
170
23:41:00
Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54243473
171
23:41:00
172
23:41:00
173
23:41:00
Grafana Pod-View: https://grafana.scandit.com/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-host=ci7&var-namespace=gitlab-runner&var-pod=runner-ap4tcsxyp-project-621-concurrent-0-doqhemwt&var-resolution=15&from=1777678859000&to=1777678859000
174
23:41:00
Grafana Node-View: https://grafana.scandit.com/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&refresh=1m&var-datasource=KpIiby5Vz&var-node=ci7&var-resolution=15s&from=1777678859000&to=1777678859000
175
23:41:00
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%7C1575288&var-filters=CI_JOB_ID%7C%3D%7C54243473&sortOrder=Ascending&from=1777678859000&to=1777678859000
176
23:41:00
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-25~2026-05-09&job_name=post-slack-message-pass&project=internal/gitlab-templates
177
23:41:00
178
23:41:00
179
23:41:00
section_end:1777678860:step_script
180
23:41:00
+section_start:1777678860:cleanup_file_variables
181
23:41:00
+Cleaning up project directory and file based variables
182
23:41:00
Removing htmlcov/
183
23:41:00
Removing msg.json
184
23:41:00
Removing snyk-container-test.json
185
23:41:00
HEAD is now at 50468f6 Merge branch 'renovate/martizih-kaniko-1.x' into 'master'
186
23:41:00
187
23:41:00
section_end:1777678860:cleanup_file_variables
188
23:41:00
+
189
23:41:00
Job succeeded
190