simple 19-Aug-2024 22:56:06 Build Bed Management - Bed Management Module - Default Job #80 (BM-BMM-JOB1-80) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4 simple 19-Aug-2024 22:56:06 Remote agent on host xindi.openmrs.org simple 19-Aug-2024 22:56:06 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/BM-BMM-JOB1 simple 19-Aug-2024 22:56:06 Executing build Bed Management - Bed Management Module - Default Job #80 (BM-BMM-JOB1-80) simple 19-Aug-2024 22:56:06 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 19-Aug-2024 22:56:06 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/BM-BMM-JOB1 simple 19-Aug-2024 22:56:06 Updating source code to revision: 6f9039d2bb95ad945b8e269540f7e18fbc4c1834 simple 19-Aug-2024 22:56:06 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/BM-BMM-JOB1/.git'. simple 19-Aug-2024 22:56:06 hint: Using 'master' as the name for the initial branch. This default branch name simple 19-Aug-2024 22:56:06 hint: is subject to change. To configure the initial branch name to use in all simple 19-Aug-2024 22:56:06 hint: of your new repositories, which will suppress this warning, call: simple 19-Aug-2024 22:56:06 hint: simple 19-Aug-2024 22:56:06 hint: git config --global init.defaultBranch simple 19-Aug-2024 22:56:06 hint: simple 19-Aug-2024 22:56:06 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 19-Aug-2024 22:56:06 hint: 'development'. The just-created branch can be renamed via this command: simple 19-Aug-2024 22:56:06 hint: simple 19-Aug-2024 22:56:06 hint: git branch -m simple 19-Aug-2024 22:56:06 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/BM-BMM-JOB1/.git/ simple 19-Aug-2024 22:56:06 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-bedmanagement.git'. Will try to do a shallow fetch. simple 19-Aug-2024 22:56:06 From https://github.com/openmrs/openmrs-module-bedmanagement simple 19-Aug-2024 22:56:06 * [new branch] master -> master simple 19-Aug-2024 22:56:06 Checking out revision 6f9039d2bb95ad945b8e269540f7e18fbc4c1834. simple 19-Aug-2024 22:56:06 Already on 'master' simple 19-Aug-2024 22:56:06 Updated source code to revision: 6f9039d2bb95ad945b8e269540f7e18fbc4c1834 simple 19-Aug-2024 22:56:06 Finished task 'Checkout Default Repository' with result: Success simple 19-Aug-2024 22:56:06 Running pre-build action: Build Log Labeller Pre Build Action simple 19-Aug-2024 22:56:06 Running pre-build action: VCS Version Collector simple 19-Aug-2024 22:56:06 Running pre-build action: Run Predator simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 3116 java 1416 bamboo-age 2951Mb 323Mb 00:04:01 /usr/lib/jvm/java-8-ope simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1416 wrapper 1 bamboo-age 16Mb 3Mb 00:00:57 /home/bamboo-agent/bamb simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:05 /sbin/init simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] Initial free space: 4.028496 GB simple 19-Aug-2024 22:56:06 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/DAT-DAT-JOB1 simple 19-Aug-2024 22:56:07 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository simple 19-Aug-2024 22:56:07 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 19-Aug-2024 22:56:07 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 19-Aug-2024 22:56:07 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 19-Aug-2024 22:56:07 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 19-Aug-2024 22:56:07 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 19-Aug-2024 22:56:07 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 19-Aug-2024 22:56:07 [PredatorPreBuildAction] Final free space: 4.028492 GB simple 19-Aug-2024 22:56:07 [PredatorPreBuildAction] Done simple 19-Aug-2024 22:56:07 Starting task 'test and deploy' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' command 19-Aug-2024 22:56:07 Beginning to execute external process for build 'Bed Management - Bed Management Module - Default Job #80 (BM-BMM-JOB1-80)'\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/BM-BMM-JOB1 clean deploy\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/BM-BMM-JOB1\n build 19-Aug-2024 22:56:08 [INFO] Scanning for projects... build 19-Aug-2024 22:56:09 [INFO] ------------------------------------------------------------------------ build 19-Aug-2024 22:56:09 [INFO] Reactor Build Order: build 19-Aug-2024 22:56:09 [INFO] build 19-Aug-2024 22:56:09 [INFO] Bed Management Module [pom] build 19-Aug-2024 22:56:09 [INFO] Bed Management Module API [jar] build 19-Aug-2024 22:56:09 [INFO] Bed Management Module Atom Feed [jar] build 19-Aug-2024 22:56:09 [INFO] Bed Management Module OWA [pom] build 19-Aug-2024 22:56:09 [INFO] Bed Management Module OMOD [jar] build 19-Aug-2024 22:56:09 [INFO] build 19-Aug-2024 22:56:09 [INFO] ------------------< org.openmrs.module:bedmanagement >------------------ build 19-Aug-2024 22:56:09 [INFO] Building Bed Management Module 6.0.0-SNAPSHOT [1/5] build 19-Aug-2024 22:56:09 [INFO] --------------------------------[ pom ]--------------------------------- build 19-Aug-2024 22:56:09 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml build 19-Aug-2024 22:56:10 [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.2 kB/s) build 19-Aug-2024 22:56:10 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/3.13.0/maven-compiler-plugin-3.13.0.pom build 19-Aug-2024 22:56:10 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/3.13.0/maven-compiler-plugin-3.13.0.pom (10 kB at 40 kB/s) build 19-Aug-2024 22:56:10 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/3.13.0/maven-compiler-plugin-3.13.0.jar build 19-Aug-2024 22:56:11 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/3.13.0/maven-compiler-plugin-3.13.0.jar (83 kB at 172 kB/s) build 19-Aug-2024 22:56:11 [INFO] build 19-Aug-2024 22:56:11 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bedmanagement --- build 19-Aug-2024 22:56:11 [INFO] build 19-Aug-2024 22:56:11 [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ bedmanagement --- build 19-Aug-2024 22:56:11 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/plexus/plexus-components/4.0/plexus-components-4.0.pom build 19-Aug-2024 22:56:11 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/plexus/plexus-components/4.0/plexus-components-4.0.pom (2.3 kB at 9.4 kB/s) build 19-Aug-2024 22:56:12 [INFO] Using 'UTF-8' encoding to format source files. build 19-Aug-2024 22:56:12 [INFO] Number of files to be formatted: 51 build 19-Aug-2024 22:56:14 [INFO] Successfully formatted: 51 file(s) build 19-Aug-2024 22:56:14 [INFO] Fail to format: 0 file(s) build 19-Aug-2024 22:56:14 [INFO] Skipped: 0 file(s) build 19-Aug-2024 22:56:14 [INFO] Read only skipped: 0 file(s) build 19-Aug-2024 22:56:14 [INFO] Approximate time taken: 2s build 19-Aug-2024 22:56:14 [INFO] build 19-Aug-2024 22:56:14 [INFO] --- maven-install-plugin:2.4:install (default-install) @ bedmanagement --- build 19-Aug-2024 22:56:14 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/BM-BMM-JOB1/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/module/bedmanagement/6.0.0-SNAPSHOT/bedmanagement-6.0.0-SNAPSHOT.pom build 19-Aug-2024 22:56:14 [INFO] build 19-Aug-2024 22:56:14 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ bedmanagement --- build 19-Aug-2024 22:56:14 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/bedmanagement/6.0.0-SNAPSHOT/maven-metadata.xml build 19-Aug-2024 22:56:14 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/bedmanagement/6.0.0-SNAPSHOT/maven-metadata.xml (608 B at 2.4 kB/s) build 19-Aug-2024 22:56:14 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/bedmanagement/6.0.0-SNAPSHOT/bedmanagement-6.0.0-20240819.225608-5.pom build 19-Aug-2024 22:56:24 [INFO] ------------------------------------------------------------------------ build 19-Aug-2024 22:56:24 [INFO] Reactor Summary for Bed Management Module 6.0.0-SNAPSHOT: build 19-Aug-2024 22:56:24 [INFO] build 19-Aug-2024 22:56:24 [INFO] Bed Management Module .............................. FAILURE [ 15.687 s] build 19-Aug-2024 22:56:24 [INFO] Bed Management Module API .......................... SKIPPED build 19-Aug-2024 22:56:24 [INFO] Bed Management Module Atom Feed .................... SKIPPED build 19-Aug-2024 22:56:24 [INFO] Bed Management Module OWA .......................... SKIPPED build 19-Aug-2024 22:56:24 [INFO] Bed Management Module OMOD ......................... SKIPPED build 19-Aug-2024 22:56:24 [INFO] ------------------------------------------------------------------------ build 19-Aug-2024 22:56:24 [INFO] BUILD FAILURE build 19-Aug-2024 22:56:24 [INFO] ------------------------------------------------------------------------ build 19-Aug-2024 22:56:24 [INFO] Total time: 16.007 s build 19-Aug-2024 22:56:24 [INFO] Finished at: 2024-08-19T22:56:24Z build 19-Aug-2024 22:56:24 [INFO] ------------------------------------------------------------------------ build 19-Aug-2024 22:56:24 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project bedmanagement: Failed to deploy artifacts: Could not transfer artifact org.openmrs.module:bedmanagement:pom:6.0.0-20240819.225608-5 from/to openmrs-repo-snapshots (https://mavenrepo.openmrs.org/snapshots): transfer failed for https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/bedmanagement/6.0.0-SNAPSHOT/bedmanagement-6.0.0-20240819.225608-5.pom, status: 502 Bad Gateway -> [Help 1] build 19-Aug-2024 22:56:24 [ERROR] build 19-Aug-2024 22:56:24 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 19-Aug-2024 22:56:24 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 19-Aug-2024 22:56:24 [ERROR] build 19-Aug-2024 22:56:24 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 19-Aug-2024 22:56:24 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException simple 19-Aug-2024 22:56:24 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/BM-BMM-JOB1 clean deploy] was 1 while expected 0 simple 19-Aug-2024 22:56:24 Parsing test results under /home/bamboo-agent/bamboo-agent/xml-data/build-dir/BM-BMM-JOB1... simple 19-Aug-2024 22:56:24 Finished task 'test and deploy' with result: Failed simple 19-Aug-2024 22:56:24 Running post build plugin 'Docker Container Cleanup' simple 19-Aug-2024 22:56:24 Running post build plugin 'NCover Results Collector' simple 19-Aug-2024 22:56:24 Running post build plugin 'Build Results Label Collector' simple 19-Aug-2024 22:56:24 Running post build plugin 'Clover Results Collector' simple 19-Aug-2024 22:56:24 Running post build plugin 'npm Cache Cleanup' simple 19-Aug-2024 22:56:24 Running post build plugin 'Artifact Copier' simple 19-Aug-2024 22:56:24 Finalising the build... simple 19-Aug-2024 22:56:24 Stopping timer. simple 19-Aug-2024 22:56:24 Build BM-BMM-JOB1-80 completed. simple 19-Aug-2024 22:56:25 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 19-Aug-2024 22:56:25 Running on server: post build plugin 'NCover Results Collector' simple 19-Aug-2024 22:56:25 Running on server: post build plugin 'Build Labeller' simple 19-Aug-2024 22:56:25 Running on server: post build plugin 'Clover Delta Calculator' simple 19-Aug-2024 22:56:25 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 19-Aug-2024 22:56:25 All post build plugins have finished simple 19-Aug-2024 22:56:25 Generating build results summary... simple 19-Aug-2024 22:56:25 Saving build results to disk... simple 19-Aug-2024 22:56:25 Store variable context... simple 19-Aug-2024 22:56:25 Finished building BM-BMM-JOB1-80.