simple 08-Oct-2024 17:40:23 Build Attachments - Attachments Module - Default Job #123 (ATT-ATT-JOB1-123) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 simple 08-Oct-2024 17:40:23 Remote agent on host xiao.openmrs.org simple 08-Oct-2024 17:40:23 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1 simple 08-Oct-2024 17:40:23 Executing build Attachments - Attachments Module - Default Job #123 (ATT-ATT-JOB1-123) simple 08-Oct-2024 17:40:23 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 08-Oct-2024 17:40:23 Build always requires a clean checkout simple 08-Oct-2024 17:40:23 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1' simple 08-Oct-2024 17:40:23 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1 simple 08-Oct-2024 17:40:23 Updating source code to revision: 70c6ca8cf4f0efc6af2e5e375853a2edd8bb3881 simple 08-Oct-2024 17:40:24 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/.git'. simple 08-Oct-2024 17:40:24 hint: Using 'master' as the name for the initial branch. This default branch name simple 08-Oct-2024 17:40:24 hint: is subject to change. To configure the initial branch name to use in all simple 08-Oct-2024 17:40:24 hint: of your new repositories, which will suppress this warning, call: simple 08-Oct-2024 17:40:24 hint: simple 08-Oct-2024 17:40:24 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/.git/ simple 08-Oct-2024 17:40:24 hint: git config --global init.defaultBranch simple 08-Oct-2024 17:40:24 hint: simple 08-Oct-2024 17:40:24 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 08-Oct-2024 17:40:24 hint: 'development'. The just-created branch can be renamed via this command: simple 08-Oct-2024 17:40:24 hint: simple 08-Oct-2024 17:40:24 hint: git branch -m simple 08-Oct-2024 17:40:24 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-attachments.git'. Will try to do a shallow fetch. simple 08-Oct-2024 17:40:24 From https://github.com/openmrs/openmrs-module-attachments simple 08-Oct-2024 17:40:24 * [new branch] master -> master simple 08-Oct-2024 17:40:24 Checking out revision 70c6ca8cf4f0efc6af2e5e375853a2edd8bb3881. simple 08-Oct-2024 17:40:24 Already on 'master' simple 08-Oct-2024 17:40:24 Updated source code to revision: 70c6ca8cf4f0efc6af2e5e375853a2edd8bb3881 simple 08-Oct-2024 17:40:24 Finished task 'Checkout Default Repository' with result: Success simple 08-Oct-2024 17:40:24 Running pre-build action: Build Log Labeller Pre Build Action simple 08-Oct-2024 17:40:24 Running pre-build action: VCS Version Collector simple 08-Oct-2024 17:40:24 Running pre-build action: Run Predator simple 08-Oct-2024 17:40:24 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 08-Oct-2024 17:40:24 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 08-Oct-2024 17:40:24 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 08-Oct-2024 17:40:25 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 08-Oct-2024 17:40:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1674 java 1259 bamboo-age 3005Mb 611Mb 00:38:44 /usr/lib/jvm/java-8-ope simple 08-Oct-2024 17:40:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1259 wrapper 1 bamboo-age 16Mb 2Mb 00:09:36 /home/bamboo-agent/bamb simple 08-Oct-2024 17:40:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:59 /sbin/init simple 08-Oct-2024 17:40:25 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 08-Oct-2024 17:40:25 [PredatorPreBuildAction] Initial free space: 5.8492584 GB simple 08-Oct-2024 17:40:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BP-JOB1 simple 08-Oct-2024 17:40:26 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository simple 08-Oct-2024 17:40:26 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 08-Oct-2024 17:40:26 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 08-Oct-2024 17:40:26 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 08-Oct-2024 17:40:26 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 08-Oct-2024 17:40:26 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 08-Oct-2024 17:40:26 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 08-Oct-2024 17:40:26 [PredatorPreBuildAction] Final free space: 5.8743095 GB simple 08-Oct-2024 17:40:26 [PredatorPreBuildAction] Done simple 08-Oct-2024 17:40:26 Starting task 'Test and deploy' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' command 08-Oct-2024 17:40:26 Beginning to execute external process for build 'Attachments - Attachments Module - Default Job #123 (ATT-ATT-JOB1-123)'\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/ATT-ATT-JOB1 clean deploy\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1\n build 08-Oct-2024 17:40:29 [INFO] Scanning for projects... build 08-Oct-2024 17:40:29 [INFO] ------------------------------------------------------------------------ build 08-Oct-2024 17:40:29 [INFO] Reactor Build Order: build 08-Oct-2024 17:40:29 [INFO] build 08-Oct-2024 17:40:29 [INFO] Attachments [pom] build 08-Oct-2024 17:40:29 [INFO] Attachments API [jar] build 08-Oct-2024 17:40:29 [INFO] Attachments OMOD [jar] build 08-Oct-2024 17:40:29 [INFO] build 08-Oct-2024 17:40:29 [INFO] -------------------< org.openmrs.module:attachments >------------------- build 08-Oct-2024 17:40:29 [INFO] Building Attachments 3.4.0-SNAPSHOT [1/3] build 08-Oct-2024 17:40:29 [INFO] --------------------------------[ pom ]--------------------------------- build 08-Oct-2024 17:40:30 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml build 08-Oct-2024 17:40:31 [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 08-Oct-2024 17:40:31 [INFO] build 08-Oct-2024 17:40:31 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments --- build 08-Oct-2024 17:40:31 [INFO] build 08-Oct-2024 17:40:31 [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments --- build 08-Oct-2024 17:40:31 [INFO] Using 'UTF-8' encoding to format source files. build 08-Oct-2024 17:40:31 [INFO] Number of files to be formatted: 32 build 08-Oct-2024 17:40:34 [INFO] Successfully formatted: 31 file(s) build 08-Oct-2024 17:40:34 [INFO] Fail to format: 0 file(s) build 08-Oct-2024 17:40:34 [INFO] Skipped: 1 file(s) build 08-Oct-2024 17:40:34 [INFO] Read only skipped: 0 file(s) build 08-Oct-2024 17:40:34 [INFO] Approximate time taken: 2s build 08-Oct-2024 17:40:34 [INFO] build 08-Oct-2024 17:40:34 [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments --- build 08-Oct-2024 17:40:34 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments/3.4.0-SNAPSHOT/attachments-3.4.0-SNAPSHOT.pom build 08-Oct-2024 17:40:34 [INFO] build 08-Oct-2024 17:40:34 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ attachments --- build 08-Oct-2024 17:40:34 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.4.0-SNAPSHOT/maven-metadata.xml build 08-Oct-2024 17:40:35 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.4.0-SNAPSHOT/maven-metadata.xml (606 B at 2.1 kB/s) build 08-Oct-2024 17:40:35 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.4.0-SNAPSHOT/attachments-3.4.0-20241008.174029-4.pom build 08-Oct-2024 17:40:36 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.4.0-SNAPSHOT/attachments-3.4.0-20241008.174029-4.pom (5.6 kB at 3.5 kB/s) build 08-Oct-2024 17:40:36 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/maven-metadata.xml build 08-Oct-2024 17:40:36 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/maven-metadata.xml (942 B at 3.9 kB/s) build 08-Oct-2024 17:40:36 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.4.0-SNAPSHOT/maven-metadata.xml build 08-Oct-2024 17:40:38 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.4.0-SNAPSHOT/maven-metadata.xml (606 B at 481 B/s) build 08-Oct-2024 17:40:38 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/maven-metadata.xml build 08-Oct-2024 17:40:39 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/maven-metadata.xml (885 B at 656 B/s) build 08-Oct-2024 17:40:39 [INFO] build 08-Oct-2024 17:40:39 [INFO] -----------------< org.openmrs.module:attachments-api >----------------- build 08-Oct-2024 17:40:39 [INFO] Building Attachments API 3.4.0-SNAPSHOT [2/3] build 08-Oct-2024 17:40:39 [INFO] --------------------------------[ jar ]--------------------------------- build 08-Oct-2024 17:40:40 [INFO] build 08-Oct-2024 17:40:40 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments-api --- build 08-Oct-2024 17:40:40 [INFO] build 08-Oct-2024 17:40:40 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ attachments-api --- build 08-Oct-2024 17:40:40 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 08-Oct-2024 17:40:40 [INFO] Copying 6 resources build 08-Oct-2024 17:40:40 [INFO] build 08-Oct-2024 17:40:40 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ attachments-api --- build 08-Oct-2024 17:40:40 [INFO] Changes detected - recompiling the module! build 08-Oct-2024 17:40:40 [INFO] Compiling 20 source files to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/classes build 08-Oct-2024 17:40:42 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/src/main/java/org/openmrs/module/attachments/obs/Attachment.java: Some input files use or override a deprecated API. build 08-Oct-2024 17:40:42 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/src/main/java/org/openmrs/module/attachments/obs/Attachment.java: Recompile with -Xlint:deprecation for details. build 08-Oct-2024 17:40:42 [INFO] build 08-Oct-2024 17:40:42 [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments-api --- build 08-Oct-2024 17:40:42 [INFO] Using 'UTF-8' encoding to format source files. build 08-Oct-2024 17:40:42 [INFO] Number of files to be formatted: 24 build 08-Oct-2024 17:40:42 [INFO] Successfully formatted: 24 file(s) build 08-Oct-2024 17:40:42 [INFO] Fail to format: 0 file(s) build 08-Oct-2024 17:40:42 [INFO] Skipped: 0 file(s) build 08-Oct-2024 17:40:42 [INFO] Read only skipped: 0 file(s) build 08-Oct-2024 17:40:42 [INFO] Approximate time taken: 0s build 08-Oct-2024 17:40:42 [INFO] build 08-Oct-2024 17:40:42 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ attachments-api --- build 08-Oct-2024 17:40:42 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 08-Oct-2024 17:40:42 [INFO] Copying 6 resources build 08-Oct-2024 17:40:42 [INFO] build 08-Oct-2024 17:40:42 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ attachments-api --- build 08-Oct-2024 17:40:42 [INFO] Changes detected - recompiling the module! build 08-Oct-2024 17:40:42 [INFO] Compiling 4 source files to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/test-classes build 08-Oct-2024 17:40:42 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/src/test/java/org/openmrs/module/attachments/AttachmentsContextTest.java: Some input files use or override a deprecated API. build 08-Oct-2024 17:40:42 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/src/test/java/org/openmrs/module/attachments/AttachmentsContextTest.java: Recompile with -Xlint:deprecation for details. build 08-Oct-2024 17:40:42 [INFO] build 08-Oct-2024 17:40:42 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ attachments-api --- build 08-Oct-2024 17:40:43 [INFO] Surefire report directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/surefire-reports build 08-Oct-2024 17:40:43 build 08-Oct-2024 17:40:43 ------------------------------------------------------- build 08-Oct-2024 17:40:43 T E S T S build 08-Oct-2024 17:40:43 ------------------------------------------------------- build 08-Oct-2024 17:40:44 Running org.openmrs.module.attachments.AttachmentsContextTest build 08-Oct-2024 17:40:44 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.767 sec build 08-Oct-2024 17:40:44 Running org.openmrs.module.attachments.obs.ValueComplexTest build 08-Oct-2024 17:40:44 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec build 08-Oct-2024 17:40:44 Running org.openmrs.module.attachments.obs.ImageAttachmentHandlerTest build 08-Oct-2024 17:40:58 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.801 sec build 08-Oct-2024 17:40:58 build 08-Oct-2024 17:40:58 Results : build 08-Oct-2024 17:40:58 build 08-Oct-2024 17:40:58 Tests run: 9, Failures: 0, Errors: 0, Skipped: 0 build 08-Oct-2024 17:40:58 build 08-Oct-2024 17:40:58 [INFO] build 08-Oct-2024 17:40:58 [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ attachments-api --- build 08-Oct-2024 17:40:58 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.4.0-SNAPSHOT.jar build 08-Oct-2024 17:40:58 [INFO] build 08-Oct-2024 17:40:58 [INFO] --- maven-jar-plugin:2.2:test-jar (default) @ attachments-api --- build 08-Oct-2024 17:40:58 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.4.0-SNAPSHOT-tests.jar build 08-Oct-2024 17:40:58 [INFO] build 08-Oct-2024 17:40:58 [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments-api --- build 08-Oct-2024 17:40:58 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.4.0-SNAPSHOT.jar to /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-SNAPSHOT.jar build 08-Oct-2024 17:40:58 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-SNAPSHOT.pom build 08-Oct-2024 17:40:58 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.4.0-SNAPSHOT-tests.jar to /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-SNAPSHOT-tests.jar build 08-Oct-2024 17:40:58 [INFO] build 08-Oct-2024 17:40:58 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ attachments-api --- build 08-Oct-2024 17:40:58 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/maven-metadata.xml build 08-Oct-2024 17:40:59 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/maven-metadata.xml (995 B at 4.4 kB/s) build 08-Oct-2024 17:40:59 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-20241008.174029-4.jar build 08-Oct-2024 17:41:01 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-20241008.174029-4.jar (56 kB at 31 kB/s) build 08-Oct-2024 17:41:01 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-20241008.174029-4.pom build 08-Oct-2024 17:41:02 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-20241008.174029-4.pom (2.3 kB at 1.6 kB/s) build 08-Oct-2024 17:41:02 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/maven-metadata.xml build 08-Oct-2024 17:41:02 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/maven-metadata.xml (946 B at 3.8 kB/s) build 08-Oct-2024 17:41:02 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/maven-metadata.xml build 08-Oct-2024 17:41:03 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/maven-metadata.xml (995 B at 791 B/s) build 08-Oct-2024 17:41:03 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/maven-metadata.xml build 08-Oct-2024 17:41:05 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/maven-metadata.xml (889 B at 650 B/s) build 08-Oct-2024 17:41:05 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-20241008.174029-4-tests.jar build 08-Oct-2024 17:41:07 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-20241008.174029-4-tests.jar (151 kB at 79 kB/s) build 08-Oct-2024 17:41:07 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/maven-metadata.xml build 08-Oct-2024 17:41:08 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/maven-metadata.xml (995 B at 801 B/s) build 08-Oct-2024 17:41:08 [INFO] build 08-Oct-2024 17:41:08 [INFO] ----------------< org.openmrs.module:attachments-omod >----------------- build 08-Oct-2024 17:41:08 [INFO] Building Attachments OMOD 3.4.0-SNAPSHOT [3/3] build 08-Oct-2024 17:41:08 [INFO] --------------------------------[ jar ]--------------------------------- build 08-Oct-2024 17:41:08 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/maven-metadata.xml build 08-Oct-2024 17:41:08 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/maven-metadata.xml (995 B at 4.1 kB/s) build 08-Oct-2024 17:41:08 [INFO] build 08-Oct-2024 17:41:08 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments-omod --- build 08-Oct-2024 17:41:08 [INFO] build 08-Oct-2024 17:41:08 [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ attachments-omod --- build 08-Oct-2024 17:41:08 [INFO] build 08-Oct-2024 17:41:08 [INFO] --- maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages) @ attachments-omod --- build 08-Oct-2024 17:41:09 [INFO] Unpacking /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.4.0-SNAPSHOT.jar to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/classes with includes "**\/*.xml,**\/*.properties" and excludes "" build 08-Oct-2024 17:41:09 [INFO] Unpacking /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-api/3.4.0-SNAPSHOT/attachments-api-3.4.0-SNAPSHOT-tests.jar to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/classes with includes "**\/*.xml,**\/*.properties" and excludes "" build 08-Oct-2024 17:41:09 [INFO] build 08-Oct-2024 17:41:09 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ attachments-omod --- build 08-Oct-2024 17:41:09 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 08-Oct-2024 17:41:09 [INFO] Copying 2 resources build 08-Oct-2024 17:41:09 [INFO] Copying 3 resources to web/module build 08-Oct-2024 17:41:09 [INFO] Copying 0 resource to web/module build 08-Oct-2024 17:41:09 [INFO] Copying 3 resources to web/module build 08-Oct-2024 17:41:09 [INFO] build 08-Oct-2024 17:41:09 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ attachments-omod --- build 08-Oct-2024 17:41:09 [INFO] Changes detected - recompiling the module! build 08-Oct-2024 17:41:09 [INFO] Compiling 3 source files to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/classes build 08-Oct-2024 17:41:09 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentBytesResource.java: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentBytesResource.java uses or overrides a deprecated API. build 08-Oct-2024 17:41:09 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/main/java/org/openmrs/module/attachments/rest/AttachmentBytesResource.java: Recompile with -Xlint:deprecation for details. build 08-Oct-2024 17:41:09 [INFO] build 08-Oct-2024 17:41:09 [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments-omod --- build 08-Oct-2024 17:41:09 [INFO] Using 'UTF-8' encoding to format source files. build 08-Oct-2024 17:41:09 [INFO] Number of files to be formatted: 9 build 08-Oct-2024 17:41:11 [INFO] Successfully formatted: 7 file(s) build 08-Oct-2024 17:41:11 [INFO] Fail to format: 0 file(s) build 08-Oct-2024 17:41:11 [INFO] Skipped: 2 file(s) build 08-Oct-2024 17:41:11 [INFO] Read only skipped: 0 file(s) build 08-Oct-2024 17:41:11 [INFO] Approximate time taken: 1s build 08-Oct-2024 17:41:11 [INFO] build 08-Oct-2024 17:41:11 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ attachments-omod --- build 08-Oct-2024 17:41:11 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 08-Oct-2024 17:41:11 [INFO] skip non existing resourceDirectory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/test/resources build 08-Oct-2024 17:41:11 [INFO] build 08-Oct-2024 17:41:11 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ attachments-omod --- build 08-Oct-2024 17:41:11 [INFO] Changes detected - recompiling the module! build 08-Oct-2024 17:41:11 [INFO] Compiling 4 source files to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/test-classes build 08-Oct-2024 17:41:11 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentRestControllerTest.java: Some input files use or override a deprecated API. build 08-Oct-2024 17:41:11 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentRestControllerTest.java: Recompile with -Xlint:deprecation for details. build 08-Oct-2024 17:41:11 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentRestControllerTest.java: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentRestControllerTest.java uses unchecked or unsafe operations. build 08-Oct-2024 17:41:11 [WARNING] /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/test/java/org/openmrs/module/attachments/rest/AttachmentRestControllerTest.java: Recompile with -Xlint:unchecked for details. build 08-Oct-2024 17:41:11 [INFO] build 08-Oct-2024 17:41:11 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ attachments-omod --- build 08-Oct-2024 17:41:11 [INFO] Surefire report directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/surefire-reports build 08-Oct-2024 17:41:11 build 08-Oct-2024 17:41:11 ------------------------------------------------------- build 08-Oct-2024 17:41:11 T E S T S build 08-Oct-2024 17:41:11 ------------------------------------------------------- build 08-Oct-2024 17:41:11 Running org.openmrs.module.attachments.rest.ObsByConceptListSearchHandlerTest build 08-Oct-2024 17:41:26 Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.723 sec build 08-Oct-2024 17:41:26 Running org.openmrs.module.attachments.rest.AttachmentResourceIntegrationTest build 08-Oct-2024 17:41:27 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.958 sec build 08-Oct-2024 17:41:27 Running org.openmrs.module.attachments.rest.AttachmentResourceTest build 08-Oct-2024 17:41:28 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.388 sec build 08-Oct-2024 17:41:28 Running org.openmrs.module.attachments.rest.AttachmentRestControllerTest build 08-Oct-2024 17:41:31 Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.467 sec build 08-Oct-2024 17:41:31 build 08-Oct-2024 17:41:31 Results : build 08-Oct-2024 17:41:31 build 08-Oct-2024 17:41:31 Tests run: 39, Failures: 0, Errors: 0, Skipped: 0 build 08-Oct-2024 17:41:31 build 08-Oct-2024 17:41:31 [INFO] build 08-Oct-2024 17:41:31 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ attachments-omod --- build 08-Oct-2024 17:41:31 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/attachments-3.4.0-SNAPSHOT.jar build 08-Oct-2024 17:41:31 [INFO] build 08-Oct-2024 17:41:31 [INFO] --- maven-openmrs-plugin:1.0.1:package-module (pack) @ attachments-omod --- build 08-Oct-2024 17:41:31 [INFO] Packaging OpenMRS module build 08-Oct-2024 17:41:31 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/attachments-3.4.0-SNAPSHOT.omod build 08-Oct-2024 17:41:31 [INFO] build 08-Oct-2024 17:41:31 [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments-omod --- build 08-Oct-2024 17:41:32 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/attachments-3.4.0-SNAPSHOT.omod to /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/attachments-omod-3.4.0-SNAPSHOT.jar build 08-Oct-2024 17:41:32 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/attachments-omod-3.4.0-SNAPSHOT.pom build 08-Oct-2024 17:41:32 [INFO] build 08-Oct-2024 17:41:32 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ attachments-omod --- build 08-Oct-2024 17:41:32 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/maven-metadata.xml build 08-Oct-2024 17:41:32 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/maven-metadata.xml (784 B at 2.8 kB/s) build 08-Oct-2024 17:41:32 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/attachments-omod-3.4.0-20241008.174029-4.jar build 08-Oct-2024 17:41:34 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/attachments-omod-3.4.0-20241008.174029-4.jar (178 kB at 88 kB/s) build 08-Oct-2024 17:41:34 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/attachments-omod-3.4.0-20241008.174029-4.pom build 08-Oct-2024 17:41:35 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/attachments-omod-3.4.0-20241008.174029-4.pom (7.2 kB at 4.8 kB/s) build 08-Oct-2024 17:41:35 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/maven-metadata.xml build 08-Oct-2024 17:41:36 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/maven-metadata.xml (947 B at 4.0 kB/s) build 08-Oct-2024 17:41:36 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/maven-metadata.xml build 08-Oct-2024 17:41:37 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.4.0-SNAPSHOT/maven-metadata.xml (784 B at 619 B/s) build 08-Oct-2024 17:41:37 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/maven-metadata.xml build 08-Oct-2024 17:41:38 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/maven-metadata.xml (890 B at 644 B/s) build 08-Oct-2024 17:41:38 [INFO] ------------------------------------------------------------------------ build 08-Oct-2024 17:41:38 [INFO] Reactor Summary for Attachments 3.4.0-SNAPSHOT: build 08-Oct-2024 17:41:38 [INFO] build 08-Oct-2024 17:41:38 [INFO] Attachments ........................................ SUCCESS [ 9.862 s] build 08-Oct-2024 17:41:38 [INFO] Attachments API .................................... SUCCESS [ 28.968 s] build 08-Oct-2024 17:41:38 [INFO] Attachments OMOD ................................... SUCCESS [ 30.267 s] build 08-Oct-2024 17:41:38 [INFO] ------------------------------------------------------------------------ build 08-Oct-2024 17:41:38 [INFO] BUILD SUCCESS build 08-Oct-2024 17:41:38 [INFO] ------------------------------------------------------------------------ build 08-Oct-2024 17:41:38 [INFO] Total time: 01:09 min build 08-Oct-2024 17:41:38 [INFO] Finished at: 2024-10-08T17:41:38Z build 08-Oct-2024 17:41:38 [INFO] ------------------------------------------------------------------------ simple 08-Oct-2024 17:41:38 Parsing test results under /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1... simple 08-Oct-2024 17:41:38 Finished task 'Test and deploy' with result: Success simple 08-Oct-2024 17:41:38 Running post build plugin 'Docker Container Cleanup' simple 08-Oct-2024 17:41:38 Running post build plugin 'NCover Results Collector' simple 08-Oct-2024 17:41:38 Running post build plugin 'Build Results Label Collector' simple 08-Oct-2024 17:41:38 Running post build plugin 'Clover Results Collector' simple 08-Oct-2024 17:41:38 Running post build plugin 'npm Cache Cleanup' simple 08-Oct-2024 17:41:38 Running post build plugin 'Artifact Copier' simple 08-Oct-2024 17:41:38 Finalising the build... simple 08-Oct-2024 17:41:38 Stopping timer. simple 08-Oct-2024 17:41:38 Build ATT-ATT-JOB1-123 completed. simple 08-Oct-2024 17:41:38 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 08-Oct-2024 17:41:38 Running on server: post build plugin 'NCover Results Collector' simple 08-Oct-2024 17:41:38 Running on server: post build plugin 'Build Labeller' simple 08-Oct-2024 17:41:38 Running on server: post build plugin 'Clover Delta Calculator' simple 08-Oct-2024 17:41:38 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 08-Oct-2024 17:41:38 All post build plugins have finished simple 08-Oct-2024 17:41:38 Generating build results summary... simple 08-Oct-2024 17:41:38 Saving build results to disk... simple 08-Oct-2024 17:41:38 Store variable context... simple 08-Oct-2024 17:41:38 Finished building ATT-ATT-JOB1-123.