simple 13-Nov-2024 15:48:49 Build OpenMRS Platform - Openmrs Platform 2.3.x - Build #207 (OP-OP3-JOB1-207) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 simple 13-Nov-2024 15:48:49 Remote agent on host xiao.openmrs.org simple 13-Nov-2024 15:48:49 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1 simple 13-Nov-2024 15:48:49 Executing build OpenMRS Platform - Openmrs Platform 2.3.x - Build #207 (OP-OP3-JOB1-207) simple 13-Nov-2024 15:48:49 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 13-Nov-2024 15:48:49 Build always requires a clean checkout simple 13-Nov-2024 15:48:49 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1' simple 13-Nov-2024 15:48:49 Build always requires a clean checkout simple 13-Nov-2024 15:48:49 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/release-scripts' simple 13-Nov-2024 15:48:49 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1 simple 13-Nov-2024 15:48:49 Updating source code to revision: 7899652376b9224a3228e79f966e949a702549ba simple 13-Nov-2024 15:48:49 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/.git'. simple 13-Nov-2024 15:48:49 hint: Using 'master' as the name for the initial branch. This default branch name simple 13-Nov-2024 15:48:49 hint: is subject to change. To configure the initial branch name to use in all simple 13-Nov-2024 15:48:49 hint: of your new repositories, which will suppress this warning, call: simple 13-Nov-2024 15:48:49 hint: simple 13-Nov-2024 15:48:49 hint: git config --global init.defaultBranch simple 13-Nov-2024 15:48:49 hint: simple 13-Nov-2024 15:48:49 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 13-Nov-2024 15:48:49 hint: 'development'. The just-created branch can be renamed via this command: simple 13-Nov-2024 15:48:49 hint: simple 13-Nov-2024 15:48:49 hint: git branch -m simple 13-Nov-2024 15:48:49 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/.git/ simple 13-Nov-2024 15:48:50 Fetching 'refs/heads/2.3.x' from 'https://github.com/openmrs/openmrs-distro-platform'. Will try to do a shallow fetch. simple 13-Nov-2024 15:48:50 From https://github.com/openmrs/openmrs-distro-platform simple 13-Nov-2024 15:48:50 * [new branch] 2.3.x -> 2.3.x simple 13-Nov-2024 15:48:50 Checking out revision 7899652376b9224a3228e79f966e949a702549ba. simple 13-Nov-2024 15:48:50 Switched to branch '2.3.x' simple 13-Nov-2024 15:48:50 Updated source code to revision: 7899652376b9224a3228e79f966e949a702549ba simple 13-Nov-2024 15:48:50 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/release-scripts simple 13-Nov-2024 15:48:50 Updating source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b simple 13-Nov-2024 15:48:50 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/release-scripts/.git'. simple 13-Nov-2024 15:48:50 hint: Using 'master' as the name for the initial branch. This default branch name simple 13-Nov-2024 15:48:50 hint: is subject to change. To configure the initial branch name to use in all simple 13-Nov-2024 15:48:50 hint: of your new repositories, which will suppress this warning, call: simple 13-Nov-2024 15:48:50 hint: simple 13-Nov-2024 15:48:50 hint: git config --global init.defaultBranch simple 13-Nov-2024 15:48:50 hint: simple 13-Nov-2024 15:48:50 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 13-Nov-2024 15:48:50 hint: 'development'. The just-created branch can be renamed via this command: simple 13-Nov-2024 15:48:50 hint: simple 13-Nov-2024 15:48:50 hint: git branch -m simple 13-Nov-2024 15:48:50 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/release-scripts/.git/ simple 13-Nov-2024 15:48:50 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'. simple 13-Nov-2024 15:48:50 From https://github.com/openmrs/openmrs-contrib-bamboo simple 13-Nov-2024 15:48:50 * [new branch] master -> master simple 13-Nov-2024 15:48:50 Checking out revision ced9ff00825ca1cb8c744547be4ba8ff994bd71b. simple 13-Nov-2024 15:48:50 Already on 'master' simple 13-Nov-2024 15:48:50 Updated source code to revision: ced9ff00825ca1cb8c744547be4ba8ff994bd71b simple 13-Nov-2024 15:48:50 Finished task 'Checkout Default Repository' with result: Success simple 13-Nov-2024 15:48:50 Running pre-build action: Build Log Labeller Pre Build Action simple 13-Nov-2024 15:48:50 Running pre-build action: VCS Version Collector simple 13-Nov-2024 15:48:50 Running pre-build action: Run Predator simple 13-Nov-2024 15:48:50 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 13-Nov-2024 15:48:50 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 13-Nov-2024 15:48:50 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 13-Nov-2024 15:48:51 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 13-Nov-2024 15:48:51 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 23955 java 1258 bamboo-age 2994Mb 598Mb 00:33:30 /usr/lib/jvm/java-8-ope simple 13-Nov-2024 15:48:51 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1258 wrapper 1 bamboo-age 16Mb 1Mb 00:14:11 /home/bamboo-agent/bamb simple 13-Nov-2024 15:48:51 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:20 /sbin/init simple 13-Nov-2024 15:48:51 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 13-Nov-2024 15:48:51 [PredatorPreBuildAction] Initial free space: 5.491249 GB simple 13-Nov-2024 15:48:51 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BK-JOB1 simple 13-Nov-2024 15:48:56 [PredatorPreBuildAction] Deleting 22 snapshot folders from /home/bamboo-agent/.m2/repository simple 13-Nov-2024 15:48:56 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 13-Nov-2024 15:48:57 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 13-Nov-2024 15:48:57 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 13-Nov-2024 15:48:57 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 13-Nov-2024 15:48:57 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 13-Nov-2024 15:48:57 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 13-Nov-2024 15:48:57 [PredatorPreBuildAction] Final free space: 5.494007 GB simple 13-Nov-2024 15:48:57 [PredatorPreBuildAction] Done simple 13-Nov-2024 15:48:57 Starting task 'Deploy' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' command 13-Nov-2024 15:48:57 Beginning to execute external process for build 'OpenMRS Platform - Openmrs Platform 2.3.x - Build #207 (OP-OP3-JOB1-207)'\n ... running command line: \n/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\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1\n build 13-Nov-2024 15:48:59 [INFO] Scanning for projects... build 13-Nov-2024 15:48:59 [INFO] build 13-Nov-2024 15:48:59 [INFO] --------------------< org.openmrs.distro:platform >--------------------- build 13-Nov-2024 15:48:59 [INFO] Building OpenMRS Platform 2.3.7-SNAPSHOT build 13-Nov-2024 15:48:59 [INFO] --------------------------------[ jar ]--------------------------------- build 13-Nov-2024 15:48:59 [INFO] build 13-Nov-2024 15:48:59 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ platform --- build 13-Nov-2024 15:49:00 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 13-Nov-2024 15:49:00 [INFO] Copying 2 resources build 13-Nov-2024 15:49:00 [INFO] build 13-Nov-2024 15:49:00 [INFO] --- openmrs-sdk-maven-plugin:4.0.0:build-distro (build-distro) @ platform --- build 13-Nov-2024 15:49:02 build 13-Nov-2024 15:49:02 Downloading modules... build 13-Nov-2024 15:49:02 build 13-Nov-2024 15:49:03 [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.3.7-SNAPSHOT:war build 13-Nov-2024 15:49:03 [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 build 13-Nov-2024 15:49:05 [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 394 B/s) build 13-Nov-2024 15:49:05 [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 build 13-Nov-2024 15:49:11 [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 11 MB/s) build 13-Nov-2024 15:49:11 [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 build 13-Nov-2024 15:49:11 file:/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/distro/web/openmrs-2.3.7-SNAPSHOT.war build 13-Nov-2024 15:49:11 target:target/distro/web build 13-Nov-2024 15:49:11 [INFO] Configured Artifact: org.openmrs.module:fhir-omod:1.20.0:jar build 13-Nov-2024 15:49:11 [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 build 13-Nov-2024 15:49:13 [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 13 MB/s) build 13-Nov-2024 15:49:13 [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.26.0:jar build 13-Nov-2024 15:49:13 [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 build 13-Nov-2024 15:49:14 [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 6.8 MB/s) build 13-Nov-2024 15:49:14 [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.15.0:jar build 13-Nov-2024 15:49:14 [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 build 13-Nov-2024 15:49:14 [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 build 13-Nov-2024 15:49:14 [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 build 13-Nov-2024 15:49:14 build 13-Nov-2024 15:49:14 Downloading OWAs... build 13-Nov-2024 15:49:14 build 13-Nov-2024 15:49:14 build 13-Nov-2024 15:49:14 Downloading OWA: org.openmrs.owa:openmrs-owa-addonmanager:1.1.0 build 13-Nov-2024 15:49:14 [INFO] Configured Artifact: org.openmrs.owa:addonmanager:1.1.0:zip build 13-Nov-2024 15:49:14 [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 build 13-Nov-2024 15:49:15 build 13-Nov-2024 15:49:15 Creating Docker Compose configuration... build 13-Nov-2024 15:49:15 build 13-Nov-2024 15:49:15 build 13-Nov-2024 15:49:15 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 build 13-Nov-2024 15:49:15 build 13-Nov-2024 15:49:15 [INFO] build 13-Nov-2024 15:49:15 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ platform --- build 13-Nov-2024 15:49:15 [INFO] No sources to compile build 13-Nov-2024 15:49:15 [INFO] build 13-Nov-2024 15:49:15 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ platform --- build 13-Nov-2024 15:49:15 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 13-Nov-2024 15:49:15 [INFO] skip non existing resourceDirectory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/src/test/resources build 13-Nov-2024 15:49:15 [INFO] build 13-Nov-2024 15:49:15 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ platform --- build 13-Nov-2024 15:49:15 [INFO] No sources to compile build 13-Nov-2024 15:49:15 [INFO] build 13-Nov-2024 15:49:15 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ platform --- build 13-Nov-2024 15:49:15 [INFO] No tests to run. build 13-Nov-2024 15:49:15 [INFO] build 13-Nov-2024 15:49:15 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ platform --- build 13-Nov-2024 15:49:15 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-JOB1/target/platform-2.3.7-SNAPSHOT.jar build 13-Nov-2024 15:49:15 [INFO] build 13-Nov-2024 15:49:15 [INFO] --- build-helper-maven-plugin:3.0.0:attach-artifact (attach-artifacts) @ platform --- build 13-Nov-2024 15:49:15 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.pom build 13-Nov-2024 15:49:16 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.pom (1.8 kB at 5.1 kB/s) build 13-Nov-2024 15:49:16 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/wagon/wagon/1.0-beta-6/wagon-1.0-beta-6.pom build 13-Nov-2024 15:49:16 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/wagon/wagon/1.0-beta-6/wagon-1.0-beta-6.pom (12 kB at 36 kB/s) build 13-Nov-2024 15:49:16 [INFO] build 13-Nov-2024 15:49:16 [INFO] --- maven-install-plugin:2.4:install (default-install) @ platform --- build 13-Nov-2024 15:49:16 [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 build 13-Nov-2024 15:49:16 [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 build 13-Nov-2024 15:49:16 [INFO] ------------------------------------------------------------------------ build 13-Nov-2024 15:49:16 [INFO] BUILD FAILURE build 13-Nov-2024 15:49:16 [INFO] ------------------------------------------------------------------------ build 13-Nov-2024 15:49:16 [INFO] Total time: 17.304 s build 13-Nov-2024 15:49:16 [INFO] Finished at: 2024-11-13T15:49:16Z build 13-Nov-2024 15:49:16 [INFO] ------------------------------------------------------------------------ build 13-Nov-2024 15:49:16 [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] build 13-Nov-2024 15:49:16 [ERROR] build 13-Nov-2024 15:49:16 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 13-Nov-2024 15:49:16 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 13-Nov-2024 15:49:16 [ERROR] build 13-Nov-2024 15:49:16 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 13-Nov-2024 15:49:16 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException simple 13-Nov-2024 15:49:16 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 simple 13-Nov-2024 15:49:16 Finished task 'Deploy' with result: Failed simple 13-Nov-2024 15:49:16 Running post build plugin 'Docker Container Cleanup' simple 13-Nov-2024 15:49:16 Running post build plugin 'NCover Results Collector' simple 13-Nov-2024 15:49:16 Running post build plugin 'Build Results Label Collector' simple 13-Nov-2024 15:49:16 Running post build plugin 'Clover Results Collector' simple 13-Nov-2024 15:49:16 Running post build plugin 'npm Cache Cleanup' simple 13-Nov-2024 15:49:16 Running post build plugin 'Artifact Copier' simple 13-Nov-2024 15:49:16 Publishing an artifact: docker-compose-snapshot simple 13-Nov-2024 15:49:19 Finished publishing of artifact Non required shared artifact: [docker-compose-snapshot], pattern: [**/*] anchored at: [target/distro] in 2.615 s simple 13-Nov-2024 15:49:19 Publishing an artifact: docker-compose-mariadb-snapshot simple 13-Nov-2024 15:49:19 Finished publishing of artifact Non required shared artifact: [docker-compose-mariadb-snapshot], pattern: [docker-compose.mariadb.yml] anchored at: [docker] in 297.0 ms simple 13-Nov-2024 15:49:19 Finalising the build... simple 13-Nov-2024 15:49:19 Stopping timer. simple 13-Nov-2024 15:49:19 Build OP-OP3-JOB1-207 completed. simple 13-Nov-2024 15:49:19 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 13-Nov-2024 15:49:19 Running on server: post build plugin 'NCover Results Collector' simple 13-Nov-2024 15:49:19 Running on server: post build plugin 'Build Labeller' simple 13-Nov-2024 15:49:19 Running on server: post build plugin 'Clover Delta Calculator' simple 13-Nov-2024 15:49:19 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 13-Nov-2024 15:49:19 All post build plugins have finished simple 13-Nov-2024 15:49:19 Generating build results summary... simple 13-Nov-2024 15:49:19 Saving build results to disk... simple 13-Nov-2024 15:49:19 Store variable context... simple 13-Nov-2024 15:49:20 Finished building OP-OP3-JOB1-207.