simple 19-Sep-2024 21:47:18 Build OpenMRS Core - OpenMRS Core 2.4.x - Deploy #97 (TRUNK-CORE-DEP-97) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4 simple 19-Sep-2024 21:47:18 Remote agent on host xindi.openmrs.org simple 19-Sep-2024 21:47:18 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP simple 19-Sep-2024 21:47:18 Executing build OpenMRS Core - OpenMRS Core 2.4.x - Deploy #97 (TRUNK-CORE-DEP-97) simple 19-Sep-2024 21:47:18 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 19-Sep-2024 21:47:18 Build always requires a clean checkout simple 19-Sep-2024 21:47:18 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP' simple 19-Sep-2024 21:47:18 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP simple 19-Sep-2024 21:47:18 Updating source code to revision: 8b9a040a71d22d4c69a56930d80c20c5e1787c00 simple 19-Sep-2024 21:47:18 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP/.git'. simple 19-Sep-2024 21:47:18 hint: Using 'master' as the name for the initial branch. This default branch name simple 19-Sep-2024 21:47:18 hint: is subject to change. To configure the initial branch name to use in all simple 19-Sep-2024 21:47:18 hint: of your new repositories, which will suppress this warning, call: simple 19-Sep-2024 21:47:18 hint: simple 19-Sep-2024 21:47:18 hint: git config --global init.defaultBranch simple 19-Sep-2024 21:47:18 hint: simple 19-Sep-2024 21:47:18 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 19-Sep-2024 21:47:18 hint: 'development'. The just-created branch can be renamed via this command: simple 19-Sep-2024 21:47:18 hint: simple 19-Sep-2024 21:47:18 hint: git branch -m simple 19-Sep-2024 21:47:18 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP/.git/ simple 19-Sep-2024 21:47:18 Fetching 'refs/heads/2.4.x' from 'https://github.com/openmrs/openmrs-core.git'. Will try to do a shallow fetch. simple 19-Sep-2024 21:47:19 From https://github.com/openmrs/openmrs-core simple 19-Sep-2024 21:47:19 * [new branch] 2.4.x -> 2.4.x simple 19-Sep-2024 21:47:19 Checking out revision 8b9a040a71d22d4c69a56930d80c20c5e1787c00. simple 19-Sep-2024 21:47:19 Switched to branch '2.4.x' simple 19-Sep-2024 21:47:19 Updated source code to revision: 8b9a040a71d22d4c69a56930d80c20c5e1787c00 simple 19-Sep-2024 21:47:19 Finished task 'Checkout Default Repository' with result: Success simple 19-Sep-2024 21:47:19 Running pre-build action: Build Log Labeller Pre Build Action simple 19-Sep-2024 21:47:19 Running pre-build action: VCS Version Collector simple 19-Sep-2024 21:47:19 Running pre-build action: Run Predator simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 3386 java 1393 bamboo-age 2976Mb 452Mb 00:11:24 /usr/lib/jvm/java-8-ope simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1393 wrapper 1 bamboo-age 16Mb 2Mb 00:02:38 /home/bamboo-agent/bamb simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 100Mb 11Mb 00:00:15 /sbin/init simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Initial free space: 3.9807205 GB simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-JOB1 simple 19-Sep-2024 21:47:19 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage simple 19-Sep-2024 21:47:20 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository simple 19-Sep-2024 21:47:20 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 19-Sep-2024 21:47:20 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 19-Sep-2024 21:47:20 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 19-Sep-2024 21:47:20 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 19-Sep-2024 21:47:20 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 19-Sep-2024 21:47:20 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 19-Sep-2024 21:47:20 [PredatorPreBuildAction] Final free space: 4.2364197 GB simple 19-Sep-2024 21:47:20 [PredatorPreBuildAction] Done command 19-Sep-2024 21:47:21 Substituting variable: ${bamboo.mavenDeployGoals} with clean deploy -DskipTests simple 19-Sep-2024 21:47:21 Starting task 'Maven 3.x' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' command 19-Sep-2024 21:47:21 Beginning to execute external process for build 'OpenMRS Core - OpenMRS Core 2.4.x - Deploy #97 (TRUNK-CORE-DEP-97)'\n ... running command line: \n/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/TRUNK-CORE-DEP clean deploy -DskipTests\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP\n build 19-Sep-2024 21:47:21 [INFO] Scanning for projects... build 19-Sep-2024 21:47:22 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/javax/annotation/javax.annotation-api/maven-metadata.xml build 19-Sep-2024 21:47:23 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/javax/annotation/javax.annotation-api/maven-metadata.xml (564 B at 350 B/s) build 19-Sep-2024 21:47:23 [INFO] ------------------------------------------------------------------------ build 19-Sep-2024 21:47:23 [INFO] Reactor Build Order: build 19-Sep-2024 21:47:23 [INFO] build 19-Sep-2024 21:47:23 [INFO] OpenMRS [pom] build 19-Sep-2024 21:47:23 [INFO] openmrs-tools [jar] build 19-Sep-2024 21:47:23 [INFO] openmrs-test [pom] build 19-Sep-2024 21:47:23 [INFO] openmrs-api [jar] build 19-Sep-2024 21:47:23 [INFO] openmrs-web [jar] build 19-Sep-2024 21:47:23 [INFO] openmrs-webapp [war] build 19-Sep-2024 21:47:23 [INFO] openmrs-liquibase [jar] build 19-Sep-2024 21:47:23 [INFO] build 19-Sep-2024 21:47:23 [INFO] ------------------------< org.openmrs:openmrs >------------------------- build 19-Sep-2024 21:47:23 [INFO] Building OpenMRS 2.4.6-SNAPSHOT [1/7] build 19-Sep-2024 21:47:23 [INFO] --------------------------------[ pom ]--------------------------------- build 19-Sep-2024 21:47:24 [INFO] build 19-Sep-2024 21:47:24 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs --- build 19-Sep-2024 21:47:24 [INFO] build 19-Sep-2024 21:47:24 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs --- build 19-Sep-2024 21:47:24 [INFO] ShortRevision tag detected. The value is '6'. build 19-Sep-2024 21:47:24 [INFO] Executing: /bin/sh -c cd '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD' build 19-Sep-2024 21:47:24 [INFO] Working directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP build 19-Sep-2024 21:47:24 [INFO] Storing buildNumber: 8b9a04 at timestamp: 1726782444622 build 19-Sep-2024 21:47:24 [INFO] Storing buildScmBranch: 2.4.x build 19-Sep-2024 21:47:24 [INFO] build 19-Sep-2024 21:47:24 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs --- build 19-Sep-2024 21:47:24 [INFO] build 19-Sep-2024 21:47:24 [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs --- build 19-Sep-2024 21:47:25 [WARNING] JAR will be empty - no content was marked for inclusion! build 19-Sep-2024 21:47:25 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP/target/openmrs-2.4.6-SNAPSHOT-tests.jar build 19-Sep-2024 21:47:25 [INFO] build 19-Sep-2024 21:47:25 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs --- build 19-Sep-2024 21:47:25 [INFO] Checking licenses... build 19-Sep-2024 21:47:25 [INFO] build 19-Sep-2024 21:47:25 [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs --- build 19-Sep-2024 21:47:25 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/openmrs/2.4.6-SNAPSHOT/openmrs-2.4.6-SNAPSHOT.pom build 19-Sep-2024 21:47:25 [INFO] ------------------------------------------------------------------------ build 19-Sep-2024 21:47:25 [INFO] Reactor Summary for OpenMRS 2.4.6-SNAPSHOT: build 19-Sep-2024 21:47:25 [INFO] build 19-Sep-2024 21:47:25 [INFO] OpenMRS ............................................ FAILURE [ 1.959 s] build 19-Sep-2024 21:47:25 [INFO] openmrs-tools ...................................... SKIPPED build 19-Sep-2024 21:47:25 [INFO] openmrs-test ....................................... SKIPPED build 19-Sep-2024 21:47:25 [INFO] openmrs-api ........................................ SKIPPED build 19-Sep-2024 21:47:25 [INFO] openmrs-web ........................................ SKIPPED build 19-Sep-2024 21:47:25 [INFO] openmrs-webapp ..................................... SKIPPED build 19-Sep-2024 21:47:25 [INFO] openmrs-liquibase .................................. SKIPPED build 19-Sep-2024 21:47:25 [INFO] ------------------------------------------------------------------------ build 19-Sep-2024 21:47:25 [INFO] BUILD FAILURE build 19-Sep-2024 21:47:25 [INFO] ------------------------------------------------------------------------ build 19-Sep-2024 21:47:25 [INFO] Total time: 4.017 s build 19-Sep-2024 21:47:25 [INFO] Finished at: 2024-09-19T21:47:25Z build 19-Sep-2024 21:47:25 [INFO] ------------------------------------------------------------------------ build 19-Sep-2024 21:47:25 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project openmrs: Failed to install metadata org.openmrs:openmrs/maven-metadata.xml: Could not write metadata /home/bamboo-agent/.m2/repository/org/openmrs/openmrs/maven-metadata-local.xml: /home/bamboo-agent/.m2/repository/org/openmrs/openmrs/maven-metadata-local.xml (Permission denied) -> [Help 1] build 19-Sep-2024 21:47:25 [ERROR] build 19-Sep-2024 21:47:25 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 19-Sep-2024 21:47:25 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 19-Sep-2024 21:47:25 [ERROR] build 19-Sep-2024 21:47:25 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 19-Sep-2024 21:47:25 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException simple 19-Sep-2024 21:47:25 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/TRUNK-CORE-DEP clean deploy -DskipTests] was 1 while expected 0 simple 19-Sep-2024 21:47:25 Finished task 'Maven 3.x' with result: Failed simple 19-Sep-2024 21:47:25 Running post build plugin 'Docker Container Cleanup' simple 19-Sep-2024 21:47:25 Running post build plugin 'NCover Results Collector' simple 19-Sep-2024 21:47:25 Running post build plugin 'Build Results Label Collector' simple 19-Sep-2024 21:47:25 Running post build plugin 'Clover Results Collector' simple 19-Sep-2024 21:47:25 Running post build plugin 'npm Cache Cleanup' simple 19-Sep-2024 21:47:25 Running post build plugin 'Artifact Copier' simple 19-Sep-2024 21:47:25 Publishing an artifact: openmrs 1.11 war error 19-Sep-2024 21:47:25 Unable to publish artifact [openmrs 1.11 war]: the source directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP/webapp/target does not exist. simple 19-Sep-2024 21:47:25 The artifact hasn't been successfully published after 127.6 μs simple 19-Sep-2024 21:47:25 Publishing an artifact: openmrs 1.11 api jar error 19-Sep-2024 21:47:25 Unable to publish artifact [openmrs 1.11 api jar]: the source directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE-DEP/webapp/target/openmrs/WEB-INF/lib does not exist. simple 19-Sep-2024 21:47:25 The artifact hasn't been successfully published after 71.67 μs simple 19-Sep-2024 21:47:25 Finalising the build... simple 19-Sep-2024 21:47:25 Stopping timer. simple 19-Sep-2024 21:47:25 Build TRUNK-CORE-DEP-97 completed. simple 19-Sep-2024 21:47:25 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 19-Sep-2024 21:47:25 Running on server: post build plugin 'NCover Results Collector' simple 19-Sep-2024 21:47:25 Running on server: post build plugin 'Build Labeller' simple 19-Sep-2024 21:47:25 Running on server: post build plugin 'Clover Delta Calculator' simple 19-Sep-2024 21:47:25 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 19-Sep-2024 21:47:25 All post build plugins have finished simple 19-Sep-2024 21:47:25 Generating build results summary... simple 19-Sep-2024 21:47:26 Saving build results to disk... simple 19-Sep-2024 21:47:26 Store variable context... simple 19-Sep-2024 21:47:26 Finished building TRUNK-CORE-DEP-97.