post-slack-message-pass ○ success
⏱
Duration: 15s
⏳
Queued: 0s
📁
Stage: post-message
🖥
Runner: linux-aws-1
Average Duration
25s
This job: 15s
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
180 lines
Match - of 0
1
17:09:28
Running with gitlab-runner 18.9.0 (07e534ba)
2
17:09:28
on gitlab-runner-linux-1-5fd7c4d488-2p5ws wRxjPbsJX, system ID: r_ApPziMY2hZUA
3
17:09: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
17:09:28
Resolving secrets
5
17:09:28
section_start:1777828168:prepare_executor
6
17:09:28
+Preparing the "kubernetes" executor
7
17:09:28
Using Kubernetes namespace: gitlab-runner
8
17:09:28
Using Kubernetes executor with image registry.scandit.com/dockerfiles/pyenv:ubuntu-3.12@sha256:9b81c4935aa331311e8c891e6b2b84f09c95bf1de5863ff990d9149e13600145 ...
9
17:09:28
Using attach strategy to execute scripts...
10
17:09:28
Using effective pull policy of [Always] for container helper
11
17:09:28
Using effective pull policy of [Always] for container init-permissions
12
17:09:28
Using effective pull policy of [Always] for container build
13
17:09:28
section_end:1777828168:prepare_executor
14
17:09:28
+section_start:1777828168:prepare_script
15
17:09:28
+Preparing environment
16
17:09:28
Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
17
17:09: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
17:09:29
Subscribing to Kubernetes Pod events...
19
17:09:29
Type Reason Message
20
17:09:29
Normal Scheduled Successfully assigned gitlab-runner/runner-wrxjpbsjx-project-621-concurrent-0-tr524fl7 to ip-10-0-19-189.eu-central-1.compute.internal
21
17:09:30
Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
22
17:09:30
Normal Created Created container: init-permissions
23
17:09:30
Normal Started Started container init-permissions
24
17:09:30
Normal Pulling Pulling image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/dockerfiles/pyenv@sha256:9b81c4935aa331311e8c891e6b2b84f09c95bf1de5863ff990d9149e13600145"
25
17:09:36
Normal Pulled Successfully pulled image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/dockerfiles/pyenv@sha256:9b81c4935aa331311e8c891e6b2b84f09c95bf1de5863ff990d9149e13600145" in 5.833s (5.833s including waiting). Image size: 446658959 bytes.
26
17:09:36
Normal Created Created container: build
27
17:09:36
Normal Started Started container build
28
17:09:36
Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
29
17:09:36
Normal Created Created container: helper
30
17:09:36
Normal Started Started container helper
31
17:09:39
Running on runner-wrxjpbsjx-project-621-concurrent-0-tr524fl7 via gitlab-runner-linux-1-5fd7c4d488-2p5ws...
32
17:09:39
33
17:09:39
section_end:1777828179:prepare_script
34
17:09:39
+section_start:1777828179:get_sources
35
17:09:39
+Getting source from Git repository
36
17:09:39
Gitaly correlation ID: 01KQQD20JJAQY7YX34JTCFX2X3
37
17:09:39
Fetching changes with git depth set to 50...
38
17:09:39
Initialized empty Git repository in /build/internal/gitlab-templates/.git/
39
17:09:39
Created fresh repository.
40
17:09:40
Checking out 32840034 as detached HEAD (ref is master)...
41
17:09:40
42
17:09:40
Skipping Git submodules setup
43
17:09:40
44
17:09:40
section_end:1777828180:get_sources
45
17:09:40
+section_start:1777828180:download_artifacts
46
17:09:40
+Downloading artifacts
47
17:09:41
Downloading artifacts for test-preinstalled-deps (54273487)...
48
17:09:41
Downloading artifacts from coordinator... ok correlation_id=01KQQD2D4NJ5QE0KZPZR3MQ19Z host=gitlab.scandit.com id=54273487 responseStatus=200 OK token=64_m9bxkW
49
17:09:41
Downloading artifacts for test-install-deps (54273488)...
50
17:09:41
Downloading artifacts from coordinator... ok correlation_id=01KQQD2DB1SCCZSR4JVMPE75ZG host=gitlab.scandit.com id=54273488 responseStatus=200 OK token=64_m9bxkW
51
17:09:41
Downloading artifacts for test-install-deps-extra (54273489)...
52
17:09:41
Downloading artifacts from coordinator... ok correlation_id=01KQQD2DHE5XT9Y2P1DZWCM4GK host=gitlab.scandit.com id=54273489 responseStatus=200 OK token=64_m9bxkW
53
17:09:41
Downloading artifacts for pages (54273498)...
54
17:09:41
Downloading artifacts from coordinator... ok correlation_id=01KQQD2DPZ3DW9R9AJ163B8JMP host=gitlab.scandit.com id=54273498 responseStatus=200 OK token=64_m9bxkW
55
17:09:41
56
17:09:41
section_end:1777828181:download_artifacts
57
17:09:41
+section_start:1777828181:step_script
58
17:09:41
+Executing "step_script" stage of the job script
59
17:09:42
section_start:1777828181:section_pre_build_script_0[hide_duration=true,collapsed=true]
$ function cleanup {
60
17:09:42
rv=$?
61
17:09:42
if [ $rv -ne 0 ]; then
62
17:09:42
echo ""
63
17:09:42
echo " Failure Cause Analysis might help, please open this link:"
64
17:09:42
echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
65
17:09:42
echo ""
66
17:09:42
fi
67
17:09:42
echo ""
68
17:09:42
echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
69
17:09:42
echo ""
70
17:09:42
echo ""
71
17:09:42
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"
72
17:09:42
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"
73
17:09:42
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"
74
17:09:42
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}"
75
17:09:42
echo ""
76
17:09:42
exit $rv
77
17:09:42
}
78
17:09:42
trap cleanup EXIT
79
17:09:42
echo "INFO: This is the CI job pre_build_script"
80
17:09:42
echo "INFO: It's defined in the backend/infra/aws repo."
81
17:09:42
echo "INFO: These additional Scandit variables are available to you:"
82
17:09:42
echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
83
17:09:42
echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
84
17:09:42
echo " SC_K8S_KYVERNO_PATCHES: |"
85
17:09:42
echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
86
17:09:42
echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
87
17:09:42
if command -v numfmt >/dev/null 2>&1; then
88
17:09:42
echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
89
17:09:42
else
90
17:09:42
echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
91
17:09:42
fi
92
17:09:42
__start_time=${EPOCHSECONDS}
93
17:09:42
echo ""
94
17:09:42
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"
95
17:09:42
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"
96
17:09:42
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"
97
17:09:42
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}"
98
17:09:42
echo ""
99
17:09:42
echo "Setting up credentials for Gitlab Python registries"
100
17:09:42
mkdir -p ~
101
17:09:42
echo "machine gitlab.scandit.com" > ~/.netrc
102
17:09:42
echo "login gitlab-ci-token" >> ~/.netrc
103
17:09:42
echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
104
17:09:42
chmod 600 ~/.netrc
105
17:09:42
if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
106
17:09:42
git config --global --add safe.directory $CI_PROJECT_DIR
107
17:09:42
fi
108
17:09:42
# Sonarqube server is running on the same cluster. Use internal address
109
17:09:42
export SONAR_HOST_URL="http://sonarqube.sonarqube.svc.cluster.local:9000"
110
17:09:42
section_end:1777828181:section_pre_build_script_0
111
17:09:42
INFO: This is the CI job pre_build_script
112
17:09:42
INFO: It's defined in the backend/infra/aws repo.
113
17:09:42
INFO: These additional Scandit variables are available to you:
114
17:09:42
SC_K8S_NODE_NAME: ip-10-0-19-189.eu-central-1.compute.internal
115
17:09:42
SC_K8S_IMAGE_ID:
116
17:09:42
SC_K8S_KYVERNO_PATCHES: |
117
17:09:42
118
17:09:42
cpu (r/l): 1/4
119
17:09:42
memory (r/l): 1.0GB/16GB
120
17:09:42
121
17:09:42
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-tr524fl7&var-resolution=15&from=1777828181000&to=now
122
17:09:42
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=1777828181000&to=now
123
17:09:42
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|=|54273499&sortOrder=Ascending&from=1777828181000&to=now
124
17:09:42
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-26~2026-05-10&job_name=post-slack-message-pass&project=internal/gitlab-templates
125
17:09:42
126
17:09:42
Setting up credentials for Gitlab Python registries
127
17:09:42
$ set +x
128
17:09:42
section_start:1777828182:section_script_step_1[hide_duration=true,collapsed=true]
$ if [[ "$SLACK_POSTING_DISABLED" == "true" ]]; then
129
17:09:42
echo "SLACK_POSTING_DISABLED set to true, disabling posting to Slack"
130
17:09:42
exit 0
131
17:09:42
fi
132
17:09:42
section_end:1777828182:section_script_step_1
133
17:09:42
section_start:1777828182:section_script_step_2[hide_duration=true,collapsed=true]
$ if [[ -z "$SLACK_WEBHOOK" ]]; then
134
17:09:42
echo "SLACK_WEBHOOK not defined, unable to post to Slack"
135
17:09:42
exit 1
136
17:09:42
fi
137
17:09:42
section_end:1777828182:section_script_step_2
138
17:09:42
section_start:1777828182:section_script_step_3[hide_duration=true,collapsed=true]
$ if [[ -n "$MESSAGE" && -n "$MESSAGE_BLOCK" ]]; then
139
17:09:42
echo "Error: Only use either MESSAGE or MESSAGE_BLOCK variable but never both!"
140
17:09:42
exit 1
141
17:09:42
fi
142
17:09:42
section_end:1777828182:section_script_step_3
143
17:09:42
section_start:1777828182:section_script_step_4[hide_duration=true,collapsed=true]
$ if [[ -z "$MESSAGE" && -z "$MESSAGE_BLOCK" ]]; then
144
17:09:42
MESSAGE="Warning: Looks like this job is misconfigured: $CI_JOB_URL"
145
17:09:42
fi
146
17:09:42
section_end:1777828182:section_script_step_4
147
17:09:42
section_start:1777828182:section_script_step_5[hide_duration=true,collapsed=true]
$ if [[ -n "$MESSAGE" ]]; then
148
17:09:42
MESSAGE_BLOCK="{\"text\":\"${MESSAGE}\"}"
149
17:09:42
echo "Sending text-only message:"
150
17:09:42
else
151
17:09:42
echo "Sending Slack Block format message:"
152
17:09:42
fi
153
17:09:42
echo "$MESSAGE_BLOCK" > msg.json
154
17:09:42
echo "$MESSAGE_BLOCK"
155
17:09:42
section_end:1777828182:section_script_step_5
156
17:09:42
Sending text-only message:
157
17:09:42
{"text":":excellent_burns: All good in gitlab-templates"}
158
17:09:42
$ curl -X POST -H 'Content-type: application/json' --data @msg.json "$SLACK_WEBHOOK"
159
17:09:42
% Total % Received % Xferd Average Speed Time Time Time Current
160
17:09:42
Dload Upload Total Spent Left Speed
161
17:09:42
162
17:09:42
+ 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 59 100 2 100 57 12 361 --:--:-- --:--:-- --:--:-- 375
163
17:09:42
ok
164
17:09:42
Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54273499
165
17:09:42
166
17:09:42
167
17:09:42
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-tr524fl7&var-resolution=15&from=1777828181000&to=1777828182000
168
17:09:42
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=1777828181000&to=1777828182000
169
17:09:42
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|=|54273499&sortOrder=Ascending&from=1777828181000&to=1777828182000
170
17:09:42
Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=2026-04-26~2026-05-10&job_name=post-slack-message-pass&project=internal/gitlab-templates
171
17:09:42
172
17:09:42
173
17:09:42
section_end:1777828182:step_script
174
17:09:42
+section_start:1777828182:cleanup_file_variables
175
17:09:42
+Cleaning up project directory and file based variables
176
17:09:43
177
17:09:43
section_end:1777828183:cleanup_file_variables
178
17:09:43
+
179
17:09:43
Job succeeded
180