pages ○ success

Duration: 17s
Queued: 2s
📁 Stage: test
🖥 Runner: linux-aws-1
Average Duration
16s
This job: 17s
Failure Rate
0.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

212 lines
Match - of 0
1 11:09:36 Running with gitlab-runner 18.9.0 (07e534ba)
2 11:09:36 on gitlab-runner-linux-1-746bdd58fd-7rcbs wRxjPbsJX, system ID: r_oavHJIGbLh5P
3 11:09:36 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 11:09:36 Resolving secrets
5 11:09:36 section_start:1778065776:prepare_executor
6 11:09:36 +Preparing the "kubernetes" executor
7 11:09:36 Using Kubernetes namespace: gitlab-runner
8 11:09:36 Using Kubernetes executor with image registry.scandit.com/dockerfiles/alpine:3 ...
9 11:09:36 Using attach strategy to execute scripts...
10 11:09:36 Using effective pull policy of [Always] for container build
11 11:09:36 Using effective pull policy of [Always] for container helper
12 11:09:36 Using effective pull policy of [Always] for container init-permissions
13 11:09:36 section_end:1778065776:prepare_executor
14 11:09:36 +section_start:1778065776:prepare_script
15 11:09:36 +Preparing environment
16 11:09:36 Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
17 11:09:36 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 11:09:37 Subscribing to Kubernetes Pod events...
19 11:09:37 Type Reason Message
20 11:09:37 Normal Scheduled Successfully assigned gitlab-runner/runner-wrxjpbsjx-project-621-concurrent-1-afb5ogvb to ip-10-0-22-143.eu-central-1.compute.internal
21 11:09:38 Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
22 11:09:38 Normal Created Created container: init-permissions
23 11:09:38 Normal Started Started container init-permissions
24 11:09:39 Normal Pulling Pulling image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/dockerfiles/alpine@sha256:f82ea86349427e351d84ede02231a746cebc798c856cf966284d2bebd2d9d29e"
25 11:09:40 Normal Pulled Successfully pulled image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/dockerfiles/alpine@sha256:f82ea86349427e351d84ede02231a746cebc798c856cf966284d2bebd2d9d29e" in 915ms (915ms including waiting). Image size: 11008848 bytes.
26 11:09:40 Normal Created Created container: build
27 11:09:40 Normal Started Started container build
28 11:09:40 Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
29 11:09:40 Normal Created Created container: helper
30 11:09:40 Normal Started Started container helper
31 11:09:43 Running on runner-wrxjpbsjx-project-621-concurrent-1-afb5ogvb via gitlab-runner-linux-1-746bdd58fd-7rcbs...
32 11:09:43
33 11:09:43 section_end:1778065783:prepare_script
34 11:09:43 +section_start:1778065783:get_sources
35 11:09:43 +Getting source from Git repository
36 11:09:44 Gitaly correlation ID: 01KQYFN79V50Y4JVVAE42S2JRW
37 11:09:44 Fetching changes with git depth set to 50...
38 11:09:44 Initialized empty Git repository in /build/internal/gitlab-templates/.git/
39 11:09:44 Created fresh repository.
40 11:09:51 Checking out 19a8ce14 as detached HEAD (ref is master)...
41 11:09:51
42 11:09:51 Skipping Git submodules setup
43 11:09:51
44 11:09:51 section_end:1778065791:get_sources
45 11:09:51 +section_start:1778065791:step_script
46 11:09:51 +Executing "step_script" stage of the job script
47 11:09:52 section_start:1778065791:section_pre_build_script_0[hide_duration=true,collapsed=true] $ function cleanup {
48 11:09:52 rv=$?
49 11:09:52 if [ $rv -ne 0 ]; then
50 11:09:52 echo ""
51 11:09:52 echo " Failure Cause Analysis might help, please open this link:"
52 11:09:52 echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
53 11:09:52 echo ""
54 11:09:52 fi
55 11:09:52 echo ""
56 11:09:52 echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
57 11:09:52 echo ""
58 11:09:52 echo ""
59 11:09:52 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 11:09:52 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 11:09:52 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 11:09:52 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 11:09:52 echo ""
64 11:09:52 exit $rv
65 11:09:52 }
66 11:09:52 trap cleanup EXIT
67 11:09:52 echo "INFO: This is the CI job pre_build_script"
68 11:09:52 echo "INFO: It's defined in the backend/infra/aws repo."
69 11:09:52 echo "INFO: These additional Scandit variables are available to you:"
70 11:09:52 echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
71 11:09:52 echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
72 11:09:52 echo " SC_K8S_KYVERNO_PATCHES: |"
73 11:09:52 echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
74 11:09:52 echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
75 11:09:52 if command -v numfmt >/dev/null 2>&1; then
76 11:09:52 echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
77 11:09:52 else
78 11:09:52 echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
79 11:09:52 fi
80 11:09:52 __start_time=${EPOCHSECONDS}
81 11:09:52 echo ""
82 11:09:52 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 11:09:52 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 11:09:52 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 11:09:52 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 11:09:52 echo ""
87 11:09:52 echo "Setting up credentials for Gitlab Python registries"
88 11:09:52 mkdir -p ~
89 11:09:52 echo "machine gitlab.scandit.com" > ~/.netrc
90 11:09:52 echo "login gitlab-ci-token" >> ~/.netrc
91 11:09:52 echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
92 11:09:52 chmod 600 ~/.netrc
93 11:09:52 if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
94 11:09:52 git config --global --add safe.directory $CI_PROJECT_DIR
95 11:09:52 fi
96 11:09:52 # Sonarqube server is running on the same cluster. Use internal address
97 11:09:52 export SONAR_HOST_URL="http://sonarqube.sonarqube.svc.cluster.local:9000"
98 11:09:52 section_end:1778065791:section_pre_build_script_0
99 11:09:52 INFO: This is the CI job pre_build_script
100 11:09:52 INFO: It's defined in the backend/infra/aws repo.
101 11:09:52 INFO: These additional Scandit variables are available to you:
102 11:09:52 SC_K8S_NODE_NAME: ip-10-0-22-143.eu-central-1.compute.internal
103 11:09:52 SC_K8S_IMAGE_ID:
104 11:09:52 SC_K8S_KYVERNO_PATCHES: |
105 11:09:52
106 11:09:52 cpu (r/l): 1/4
107 11:09:52 memory (r/l): 1073741824/17179869184
108 11:09:52
109 11:09:52 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-22-143.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-1-afb5ogvb&var-resolution=15&from=000&to=now
110 11:09:52 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-22-143.eu-central-1.compute.internal&var-resolution=15s&from=000&to=now
111 11:09:52 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|=|1581320&var-filters=CI_JOB_ID|=|54484717&sortOrder=Ascending&from=000&to=now
112 11:09:52 date: invalid date '-7 days'
113 11:09:52 date: invalid date '+7 days'
114 11:09:52 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=~&job_name=pages&project=internal/gitlab-templates
115 11:09:52
116 11:09:52 Setting up credentials for Gitlab Python registries
117 11:09:52 $ mkdir -p public
118 11:09:52 section_start:1778065791:section_script_step_1[hide_duration=true,collapsed=true] $ cat > public/index.html << EOF
119 11:09:52 <!DOCTYPE html>
120 11:09:52 <html>
121 11:09:52 <head>
122 11:09:52 <title>GitLab Pages Example</title>
123 11:09:52 <style>
124 11:09:52 body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; max-width: 800px; margin: 2rem auto; padding: 0 1rem; line-height: 1.6; }
125 11:09:52 code { background: #f4f4f4; padding: 0.2rem 0.4rem; border-radius: 3px; }
126 11:09:52 pre { background: #f4f4f4; padding: 1rem; overflow-x: auto; border-radius: 4px; }
127 11:09:52 .meta { color: #666; font-size: 0.9rem; border-top: 1px solid #ddd; margin-top: 2rem; padding-top: 1rem; }
128 11:09:52 h1 { color: #333; }
129 11:09:52 h2 { color: #555; margin-top: 2rem; }
130 11:09:52 a { color: #0066cc; }
131 11:09:52 </style>
132 11:09:52 </head>
133 11:09:52 <body>
134 11:09:52 <h1>GitLab Pages Example</h1>
135 11:09:52 <p>This is an example page published via <strong>GitLab Pages</strong> from the
136 11:09:52 <a href="https://gitlab.scandit.com/internal/gitlab-templates">gitlab-templates</a> repository.</p>
137 11:09:52
138 11:09:52 <h2>What is GitLab Pages?</h2>
139 11:09:52 <p>GitLab Pages allows you to publish static websites directly from a GitLab repository.
140 11:09:52 It provides an easy way to host documentation, reports, coverage results, or any static HTML content.</p>
141 11:09:52
142 11:09:52 <h2>Benefits</h2>
143 11:09:52 <ul>
144 11:09:52 <li>No separate server infrastructure needed</li>
145 11:09:52 <li>Automatic deployment from CI/CD pipelines</li>
146 11:09:52 <li>Version-specific documentation via release branch deployments</li>
147 11:09:52 <li>MR preview deployments for reviewing changes before merge</li>
148 11:09:52 <li>Replaces legacy artifact hosting (e.g., artifacts.scandit.io)</li>
149 11:09:52 <li>Built-in access control via GitLab permissions</li>
150 11:09:52 </ul>
151 11:09:52
152 11:09:52 <h2>How to Use</h2>
153 11:09:52 <p>Include the pages template in your <code>.gitlab-ci.yml</code>:</p>
154 11:09:52 <pre>include:
155 11:09:52 - project: internal/gitlab-templates
156 11:09:52 ref: master
157 11:09:52 file: .gitlab/pages.yml
158 11:09:52
159 11:09:52 pages:
160 11:09:52 extends: .gitlab-templates.pages.deploy-default-branch
161 11:09:52 script:
162 11:09:52 - # your build commands here
163 11:09:52 - cp -r build/* public/</pre>
164 11:09:52
165 11:09:52 <h2>Available Templates</h2>
166 11:09:52 <ul>
167 11:09:52 <li><code>.gitlab-templates.pages.deploy-default-branch</code> - Production deployment from default branch</li>
168 11:09:52 <li><code>.gitlab-templates.pages.deploy-release-branch</code> - Versioned docs from release branches</li>
169 11:09:52 <li><code>.gitlab-templates.pages.deploy-preview</code> - MR preview deployments (auto-expire)</li>
170 11:09:52 </ul>
171 11:09:52
172 11:09:52 <h2>Documentation</h2>
173 11:09:52 <ul>
174 11:09:52 <li><a href="https://docs.gitlab.com/ee/user/project/pages/">GitLab Pages Documentation</a></li>
175 11:09:52 <li><a href="https://gitlab.scandit.com/internal/gitlab-templates/-/blob/master/.gitlab/pages.yml">pages.yml Template Source</a></li>
176 11:09:52 </ul>
177 11:09:52
178 11:09:52 <div class="meta">
179 11:09:52 <p><strong>Deployment info:</strong></p>
180 11:09:52 <p>Branch: ${CI_COMMIT_REF_NAME} | Commit: ${CI_COMMIT_SHORT_SHA} | Pipeline: <a href="${CI_PIPELINE_URL}">${CI_PIPELINE_ID}</a></p>
181 11:09:52 </div>
182 11:09:52 </body>
183 11:09:52 </html>
184 11:09:52 EOF
185 11:09:52 section_end:1778065791:section_script_step_1
186 11:09:52
187 11:09:52 Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54484717
188 11:09:52
189 11:09:52
190 11:09:52 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-22-143.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-1-afb5ogvb&var-resolution=15&from=000&to=000
191 11:09:52 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-22-143.eu-central-1.compute.internal&var-resolution=15s&from=000&to=000
192 11:09:52 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|=|1581320&var-filters=CI_JOB_ID|=|54484717&sortOrder=Ascending&from=000&to=000
193 11:09:52 date: invalid date '-7 days'
194 11:09:52 date: invalid date '+7 days'
195 11:09:52 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=~&job_name=pages&project=internal/gitlab-templates
196 11:09:52
197 11:09:52
198 11:09:52 section_end:1778065792:step_script
199 11:09:52 +section_start:1778065792:upload_artifacts_on_success
200 11:09:52 +Uploading artifacts for successful job
201 11:09:52 Uploading artifacts...
202 11:09:52 public: found 2 matching artifact files and directories
203 11:09:53 Uploading artifacts as "archive" to coordinator... 201 Created correlation_id=01KQYFNQCP5TWD8TMXZ2654G8Y id=54484717 responseStatus=201 Created token=64_i-7SFj
204 11:09:53
205 11:09:53 section_end:1778065793:upload_artifacts_on_success
206 11:09:53 +section_start:1778065793:cleanup_file_variables
207 11:09:53 +Cleaning up project directory and file based variables
208 11:09:53
209 11:09:53 section_end:1778065793:cleanup_file_variables
210 11:09:53 +
211 11:09:53 Job succeeded
212