test-bump-submodule-version ○ success

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

160 lines
Match - of 0
1 14:27:40 Running with gitlab-runner 18.5.0 (bda84871)
2 14:27:40 on gitlab-runner-linux-1-86d76d468c-d4585 wRxjPbsJX, system ID: r_J8j67beySAjl
3 14:27:40 feature flags: FF_USE_FASTZIP:true, FF_USE_NEW_BASH_EVAL_STRATEGY: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_TIMESTAMPS:true, FF_GIT_URLS_WITHOUT_TOKENS:true
4 14:27:40 Resolving secrets
5 14:27:40 section_start:1765290460:prepare_executor
6 14:27:40 +Preparing the "kubernetes" executor
7 14:27:40 Using Kubernetes namespace: gitlab-runner
8 14:27:40 Using Kubernetes executor with image registry.scandit.com/internal/gitlab-templates/sc-git-utilities:4152c6b0dc890954a62b8ec8456ea9573854932fb4487a581fbd5a074b27d0b7 ...
9 14:27:40 Using attach strategy to execute scripts...
10 14:27:40 Using effective pull policy of [Always] for container helper
11 14:27:40 Using effective pull policy of [Always] for container init-permissions
12 14:27:40 Using effective pull policy of [Always] for container build
13 14:27:40 section_end:1765290460:prepare_executor
14 14:27:40 +section_start:1765290460:prepare_script
15 14:27:40 +Preparing environment
16 14:27:40 Using FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...
17 14:27:40 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 14:27:41 Subscribing to Kubernetes Pod events...
19 14:27:41 Type Reason Message
20 14:27:41 Normal Scheduled Successfully assigned gitlab-runner/runner-wrxjpbsjx-project-621-concurrent-5-sam1hf3x to ip-10-0-23-99.eu-central-1.compute.internal
21 14:27:41 Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.5.0" already present on machine
22 14:27:41 Normal Created Created container: init-permissions
23 14:27:41 Normal Started Started container init-permissions
24 14:27:42 Normal Pulling Pulling image "registry.scandit.com/internal/gitlab-templates/sc-git-utilities:4152c6b0dc890954a62b8ec8456ea9573854932fb4487a581fbd5a074b27d0b7"
25 14:27:58 Normal Pulled Successfully pulled image "registry.scandit.com/internal/gitlab-templates/sc-git-utilities:4152c6b0dc890954a62b8ec8456ea9573854932fb4487a581fbd5a074b27d0b7" in 16.112s (16.112s including waiting). Image size: 328495800 bytes.
26 14:27:59 Normal Created Created container: build
27 14:27:59 Normal Started Started container build
28 14:27:59 Normal Pulled Container image "gitlab/gitlab-runner-helper:x86_64-v18.5.0" already present on machine
29 14:28:00 Normal Created Created container: helper
30 14:28:00 Normal Started Started container helper
31 14:28:03 Running on runner-wrxjpbsjx-project-621-concurrent-5-sam1hf3x via gitlab-runner-linux-1-86d76d468c-d4585...
32 14:28:03
33 14:28:03 section_end:1765290483:prepare_script
34 14:28:03 +section_start:1765290483:get_sources
35 14:28:03 +Getting source from Git repository
36 14:28:03 Gitaly correlation ID: 01KC1R5H4R7BQA2V04GXRNTC08
37 14:28:03 Fetching changes with git depth set to 50...
38 14:28:03 Initialized empty Git repository in /build/internal/gitlab-templates/.git/
39 14:28:03 Created fresh repository.
40 14:28:05 Checking out 940006cc as detached HEAD (ref is refs/merge-requests/507/merge)...
41 14:28:05
42 14:28:05 Skipping Git submodules setup
43 14:28:05
44 14:28:05 section_end:1765290485:get_sources
45 14:28:05 +section_start:1765290485:step_script
46 14:28:05 +Executing "step_script" stage of the job script
47 14:28:05 section_start:1765290485:section_pre_build_script_0[hide_duration=true,collapsed=true] $ function cleanup {
48 14:28:05 rv=$?
49 14:28:05 if [ $rv -ne 0 ]; then
50 14:28:05 echo ""
51 14:28:05 echo " Failure Cause Analysis might help, please open this link:"
52 14:28:05 echo " https://failure-cause-analysis.zrh.int.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
53 14:28:05 echo ""
54 14:28:05 fi
55 14:28:05 echo ""
56 14:28: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"
57 14:28: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"
58 14:28:05 echo ""
59 14:28:05 exit $rv
60 14:28:05 }
61 14:28:05 trap cleanup EXIT
62 14:28:05 echo "INFO: This is the CI job pre_build_script"
63 14:28:05 echo "INFO: It's defined in the backend/infra/aws repo."
64 14:28:05 echo "INFO: These additional Scandit variables are available to you:"
65 14:28:05 echo " SC_K8S_NODE_NAME: $SC_K8S_NODE_NAME"
66 14:28:05 echo " SC_K8S_IMAGE_ID: $SC_K8S_IMAGE_ID"
67 14:28:05 echo "cpu (r/l): ${SC_K8S_REQUESTS_CPU}/${SC_K8S_LIMITS_CPU}"
68 14:28:05 if command -v numfmt >/dev/null 2>&1; then
69 14:28:05 echo "memory (r/l): $(numfmt --to=iec --suffix=B $SC_K8S_REQUESTS_MEMORY)/$(numfmt --to=iec --suffix=B $SC_K8S_LIMITS_MEMORY)"
70 14:28:05 else
71 14:28:05 echo "memory (r/l): ${SC_K8S_REQUESTS_MEMORY}/${SC_K8S_LIMITS_MEMORY}"
72 14:28:05 fi
73 14:28:05 __start_time=${EPOCHSECONDS}
74 14:28:05 echo ""
75 14:28: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"
76 14:28: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"
77 14:28:05 echo ""
78 14:28:05 echo "Setting up credentials for Gitlab Python registries"
79 14:28:05 mkdir -p ~
80 14:28:05 echo "machine gitlab.scandit.com" > ~/.netrc
81 14:28:05 echo "login gitlab-ci-token" >> ~/.netrc
82 14:28:05 echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
83 14:28:05 chmod 600 ~/.netrc
84 14:28:05 if command -v git &> /dev/null && [ "$(id -u)" -ne 0 ]; then
85 14:28:05 git config --global --add safe.directory $CI_PROJECT_DIR
86 14:28:05 fi
87 14:28:05 # Sonarqube server is running on the same cluster. Use internal address
88 14:28:05 export SONAR_HOST_URL="http://sonarqube.sonarqube.svc.cluster.local:9000"
89 14:28:05 section_end:1765290485:section_pre_build_script_0
90 14:28:05 INFO: This is the CI job pre_build_script
91 14:28:05 INFO: It's defined in the backend/infra/aws repo.
92 14:28:05 INFO: These additional Scandit variables are available to you:
93 14:28:05 SC_K8S_NODE_NAME: ip-10-0-23-99.eu-central-1.compute.internal
94 14:28:05 SC_K8S_IMAGE_ID:
95 14:28:05 cpu (r/l): 1/4
96 14:28:05 memory (r/l): 1073741824/17179869184
97 14:28:05
98 14:28:05 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-23-99.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-5-sam1hf3x&var-resolution=15&from=1765290485000&to=now
99 14:28:05 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-23-99.eu-central-1.compute.internal&var-resolution=15s&from=1765290485000&to=now
100 14:28:05
101 14:28:05 Setting up credentials for Gitlab Python registries
102 14:28:05 $ rm -f .python-version
103 14:28:05 $ update_superproject_bump_mr --help
104 14:28:06 usage: update_superproject_bump_mr [-h] -cmrid CURRENT_MR_ID -cpid
105 14:28:06 SUPERPROJECT_ID -cpat
106 14:28:06 SUPERPROJECT_ACCESS_TOKEN -spid
107 14:28:06 SUBPROJECT_ID -spat SUBPROJECT_ACCESS_TOKEN
108 14:28:06 -smrp SUBMODULE_DIR_REL_PATH -smtb
109 14:28:06 SUBMODULE_TARGET_BRANCH [-t TRAILERS]
110 14:28:06
111 14:28:06 Update 'Bump Merge Requests' in GitLab for a superproject. Given an existing
112 14:28:06 'Bump Merge Request' in a superproject repo, update the MR to bump the given
113 14:28:06 submodule project to the latest commit of a given branch.
114 14:28:06
115 14:28:06 options:
116 14:28:06 -h, --help show this help message and exit
117 14:28:06 -cmrid CURRENT_MR_ID, --current-mr-id CURRENT_MR_ID
118 14:28:06 ID of the existing submodule bump Merge Request (MR)
119 14:28:06 inside the superproject. This is the project level
120 14:28:06 internal ID (IID). (default: None)
121 14:28:06 -cpid SUPERPROJECT_ID, --superproject-id SUPERPROJECT_ID
122 14:28:06 ID of the Gitlab superproject where existing bump MR
123 14:28:06 is. (default: None)
124 14:28:06 -cpat SUPERPROJECT_ACCESS_TOKEN, --superproject-access-token SUPERPROJECT_ACCESS_TOKEN
125 14:28:06 Project access token with permissions to modify the
126 14:28:06 super project. This can be a project access token or a
127 14:28:06 user access token. (default: None)
128 14:28:06 -spid SUBPROJECT_ID, --subproject-id SUBPROJECT_ID
129 14:28:06 ID of the Gitlab subproject for which to update the
130 14:28:06 bump MR. The current project must have the given
131 14:28:06 project as submodule. (default: None)
132 14:28:06 -spat SUBPROJECT_ACCESS_TOKEN, --subproject-access-token SUBPROJECT_ACCESS_TOKEN
133 14:28:06 Access token with permissions to modify the
134 14:28:06 subproject. This can be a project access token or a
135 14:28:06 user access token. The current project must have the
136 14:28:06 subproject-id as submodule. (default: None)
137 14:28:06 -smrp SUBMODULE_DIR_REL_PATH, --submodule-dir-rel-path SUBMODULE_DIR_REL_PATH
138 14:28:06 Submodule directory path in superproject. The relative
139 14:28:06 path from the superproject root directory to the
140 14:28:06 submodule root directory. (default: None)
141 14:28:06 -smtb SUBMODULE_TARGET_BRANCH, --submodule-target-branch SUBMODULE_TARGET_BRANCH
142 14:28:06 Branch in Submodule project where to bump to.
143 14:28:06 (default: None)
144 14:28:06 -t TRAILERS, --trailers TRAILERS
145 14:28:06 Commit trailers. List of trailers to append to commit
146 14:28:06 messages expressed as a json dictionary. E.g.
147 14:28:06 --trailers='{"foo": "bar"}'. (default: None)
148 14:28:06
149 14:28: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-23-99.eu-central-1.compute.internal&var-namespace=gitlab-runner&var-pod=runner-wrxjpbsjx-project-621-concurrent-5-sam1hf3x&var-resolution=15&from=1765290485000&to=1765290486000
150 14:28: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-23-99.eu-central-1.compute.internal&var-resolution=15s&from=1765290485000&to=1765290486000
151 14:28:06
152 14:28:06
153 14:28:06 section_end:1765290486:step_script
154 14:28:06 +section_start:1765290486:cleanup_file_variables
155 14:28:06 +Cleaning up project directory and file based variables
156 14:28:07
157 14:28:07 section_end:1765290487:cleanup_file_variables
158 14:28:07 +
159 14:28:07 Job succeeded
160