Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #1661 failed
Job: Default Job failed
Build log
The build generated 196 lines of output. Download or view full build log.
20-Sep-2024 10:00:05 | Build Rest Webservices - Rest Webservices Module - Default Job #1661 (RESTWS-RESTWS-JOB1-1661) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 |
20-Sep-2024 10:00:05 | Remote agent on host xiao.openmrs.org |
20-Sep-2024 10:00:05 | Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-JOB1 |
20-Sep-2024 10:00:05 | Executing build Rest Webservices - Rest Webservices Module - Default Job #1661 (RESTWS-RESTWS-JOB1-1661) |
20-Sep-2024 10:00:05 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
20-Sep-2024 10:00:05 | Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-JOB1 |
20-Sep-2024 10:00:05 | Updating source code to revision: eb0b5d7a6a6da72c8f11fba2edc18fef5bba7691 |
20-Sep-2024 10:00:05 | Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-JOB1/.git'. |
20-Sep-2024 10:00:05 | hint: Using 'master' as the name for the initial branch. This default branch name |
20-Sep-2024 10:00:05 | hint: is subject to change. To configure the initial branch name to use in all |
20-Sep-2024 10:00:05 | hint: of your new repositories, which will suppress this warning, call: |
20-Sep-2024 10:00:05 | hint: |
20-Sep-2024 10:00:05 | hint: git config --global init.defaultBranch <name> |
20-Sep-2024 10:00:05 | hint: |
20-Sep-2024 10:00:05 | hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and |
20-Sep-2024 10:00:05 | hint: 'development'. The just-created branch can be renamed via this command: |
20-Sep-2024 10:00:05 | hint: |
20-Sep-2024 10:00:05 | hint: git branch -m <name> |
20-Sep-2024 10:00:05 | Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-JOB1/.git/ |
20-Sep-2024 10:00:05 | Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-webservices.rest.git'. |
20-Sep-2024 10:00:06 | From https://github.com/openmrs/openmrs-module-webservices.rest |
20-Sep-2024 10:00:06 | * [new branch] master -> master |
20-Sep-2024 10:00:06 | * [new tag] 2.0 -> 2.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.1 -> 2.1 |
20-Sep-2024 10:00:06 | * [new tag] 2.10 -> 2.10 |
20-Sep-2024 10:00:06 | * [new tag] 2.11 -> 2.11 |
20-Sep-2024 10:00:06 | * [new tag] 2.12 -> 2.12 |
20-Sep-2024 10:00:06 | * [new tag] 2.13 -> 2.13 |
20-Sep-2024 10:00:06 | * [new tag] 2.14 -> 2.14 |
20-Sep-2024 10:00:06 | * [new tag] 2.15 -> 2.15 |
20-Sep-2024 10:00:06 | * [new tag] 2.16 -> 2.16 |
20-Sep-2024 10:00:06 | * [new tag] 2.17 -> 2.17 |
20-Sep-2024 10:00:06 | * [new tag] 2.18.0 -> 2.18.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.19.0 -> 2.19.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.20.0 -> 2.20.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.21.0 -> 2.21.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.22.0 -> 2.22.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.23.0 -> 2.23.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.24.0 -> 2.24.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.25.0 -> 2.25.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.26.0 -> 2.26.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.27.0 -> 2.27.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.28.0 -> 2.28.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.29.0 -> 2.29.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.3 -> 2.3 |
20-Sep-2024 10:00:06 | * [new tag] 2.30.0 -> 2.30.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.31.0 -> 2.31.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.32.0 -> 2.32.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.33.0 -> 2.33.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.34.0 -> 2.34.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.35.0 -> 2.35.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.36.0 -> 2.36.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.37.0 -> 2.37.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.38.0 -> 2.38.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.39.0 -> 2.39.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.4 -> 2.4 |
20-Sep-2024 10:00:06 | * [new tag] 2.40.0 -> 2.40.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.41.0 -> 2.41.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.42.0 -> 2.42.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.43.0 -> 2.43.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.44.0 -> 2.44.0 |
20-Sep-2024 10:00:06 | * [new tag] 2.5 -> 2.5 |
20-Sep-2024 10:00:06 | * [new tag] 2.7 -> 2.7 |
20-Sep-2024 10:00:06 | * [new tag] 2.8 -> 2.8 |
20-Sep-2024 10:00:06 | * [new tag] 2.9 -> 2.9 |
20-Sep-2024 10:00:06 | * [new tag] webservices.rest-2.2 -> webservices.rest-2.2 |
20-Sep-2024 10:00:06 | * [new tag] webservices.rest-2.6 -> webservices.rest-2.6 |
20-Sep-2024 10:00:06 | Checking out revision eb0b5d7a6a6da72c8f11fba2edc18fef5bba7691. |
20-Sep-2024 10:00:06 | Already on 'master' |
20-Sep-2024 10:00:06 | Updated source code to revision: eb0b5d7a6a6da72c8f11fba2edc18fef5bba7691 |
20-Sep-2024 10:00:06 | Finished task 'Checkout Default Repository' with result: Success |
20-Sep-2024 10:00:06 | Running pre-build action: Build Log Labeller Pre Build Action |
20-Sep-2024 10:00:06 | Running pre-build action: VCS Version Collector |
20-Sep-2024 10:00:06 | Running pre-build action: Run Predator |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 3063 java 1267 bamboo-age 2978Mb 461Mb 00:13:08 /usr/lib/jvm/java-8-ope |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1267 wrapper 1 bamboo-age 16Mb 2Mb 00:03:01 /home/bamboo-agent/bamb |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:15 /sbin/init |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] Initial free space: 5.335499 GB |
20-Sep-2024 10:00:06 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LU-JOB1 |
20-Sep-2024 10:00:07 | [PredatorPreBuildAction] Deleting 15 snapshot folders from /home/bamboo-agent/.m2/repository |
20-Sep-2024 10:00:07 | [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB |
20-Sep-2024 10:00:07 | [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator |
20-Sep-2024 10:00:08 | [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files |
20-Sep-2024 10:00:08 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
20-Sep-2024 10:00:08 | [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. |
20-Sep-2024 10:00:08 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
20-Sep-2024 10:00:08 | [PredatorPreBuildAction] Final free space: 5.372608 GB |
20-Sep-2024 10:00:08 | [PredatorPreBuildAction] Done |
20-Sep-2024 10:00:08 | Skipping execution of task 'Test and deploy' as it is disabled |
20-Sep-2024 10:00:08 | Starting task 'Runs tests and deploys artifacts to maven repo' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' |
20-Sep-2024 10:00:08 | Beginning to execute external process for build 'Rest Webservices - Rest Webservices Module - Default Job #1661 (RESTWS-RESTWS-JOB1-1661)' ... running command line: /usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/RESTWS-RESTWS-JOB1 clean deploy ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-JOB1 |
20-Sep-2024 10:00:09 | [INFO] Scanning for projects... |
20-Sep-2024 10:00:10 | [WARNING] |
20-Sep-2024 10:00:10 | [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:webservices.rest-omod-2.0:jar:2.45.0-SNAPSHOT |
20-Sep-2024 10:00:10 | [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 160, column 21 |
20-Sep-2024 10:00:10 | [WARNING] |
20-Sep-2024 10:00:10 | [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. |
20-Sep-2024 10:00:10 | [WARNING] |
20-Sep-2024 10:00:10 | [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. |
20-Sep-2024 10:00:10 | [WARNING] |
20-Sep-2024 10:00:10 | [INFO] ------------------------------------------------------------------------ |
20-Sep-2024 10:00:10 | [INFO] Reactor Build Order: |
20-Sep-2024 10:00:10 | [INFO] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services [pom] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services Common OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 1.8 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 1.9 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 1.10 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 1.11 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 1.12 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 2.0 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 2.1 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 2.2 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 2.3 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 2.4 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services 2.5 OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services OMOD [jar] |
20-Sep-2024 10:00:10 | [INFO] Rest Web Services Integration Tests [jar] |
20-Sep-2024 10:00:10 | [INFO] |
20-Sep-2024 10:00:10 | [INFO] ----------------< org.openmrs.module:webservices.rest >----------------- |
20-Sep-2024 10:00:10 | [INFO] Building Rest Web Services 2.45.0-SNAPSHOT [1/15] |
20-Sep-2024 10:00:10 | [INFO] --------------------------------[ pom ]--------------------------------- |
20-Sep-2024 10:00:10 | [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml |
20-Sep-2024 10:00:11 | [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.4 kB at 1.1 kB/s) |
20-Sep-2024 10:00:11 | [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml |
20-Sep-2024 10:00:12 | [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml (1.1 kB at 4.1 kB/s) |
20-Sep-2024 10:00:12 | [INFO] |
20-Sep-2024 10:00:12 | [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ webservices.rest --- |
20-Sep-2024 10:00:12 | [INFO] |
20-Sep-2024 10:00:12 | [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ webservices.rest --- |
20-Sep-2024 10:00:12 | [INFO] Using 'UTF-8' encoding to format source files. |
20-Sep-2024 10:00:12 | [INFO] Number of files to be formatted: 0 |
20-Sep-2024 10:00:12 | [INFO] |
20-Sep-2024 10:00:12 | [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ webservices.rest --- |
20-Sep-2024 10:00:12 | [INFO] Updating license headers... |
20-Sep-2024 10:00:12 | [INFO] |
20-Sep-2024 10:00:12 | [INFO] --- maven-install-plugin:2.4:install (default-install) @ webservices.rest --- |
20-Sep-2024 10:00:12 | [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-JOB1/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/module/webservices.rest/2.45.0-SNAPSHOT/webservices.rest-2.45.0-SNAPSHOT.pom |
20-Sep-2024 10:00:12 | [INFO] ------------------------------------------------------------------------ |
20-Sep-2024 10:00:12 | [INFO] Reactor Summary for Rest Web Services 2.45.0-SNAPSHOT: |
20-Sep-2024 10:00:12 | [INFO] |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services .................................. FAILURE [ 2.722 s] |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services Common OMOD ...................... SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 1.8 OMOD ......................... SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 1.9 OMOD ......................... SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 1.10 OMOD ........................ SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 1.11 OMOD ........................ SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 1.12 OMOD ........................ SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 2.0 OMOD ......................... SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 2.1 OMOD ......................... SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 2.2 OMOD ......................... SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 2.3 OMOD ......................... SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 2.4 OMOD ......................... SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services 2.5 OMOD ......................... SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services OMOD ............................. SKIPPED |
20-Sep-2024 10:00:12 | [INFO] Rest Web Services Integration Tests ................ SKIPPED |
20-Sep-2024 10:00:12 | [INFO] ------------------------------------------------------------------------ |
20-Sep-2024 10:00:12 | [INFO] BUILD FAILURE |
20-Sep-2024 10:00:12 | [INFO] ------------------------------------------------------------------------ |
20-Sep-2024 10:00:12 | [INFO] Total time: 3.326 s |
20-Sep-2024 10:00:12 | [INFO] Finished at: 2024-09-20T10:00:12Z |
20-Sep-2024 10:00:12 | [INFO] ------------------------------------------------------------------------ |
20-Sep-2024 10:00:12 | [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project webservices.rest: Failed to install artifact org.openmrs.module:webservices.rest:pom:2.45.0-SNAPSHOT: /home/bamboo-agent/.m2/repository/org/openmrs/module/webservices.rest/2.45.0-SNAPSHOT/webservices.rest-2.45.0-SNAPSHOT.pom (Permission denied) -> [Help 1] |
20-Sep-2024 10:00:12 | [ERROR] |
20-Sep-2024 10:00:12 | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. |
20-Sep-2024 10:00:12 | [ERROR] Re-run Maven using the -X switch to enable full debug logging. |
20-Sep-2024 10:00:12 | [ERROR] |
20-Sep-2024 10:00:12 | [ERROR] For more information about the errors and possible solutions, please read the following articles: |
20-Sep-2024 10:00:12 | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException |
20-Sep-2024 10:00:12 | 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/RESTWS-RESTWS-JOB1 clean deploy] was 1 while expected 0 |
20-Sep-2024 10:00:12 | Parsing test results under /home/bamboo-agent/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-JOB1... |
20-Sep-2024 10:00:12 | Finished task 'Runs tests and deploys artifacts to maven repo' with result: Failed |
20-Sep-2024 10:00:12 | Running post build plugin 'Docker Container Cleanup' |
20-Sep-2024 10:00:12 | Running post build plugin 'NCover Results Collector' |
20-Sep-2024 10:00:12 | Running post build plugin 'Build Results Label Collector' |
20-Sep-2024 10:00:12 | Running post build plugin 'Clover Results Collector' |
20-Sep-2024 10:00:12 | Running post build plugin 'npm Cache Cleanup' |
20-Sep-2024 10:00:12 | Running post build plugin 'Artifact Copier' |
20-Sep-2024 10:00:12 | Finalising the build... |
20-Sep-2024 10:00:12 | Stopping timer. |
20-Sep-2024 10:00:12 | Build RESTWS-RESTWS-JOB1-1661 completed. |
20-Sep-2024 10:00:13 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
20-Sep-2024 10:00:13 | Running on server: post build plugin 'NCover Results Collector' |
20-Sep-2024 10:00:13 | Running on server: post build plugin 'Build Labeller' |
20-Sep-2024 10:00:13 | Running on server: post build plugin 'Clover Delta Calculator' |
20-Sep-2024 10:00:13 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
20-Sep-2024 10:00:13 | All post build plugins have finished |
20-Sep-2024 10:00:13 | Generating build results summary... |
20-Sep-2024 10:00:13 | Saving build results to disk... |
20-Sep-2024 10:00:13 | Store variable context... |
20-Sep-2024 10:00:13 | Finished building RESTWS-RESTWS-JOB1-1661. |