test-poetry-build ○ success

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

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