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