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