Build: #1 failed

Job: Release to Maven failed

Stages & jobs

  1. Test module

  2. Release

    Requires a user to start manually

Build log

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

11-Feb-2025 06:16:20 Build OAuth 2.0 Login - Release 1.5.0 - Release to Maven #1 (OA2L-R1-JOB1-1) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
11-Feb-2025 06:16:20 Remote agent on host xiao.openmrs.org
11-Feb-2025 06:16:20 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1
11-Feb-2025 06:16:20 Executing build OAuth 2.0 Login - Release 1.5.0 - Release to Maven #1 (OA2L-R1-JOB1-1)
11-Feb-2025 06:16:20 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
11-Feb-2025 06:16:20 Build always requires a clean checkout
11-Feb-2025 06:16:20 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1'
11-Feb-2025 06:16:20 Build always requires a clean checkout
11-Feb-2025 06:16:20 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1/release-scripts'
11-Feb-2025 06:16:20 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1
11-Feb-2025 06:16:20 Updating source code to revision: 6e29e6e302ae0626f20a58dbe90428613117dc9f
11-Feb-2025 06:16:20 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1/.git'.
11-Feb-2025 06:16:20 hint: Using 'master' as the name for the initial branch. This default branch name
11-Feb-2025 06:16:20 hint: is subject to change. To configure the initial branch name to use in all
11-Feb-2025 06:16:20 hint: of your new repositories, which will suppress this warning, call:
11-Feb-2025 06:16:20 hint:
11-Feb-2025 06:16:20 hint:         git config --global init.defaultBranch <name>
11-Feb-2025 06:16:20 hint:
11-Feb-2025 06:16:20 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
11-Feb-2025 06:16:20 hint: 'development'. The just-created branch can be renamed via this command:
11-Feb-2025 06:16:20 hint:
11-Feb-2025 06:16:20 hint:         git branch -m <name>
11-Feb-2025 06:16:20 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1/.git/
11-Feb-2025 06:16:20 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-releasetest.git'. Will try to do a shallow fetch.
11-Feb-2025 06:16:21 From https://github.com/openmrs/openmrs-module-releasetest
11-Feb-2025 06:16:21 * [new branch]      master     -> master
11-Feb-2025 06:16:21 Checking out revision 6e29e6e302ae0626f20a58dbe90428613117dc9f.
11-Feb-2025 06:16:21 Already on 'master'
11-Feb-2025 06:16:21 Updated source code to revision: 6e29e6e302ae0626f20a58dbe90428613117dc9f
11-Feb-2025 06:16:21 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1/release-scripts
11-Feb-2025 06:16:21 Updating source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b
11-Feb-2025 06:16:21 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1/release-scripts/.git'.
11-Feb-2025 06:16:21 hint: Using 'master' as the name for the initial branch. This default branch name
11-Feb-2025 06:16:21 hint: is subject to change. To configure the initial branch name to use in all
11-Feb-2025 06:16:21 hint: of your new repositories, which will suppress this warning, call:
11-Feb-2025 06:16:21 hint:
11-Feb-2025 06:16:21 hint:         git config --global init.defaultBranch <name>
11-Feb-2025 06:16:21 hint:
11-Feb-2025 06:16:21 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
11-Feb-2025 06:16:21 hint: 'development'. The just-created branch can be renamed via this command:
11-Feb-2025 06:16:21 hint:
11-Feb-2025 06:16:21 hint:         git branch -m <name>
11-Feb-2025 06:16:21 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1/release-scripts/.git/
11-Feb-2025 06:16:21 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'.
11-Feb-2025 06:16:21 From https://github.com/openmrs/openmrs-contrib-bamboo
11-Feb-2025 06:16:21 * [new branch]      master     -> master
11-Feb-2025 06:16:21 Checking out revision ced9ff00825ca1cb8c744547be4ba8ff994bd71b.
11-Feb-2025 06:16:21 Already on 'master'
11-Feb-2025 06:16:21 Updated source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b
11-Feb-2025 06:16:21 Finished task 'Checkout Default Repository' with result: Success
11-Feb-2025 06:16:21 Running pre-build action: Build Log Labeller Pre Build Action
11-Feb-2025 06:16:21 Running pre-build action: VCS Version Collector
11-Feb-2025 06:16:21 Running pre-build action: Run Predator
11-Feb-2025 06:16:21 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
11-Feb-2025 06:16:21 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
11-Feb-2025 06:16:21 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
11-Feb-2025 06:16:22 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
11-Feb-2025 06:16:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2968 java        1228 bamboo-age 2982Mb  389Mb 00:04:54 /usr/lib/jvm/java-8-ope
11-Feb-2025 06:16:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1228 wrapper        1 bamboo-age   16Mb    2Mb 00:01:08 /home/bamboo-agent/bamb
11-Feb-2025 06:16:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb   10Mb 00:00:06 /sbin/init             
11-Feb-2025 06:16:22 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
11-Feb-2025 06:16:22 [PredatorPreBuildAction] Initial free space: 5.2544823 GB
11-Feb-2025 06:16:22 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
11-Feb-2025 06:16:22 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
11-Feb-2025 06:16:22 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
11-Feb-2025 06:16:23 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
11-Feb-2025 06:16:23 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
11-Feb-2025 06:16:23 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
11-Feb-2025 06:16:23 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
11-Feb-2025 06:16:23 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
11-Feb-2025 06:16:23 [PredatorPreBuildAction] Final free space: 5.286213 GB
11-Feb-2025 06:16:23 [PredatorPreBuildAction] Done
11-Feb-2025 06:16:23
Substituting variable: ${bamboo.maven.release.version} with 2.1.25
11-Feb-2025 06:16:23
Substituting variable: ${bamboo.maven.development.version} with
11-Feb-2025 06:16:23
Substituting variable: ${bamboo.capability.system.builder.mvn3.Maven 3} with /usr/share/apache-maven-3.8.6
11-Feb-2025 06:16:23
Substituting variable: ${bamboo.capability.system.jdk.openjdk-8-jdk} with /usr/lib/jvm/java-8-openjdk-amd64
11-Feb-2025 06:16:23 Starting task 'Release prepare perform' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
11-Feb-2025 06:16:23
Substituting variable: ${bamboo.maven.release.version} with 2.1.25
11-Feb-2025 06:16:23
Substituting variable: ${bamboo.maven.development.version} with
11-Feb-2025 06:16:23
Substituting variable: ${bamboo.capability.system.builder.mvn3.Maven 3} with /usr/share/apache-maven-3.8.6
11-Feb-2025 06:16:23
Substituting variable: ${bamboo.capability.system.jdk.openjdk-8-jdk} with /usr/lib/jvm/java-8-openjdk-amd64
11-Feb-2025 06:16:23
Beginning to execute external process for build 'OAuth 2.0 Login - Release 1.5.0 - Release to Maven #1 (OA2L-R1-JOB1-1)'
... running command line:
/bin/bash release-scripts/release-prepare-perform.sh -r 2.1.25 -d -s
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OA2L-R1-JOB1
11-Feb-2025 06:16:23 [ERROR] Tag 2.1.25 already exists in the repo. Delete it before we can continue with the process.
11-Feb-2025 06:16:23 Failing task since return code of [/bin/bash release-scripts/release-prepare-perform.sh -r 2.1.25 -d  -s] was 1 while expected 0
11-Feb-2025 06:16:23 Finished task 'Release prepare perform' with result: Failed
11-Feb-2025 06:16:23 Running post build plugin 'Docker Container Cleanup'
11-Feb-2025 06:16:23 Running post build plugin 'NCover Results Collector'
11-Feb-2025 06:16:23 Running post build plugin 'Build Results Label Collector'
11-Feb-2025 06:16:23 Running post build plugin 'Clover Results Collector'
11-Feb-2025 06:16:23 Running post build plugin 'npm Cache Cleanup'
11-Feb-2025 06:16:23 Running post build plugin 'Artifact Copier'
11-Feb-2025 06:16:23 Finalising the build...
11-Feb-2025 06:16:23 Stopping timer.
11-Feb-2025 06:16:23 Build OA2L-R1-JOB1-1 completed.
11-Feb-2025 06:16:23 Running on server: post build plugin 'Build Hanging Detection Configuration'
11-Feb-2025 06:16:23 Running on server: post build plugin 'NCover Results Collector'
11-Feb-2025 06:16:23 Running on server: post build plugin 'Build Labeller'
11-Feb-2025 06:16:23 Running on server: post build plugin 'Clover Delta Calculator'
11-Feb-2025 06:16:23 Running on server: post build plugin 'Maven Dependencies Postprocessor'
11-Feb-2025 06:16:23 All post build plugins have finished
11-Feb-2025 06:16:23 Generating build results summary...
11-Feb-2025 06:16:23 Saving build results to disk...
11-Feb-2025 06:16:23 Store variable context...
11-Feb-2025 06:16:23 Finished building OA2L-R1-JOB1-1.