Build and deploy the O3 Forms module

Build: #24 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build log

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

13-May-2025 15:58:46 Build O3 Forms Module - O3 Forms Module - Default Job #24 (OM-OM-JOB1-24) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4
13-May-2025 15:58:46 Remote agent on host yu.openmrs.org
13-May-2025 15:58:46 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OM-OM-JOB1
13-May-2025 15:58:46 Executing build O3 Forms Module - O3 Forms Module - Default Job #24 (OM-OM-JOB1-24)
13-May-2025 15:58:46 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
13-May-2025 15:58:46 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OM-OM-JOB1
13-May-2025 15:58:46 Updating source code to revision: 2897eef43ebc1a9d6591a623d4cedb8de6bbe90e
13-May-2025 15:58:46 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OM-OM-JOB1/.git'.
13-May-2025 15:58:46 hint: Using 'master' as the name for the initial branch. This default branch name
13-May-2025 15:58:46 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OM-OM-JOB1/.git/
13-May-2025 15:58:46 hint: is subject to change. To configure the initial branch name to use in all
13-May-2025 15:58:46 hint: of your new repositories, which will suppress this warning, call:
13-May-2025 15:58:46 hint:
13-May-2025 15:58:46 hint:         git config --global init.defaultBranch <name>
13-May-2025 15:58:46 hint:
13-May-2025 15:58:46 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
13-May-2025 15:58:46 hint: 'development'. The just-created branch can be renamed via this command:
13-May-2025 15:58:46 hint:
13-May-2025 15:58:46 hint:         git branch -m <name>
13-May-2025 15:58:46 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-module-o3forms.git'. Will try to do a shallow fetch.
13-May-2025 15:58:46 From https://github.com/openmrs/openmrs-module-o3forms
13-May-2025 15:58:46 * [new branch]      main       -> main
13-May-2025 15:58:46 Checking out revision 2897eef43ebc1a9d6591a623d4cedb8de6bbe90e.
13-May-2025 15:58:46 Switched to branch 'main'
13-May-2025 15:58:46 Updated source code to revision: 2897eef43ebc1a9d6591a623d4cedb8de6bbe90e
13-May-2025 15:58:46 Finished task 'Checkout Default Repository' with result: Success
13-May-2025 15:58:46 Running pre-build action: Build Log Labeller Pre Build Action
13-May-2025 15:58:46 Running pre-build action: VCS Version Collector
13-May-2025 15:58:46 Running pre-build action: Run Predator
13-May-2025 15:58:46 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
13-May-2025 15:58:46 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
13-May-2025 15:58:46 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
13-May-2025 15:58:46 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
13-May-2025 15:58:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1369 java        1334 bamboo-age 2953Mb  405Mb 00:05:16 /usr/lib/jvm/java-8-ope
13-May-2025 15:58:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1334 wrapper        1 bamboo-age   16Mb    3Mb 00:01:24 /home/bamboo-agent/bamb
13-May-2025 15:58:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root         99Mb   10Mb 00:00:08 /sbin/init             
13-May-2025 15:58:46 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
13-May-2025 15:58:46 [PredatorPreBuildAction] Initial free space: 2.9959602 GB
13-May-2025 15:58:46 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LU-JOB1
13-May-2025 15:58:47 [PredatorPreBuildAction] Deleting 12 snapshot folders from /home/bamboo-agent/.m2/repository
13-May-2025 15:58:47 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
13-May-2025 15:58:47 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
13-May-2025 15:58:48 [PredatorPreBuildAction] Maven stable disk freed: 0.4572341 GB, deleted 74 files
13-May-2025 15:58:48 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
13-May-2025 15:58:48 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
13-May-2025 15:58:48 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
13-May-2025 15:58:48 [PredatorPreBuildAction] Final free space: 3.0066032 GB
13-May-2025 15:58:48 [PredatorPreBuildAction] Done
13-May-2025 15:58:48 Starting task 'Deploy module' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
13-May-2025 15:58:48
Beginning to execute external process for build 'O3 Forms Module - O3 Forms Module - Default Job #24 (OM-OM-JOB1-24)'
... running command line:
/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/OM-OM-JOB1 clean deploy
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OM-OM-JOB1
13-May-2025 15:58:49 [INFO] Scanning for projects...
13-May-2025 15:58:50 [INFO] ------------------------------------------------------------------------
13-May-2025 15:58:50 [INFO] Reactor Build Order:
13-May-2025 15:58:50 [INFO]
13-May-2025 15:58:50 [INFO] O3 Forms                                                           [pom]
13-May-2025 15:58:50 [INFO] O3 Forms API                                                       [jar]
13-May-2025 15:58:50 [INFO] O3 Forms OMOD                                                      [jar]
13-May-2025 15:58:50 [INFO]
13-May-2025 15:58:50 [INFO] ---------------------< org.openmrs.module:o3forms >---------------------
13-May-2025 15:58:50 [INFO] Building O3 Forms 2.4.0-SNAPSHOT                                   [1/3]
13-May-2025 15:58:50 [INFO] --------------------------------[ pom ]---------------------------------
13-May-2025 15:58:50 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-clean-plugin/3.3.1/maven-clean-plugin-3.3.1.pom
13-May-2025 15:58:51 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-clean-plugin/3.3.1/maven-clean-plugin-3.3.1.pom (5.3 kB at 5.3 kB/s)
13-May-2025 15:58:51 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-clean-plugin/3.3.1/maven-clean-plugin-3.3.1.jar
13-May-2025 15:58:52 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-clean-plugin/3.3.1/maven-clean-plugin-3.3.1.jar (36 kB at 107 kB/s)
13-May-2025 15:58:52 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-install-plugin/3.1.1/maven-install-plugin-3.1.1.pom
13-May-2025 15:58:52 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-install-plugin/3.1.1/maven-install-plugin-3.1.1.pom (7.8 kB at 34 kB/s)
13-May-2025 15:58:52 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-install-plugin/3.1.1/maven-install-plugin-3.1.1.jar
13-May-2025 15:58:52 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-install-plugin/3.1.1/maven-install-plugin-3.1.1.jar (31 kB at 96 kB/s)
13-May-2025 15:58:52 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-deploy-plugin/3.1.1/maven-deploy-plugin-3.1.1.pom
13-May-2025 15:58:52 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-deploy-plugin/3.1.1/maven-deploy-plugin-3.1.1.pom (8.9 kB at 39 kB/s)
13-May-2025 15:58:52 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-deploy-plugin/3.1.1/maven-deploy-plugin-3.1.1.jar
13-May-2025 15:58:53 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-deploy-plugin/3.1.1/maven-deploy-plugin-3.1.1.jar (39 kB at 170 kB/s)
13-May-2025 15:58:53 [INFO]
13-May-2025 15:58:53 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ o3forms ---
13-May-2025 15:58:53 [INFO]
13-May-2025 15:58:53 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ o3forms ---
13-May-2025 15:58:53 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OM-OM-JOB1/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/module/o3forms/2.4.0-SNAPSHOT/o3forms-2.4.0-SNAPSHOT.pom
13-May-2025 15:58:53 [INFO]
13-May-2025 15:58:53 [INFO] --- maven-deploy-plugin:3.1.1:deploy (default-deploy) @ o3forms ---
13-May-2025 15:58:53 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/o3forms/2.4.0-SNAPSHOT/maven-metadata.xml
13-May-2025 15:58:53 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/o3forms/2.4.0-SNAPSHOT/maven-metadata.xml (602 B at 2.7 kB/s)
13-May-2025 15:58:53 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/o3forms/2.4.0-SNAPSHOT/o3forms-2.4.0-20250513.155849-2.pom
13-May-2025 15:58:53 [INFO] ------------------------------------------------------------------------
13-May-2025 15:58:53 [INFO] Reactor Summary for O3 Forms 2.4.0-SNAPSHOT:
13-May-2025 15:58:53 [INFO]
13-May-2025 15:58:53 [INFO] O3 Forms ........................................... FAILURE [  3.103 s]
13-May-2025 15:58:53 [INFO] O3 Forms API ....................................... SKIPPED
13-May-2025 15:58:53 [INFO] O3 Forms OMOD ...................................... SKIPPED
13-May-2025 15:58:53 [INFO] ------------------------------------------------------------------------
13-May-2025 15:58:53 [INFO] BUILD FAILURE
13-May-2025 15:58:53 [INFO] ------------------------------------------------------------------------
13-May-2025 15:58:53 [INFO] Total time:  3.703 s
13-May-2025 15:58:53 [INFO] Finished at: 2025-05-13T15:58:53Z
13-May-2025 15:58:53 [INFO] ------------------------------------------------------------------------
13-May-2025 15:58:53 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project o3forms: Failed to deploy artifacts: Could not transfer artifact org.openmrs.module:o3forms:pom:2.4.0-20250513.155849-2 from/to openmrs-repo-snapshots (https://mavenrepo.openmrs.org/snapshots): transfer failed for https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/o3forms/2.4.0-SNAPSHOT/o3forms-2.4.0-20250513.155849-2.pom, status: 500 Internal Server Error -> [Help 1]
13-May-2025 15:58:53 [ERROR]
13-May-2025 15:58:53 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
13-May-2025 15:58:53 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
13-May-2025 15:58:53 [ERROR]
13-May-2025 15:58:53 [ERROR] For more information about the errors and possible solutions, please read the following articles:
13-May-2025 15:58:53 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
13-May-2025 15:58:53 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/OM-OM-JOB1 clean deploy] was 1 while expected 0
13-May-2025 15:58:53 Parsing test results under /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OM-OM-JOB1...
13-May-2025 15:58:53 Finished task 'Deploy module' with result: Failed
13-May-2025 15:58:53 Running post build plugin 'Docker Container Cleanup'
13-May-2025 15:58:53 Running post build plugin 'NCover Results Collector'
13-May-2025 15:58:53 Running post build plugin 'Build Results Label Collector'
13-May-2025 15:58:53 Running post build plugin 'Clover Results Collector'
13-May-2025 15:58:53 Running post build plugin 'npm Cache Cleanup'
13-May-2025 15:58:53 Running post build plugin 'Artifact Copier'
13-May-2025 15:58:53 Finalising the build...
13-May-2025 15:58:53 Stopping timer.
13-May-2025 15:58:53 Build OM-OM-JOB1-24 completed.
13-May-2025 15:58:53 Running on server: post build plugin 'Build Hanging Detection Configuration'
13-May-2025 15:58:53 Running on server: post build plugin 'NCover Results Collector'
13-May-2025 15:58:53 Running on server: post build plugin 'Build Labeller'
13-May-2025 15:58:53 Running on server: post build plugin 'Clover Delta Calculator'
13-May-2025 15:58:53 Running on server: post build plugin 'Maven Dependencies Postprocessor'
13-May-2025 15:58:53 All post build plugins have finished
13-May-2025 15:58:53 Generating build results summary...
13-May-2025 15:58:53 Saving build results to disk...
13-May-2025 15:58:53 Store variable context...
13-May-2025 15:58:53 Finished building OM-OM-JOB1-24.