simple 04-Nov-2024 22:45:48 Build Attachments - Attachments Module - Default Job #126 (ATT-ATT-JOB1-126) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 simple 04-Nov-2024 22:45:48 Remote agent on host yu.openmrs.org simple 04-Nov-2024 22:45:48 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1 simple 04-Nov-2024 22:45:48 Executing build Attachments - Attachments Module - Default Job #126 (ATT-ATT-JOB1-126) simple 04-Nov-2024 22:45:48 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 04-Nov-2024 22:45:48 Build always requires a clean checkout simple 04-Nov-2024 22:45:48 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1' simple 04-Nov-2024 22:45:48 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1 simple 04-Nov-2024 22:45:48 Updating source code to revision: d8ba8d5aa6c8a9f25573a81933f975d65c54e15b simple 04-Nov-2024 22:45:48 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/.git'. simple 04-Nov-2024 22:45:48 hint: Using 'master' as the name for the initial branch. This default branch name simple 04-Nov-2024 22:45:48 hint: is subject to change. To configure the initial branch name to use in all simple 04-Nov-2024 22:45:48 hint: of your new repositories, which will suppress this warning, call: simple 04-Nov-2024 22:45:48 hint: simple 04-Nov-2024 22:45:48 hint: git config --global init.defaultBranch simple 04-Nov-2024 22:45:48 hint: simple 04-Nov-2024 22:45:48 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 04-Nov-2024 22:45:48 hint: 'development'. The just-created branch can be renamed via this command: simple 04-Nov-2024 22:45:48 hint: simple 04-Nov-2024 22:45:48 hint: git branch -m simple 04-Nov-2024 22:45:48 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/.git/ simple 04-Nov-2024 22:45:48 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-module-attachments.git'. Will try to do a shallow fetch. simple 04-Nov-2024 22:45:49 From https://github.com/openmrs/openmrs-module-attachments simple 04-Nov-2024 22:45:49 * [new branch] master -> master simple 04-Nov-2024 22:45:49 Checking out revision d8ba8d5aa6c8a9f25573a81933f975d65c54e15b. simple 04-Nov-2024 22:45:49 Already on 'master' simple 04-Nov-2024 22:45:49 Updated source code to revision: d8ba8d5aa6c8a9f25573a81933f975d65c54e15b simple 04-Nov-2024 22:45:49 Finished task 'Checkout Default Repository' with result: Success simple 04-Nov-2024 22:45:49 Running pre-build action: Build Log Labeller Pre Build Action simple 04-Nov-2024 22:45:49 Running pre-build action: VCS Version Collector simple 04-Nov-2024 22:45:49 Running pre-build action: Run Predator simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 26382 java 1349 bamboo-age 2964Mb 370Mb 00:10:37 /usr/lib/jvm/java-8-ope simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1349 wrapper 1 bamboo-age 16Mb 3Mb 00:09:22 /home/bamboo-agent/bamb simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 163Mb 10Mb 00:00:46 /sbin/init simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Initial free space: 3.411251 GB simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/DAT-DAT-JOB1 simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 04-Nov-2024 22:45:49 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 04-Nov-2024 22:45:50 [PredatorPreBuildAction] Maven stable disk freed: 0.36797222 GB, deleted 62 files simple 04-Nov-2024 22:45:50 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 04-Nov-2024 22:45:50 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 04-Nov-2024 22:45:50 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 04-Nov-2024 22:45:50 [PredatorPreBuildAction] Final free space: 3.411255 GB simple 04-Nov-2024 22:45:50 [PredatorPreBuildAction] Done simple 04-Nov-2024 22:45:50 Starting task 'Test and deploy' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' command 04-Nov-2024 22:45:50 Beginning to execute external process for build 'Attachments - Attachments Module - Default Job #126 (ATT-ATT-JOB1-126)'\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 04-Nov-2024 22:45:51 [INFO] Scanning for projects... build 04-Nov-2024 22:45:51 [INFO] ------------------------------------------------------------------------ build 04-Nov-2024 22:45:51 [INFO] Reactor Build Order: build 04-Nov-2024 22:45:51 [INFO] build 04-Nov-2024 22:45:51 [INFO] Attachments [pom] build 04-Nov-2024 22:45:51 [INFO] Attachments API [jar] build 04-Nov-2024 22:45:51 [INFO] Attachments OMOD [jar] build 04-Nov-2024 22:45:51 [INFO] build 04-Nov-2024 22:45:51 [INFO] -------------------< org.openmrs.module:attachments >------------------- build 04-Nov-2024 22:45:51 [INFO] Building Attachments 3.5.0-SNAPSHOT [1/3] build 04-Nov-2024 22:45:51 [INFO] --------------------------------[ pom ]--------------------------------- build 04-Nov-2024 22:45:51 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml build 04-Nov-2024 22:45:53 [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.0 kB/s) build 04-Nov-2024 22:45:53 [INFO] build 04-Nov-2024 22:45:53 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments --- build 04-Nov-2024 22:45:53 [INFO] build 04-Nov-2024 22:45:53 [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments --- build 04-Nov-2024 22:45:53 [INFO] Using 'UTF-8' encoding to format source files. build 04-Nov-2024 22:45:53 [INFO] Number of files to be formatted: 32 build 04-Nov-2024 22:45:55 [INFO] Successfully formatted: 31 file(s) build 04-Nov-2024 22:45:55 [INFO] Fail to format: 0 file(s) build 04-Nov-2024 22:45:55 [INFO] Skipped: 1 file(s) build 04-Nov-2024 22:45:55 [INFO] Read only skipped: 0 file(s) build 04-Nov-2024 22:45:55 [INFO] Approximate time taken: 1s build 04-Nov-2024 22:45:55 [INFO] build 04-Nov-2024 22:45:55 [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments --- build 04-Nov-2024 22:45:55 [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.5.0-SNAPSHOT/attachments-3.5.0-SNAPSHOT.pom build 04-Nov-2024 22:45:55 [INFO] build 04-Nov-2024 22:45:55 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ attachments --- build 04-Nov-2024 22:45:55 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.5.0-SNAPSHOT/maven-metadata.xml build 04-Nov-2024 22:45:55 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.5.0-SNAPSHOT/maven-metadata.xml (606 B at 1.6 kB/s) build 04-Nov-2024 22:45:55 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.5.0-SNAPSHOT/attachments-3.5.0-20241104.224551-4.pom build 04-Nov-2024 22:45:58 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.5.0-SNAPSHOT/attachments-3.5.0-20241104.224551-4.pom (5.6 kB at 2.3 kB/s) build 04-Nov-2024 22:45:58 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/maven-metadata.xml build 04-Nov-2024 22:45:58 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/maven-metadata.xml (982 B at 2.6 kB/s) build 04-Nov-2024 22:45:58 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.5.0-SNAPSHOT/maven-metadata.xml build 04-Nov-2024 22:46:00 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/3.5.0-SNAPSHOT/maven-metadata.xml (606 B at 262 B/s) build 04-Nov-2024 22:46:00 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/maven-metadata.xml build 04-Nov-2024 22:46:03 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments/maven-metadata.xml (925 B at 410 B/s) build 04-Nov-2024 22:46:03 [INFO] build 04-Nov-2024 22:46:03 [INFO] -----------------< org.openmrs.module:attachments-api >----------------- build 04-Nov-2024 22:46:03 [INFO] Building Attachments API 3.5.0-SNAPSHOT [2/3] build 04-Nov-2024 22:46:03 [INFO] --------------------------------[ jar ]--------------------------------- build 04-Nov-2024 22:46:03 [INFO] build 04-Nov-2024 22:46:03 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments-api --- build 04-Nov-2024 22:46:03 [INFO] build 04-Nov-2024 22:46:03 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ attachments-api --- build 04-Nov-2024 22:46:03 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 04-Nov-2024 22:46:03 [INFO] Copying 6 resources build 04-Nov-2024 22:46:03 [INFO] build 04-Nov-2024 22:46:03 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ attachments-api --- build 04-Nov-2024 22:46:04 [INFO] Changes detected - recompiling the module! build 04-Nov-2024 22:46:04 [INFO] Compiling 20 source files to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/classes build 04-Nov-2024 22:46:05 [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 04-Nov-2024 22:46:05 [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 04-Nov-2024 22:46:05 [INFO] build 04-Nov-2024 22:46:05 [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments-api --- build 04-Nov-2024 22:46:05 [INFO] Using 'UTF-8' encoding to format source files. build 04-Nov-2024 22:46:05 [INFO] Number of files to be formatted: 24 build 04-Nov-2024 22:46:05 [INFO] Successfully formatted: 24 file(s) build 04-Nov-2024 22:46:05 [INFO] Fail to format: 0 file(s) build 04-Nov-2024 22:46:05 [INFO] Skipped: 0 file(s) build 04-Nov-2024 22:46:05 [INFO] Read only skipped: 0 file(s) build 04-Nov-2024 22:46:05 [INFO] Approximate time taken: 0s build 04-Nov-2024 22:46:05 [INFO] build 04-Nov-2024 22:46:05 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ attachments-api --- build 04-Nov-2024 22:46:05 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 04-Nov-2024 22:46:05 [INFO] Copying 6 resources build 04-Nov-2024 22:46:05 [INFO] build 04-Nov-2024 22:46:05 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ attachments-api --- build 04-Nov-2024 22:46:05 [INFO] Changes detected - recompiling the module! build 04-Nov-2024 22:46:05 [INFO] Compiling 4 source files to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/test-classes build 04-Nov-2024 22:46:06 [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 04-Nov-2024 22:46:06 [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 04-Nov-2024 22:46:06 [INFO] build 04-Nov-2024 22:46:06 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ attachments-api --- build 04-Nov-2024 22:46:06 [INFO] Surefire report directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/surefire-reports build 04-Nov-2024 22:46:06 build 04-Nov-2024 22:46:06 ------------------------------------------------------- build 04-Nov-2024 22:46:06 T E S T S build 04-Nov-2024 22:46:06 ------------------------------------------------------- build 04-Nov-2024 22:46:06 Running org.openmrs.module.attachments.obs.ValueComplexTest build 04-Nov-2024 22:46:06 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.127 sec build 04-Nov-2024 22:46:06 Running org.openmrs.module.attachments.obs.ImageAttachmentHandlerTest build 04-Nov-2024 22:46:20 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.305 sec build 04-Nov-2024 22:46:20 Running org.openmrs.module.attachments.AttachmentsContextTest build 04-Nov-2024 22:46:20 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec build 04-Nov-2024 22:46:20 build 04-Nov-2024 22:46:20 Results : build 04-Nov-2024 22:46:20 build 04-Nov-2024 22:46:20 Tests run: 9, Failures: 0, Errors: 0, Skipped: 0 build 04-Nov-2024 22:46:20 build 04-Nov-2024 22:46:20 [INFO] build 04-Nov-2024 22:46:20 [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ attachments-api --- build 04-Nov-2024 22:46:20 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.5.0-SNAPSHOT.jar build 04-Nov-2024 22:46:20 [INFO] build 04-Nov-2024 22:46:20 [INFO] --- maven-jar-plugin:2.2:test-jar (default) @ attachments-api --- build 04-Nov-2024 22:46:20 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.5.0-SNAPSHOT-tests.jar build 04-Nov-2024 22:46:20 [INFO] build 04-Nov-2024 22:46:20 [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments-api --- build 04-Nov-2024 22:46:20 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.5.0-SNAPSHOT.jar to /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/attachments-api-3.5.0-SNAPSHOT.jar build 04-Nov-2024 22:46:20 [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.5.0-SNAPSHOT/attachments-api-3.5.0-SNAPSHOT.pom build 04-Nov-2024 22:46:20 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.5.0-SNAPSHOT-tests.jar to /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/attachments-api-3.5.0-SNAPSHOT-tests.jar build 04-Nov-2024 22:46:20 [INFO] build 04-Nov-2024 22:46:20 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ attachments-api --- build 04-Nov-2024 22:46:20 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/maven-metadata.xml build 04-Nov-2024 22:46:21 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/maven-metadata.xml (995 B at 2.8 kB/s) build 04-Nov-2024 22:46:21 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/attachments-api-3.5.0-20241104.224551-4.jar build 04-Nov-2024 22:46:23 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/attachments-api-3.5.0-20241104.224551-4.jar (56 kB at 20 kB/s) build 04-Nov-2024 22:46:23 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/attachments-api-3.5.0-20241104.224551-4.pom build 04-Nov-2024 22:46:26 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/attachments-api-3.5.0-20241104.224551-4.pom (2.3 kB at 1.0 kB/s) build 04-Nov-2024 22:46:26 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/maven-metadata.xml build 04-Nov-2024 22:46:27 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/maven-metadata.xml (986 B at 1.0 kB/s) build 04-Nov-2024 22:46:27 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/maven-metadata.xml build 04-Nov-2024 22:46:29 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/maven-metadata.xml (995 B at 492 B/s) build 04-Nov-2024 22:46:29 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/maven-metadata.xml build 04-Nov-2024 22:46:31 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/maven-metadata.xml (929 B at 418 B/s) build 04-Nov-2024 22:46:31 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/attachments-api-3.5.0-20241104.224551-4-tests.jar build 04-Nov-2024 22:46:34 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/attachments-api-3.5.0-20241104.224551-4-tests.jar (151 kB at 49 kB/s) build 04-Nov-2024 22:46:34 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/maven-metadata.xml build 04-Nov-2024 22:46:36 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/maven-metadata.xml (995 B at 475 B/s) build 04-Nov-2024 22:46:36 [INFO] build 04-Nov-2024 22:46:36 [INFO] ----------------< org.openmrs.module:attachments-omod >----------------- build 04-Nov-2024 22:46:36 [INFO] Building Attachments OMOD 3.5.0-SNAPSHOT [3/3] build 04-Nov-2024 22:46:36 [INFO] --------------------------------[ jar ]--------------------------------- build 04-Nov-2024 22:46:36 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/maven-metadata.xml build 04-Nov-2024 22:46:37 [INFO] Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/maven-metadata.xml (995 B at 1.3 kB/s) build 04-Nov-2024 22:46:37 [INFO] build 04-Nov-2024 22:46:37 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments-omod --- build 04-Nov-2024 22:46:37 [INFO] build 04-Nov-2024 22:46:37 [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ attachments-omod --- build 04-Nov-2024 22:46:37 [INFO] build 04-Nov-2024 22:46:37 [INFO] --- maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages) @ attachments-omod --- build 04-Nov-2024 22:46:37 [INFO] Unpacking /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/api/target/attachments-api-3.5.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 04-Nov-2024 22:46:37 [INFO] Unpacking /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-api/3.5.0-SNAPSHOT/attachments-api-3.5.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 04-Nov-2024 22:46:37 [INFO] build 04-Nov-2024 22:46:37 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ attachments-omod --- build 04-Nov-2024 22:46:37 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 04-Nov-2024 22:46:37 [INFO] Copying 2 resources build 04-Nov-2024 22:46:37 [INFO] Copying 3 resources to web/module build 04-Nov-2024 22:46:37 [INFO] Copying 0 resource to web/module build 04-Nov-2024 22:46:37 [INFO] Copying 3 resources to web/module build 04-Nov-2024 22:46:37 [INFO] build 04-Nov-2024 22:46:37 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ attachments-omod --- build 04-Nov-2024 22:46:38 [INFO] Changes detected - recompiling the module! build 04-Nov-2024 22:46:38 [INFO] Compiling 3 source files to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/classes build 04-Nov-2024 22:46:38 [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 04-Nov-2024 22:46:38 [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 04-Nov-2024 22:46:38 [INFO] build 04-Nov-2024 22:46:38 [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments-omod --- build 04-Nov-2024 22:46:38 [INFO] Using 'UTF-8' encoding to format source files. build 04-Nov-2024 22:46:38 [INFO] Number of files to be formatted: 9 build 04-Nov-2024 22:46:39 [INFO] Successfully formatted: 7 file(s) build 04-Nov-2024 22:46:39 [INFO] Fail to format: 0 file(s) build 04-Nov-2024 22:46:39 [INFO] Skipped: 2 file(s) build 04-Nov-2024 22:46:39 [INFO] Read only skipped: 0 file(s) build 04-Nov-2024 22:46:39 [INFO] Approximate time taken: 1s build 04-Nov-2024 22:46:39 [INFO] build 04-Nov-2024 22:46:39 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ attachments-omod --- build 04-Nov-2024 22:46:39 [INFO] Using 'UTF-8' encoding to copy filtered resources. build 04-Nov-2024 22:46:39 [INFO] skip non existing resourceDirectory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/src/test/resources build 04-Nov-2024 22:46:39 [INFO] build 04-Nov-2024 22:46:39 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ attachments-omod --- build 04-Nov-2024 22:46:39 [INFO] Changes detected - recompiling the module! build 04-Nov-2024 22:46:39 [INFO] Compiling 4 source files to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/test-classes build 04-Nov-2024 22:46:39 [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 04-Nov-2024 22:46:39 [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 04-Nov-2024 22:46:39 [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 04-Nov-2024 22:46:39 [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 04-Nov-2024 22:46:39 [INFO] build 04-Nov-2024 22:46:39 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ attachments-omod --- build 04-Nov-2024 22:46:39 [INFO] Surefire report directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/surefire-reports build 04-Nov-2024 22:46:39 build 04-Nov-2024 22:46:39 ------------------------------------------------------- build 04-Nov-2024 22:46:39 T E S T S build 04-Nov-2024 22:46:39 ------------------------------------------------------- build 04-Nov-2024 22:46:39 Running org.openmrs.module.attachments.rest.AttachmentResourceTest build 04-Nov-2024 22:46:41 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.135 sec build 04-Nov-2024 22:46:41 Running org.openmrs.module.attachments.rest.ObsByConceptListSearchHandlerTest build 04-Nov-2024 22:46:55 Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.908 sec build 04-Nov-2024 22:46:55 Running org.openmrs.module.attachments.rest.AttachmentRestControllerTest build 04-Nov-2024 22:46:56 Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec build 04-Nov-2024 22:46:56 Running org.openmrs.module.attachments.rest.AttachmentResourceIntegrationTest build 04-Nov-2024 22:46:57 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.73 sec build 04-Nov-2024 22:46:57 build 04-Nov-2024 22:46:57 Results : build 04-Nov-2024 22:46:57 build 04-Nov-2024 22:46:57 Tests run: 39, Failures: 0, Errors: 0, Skipped: 0 build 04-Nov-2024 22:46:57 build 04-Nov-2024 22:46:57 [INFO] build 04-Nov-2024 22:46:57 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ attachments-omod --- build 04-Nov-2024 22:46:57 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/attachments-3.5.0-SNAPSHOT.jar build 04-Nov-2024 22:46:58 [INFO] build 04-Nov-2024 22:46:58 [INFO] --- maven-openmrs-plugin:1.0.1:package-module (pack) @ attachments-omod --- build 04-Nov-2024 22:46:58 [INFO] Packaging OpenMRS module build 04-Nov-2024 22:46:58 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/attachments-3.5.0-SNAPSHOT.omod build 04-Nov-2024 22:46:58 [INFO] build 04-Nov-2024 22:46:58 [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments-omod --- build 04-Nov-2024 22:46:58 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1/omod/target/attachments-3.5.0-SNAPSHOT.omod to /home/bamboo-agent/.m2/repository/org/openmrs/module/attachments-omod/3.5.0-SNAPSHOT/attachments-omod-3.5.0-SNAPSHOT.jar build 04-Nov-2024 22:46:58 [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.5.0-SNAPSHOT/attachments-omod-3.5.0-SNAPSHOT.pom build 04-Nov-2024 22:46:58 [INFO] build 04-Nov-2024 22:46:58 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ attachments-omod --- build 04-Nov-2024 22:46:58 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.5.0-SNAPSHOT/maven-metadata.xml build 04-Nov-2024 22:46:58 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.5.0-SNAPSHOT/maven-metadata.xml (784 B at 2.3 kB/s) build 04-Nov-2024 22:46:58 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.5.0-SNAPSHOT/attachments-omod-3.5.0-20241104.224551-4.jar build 04-Nov-2024 22:47:02 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.5.0-SNAPSHOT/attachments-omod-3.5.0-20241104.224551-4.jar (1.3 MB at 341 kB/s) build 04-Nov-2024 22:47:02 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.5.0-SNAPSHOT/attachments-omod-3.5.0-20241104.224551-4.pom build 04-Nov-2024 22:47:04 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.5.0-SNAPSHOT/attachments-omod-3.5.0-20241104.224551-4.pom (8.0 kB at 3.5 kB/s) build 04-Nov-2024 22:47:04 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/maven-metadata.xml build 04-Nov-2024 22:47:05 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/maven-metadata.xml (987 B at 2.8 kB/s) build 04-Nov-2024 22:47:05 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.5.0-SNAPSHOT/maven-metadata.xml build 04-Nov-2024 22:47:07 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/3.5.0-SNAPSHOT/maven-metadata.xml (784 B at 378 B/s) build 04-Nov-2024 22:47:07 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/maven-metadata.xml build 04-Nov-2024 22:47:09 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/module/attachments-omod/maven-metadata.xml (930 B at 426 B/s) build 04-Nov-2024 22:47:09 [INFO] ------------------------------------------------------------------------ build 04-Nov-2024 22:47:09 [INFO] Reactor Summary for Attachments 3.5.0-SNAPSHOT: build 04-Nov-2024 22:47:09 [INFO] build 04-Nov-2024 22:47:09 [INFO] Attachments ........................................ SUCCESS [ 11.344 s] build 04-Nov-2024 22:47:09 [INFO] Attachments API .................................... SUCCESS [ 33.408 s] build 04-Nov-2024 22:47:09 [INFO] Attachments OMOD ................................... SUCCESS [ 32.901 s] build 04-Nov-2024 22:47:09 [INFO] ------------------------------------------------------------------------ build 04-Nov-2024 22:47:09 [INFO] BUILD SUCCESS build 04-Nov-2024 22:47:09 [INFO] ------------------------------------------------------------------------ build 04-Nov-2024 22:47:09 [INFO] Total time: 01:17 min build 04-Nov-2024 22:47:09 [INFO] Finished at: 2024-11-04T22:47:09Z build 04-Nov-2024 22:47:09 [INFO] ------------------------------------------------------------------------ simple 04-Nov-2024 22:47:09 Parsing test results under /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ATT-ATT-JOB1... simple 04-Nov-2024 22:47:09 Finished task 'Test and deploy' with result: Success simple 04-Nov-2024 22:47:09 Running post build plugin 'Docker Container Cleanup' simple 04-Nov-2024 22:47:09 Running post build plugin 'NCover Results Collector' simple 04-Nov-2024 22:47:09 Running post build plugin 'Build Results Label Collector' simple 04-Nov-2024 22:47:09 Running post build plugin 'Clover Results Collector' simple 04-Nov-2024 22:47:09 Running post build plugin 'npm Cache Cleanup' simple 04-Nov-2024 22:47:09 Running post build plugin 'Artifact Copier' simple 04-Nov-2024 22:47:09 Finalising the build... simple 04-Nov-2024 22:47:09 Stopping timer. simple 04-Nov-2024 22:47:09 Build ATT-ATT-JOB1-126 completed. simple 04-Nov-2024 22:47:09 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 04-Nov-2024 22:47:09 Running on server: post build plugin 'NCover Results Collector' simple 04-Nov-2024 22:47:09 Running on server: post build plugin 'Build Labeller' simple 04-Nov-2024 22:47:09 Running on server: post build plugin 'Clover Delta Calculator' simple 04-Nov-2024 22:47:09 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 04-Nov-2024 22:47:09 All post build plugins have finished simple 04-Nov-2024 22:47:09 Generating build results summary... simple 04-Nov-2024 22:47:09 Saving build results to disk... simple 04-Nov-2024 22:47:09 Store variable context... simple 04-Nov-2024 22:47:09 Finished building ATT-ATT-JOB1-126.