test-poetry-build ○ success

Duration: 14s
Queued: 1s
📁 Stage: test
🖥 Runner: linux-aws-1
Average Duration
34s
This job: 14s
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

149 lines
Match - of 0
1 09:35:54 Running with gitlab-runner 18.9.0 (07e534ba)
2 09:35:54 on gitlab-runner-linux-1-5fd7c4d488-2p5ws wRxjPbsJX, system ID: r_ApPziMY2hZUA
3 09:35:54 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 09:35:54 Resolving secrets
5 09:35:54 section_start:1777973754:prepare_executor
6 09:35:54 +Preparing the "kubernetes" executor
7 09:35:54 Using Kubernetes namespace: gitlab-runner
8 09:35:54 Using Kubernetes executor with image registry.scandit.com/dockerfiles/pyenv:alpine-poetry-3.12@sha256:e815c2c6bc7ebdef9395591c6fabc5d34f8ca61922126c4e3a3b7d2e1db539ca ...
9 09:35:54 Using attach strategy to execute scripts...
10 09:35:54 Using effective pull policy of [Always] for container build
11 09:35:54 Using effective pull policy of [Always] for container helper
12 09:35:54 Using effective pull policy of [Always] for container init-permissions
13 09:35:54 section_end:1777973754:prepare_executor
14 09:35:54 +section_start:1777973754:prepare_script
15 09:35:54 +Preparing environment
16 09:35:54 Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
17 09:35:54 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 09:35:55 Subscribing to Kubernetes Pod events...
19 09:35:55 Type Reason Message
20 09:35:55 Normal Scheduled Successfully assigned gitlab-runner/runner-wrxjpbsjx-project-621-concurrent-0-sexv9uv8 to ip-10-0-18-130.eu-central-1.compute.internal
21 09:35:55 Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
22 09:35:55 Normal Created Created container: init-permissions
23 09:35:55 Normal Started Started container init-permissions
24 09:35:56 Normal Pulling Pulling image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/dockerfiles/pyenv@sha256:e815c2c6bc7ebdef9395591c6fabc5d34f8ca61922126c4e3a3b7d2e1db539ca"
25 09:36:00 Normal Pulled Successfully pulled image "498954711405.dkr.ecr.eu-central-1.amazonaws.com/dockerfiles/pyenv@sha256:e815c2c6bc7ebdef9395591c6fabc5d34f8ca61922126c4e3a3b7d2e1db539ca" in 4.742s (4.742s including waiting). Image size: 343382101 bytes.
26 09:36:00 Normal Created Created container: build
27 09:36:00 Normal Started Started container build
28 09:36:00 Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.8.0" already present on machine
29 09:36:01 Normal Created Created container: helper
30 09:36:01 Normal Started Started container helper
31 09:36:02 Running on runner-wrxjpbsjx-project-621-concurrent-0-sexv9uv8 via gitlab-runner-linux-1-5fd7c4d488-2p5ws...
32 09:36:02
33 09:36:02 section_end:1777973762:prepare_script
34 09:36:02 +section_start:1777973762:get_sources
35 09:36:02 +Getting source from Git repository
36 09:36:03 Gitaly correlation ID: 01KQVQWXYY5H11P2K9G27V5BM3
37 09:36:03 Fetching changes with git depth set to 50...
38 09:36:03 Initialized empty Git repository in /build/internal/gitlab-templates/.git/
39 09:36:03 Created fresh repository.
40 09:36:04 Checking out eea928ac as detached HEAD (ref is refs/merge-requests/637/merge)...
41 09:36:04
42 09:36:04 Skipping Git submodules setup
43 09:36:04
44 09:36:04 section_end:1777973764:get_sources
45 09:36:04 +section_start:1777973764:step_script
46 09:36:04 +Executing "step_script" stage of the job script
47 09:36:04 section_start:1777973764:section_pre_build_script_0[hide_duration=true,collapsed=true] $ function cleanup {
48 09:36:04 rv=$?
49 09:36:04 if [ $rv -ne 0 ]; then
50 09:36:04 echo ""
51 09:36:04 echo " Failure Cause Analysis might help, please open this link:"
52 09:36:04 echo " https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
53 09:36:04 echo ""
54 09:36:04 fi
55 09:36:04 echo ""
56 09:36:04 echo "Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
57 09:36:04 echo ""
58 09:36:04 echo ""
59 09:36:04 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 09:36:04 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 09:36:04 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 09:36:04 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 09:36:04 echo ""
64 09:36:04 exit $rv
65 09:36:04 }
66 09:36:04 trap cleanup EXIT
67 09:36:04 echo "INFO: This is the CI job pre_build_script"
68 09:36:04 echo "INFO: It's defined in the backend/infra/aws repo."
69 09:36:04 echo "INFO: These additional Scandit variables are available to you:"
70 09:36:04 echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
71 09:36:04 echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
72 09:36:04 echo " SC_K8S_KYVERNO_PATCHES: |"
73 09:36:04 echo "$SC_K8S_KYVERNO_PATCHES" | sed 's/^/ /'
74 09:36:04 echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
75 09:36:04 if command -v numfmt >/dev/null 2>&1; then
76 09:36:04 echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
77 09:36:04 else
78 09:36:04 echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
79 09:36:04 fi
80 09:36:04 __start_time=${EPOCHSECONDS}
81 09:36:04 echo ""
82 09:36:04 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 09:36:04 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 09:36:04 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 09:36:04 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 09:36:04 echo ""
87 09:36:04 echo "Setting up credentials for Gitlab Python registries"
88 09:36:04 mkdir -p ~
89 09:36:04 echo "machine gitlab.scandit.com" > ~/.netrc
90 09:36:04 echo "login gitlab-ci-token" >> ~/.netrc
91 09:36:04 echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
92 09:36:04 chmod 600 ~/.netrc
93 09:36:04 if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
94 09:36:04 git config --global --add safe.directory $CI_PROJECT_DIR
95 09:36:04 fi
96 09:36:04 # Sonarqube server is running on the same cluster. Use internal address
97 09:36:04 export SONAR_HOST_URL="http://sonarqube.sonarqube.svc.cluster.local:9000"
98 09:36:04 section_end:1777973764:section_pre_build_script_0
99 09:36:04 INFO: This is the CI job pre_build_script
100 09:36:04 INFO: It's defined in the backend/infra/aws repo.
101 09:36:04 INFO: These additional Scandit variables are available to you:
102 09:36:04 SC_K8S_NODE_NAME: ip-10-0-18-130.eu-central-1.compute.internal
103 09:36:04 SC_K8S_IMAGE_ID:
104 09:36:04 SC_K8S_KYVERNO_PATCHES: |
105 09:36:04
106 09:36:04 cpu (r/l): 1/4
107 09:36:04 memory (r/l): 1073741824/17179869184
108 09:36:04
109 09:36:04 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-18-130.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-0-sexv9uv8&var-resolution=15&from=1777973764000&to=now
110 09:36:04 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-18-130.eu-central-1.compute.internal&var-resolution=15s&from=1777973764000&to=now
111 09:36:04 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|=|1578751&var-filters=CI_JOB_ID|=|54380629&sortOrder=Ascending&from=1777973764000&to=now
112 09:36:04 date: invalid date '-7 days'
113 09:36:04 date: invalid date '+7 days'
114 09:36:04 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=~&job_name=test-poetry-build&project=internal/gitlab-templates
115 09:36:04
116 09:36:04 Setting up credentials for Gitlab Python registries
117 09:36:04 $ cd "$PACKAGE_ROOT_DIR"
118 09:36:04 $ poetry install
119 09:36:05 Creating virtualenv sc-poetry-example-vBOZCFC5-py3.12 in /home/app/.cache/pypoetry/virtualenvs
120 09:36:05 Installing dependencies from lock file
121 09:36:05
122 09:36:05 Installing the current project: sc-poetry-example (0.0.0)
123 09:36:05 $ git config --global user.email "gitlab-ci@scandit.com"
124 09:36:05 $ git config --global user.name "Gitlab CI Job"
125 09:36:05 $ git config --global --add safe.directory $CI_PROJECT_DIR
126 09:36:05 $ poetry build
127 09:36:05 Building sc-poetry-example (0.0.0)
128 09:36:05 Building sdist
129 09:36:06 Building wheel
130 09:36:07
131 09:36:07 Scout Analysis: https://scout.scandit.io/analysis/projects/621/jobs/54380629
132 09:36:07
133 09:36:07
134 09:36:07 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-18-130.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-0-sexv9uv8&var-resolution=15&from=1777973764000&to=1777973767000
135 09:36:07 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-18-130.eu-central-1.compute.internal&var-resolution=15s&from=1777973764000&to=1777973767000
136 09:36:07 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|=|1578751&var-filters=CI_JOB_ID|=|54380629&sortOrder=Ascending&from=1777973764000&to=1777973767000
137 09:36:07 date: invalid date '-7 days'
138 09:36:07 date: invalid date '+7 days'
139 09:36:07 Lilibet Statistics: https://lilibet.scandit.io/dashboard/204-job-drill-down?date_range=~&job_name=test-poetry-build&project=internal/gitlab-templates
140 09:36:07
141 09:36:07
142 09:36:07 section_end:1777973767:step_script
143 09:36:07 +section_start:1777973767:cleanup_file_variables
144 09:36:07 +Cleaning up project directory and file based variables
145 09:36:08
146 09:36:08 section_end:1777973768:cleanup_file_variables
147 09:36:08 +
148 09:36:08 Job succeeded
149