Build: #239 failed
Job: Build failed
Build log
The build generated 185 lines of output. Download or view full build log.
25-Jun-2025 22:46:30 | Build OpenMRS Platform - Openmrs Platform 2.3.x - Build #239 (OP-OP3-JOB1-239) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4 |
25-Jun-2025 22:46:30 | Remote agent on host xindi.openmrs.org |
25-Jun-2025 22:46:30 | Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1 |
25-Jun-2025 22:46:30 | Executing build OpenMRS Platform - Openmrs Platform 2.3.x - Build #239 (OP-OP3-JOB1-239) |
25-Jun-2025 22:46:30 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
25-Jun-2025 22:46:30 | Build always requires a clean checkout |
25-Jun-2025 22:46:30 | Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1' |
25-Jun-2025 22:46:30 | Build always requires a clean checkout |
25-Jun-2025 22:46:30 | Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/release-scripts' |
25-Jun-2025 22:46:30 | Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1 |
25-Jun-2025 22:46:30 | Updating source code to revision: 7899652376b9224a3228e79f966e949a702549ba |
25-Jun-2025 22:46:30 | Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/.git'. |
25-Jun-2025 22:46:30 | hint: Using 'master' as the name for the initial branch. This default branch name |
25-Jun-2025 22:46:30 | hint: is subject to change. To configure the initial branch name to use in all |
25-Jun-2025 22:46:30 | hint: of your new repositories, which will suppress this warning, call: |
25-Jun-2025 22:46:30 | hint: |
25-Jun-2025 22:46:30 | hint: git config --global init.defaultBranch <name> |
25-Jun-2025 22:46:30 | hint: |
25-Jun-2025 22:46:30 | hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and |
25-Jun-2025 22:46:30 | hint: 'development'. The just-created branch can be renamed via this command: |
25-Jun-2025 22:46:30 | hint: |
25-Jun-2025 22:46:30 | hint: git branch -m <name> |
25-Jun-2025 22:46:30 | Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/.git/ |
25-Jun-2025 22:46:31 | Fetching 'refs/heads/2.3.x' from 'https://github.com/openmrs/openmrs-distro-platform'. Will try to do a shallow fetch. |
25-Jun-2025 22:46:31 | From https://github.com/openmrs/openmrs-distro-platform |
25-Jun-2025 22:46:31 | * [new branch] 2.3.x -> 2.3.x |
25-Jun-2025 22:46:31 | Checking out revision 7899652376b9224a3228e79f966e949a702549ba. |
25-Jun-2025 22:46:31 | Switched to branch '2.3.x' |
25-Jun-2025 22:46:31 | Updated source code to revision: 7899652376b9224a3228e79f966e949a702549ba |
25-Jun-2025 22:46:31 | Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/release-scripts |
25-Jun-2025 22:46:31 | Updating source code to revision: d5831e94deff58c79f07afa118e3aad928391687 |
25-Jun-2025 22:46:31 | Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/release-scripts/.git'. |
25-Jun-2025 22:46:31 | hint: Using 'master' as the name for the initial branch. This default branch name |
25-Jun-2025 22:46:31 | hint: is subject to change. To configure the initial branch name to use in all |
25-Jun-2025 22:46:31 | hint: of your new repositories, which will suppress this warning, call: |
25-Jun-2025 22:46:31 | hint: |
25-Jun-2025 22:46:31 | hint: git config --global init.defaultBranch <name> |
25-Jun-2025 22:46:31 | hint: |
25-Jun-2025 22:46:31 | hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and |
25-Jun-2025 22:46:31 | hint: 'development'. The just-created branch can be renamed via this command: |
25-Jun-2025 22:46:31 | hint: |
25-Jun-2025 22:46:31 | hint: git branch -m <name> |
25-Jun-2025 22:46:31 | Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/release-scripts/.git/ |
25-Jun-2025 22:46:31 | Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'. |
25-Jun-2025 22:46:31 | From https://github.com/openmrs/openmrs-contrib-bamboo |
25-Jun-2025 22:46:31 | * [new branch] master -> master |
25-Jun-2025 22:46:31 | Checking out revision d5831e94deff58c79f07afa118e3aad928391687. |
25-Jun-2025 22:46:31 | Already on 'master' |
25-Jun-2025 22:46:31 | Updated source code to revision: d5831e94deff58c79f07afa118e3aad928391687 |
25-Jun-2025 22:46:31 | Finished task 'Checkout Default Repository' with result: Success |
25-Jun-2025 22:46:31 | Running pre-build action: Build Log Labeller Pre Build Action |
25-Jun-2025 22:46:31 | Running pre-build action: VCS Version Collector |
25-Jun-2025 22:46:31 | Running pre-build action: Run Predator |
25-Jun-2025 22:46:31 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
25-Jun-2025 22:46:31 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
25-Jun-2025 22:46:31 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 40047 java 1356 bamboo-age 2975Mb 480Mb 00:04:52 /usr/lib/jvm/java-8-ope |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1356 wrapper 1 bamboo-age 16Mb 3Mb 00:02:11 /home/bamboo-agent/bamb |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 100Mb 12Mb 00:00:33 /sbin/init |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Initial free space: 2.7826118 GB |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UIFR-UFL-DTM |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HTMLWIDGETS-HWL-DTM |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-JOB1 |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-DTM |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UIL-ULL-DTM |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CALC-CML-RTM |
25-Jun-2025 22:46:43 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP27-TOM |
25-Jun-2025 22:46:44 | [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository |
25-Jun-2025 22:46:44 | [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB |
25-Jun-2025 22:46:44 | [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator |
25-Jun-2025 22:46:45 | [PredatorPreBuildAction] Maven stable disk freed: 0.50024134 GB, deleted 82 files |
25-Jun-2025 22:46:45 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
25-Jun-2025 22:46:45 | [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. |
25-Jun-2025 22:46:45 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
25-Jun-2025 22:46:45 | [PredatorPreBuildAction] Final free space: 2.7828712 GB |
25-Jun-2025 22:46:45 | [PredatorPreBuildAction] Done |
25-Jun-2025 22:46:45 | Starting task 'Deploy' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' |
25-Jun-2025 22:46:45 | Beginning to execute external process for build 'OpenMRS Platform - Openmrs Platform 2.3.x - Build #239 (OP-OP3-JOB1-239)' ... running command line: /usr/share/apache-maven-3.8.6/bin/mvn -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/OP-OP3-JOB1 deploy -U -B ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1 |
25-Jun-2025 22:46:47 | [INFO] Scanning for projects... |
25-Jun-2025 22:46:47 | [INFO] |
25-Jun-2025 22:46:47 | [INFO] --------------------< org.openmrs.distro:platform >--------------------- |
25-Jun-2025 22:46:47 | [INFO] Building OpenMRS Platform 2.3.7-SNAPSHOT |
25-Jun-2025 22:46:47 | [INFO] --------------------------------[ jar ]--------------------------------- |
25-Jun-2025 22:46:47 | [INFO] |
25-Jun-2025 22:46:47 | [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ platform --- |
25-Jun-2025 22:46:47 | [INFO] Using 'UTF-8' encoding to copy filtered resources. |
25-Jun-2025 22:46:47 | [INFO] Copying 2 resources |
25-Jun-2025 22:46:47 | [INFO] |
25-Jun-2025 22:46:47 | [INFO] --- openmrs-sdk-maven-plugin:4.0.0:build-distro (build-distro) @ platform --- |
25-Jun-2025 22:46:50 | |
25-Jun-2025 22:46:50 | Downloading modules... |
25-Jun-2025 22:46:50 | |
25-Jun-2025 22:46:51 | [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.3.7-SNAPSHOT:war |
25-Jun-2025 22:46:51 | [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-webapp/2.3.7-SNAPSHOT/maven-metadata.xml |
25-Jun-2025 22:46:53 | [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-webapp/2.3.7-SNAPSHOT/maven-metadata.xml (991 B at 551 B/s) |
25-Jun-2025 22:46:53 | [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-webapp/2.3.7-SNAPSHOT/openmrs-webapp-2.3.7-20230412.200755-1.war |
25-Jun-2025 22:46:57 | [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/web/openmrs-webapp/2.3.7-SNAPSHOT/openmrs-webapp-2.3.7-20230412.200755-1.war (60 MB at 16 MB/s) |
25-Jun-2025 22:46:57 | [INFO] Copying openmrs-webapp-2.3.7-SNAPSHOT.war to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/distro/web/openmrs-2.3.7-SNAPSHOT.war |
25-Jun-2025 22:46:57 | file:/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/distro/web/openmrs-2.3.7-SNAPSHOT.war |
25-Jun-2025 22:46:57 | target:target/distro/web |
25-Jun-2025 22:46:57 | [INFO] Configured Artifact: org.openmrs.module:fhir-omod:1.20.0:jar |
25-Jun-2025 22:46:57 | [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/fhir-omod/1.20.0/fhir-omod-1.20.0.jar |
25-Jun-2025 22:46:59 | [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/fhir-omod/1.20.0/fhir-omod-1.20.0.jar (31 MB at 19 MB/s) |
25-Jun-2025 22:46:59 | [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.26.0:jar |
25-Jun-2025 22:46:59 | [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/webservices.rest-omod/2.26.0/webservices.rest-omod-2.26.0.jar |
25-Jun-2025 22:47:00 | [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/webservices.rest-omod/2.26.0/webservices.rest-omod-2.26.0.jar (6.3 MB at 9.7 MB/s) |
25-Jun-2025 22:47:00 | [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.15.0:jar |
25-Jun-2025 22:47:00 | [INFO] Copying fhir-omod-1.20.0.jar to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/distro/web/WEB-INF/bundledModules/fhir-1.20.0.omod |
25-Jun-2025 22:47:00 | [INFO] Copying webservices.rest-omod-2.26.0.jar to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/distro/web/WEB-INF/bundledModules/webservices.rest-2.26.0.omod |
25-Jun-2025 22:47:00 | [INFO] Copying owa-omod-1.15.0.jar to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/distro/web/WEB-INF/bundledModules/owa-1.15.0.omod |
25-Jun-2025 22:47:00 | |
25-Jun-2025 22:47:00 | Downloading OWAs... |
25-Jun-2025 22:47:00 | |
25-Jun-2025 22:47:00 | |
25-Jun-2025 22:47:00 | Downloading OWA: org.openmrs.owa:openmrs-owa-addonmanager:1.1.0 |
25-Jun-2025 22:47:00 | [INFO] Configured Artifact: org.openmrs.owa:addonmanager:1.1.0:zip |
25-Jun-2025 22:47:00 | [INFO] Copying addonmanager-1.1.0.zip to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/distro/web/WEB-INF/bundledOwas/addonmanager-1.1.0.zip |
25-Jun-2025 22:47:00 | |
25-Jun-2025 22:47:00 | Creating Docker Compose configuration... |
25-Jun-2025 22:47:00 | |
25-Jun-2025 22:47:00 | |
25-Jun-2025 22:47:00 | The 'platform' distribution created! To start up the server run 'docker-compose up' from /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/distro |
25-Jun-2025 22:47:00 | |
25-Jun-2025 22:47:00 | [INFO] |
25-Jun-2025 22:47:00 | [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ platform --- |
25-Jun-2025 22:47:00 | [INFO] No sources to compile |
25-Jun-2025 22:47:00 | [INFO] |
25-Jun-2025 22:47:00 | [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ platform --- |
25-Jun-2025 22:47:00 | [INFO] Using 'UTF-8' encoding to copy filtered resources. |
25-Jun-2025 22:47:00 | [INFO] skip non existing resourceDirectory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/src/test/resources |
25-Jun-2025 22:47:00 | [INFO] |
25-Jun-2025 22:47:00 | [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ platform --- |
25-Jun-2025 22:47:00 | [INFO] No sources to compile |
25-Jun-2025 22:47:00 | [INFO] |
25-Jun-2025 22:47:00 | [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ platform --- |
25-Jun-2025 22:47:01 | [INFO] No tests to run. |
25-Jun-2025 22:47:01 | [INFO] |
25-Jun-2025 22:47:01 | [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ platform --- |
25-Jun-2025 22:47:01 | [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/platform-2.3.7-SNAPSHOT.jar |
25-Jun-2025 22:47:01 | [INFO] |
25-Jun-2025 22:47:01 | [INFO] --- build-helper-maven-plugin:3.0.0:attach-artifact (attach-artifacts) @ platform --- |
25-Jun-2025 22:47:01 | [INFO] |
25-Jun-2025 22:47:01 | [INFO] --- maven-install-plugin:2.4:install (default-install) @ platform --- |
25-Jun-2025 22:47:01 | [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/platform-2.3.7-SNAPSHOT.jar to /home/bamboo-agent/.m2/repository/org/openmrs/distro/platform/2.3.7-SNAPSHOT/platform-2.3.7-SNAPSHOT.jar |
25-Jun-2025 22:47:01 | [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/distro/platform/2.3.7-SNAPSHOT/platform-2.3.7-SNAPSHOT.pom |
25-Jun-2025 22:47:01 | [INFO] ------------------------------------------------------------------------ |
25-Jun-2025 22:47:01 | [INFO] BUILD FAILURE |
25-Jun-2025 22:47:01 | [INFO] ------------------------------------------------------------------------ |
25-Jun-2025 22:47:01 | [INFO] Total time: 14.351 s |
25-Jun-2025 22:47:01 | [INFO] Finished at: 2025-06-25T22:47:01Z |
25-Jun-2025 22:47:01 | [INFO] ------------------------------------------------------------------------ |
25-Jun-2025 22:47:01 | [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project platform: Failed to install metadata org.openmrs.distro:platform/maven-metadata.xml: Could not write metadata /home/bamboo-agent/.m2/repository/org/openmrs/distro/platform/maven-metadata-local.xml: /home/bamboo-agent/.m2/repository/org/openmrs/distro/platform/maven-metadata-local.xml (Permission denied) -> [Help 1] |
25-Jun-2025 22:47:01 | [ERROR] |
25-Jun-2025 22:47:01 | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. |
25-Jun-2025 22:47:01 | [ERROR] Re-run Maven using the -X switch to enable full debug logging. |
25-Jun-2025 22:47:01 | [ERROR] |
25-Jun-2025 22:47:01 | [ERROR] For more information about the errors and possible solutions, please read the following articles: |
25-Jun-2025 22:47:01 | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException |
25-Jun-2025 22:47:01 | Failing task since return code of [/usr/share/apache-maven-3.8.6/bin/mvn -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/OP-OP3-JOB1 deploy -U -B] was 1 while expected 0 |
25-Jun-2025 22:47:01 | Finished task 'Deploy' with result: Failed |
25-Jun-2025 22:47:01 | Running post build plugin 'Docker Container Cleanup' |
25-Jun-2025 22:47:01 | Running post build plugin 'NCover Results Collector' |
25-Jun-2025 22:47:01 | Running post build plugin 'Build Results Label Collector' |
25-Jun-2025 22:47:01 | Running post build plugin 'Clover Results Collector' |
25-Jun-2025 22:47:01 | Running post build plugin 'npm Cache Cleanup' |
25-Jun-2025 22:47:01 | Running post build plugin 'Artifact Copier' |
25-Jun-2025 22:47:01 | Publishing an artifact: docker-compose-snapshot |
25-Jun-2025 22:47:04 | Finished publishing of artifact Non required shared artifact: [docker-compose-snapshot], pattern: [**/*] anchored at: [target/distro] in 2.531 s |
25-Jun-2025 22:47:04 | Publishing an artifact: docker-compose-mariadb-snapshot |
25-Jun-2025 22:47:04 | Finished publishing of artifact Non required shared artifact: [docker-compose-mariadb-snapshot], pattern: [docker-compose.mariadb.yml] anchored at: [docker] in 332.2 ms |
25-Jun-2025 22:47:04 | Finalising the build... |
25-Jun-2025 22:47:04 | Stopping timer. |
25-Jun-2025 22:47:04 | Build OP-OP3-JOB1-239 completed. |
25-Jun-2025 22:47:04 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
25-Jun-2025 22:47:04 | Running on server: post build plugin 'NCover Results Collector' |
25-Jun-2025 22:47:04 | Running on server: post build plugin 'Build Labeller' |
25-Jun-2025 22:47:04 | Running on server: post build plugin 'Clover Delta Calculator' |
25-Jun-2025 22:47:04 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
25-Jun-2025 22:47:04 | All post build plugins have finished |
25-Jun-2025 22:47:04 | Generating build results summary... |
25-Jun-2025 22:47:04 | Saving build results to disk... |
25-Jun-2025 22:47:04 | Store variable context... |
25-Jun-2025 22:47:04 | Finished building OP-OP3-JOB1-239. |