simple 10-Dec-2023 03:17:49 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13957 (REFAPP-OMODDISTRO-DTMTS-13957) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 simple 10-Dec-2023 03:17:49 Remote agent on host yu.openmrs.org simple 10-Dec-2023 03:17:49 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS simple 10-Dec-2023 03:17:49 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13957 (REFAPP-OMODDISTRO-DTMTS-13957) simple 10-Dec-2023 03:17:49 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 10-Dec-2023 03:17:49 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS simple 10-Dec-2023 03:17:49 Updating source code to revision: 515a74fbdfcd666e2e4d9581a75388907fa3cfaa simple 10-Dec-2023 03:17:49 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS/.git'. simple 10-Dec-2023 03:17:49 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS/.git/ simple 10-Dec-2023 03:17:49 hint: Using 'master' as the name for the initial branch. This default branch name simple 10-Dec-2023 03:17:49 hint: is subject to change. To configure the initial branch name to use in all simple 10-Dec-2023 03:17:49 hint: of your new repositories, which will suppress this warning, call: simple 10-Dec-2023 03:17:49 hint: simple 10-Dec-2023 03:17:49 hint: git config --global init.defaultBranch simple 10-Dec-2023 03:17:49 hint: simple 10-Dec-2023 03:17:49 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 10-Dec-2023 03:17:49 hint: 'development'. The just-created branch can be renamed via this command: simple 10-Dec-2023 03:17:49 hint: simple 10-Dec-2023 03:17:49 hint: git branch -m simple 10-Dec-2023 03:17:50 Fetching 'refs/heads/2.x' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. simple 10-Dec-2023 03:17:51 From https://github.com/openmrs/openmrs-distro-referenceapplication simple 10-Dec-2023 03:17:51 * [new branch] 2.x -> 2.x simple 10-Dec-2023 03:17:51 * [new tag] 2.0.1769 -> 2.0.1769 simple 10-Dec-2023 03:17:51 * [new tag] 2.1 -> 2.1 simple 10-Dec-2023 03:17:51 * [new tag] 2.10.0 -> 2.10.0 simple 10-Dec-2023 03:17:51 * [new tag] 2.11.0 -> 2.11.0 simple 10-Dec-2023 03:17:51 * [new tag] 2.12.0 -> 2.12.0 simple 10-Dec-2023 03:17:51 * [new tag] 2.13.0 -> 2.13.0 simple 10-Dec-2023 03:17:51 * [new tag] 2.13.0-alpha -> 2.13.0-alpha simple 10-Dec-2023 03:17:51 * [new tag] 2.13.0-alpha.1 -> 2.13.0-alpha.1 simple 10-Dec-2023 03:17:51 * [new tag] 2.13.0-alpha.4 -> 2.13.0-alpha.4 simple 10-Dec-2023 03:17:51 * [new tag] 2.13.0-alpha.7 -> 2.13.0-alpha.7 simple 10-Dec-2023 03:17:51 * [new tag] 2.2 -> 2.2 simple 10-Dec-2023 03:17:51 * [new tag] 2.3 -> 2.3 simple 10-Dec-2023 03:17:51 * [new tag] 2.4 -> 2.4 simple 10-Dec-2023 03:17:51 * [new tag] 2.5 -> 2.5 simple 10-Dec-2023 03:17:51 * [new tag] 2.6.0 -> 2.6.0 simple 10-Dec-2023 03:17:51 * [new tag] 2.7.0 -> 2.7.0 simple 10-Dec-2023 03:17:51 * [new tag] 2.8.0 -> 2.8.0 simple 10-Dec-2023 03:17:51 * [new tag] 2.8.1 -> 2.8.1 simple 10-Dec-2023 03:17:51 * [new tag] 2.9.0 -> 2.9.0 simple 10-Dec-2023 03:17:51 * [new tag] latest -> latest simple 10-Dec-2023 03:17:51 Checking out revision 515a74fbdfcd666e2e4d9581a75388907fa3cfaa. simple 10-Dec-2023 03:17:51 Switched to branch '2.x' simple 10-Dec-2023 03:17:51 Updated source code to revision: 515a74fbdfcd666e2e4d9581a75388907fa3cfaa simple 10-Dec-2023 03:17:51 Finished task 'Source Code Checkout' with result: Success simple 10-Dec-2023 03:17:51 Running pre-build action: Build Log Labeller Pre Build Action simple 10-Dec-2023 03:17:51 Running pre-build action: VCS Version Collector simple 10-Dec-2023 03:17:51 Running pre-build action: Run Predator simple 10-Dec-2023 03:17:51 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 10-Dec-2023 03:17:51 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 10-Dec-2023 03:17:51 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 10-Dec-2023 03:17:53 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 10-Dec-2023 03:17:53 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 72053 java 1467 bamboo-age 2978Mb 555Mb 00:16:32 /usr/lib/jvm/java-8-ope simple 10-Dec-2023 03:17:53 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1467 wrapper 1 bamboo-age 16Mb 2Mb 00:06:39 /home/bamboo-agent/bamb simple 10-Dec-2023 03:17:53 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 100Mb 12Mb 00:00:46 /lib/systemd/systemd -- simple 10-Dec-2023 03:17:53 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 10-Dec-2023 03:17:53 [PredatorPreBuildAction] Initial free space: 5.895199 GB simple 10-Dec-2023 03:17:53 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI simple 10-Dec-2023 03:17:59 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository simple 10-Dec-2023 03:17:59 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 10-Dec-2023 03:17:59 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 10-Dec-2023 03:17:59 [PredatorPreBuildAction] Maven stable disk freed: 0.8109678 GB, deleted 343 files simple 10-Dec-2023 03:17:59 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 10-Dec-2023 03:17:59 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 10-Dec-2023 03:17:59 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 10-Dec-2023 03:17:59 [PredatorPreBuildAction] Final free space: 5.926899 GB simple 10-Dec-2023 03:17:59 [PredatorPreBuildAction] Done command 10-Dec-2023 03:17:59 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 10-Dec-2023 03:17:59 Substituting password variable: ${bamboo.dockerhub.password} command 10-Dec-2023 03:17:59 Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e9ec2d9427b705e0dfe6c6b594fd15cf9465c252b23a79f2f97f282af1179838 command 10-Dec-2023 03:17:59 Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e9ec2d9427b705e0dfe6c6b594fd15cf9465c252b23a79f2f97f282af1179838 command 10-Dec-2023 03:17:59 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application command 10-Dec-2023 03:17:59 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application simple 10-Dec-2023 03:17:59 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 10-Dec-2023 03:17:59 Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13957 (REFAPP-OMODDISTRO-DTMTS-13957)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13957-ScriptBuildTask-6283743593646788985.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS\n error 10-Dec-2023 03:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 10-Dec-2023 03:17:59 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 10-Dec-2023 03:17:59 Configure a credential helper to remove this warning. See error 10-Dec-2023 03:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 10-Dec-2023 03:17:59 build 10-Dec-2023 03:17:59 Login Succeeded error 10-Dec-2023 03:17:59 + docker pull openmrs/openmrs-reference-application@sha256:e9ec2d9427b705e0dfe6c6b594fd15cf9465c252b23a79f2f97f282af1179838 build 10-Dec-2023 03:18:00 docker.io/openmrs/openmrs-reference-application@sha256:e9ec2d9427b705e0dfe6c6b594fd15cf9465c252b23a79f2f97f282af1179838: Pulling from openmrs/openmrs-reference-application build 10-Dec-2023 03:18:00 Digest: sha256:e9ec2d9427b705e0dfe6c6b594fd15cf9465c252b23a79f2f97f282af1179838 build 10-Dec-2023 03:18:00 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:e9ec2d9427b705e0dfe6c6b594fd15cf9465c252b23a79f2f97f282af1179838 build 10-Dec-2023 03:18:00 docker.io/openmrs/openmrs-reference-application@sha256:e9ec2d9427b705e0dfe6c6b594fd15cf9465c252b23a79f2f97f282af1179838 error 10-Dec-2023 03:18:00 + docker tag openmrs/openmrs-reference-application@sha256:e9ec2d9427b705e0dfe6c6b594fd15cf9465c252b23a79f2f97f282af1179838 openmrs/openmrs-reference-application:qa error 10-Dec-2023 03:18:00 + docker push openmrs/openmrs-reference-application:qa build 10-Dec-2023 03:18:00 The push refers to repository [docker.io/openmrs/openmrs-reference-application] build 10-Dec-2023 03:18:00 cb32d9d8421e: Preparing build 10-Dec-2023 03:18:00 f33cd75098c2: Preparing build 10-Dec-2023 03:18:00 f86bf707e3be: Preparing build 10-Dec-2023 03:18:00 e0854473a72c: Preparing build 10-Dec-2023 03:18:00 ab463c8cd4b0: Preparing build 10-Dec-2023 03:18:00 63126749450f: Preparing build 10-Dec-2023 03:18:00 5f70bf18a086: Preparing build 10-Dec-2023 03:18:00 5f70bf18a086: Preparing build 10-Dec-2023 03:18:00 80ecd2d3d11b: Preparing build 10-Dec-2023 03:18:00 70b095f7a882: Preparing build 10-Dec-2023 03:18:00 6e5791abd34b: Preparing build 10-Dec-2023 03:18:00 29ead27059f3: Preparing build 10-Dec-2023 03:18:00 370b3517bc96: Preparing build 10-Dec-2023 03:18:00 5bcf2883b7b7: Preparing build 10-Dec-2023 03:18:00 b3c1bdfef816: Preparing build 10-Dec-2023 03:18:00 54ef68bc33c6: Preparing build 10-Dec-2023 03:18:00 8f30f039e632: Preparing build 10-Dec-2023 03:18:00 569368f508c5: Preparing build 10-Dec-2023 03:18:00 63126749450f: Waiting build 10-Dec-2023 03:18:00 5f70bf18a086: Waiting build 10-Dec-2023 03:18:00 80ecd2d3d11b: Waiting build 10-Dec-2023 03:18:00 70b095f7a882: Waiting build 10-Dec-2023 03:18:00 6e5791abd34b: Waiting build 10-Dec-2023 03:18:00 29ead27059f3: Waiting build 10-Dec-2023 03:18:00 370b3517bc96: Waiting build 10-Dec-2023 03:18:00 5bcf2883b7b7: Waiting build 10-Dec-2023 03:18:00 b3c1bdfef816: Waiting build 10-Dec-2023 03:18:00 54ef68bc33c6: Waiting build 10-Dec-2023 03:18:00 8f30f039e632: Waiting build 10-Dec-2023 03:18:00 569368f508c5: Waiting build 10-Dec-2023 03:18:00 e0854473a72c: Layer already exists build 10-Dec-2023 03:18:00 ab463c8cd4b0: Layer already exists build 10-Dec-2023 03:18:00 f33cd75098c2: Layer already exists build 10-Dec-2023 03:18:00 cb32d9d8421e: Layer already exists build 10-Dec-2023 03:18:00 f86bf707e3be: Layer already exists build 10-Dec-2023 03:18:00 80ecd2d3d11b: Layer already exists build 10-Dec-2023 03:18:00 5f70bf18a086: Layer already exists build 10-Dec-2023 03:18:00 63126749450f: Layer already exists build 10-Dec-2023 03:18:00 6e5791abd34b: Layer already exists build 10-Dec-2023 03:18:00 70b095f7a882: Layer already exists build 10-Dec-2023 03:18:00 29ead27059f3: Layer already exists build 10-Dec-2023 03:18:00 370b3517bc96: Layer already exists build 10-Dec-2023 03:18:00 5bcf2883b7b7: Layer already exists build 10-Dec-2023 03:18:00 54ef68bc33c6: Layer already exists build 10-Dec-2023 03:18:00 b3c1bdfef816: Layer already exists build 10-Dec-2023 03:18:00 8f30f039e632: Layer already exists build 10-Dec-2023 03:18:00 569368f508c5: Layer already exists build 10-Dec-2023 03:18:01 qa: digest: sha256:7a3e4ecce187b32dfd757b871d6e3e6cf19f30e27b9f4ea2ba785f7bf629ad17 size: 4088 error 10-Dec-2023 03:18:01 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp error 10-Dec-2023 03:20:11 ssh: connect to host qa-refapp.openmrs.org port 22: Connection timed out simple 10-Dec-2023 03:20:11 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13957-ScriptBuildTask-6283743593646788985.sh] was 255 while expected 0 simple 10-Dec-2023 03:20:11 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Failed simple 10-Dec-2023 03:20:11 Running post build plugin 'Docker Container Cleanup' simple 10-Dec-2023 03:20:11 Running post build plugin 'NCover Results Collector' simple 10-Dec-2023 03:20:11 Running post build plugin 'Build Results Label Collector' simple 10-Dec-2023 03:20:11 Running post build plugin 'Clover Results Collector' simple 10-Dec-2023 03:20:11 Running post build plugin 'npm Cache Cleanup' simple 10-Dec-2023 03:20:11 Running post build plugin 'Artifact Copier' simple 10-Dec-2023 03:20:11 Finalising the build... simple 10-Dec-2023 03:20:11 Stopping timer. simple 10-Dec-2023 03:20:11 Build REFAPP-OMODDISTRO-DTMTS-13957 completed. simple 10-Dec-2023 03:20:11 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 10-Dec-2023 03:20:11 Running on server: post build plugin 'NCover Results Collector' simple 10-Dec-2023 03:20:11 Running on server: post build plugin 'Build Labeller' simple 10-Dec-2023 03:20:11 Running on server: post build plugin 'Clover Delta Calculator' simple 10-Dec-2023 03:20:11 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 10-Dec-2023 03:20:11 All post build plugins have finished simple 10-Dec-2023 03:20:11 Generating build results summary... simple 10-Dec-2023 03:20:11 Saving build results to disk... simple 10-Dec-2023 03:20:11 Store variable context... simple 10-Dec-2023 03:20:11 Finished building REFAPP-OMODDISTRO-DTMTS-13957.