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