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