Release plan for OpenMRS Platform 2.7.x

Build: #2 failed

Job: Update versions failed

Stages & jobs

  1. Build and push

  2. Validate

  3. Update versions

  4. Release

    Requires a user to start manually
  5. Release 2nd stage

  6. Release 3rd stage

Build log

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

13-Nov-2024 15:26:59 Build OpenMRS Platform - OpenMRS Platform 2.7.x - Update versions #2 (OP-OP27-UV-2) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
13-Nov-2024 15:26:59 Remote agent on host xindi.openmrs.org
13-Nov-2024 15:26:59 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV
13-Nov-2024 15:26:59 Executing build OpenMRS Platform - OpenMRS Platform 2.7.x - Update versions #2 (OP-OP27-UV-2)
13-Nov-2024 15:26:59 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
13-Nov-2024 15:26:59 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV
13-Nov-2024 15:26:59 Updating source code to revision: ff06b97b522c2ec4020e704c4d23c7f9b0ef39cc
13-Nov-2024 15:26:59 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV/.git'.
13-Nov-2024 15:26:59 hint: Using 'master' as the name for the initial branch. This default branch name
13-Nov-2024 15:26:59 hint: is subject to change. To configure the initial branch name to use in all
13-Nov-2024 15:26:59 hint: of your new repositories, which will suppress this warning, call:
13-Nov-2024 15:26:59 hint:
13-Nov-2024 15:26:59 hint:         git config --global init.defaultBranch <name>
13-Nov-2024 15:26:59 hint:
13-Nov-2024 15:26:59 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
13-Nov-2024 15:26:59 hint: 'development'. The just-created branch can be renamed via this command:
13-Nov-2024 15:26:59 hint:
13-Nov-2024 15:26:59 hint:         git branch -m <name>
13-Nov-2024 15:26:59 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV/.git/
13-Nov-2024 15:26:59 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-distro-platform'. Will try to do a shallow fetch.
13-Nov-2024 15:26:59 From https://github.com/openmrs/openmrs-distro-platform
13-Nov-2024 15:26:59 * [new branch]      master     -> master
13-Nov-2024 15:26:59 Checking out revision ff06b97b522c2ec4020e704c4d23c7f9b0ef39cc.
13-Nov-2024 15:26:59 Already on 'master'
13-Nov-2024 15:26:59 Updated source code to revision: ff06b97b522c2ec4020e704c4d23c7f9b0ef39cc
13-Nov-2024 15:26:59 Finished task 'Checkout Default Repository' with result: Success
13-Nov-2024 15:26:59 Running pre-build action: Build Log Labeller Pre Build Action
13-Nov-2024 15:26:59 Running pre-build action: VCS Version Collector
13-Nov-2024 15:26:59 Running pre-build action: Run Predator
13-Nov-2024 15:26:59 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
13-Nov-2024 15:26:59 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
13-Nov-2024 15:26:59 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
13-Nov-2024 15:27:22 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
13-Nov-2024 15:27:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 26797 java        1394 bamboo-age 2995Mb  602Mb 00:35:59 /usr/lib/jvm/java-8-ope
13-Nov-2024 15:27:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1394 wrapper        1 bamboo-age   16Mb    2Mb 00:16:04 /home/bamboo-agent/bamb
13-Nov-2024 15:27:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:51 /sbin/init             
13-Nov-2024 15:27:22 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
13-Nov-2024 15:27:22 [PredatorPreBuildAction] Initial free space: 3.882801 GB
13-Nov-2024 15:27:22 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-JOB1
13-Nov-2024 15:27:31 [PredatorPreBuildAction] Deleting 22 snapshot folders from /home/bamboo-agent/.m2/repository
13-Nov-2024 15:27:31 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
13-Nov-2024 15:27:32 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
13-Nov-2024 15:27:32 [PredatorPreBuildAction] Maven stable disk freed: 0.70933807 GB, deleted 272 files
13-Nov-2024 15:27:32 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
13-Nov-2024 15:27:32 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
13-Nov-2024 15:27:32 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
13-Nov-2024 15:27:32 [PredatorPreBuildAction] Final free space: 3.8833237 GB
13-Nov-2024 15:27:32 [PredatorPreBuildAction] Done
13-Nov-2024 15:27:32 Starting task 'Update versions' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
13-Nov-2024 15:27:32
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.7.x - Update versions #2 (OP-OP27-UV-2)'
... running command line:
/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/OP-OP27-UV versions:update-properties versions:commit scm:checkin -Dmessage="Updated versions"
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV
13-Nov-2024 15:27:33 [INFO] Scanning for projects...
13-Nov-2024 15:27:34 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml
13-Nov-2024 15:27:34 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml
13-Nov-2024 15:27:35 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml (14 kB at 11 kB/s)
13-Nov-2024 15:27:35 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml (22 kB at 16 kB/s)
13-Nov-2024 15:27:35 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/versions-maven-plugin/maven-metadata.xml
13-Nov-2024 15:27:36 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/versions-maven-plugin/maven-metadata.xml (1.5 kB at 4.2 kB/s)
13-Nov-2024 15:27:36 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-scm-plugin/maven-metadata.xml
13-Nov-2024 15:27:36 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-scm-plugin/maven-metadata.xml (1.5 kB at 4.2 kB/s)
13-Nov-2024 15:27:36 [INFO]
13-Nov-2024 15:27:36 [INFO] --------------------< org.openmrs.distro:platform >---------------------
13-Nov-2024 15:27:36 [INFO] Building OpenMRS Platform 2.7.0-SNAPSHOT
13-Nov-2024 15:27:36 [INFO] --------------------------------[ jar ]---------------------------------
13-Nov-2024 15:27:36 [INFO]
13-Nov-2024 15:27:36 [INFO] --- versions-maven-plugin:2.17.1:update-properties (default-cli) @ platform ---
13-Nov-2024 15:27:37 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/webservices-rest/maven-metadata.xml
13-Nov-2024 15:27:37 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/fhir2/maven-metadata.xml
13-Nov-2024 15:27:38 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/fhir2/maven-metadata.xml (1.6 kB at 5.1 kB/s)
13-Nov-2024 15:27:38 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/owa/maven-metadata.xml
13-Nov-2024 15:27:38 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/owa/maven-metadata.xml (1.3 kB at 4.2 kB/s)
13-Nov-2024 15:27:38 [INFO] Property ${webservices.restVersion}: Leaving unchanged as 2.45.0-SNAPSHOT
13-Nov-2024 15:27:38 [INFO] Property ${fhirVersion}: Leaving unchanged as 2.2.0
13-Nov-2024 15:27:38 [INFO] Updated ${owaVersion} from 1.15.0-SNAPSHOT to 1.15.0
13-Nov-2024 15:27:38 [INFO]
13-Nov-2024 15:27:38 [INFO] --- versions-maven-plugin:2.17.1:commit (default-cli) @ platform ---
13-Nov-2024 15:27:38 [INFO] Accepting all changes to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV/pom.xml
13-Nov-2024 15:27:38 [INFO]
13-Nov-2024 15:27:38 [INFO] --------------------< org.openmrs.distro:platform >---------------------
13-Nov-2024 15:27:38 [INFO] Building OpenMRS Platform 2.7.0-SNAPSHOT
13-Nov-2024 15:27:38 [INFO] --------------------------------[ jar ]---------------------------------
13-Nov-2024 15:27:38 [INFO]
13-Nov-2024 15:27:38 [INFO] --- maven-scm-plugin:2.1.0:checkin (default-cli) @ platform ---
13-Nov-2024 15:27:39 [INFO] Executing: /bin/sh -c cd '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV' && 'git' 'rev-parse' '--show-prefix'
13-Nov-2024 15:27:39 [INFO] Working directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV
13-Nov-2024 15:27:39 [INFO] Executing: /bin/sh -c cd '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV' && 'git' 'status' '--porcelain' '.'
13-Nov-2024 15:27:39 [INFO] Working directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV
13-Nov-2024 15:27:39 [INFO] Executing: /bin/sh -c cd '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV' && 'git' 'commit' '--verbose' '-F' '/home/bamboo-agent/bamboo-agent/.agent_tmp/OP-OP27-UV/maven-scm-970658318.commit' '-a'
13-Nov-2024 15:27:39 [INFO] Working directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV
13-Nov-2024 15:27:39 [INFO] Executing: /bin/sh -c cd '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV' && 'git' 'symbolic-ref' 'HEAD'
13-Nov-2024 15:27:39 [INFO] Working directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV
13-Nov-2024 15:27:39 [INFO] Executing: /bin/sh -c cd '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV' && 'git' 'push' 'git@github.com:openmrs/openmrs-distro-platform.git' 'refs/heads/master:refs/heads/master'
13-Nov-2024 15:27:39 [INFO] Working directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-UV
13-Nov-2024 15:27:39 [ERROR] Provider message:
13-Nov-2024 15:27:39 [ERROR] The git-push command failed.
13-Nov-2024 15:27:39 [ERROR] Command output:
13-Nov-2024 15:27:39 [ERROR] To github.com:openmrs/openmrs-distro-platform.git
13-Nov-2024 15:27:39 ! [rejected]        master -> master (fetch first)
13-Nov-2024 15:27:39 error: failed to push some refs to 'github.com:openmrs/openmrs-distro-platform.git'
13-Nov-2024 15:27:39 hint: Updates were rejected because the remote contains work that you do
13-Nov-2024 15:27:39 hint: not have locally. This is usually caused by another repository pushing
13-Nov-2024 15:27:39 hint: to the same ref. You may want to first integrate the remote changes
13-Nov-2024 15:27:39 hint: (e.g., 'git pull ...') before pushing again.
13-Nov-2024 15:27:39 hint: See the 'Note about fast-forwards' in 'git push --help' for details.
13-Nov-2024 15:27:39
13-Nov-2024 15:27:39 [INFO] ------------------------------------------------------------------------
13-Nov-2024 15:27:39 [INFO] BUILD FAILURE
13-Nov-2024 15:27:39 [INFO] ------------------------------------------------------------------------
13-Nov-2024 15:27:39 [INFO] Total time:  5.751 s
13-Nov-2024 15:27:39 [INFO] Finished at: 2024-11-13T15:27:39Z
13-Nov-2024 15:27:39 [INFO] ------------------------------------------------------------------------
13-Nov-2024 15:27:39 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-scm-plugin:2.1.0:checkin (default-cli) on project platform: Command failed: The git-push command failed. -> [Help 1]
13-Nov-2024 15:27:39 [ERROR]
13-Nov-2024 15:27:39 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
13-Nov-2024 15:27:39 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
13-Nov-2024 15:27:39 [ERROR]
13-Nov-2024 15:27:39 [ERROR] For more information about the errors and possible solutions, please read the following articles:
13-Nov-2024 15:27:39 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
13-Nov-2024 15:27:39 Failing task since return code of [/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/OP-OP27-UV versions:update-properties versions:commit scm:checkin -Dmessage="Updated versions"] was 1 while expected 0
13-Nov-2024 15:27:39 Finished task 'Update versions' with result: Failed
13-Nov-2024 15:27:39 Running post build plugin 'Docker Container Cleanup'
13-Nov-2024 15:27:39 Running post build plugin 'NCover Results Collector'
13-Nov-2024 15:27:39 Running post build plugin 'Build Results Label Collector'
13-Nov-2024 15:27:39 Running post build plugin 'Clover Results Collector'
13-Nov-2024 15:27:39 Running post build plugin 'npm Cache Cleanup'
13-Nov-2024 15:27:39 Running post build plugin 'Artifact Copier'
13-Nov-2024 15:27:39 Finalising the build...
13-Nov-2024 15:27:39 Stopping timer.
13-Nov-2024 15:27:39 Build OP-OP27-UV-2 completed.
13-Nov-2024 15:27:39 Running on server: post build plugin 'Build Hanging Detection Configuration'
13-Nov-2024 15:27:39 Running on server: post build plugin 'NCover Results Collector'
13-Nov-2024 15:27:39 Running on server: post build plugin 'Build Labeller'
13-Nov-2024 15:27:39 Running on server: post build plugin 'Clover Delta Calculator'
13-Nov-2024 15:27:39 Running on server: post build plugin 'Maven Dependencies Postprocessor'
13-Nov-2024 15:27:39 All post build plugins have finished
13-Nov-2024 15:27:39 Generating build results summary...
13-Nov-2024 15:27:39 Saving build results to disk...
13-Nov-2024 15:27:39 Store variable context...
13-Nov-2024 15:27:39 Finished building OP-OP27-UV-2.