More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #43 failed

Job: Release to Maven failed

Stages & jobs

  1. Test module

  2. Release

    Requires a user to start manually

Build log

The build generated 114 lines of output. Download or view full build log.

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