simple 28-Mar-2023 19:28:12 Build Atlas - Atlas Module - Release to Maven #43 (ATLAS-ATLAS-JOB1-43) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4 simple 28-Mar-2023 19:28:12 Remote agent on host xiao.openmrs.org simple 28-Mar-2023 19:28:12 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1 simple 28-Mar-2023 19:28:12 Executing build Atlas - Atlas Module - Release to Maven #43 (ATLAS-ATLAS-JOB1-43) simple 28-Mar-2023 19:28:12 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 28-Mar-2023 19:28:12 Build always requires a clean checkout simple 28-Mar-2023 19:28:12 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1' simple 28-Mar-2023 19:28:12 Build always requires a clean checkout simple 28-Mar-2023 19:28:12 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1/release-scripts' simple 28-Mar-2023 19:28:12 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1 simple 28-Mar-2023 19:28:12 Updating source code to revision: 14522810e5364d9651fe9ea00016944e6934c291 simple 28-Mar-2023 19:28:12 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1/.git'. simple 28-Mar-2023 19:28:12 hint: Using 'master' as the name for the initial branch. This default branch name simple 28-Mar-2023 19:28:12 hint: is subject to change. To configure the initial branch name to use in all simple 28-Mar-2023 19:28:12 hint: of your new repositories, which will suppress this warning, call: simple 28-Mar-2023 19:28:12 hint: simple 28-Mar-2023 19:28:12 hint: git config --global init.defaultBranch simple 28-Mar-2023 19:28:12 hint: simple 28-Mar-2023 19:28:12 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 28-Mar-2023 19:28:12 hint: 'development'. The just-created branch can be renamed via this command: simple 28-Mar-2023 19:28:12 hint: simple 28-Mar-2023 19:28:12 hint: git branch -m simple 28-Mar-2023 19:28:12 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1/.git/ simple 28-Mar-2023 19:28:13 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-atlas.git'. simple 28-Mar-2023 19:28:13 From https://github.com/openmrs/openmrs-module-atlas simple 28-Mar-2023 19:28:13 * [new branch] master -> master simple 28-Mar-2023 19:28:13 * [new tag] 2.0 -> 2.0 simple 28-Mar-2023 19:28:13 * [new tag] atlas-2.1 -> atlas-2.1 simple 28-Mar-2023 19:28:13 * [new tag] atlas-2.1-alpha -> atlas-2.1-alpha simple 28-Mar-2023 19:28:13 * [new tag] atlas-2.1-beta -> atlas-2.1-beta simple 28-Mar-2023 19:28:13 * [new tag] atlas-2.2 -> atlas-2.2 simple 28-Mar-2023 19:28:13 * [new tag] atlas-2.2.1 -> atlas-2.2.1 simple 28-Mar-2023 19:28:13 * [new tag] atlas-2.2.4 -> atlas-2.2.4 simple 28-Mar-2023 19:28:13 * [new tag] atlas-2.2.5 -> atlas-2.2.5 simple 28-Mar-2023 19:28:13 * [new tag] atlas-2.2.6 -> atlas-2.2.6 simple 28-Mar-2023 19:28:13 * [new tag] atlas-2.2.7 -> atlas-2.2.7 simple 28-Mar-2023 19:28:13 Checking out revision 14522810e5364d9651fe9ea00016944e6934c291. simple 28-Mar-2023 19:28:13 Already on 'master' simple 28-Mar-2023 19:28:13 Updated source code to revision: 14522810e5364d9651fe9ea00016944e6934c291 simple 28-Mar-2023 19:28:13 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1/release-scripts simple 28-Mar-2023 19:28:13 Updating source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b simple 28-Mar-2023 19:28:13 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1/release-scripts/.git'. simple 28-Mar-2023 19:28:13 hint: Using 'master' as the name for the initial branch. This default branch name simple 28-Mar-2023 19:28:13 hint: is subject to change. To configure the initial branch name to use in all simple 28-Mar-2023 19:28:13 hint: of your new repositories, which will suppress this warning, call: simple 28-Mar-2023 19:28:13 hint: simple 28-Mar-2023 19:28:13 hint: git config --global init.defaultBranch simple 28-Mar-2023 19:28:13 hint: simple 28-Mar-2023 19:28:13 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 28-Mar-2023 19:28:13 hint: 'development'. The just-created branch can be renamed via this command: simple 28-Mar-2023 19:28:13 hint: simple 28-Mar-2023 19:28:13 hint: git branch -m simple 28-Mar-2023 19:28:13 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1/release-scripts/.git/ simple 28-Mar-2023 19:28:13 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'. simple 28-Mar-2023 19:28:14 From https://github.com/openmrs/openmrs-contrib-bamboo simple 28-Mar-2023 19:28:14 * [new branch] master -> master simple 28-Mar-2023 19:28:14 Checking out revision ced9ff00825ca1cb8c744547be4ba8ff994bd71b. simple 28-Mar-2023 19:28:14 Already on 'master' simple 28-Mar-2023 19:28:14 Updated source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b simple 28-Mar-2023 19:28:14 Finished task 'Checkout Default Repository' with result: Success simple 28-Mar-2023 19:28:14 Running pre-build action: Build Log Labeller Pre Build Action simple 28-Mar-2023 19:28:14 Running pre-build action: VCS Version Collector simple 28-Mar-2023 19:28:14 Running pre-build action: Run Predator simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 20482 java 1479 bamboo-age 2979Mb 641Mb 00:38:42 /usr/lib/jvm/java-8-ope simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1479 wrapper 1 bamboo-age 16Mb 1Mb 00:11:14 /home/bamboo-agent/bamb simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:35 /lib/systemd/systemd -- simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] Initial free space: 2.440815 GB simple 28-Mar-2023 19:28:14 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CA-CA-JOB1 simple 28-Mar-2023 19:28:19 [PredatorPreBuildAction] Deleting 6 snapshot folders from /home/bamboo-agent/.m2/repository simple 28-Mar-2023 19:28:19 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 28-Mar-2023 19:28:19 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 28-Mar-2023 19:28:19 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 28-Mar-2023 19:28:19 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 28-Mar-2023 19:28:19 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 28-Mar-2023 19:28:19 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 28-Mar-2023 19:28:19 [PredatorPreBuildAction] Final free space: 2.8890877 GB simple 28-Mar-2023 19:28:19 [PredatorPreBuildAction] Done command 28-Mar-2023 19:28:19 Substituting variable: ${bamboo.maven.release.version} with 2.2.7 command 28-Mar-2023 19:28:19 Substituting variable: ${bamboo.maven.development.version} with command 28-Mar-2023 19:28:19 Substituting variable: ${bamboo.capability.system.builder.mvn3.Maven 3} with /usr/share/apache-maven-3.8.6 command 28-Mar-2023 19:28:19 Substituting variable: ${bamboo.capability.system.jdk.JDK 8} with /usr/lib/jvm/java-8-openjdk-amd64 simple 28-Mar-2023 19:28:19 Starting task 'Release prepare perform' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 28-Mar-2023 19:28:19 Substituting variable: ${bamboo.maven.release.version} with 2.2.7 command 28-Mar-2023 19:28:19 Substituting variable: ${bamboo.maven.development.version} with command 28-Mar-2023 19:28:19 Substituting variable: ${bamboo.capability.system.builder.mvn3.Maven 3} with /usr/share/apache-maven-3.8.6 command 28-Mar-2023 19:28:19 Substituting variable: ${bamboo.capability.system.jdk.JDK 8} with /usr/lib/jvm/java-8-openjdk-amd64 command 28-Mar-2023 19:28:19 Beginning to execute external process for build 'Atlas - Atlas Module - Release to Maven #43 (ATLAS-ATLAS-JOB1-43)'\n ... running command line: \n/bin/bash release-scripts/release-prepare-perform.sh -r 2.2.7 -d \n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATLAS-ATLAS-JOB1\n error 28-Mar-2023 19:28:20 [ERROR] Tag 2.2.7 already exists in the repo. Delete it before we can continue with the process. simple 28-Mar-2023 19:28:20 Failing task since return code of [/bin/bash release-scripts/release-prepare-perform.sh -r 2.2.7 -d ] was 1 while expected 0 simple 28-Mar-2023 19:28:20 Finished task 'Release prepare perform' with result: Failed simple 28-Mar-2023 19:28:20 Running post build plugin 'Docker Container Cleanup' simple 28-Mar-2023 19:28:20 Running post build plugin 'NCover Results Collector' simple 28-Mar-2023 19:28:20 Running post build plugin 'Build Results Label Collector' simple 28-Mar-2023 19:28:20 Running post build plugin 'Clover Results Collector' simple 28-Mar-2023 19:28:20 Running post build plugin 'npm Cache Cleanup' simple 28-Mar-2023 19:28:20 Running post build plugin 'Artifact Copier' simple 28-Mar-2023 19:28:20 Finalising the build... simple 28-Mar-2023 19:28:20 Stopping timer. simple 28-Mar-2023 19:28:20 Build ATLAS-ATLAS-JOB1-43 completed. simple 28-Mar-2023 19:28:20 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 28-Mar-2023 19:28:20 Running on server: post build plugin 'NCover Results Collector' simple 28-Mar-2023 19:28:20 Running on server: post build plugin 'Build Labeller' simple 28-Mar-2023 19:28:20 Running on server: post build plugin 'Clover Delta Calculator' simple 28-Mar-2023 19:28:20 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 28-Mar-2023 19:28:20 All post build plugins have finished simple 28-Mar-2023 19:28:20 Generating build results summary... simple 28-Mar-2023 19:28:20 Saving build results to disk... simple 28-Mar-2023 19:28:20 Store variable context... simple 28-Mar-2023 19:28:20 Finished building ATLAS-ATLAS-JOB1-43.