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