simple 22-Feb-2023 16:47:38 Build Reference Application - Distribution 2.x - Release to maven #13499 (REFAPP-OMODDISTRO-RTM-13499) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4 simple 22-Feb-2023 16:47:38 Remote agent on host xindi.openmrs.org simple 22-Feb-2023 16:47:38 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM simple 22-Feb-2023 16:47:38 Executing build Reference Application - Distribution 2.x - Release to maven #13499 (REFAPP-OMODDISTRO-RTM-13499) simple 22-Feb-2023 16:47:38 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 22-Feb-2023 16:47:38 Build always requires a clean checkout simple 22-Feb-2023 16:47:38 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM' simple 22-Feb-2023 16:47:38 Build always requires a clean checkout simple 22-Feb-2023 16:47:38 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/release-scripts' simple 22-Feb-2023 16:47:38 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM simple 22-Feb-2023 16:47:38 Updating source code to revision: b3befe900e4e0a5b8398dffc275f03ae18060dc2 simple 22-Feb-2023 16:47:38 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/.git'. simple 22-Feb-2023 16:47:38 hint: Using 'master' as the name for the initial branch. This default branch name simple 22-Feb-2023 16:47:38 hint: is subject to change. To configure the initial branch name to use in all simple 22-Feb-2023 16:47:38 hint: of your new repositories, which will suppress this warning, call: simple 22-Feb-2023 16:47:38 hint: simple 22-Feb-2023 16:47:38 hint: git config --global init.defaultBranch simple 22-Feb-2023 16:47:38 hint: simple 22-Feb-2023 16:47:38 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 22-Feb-2023 16:47:38 hint: 'development'. The just-created branch can be renamed via this command: simple 22-Feb-2023 16:47:38 hint: simple 22-Feb-2023 16:47:38 hint: git branch -m simple 22-Feb-2023 16:47:38 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/.git/ simple 22-Feb-2023 16:47:38 Fetching 'refs/heads/2.x' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. simple 22-Feb-2023 16:47:40 From https://github.com/openmrs/openmrs-distro-referenceapplication simple 22-Feb-2023 16:47:40 * [new branch] 2.x -> 2.x simple 22-Feb-2023 16:47:40 * [new tag] 2.0.1769 -> 2.0.1769 simple 22-Feb-2023 16:47:40 * [new tag] 2.1 -> 2.1 simple 22-Feb-2023 16:47:40 * [new tag] 2.10.0 -> 2.10.0 simple 22-Feb-2023 16:47:40 * [new tag] 2.11.0 -> 2.11.0 simple 22-Feb-2023 16:47:40 * [new tag] 2.12.0 -> 2.12.0 simple 22-Feb-2023 16:47:40 * [new tag] 2.13.0-alpha -> 2.13.0-alpha simple 22-Feb-2023 16:47:40 * [new tag] 2.2 -> 2.2 simple 22-Feb-2023 16:47:40 * [new tag] 2.3 -> 2.3 simple 22-Feb-2023 16:47:40 * [new tag] 2.4 -> 2.4 simple 22-Feb-2023 16:47:40 * [new tag] 2.5 -> 2.5 simple 22-Feb-2023 16:47:40 * [new tag] 2.6.0 -> 2.6.0 simple 22-Feb-2023 16:47:40 * [new tag] 2.7.0 -> 2.7.0 simple 22-Feb-2023 16:47:40 * [new tag] 2.8.0 -> 2.8.0 simple 22-Feb-2023 16:47:40 * [new tag] 2.8.1 -> 2.8.1 simple 22-Feb-2023 16:47:40 * [new tag] 2.9.0 -> 2.9.0 simple 22-Feb-2023 16:47:40 * [new tag] latest -> latest simple 22-Feb-2023 16:47:40 Checking out revision b3befe900e4e0a5b8398dffc275f03ae18060dc2. simple 22-Feb-2023 16:47:40 Switched to branch '2.x' simple 22-Feb-2023 16:47:40 Updated source code to revision: b3befe900e4e0a5b8398dffc275f03ae18060dc2 simple 22-Feb-2023 16:47:40 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/release-scripts simple 22-Feb-2023 16:47:40 Updating source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b simple 22-Feb-2023 16:47:40 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/release-scripts/.git'. simple 22-Feb-2023 16:47:40 hint: Using 'master' as the name for the initial branch. This default branch name simple 22-Feb-2023 16:47:40 hint: is subject to change. To configure the initial branch name to use in all simple 22-Feb-2023 16:47:40 hint: of your new repositories, which will suppress this warning, call: simple 22-Feb-2023 16:47:40 hint: simple 22-Feb-2023 16:47:40 hint: git config --global init.defaultBranch simple 22-Feb-2023 16:47:40 hint: simple 22-Feb-2023 16:47:40 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 22-Feb-2023 16:47:40 hint: 'development'. The just-created branch can be renamed via this command: simple 22-Feb-2023 16:47:40 hint: simple 22-Feb-2023 16:47:40 hint: git branch -m simple 22-Feb-2023 16:47:40 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/release-scripts/.git/ simple 22-Feb-2023 16:47:40 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'. simple 22-Feb-2023 16:47:41 From https://github.com/openmrs/openmrs-contrib-bamboo simple 22-Feb-2023 16:47:41 * [new branch] master -> master simple 22-Feb-2023 16:47:41 Checking out revision ced9ff00825ca1cb8c744547be4ba8ff994bd71b. simple 22-Feb-2023 16:47:41 Already on 'master' simple 22-Feb-2023 16:47:41 Updated source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b simple 22-Feb-2023 16:47:41 Finished task 'Checkout Default Repository' with result: Success simple 22-Feb-2023 16:47:41 Running pre-build action: Build Log Labeller Pre Build Action simple 22-Feb-2023 16:47:41 Running pre-build action: VCS Version Collector simple 22-Feb-2023 16:47:41 Running pre-build action: Run Predator simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 2027 java 1489 bamboo-age 2978Mb 463Mb 00:18:27 /usr/lib/jvm/java-8-ope simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1489 wrapper 1 bamboo-age 16Mb 3Mb 00:05:02 /home/bamboo-agent/bamb simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:19 /sbin/init simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Initial free space: 0.8371811 GB simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/build-result.xml simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-RTM simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Maven stable disk freed: 0.074194536 GB, deleted 755 files simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Final free space: 0.8372574 GB simple 22-Feb-2023 16:47:41 [PredatorPreBuildAction] Done command 22-Feb-2023 16:47:42 Substituting variable: ${bamboo.maven.release.version} with 2.13.0-alpha.1. command 22-Feb-2023 16:47:42 Substituting variable: ${bamboo.maven.development.version} with 2.13.0-SNAPSHOT command 22-Feb-2023 16:47:42 Substituting variable: ${bamboo.capability.system.jdk.openjdk-8-jdk} with /usr/lib/jvm/java-8-openjdk-amd64 command 22-Feb-2023 16:47:42 Substituting variable: ${bamboo.capability.system.builder.mvn3.Maven 3} with /usr/share/apache-maven-3.8.6 simple 22-Feb-2023 16:47:42 Starting task 'Release prepare perform' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 22-Feb-2023 16:47:42 Substituting variable: ${bamboo.maven.release.version} with 2.13.0-alpha.1. command 22-Feb-2023 16:47:42 Substituting variable: ${bamboo.maven.development.version} with 2.13.0-SNAPSHOT command 22-Feb-2023 16:47:42 Substituting variable: ${bamboo.capability.system.jdk.openjdk-8-jdk} with /usr/lib/jvm/java-8-openjdk-amd64 command 22-Feb-2023 16:47:42 Substituting variable: ${bamboo.capability.system.builder.mvn3.Maven 3} with /usr/share/apache-maven-3.8.6 command 22-Feb-2023 16:47:42 Beginning to execute external process for build 'Reference Application - Distribution 2.x - Release to maven #13499 (REFAPP-OMODDISTRO-RTM-13499)'\n ... running command line: \n/bin/bash release-scripts/release-prepare-perform.sh -r 2.13.0-alpha.1. -d 2.13.0-SNAPSHOT\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM\n error 22-Feb-2023 16:47:42 [ERROR] Version 2.13.0-alpha.1. is not semver, e.g. 1.7.0. Check http://semver.org/ simple 22-Feb-2023 16:47:42 Failing task since return code of [/bin/bash release-scripts/release-prepare-perform.sh -r 2.13.0-alpha.1. -d 2.13.0-SNAPSHOT] was 1 while expected 0 simple 22-Feb-2023 16:47:42 Finished task 'Release prepare perform' with result: Failed simple 22-Feb-2023 16:47:42 Running post build plugin 'Docker Container Cleanup' simple 22-Feb-2023 16:47:42 Running post build plugin 'NCover Results Collector' simple 22-Feb-2023 16:47:42 Running post build plugin 'Build Results Label Collector' simple 22-Feb-2023 16:47:42 Running post build plugin 'Clover Results Collector' simple 22-Feb-2023 16:47:42 Running post build plugin 'npm Cache Cleanup' simple 22-Feb-2023 16:47:42 Running post build plugin 'Artifact Copier' simple 22-Feb-2023 16:47:42 Publishing an artifact: referenceapplication-addons error 22-Feb-2023 16:47:42 Unable to publish artifact [referenceapplication-addons]: the source directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/target/checkout/package/target does not exist. error 22-Feb-2023 16:47:42 The artifact is required for down stream Stages and Jobs, build will now fail. simple 22-Feb-2023 16:47:42 The artifact hasn't been successfully published after 481.0 μs simple 22-Feb-2023 16:47:42 Publishing an artifact: referenceapplication-war error 22-Feb-2023 16:47:42 Unable to publish artifact [ referenceapplication-war]: the source directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/target/checkout/package/target/bundled-distro/web does not exist. error 22-Feb-2023 16:47:42 The artifact is required for down stream Stages and Jobs, build will now fail. simple 22-Feb-2023 16:47:42 The artifact hasn't been successfully published after 136.6 μs simple 22-Feb-2023 16:47:42 Publishing an artifact: referenceapplication-properties error 22-Feb-2023 16:47:42 Unable to publish artifact [ referenceapplication-properties]: the source directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/target/checkout/package/target/distro/web does not exist. error 22-Feb-2023 16:47:42 The artifact is required for down stream Stages and Jobs, build will now fail. simple 22-Feb-2023 16:47:42 The artifact hasn't been successfully published after 123.1 μs simple 22-Feb-2023 16:47:42 Publishing an artifact: referenceapplication-docker error 22-Feb-2023 16:47:42 Unable to publish artifact [referenceapplication-docker]: the source directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/target/checkout/package/target/bundled-distro/web does not exist. error 22-Feb-2023 16:47:42 The artifact is required for down stream Stages and Jobs, build will now fail. simple 22-Feb-2023 16:47:42 The artifact hasn't been successfully published after 185.4 μs simple 22-Feb-2023 16:47:42 Publishing an artifact: referenceapplication-readme error 22-Feb-2023 16:47:42 Unable to publish artifact [referenceapplication-readme]: the source directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-RTM/target/checkout/package/target/classes does not exist. error 22-Feb-2023 16:47:42 The artifact is required for down stream Stages and Jobs, build will now fail. simple 22-Feb-2023 16:47:42 The artifact hasn't been successfully published after 124.2 μs simple 22-Feb-2023 16:47:42 Finalising the build... simple 22-Feb-2023 16:47:42 Stopping timer. simple 22-Feb-2023 16:47:42 Build REFAPP-OMODDISTRO-RTM-13499 completed. simple 22-Feb-2023 16:47:42 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 22-Feb-2023 16:47:42 Running on server: post build plugin 'NCover Results Collector' simple 22-Feb-2023 16:47:42 Running on server: post build plugin 'Build Labeller' simple 22-Feb-2023 16:47:42 Running on server: post build plugin 'Clover Delta Calculator' simple 22-Feb-2023 16:47:42 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 22-Feb-2023 16:47:42 All post build plugins have finished simple 22-Feb-2023 16:47:42 Generating build results summary... simple 22-Feb-2023 16:47:42 Saving build results to disk... simple 22-Feb-2023 16:47:42 Store variable context... simple 22-Feb-2023 16:47:42 Finished building REFAPP-OMODDISTRO-RTM-13499.