Deploys Reference Application SNAPSHOT to maven

Build: #13957 failed

Job: Deploy to qa-refapp failed

Stages & jobs

  1. Build and push

  2. Deploy to qa-refapp

  3. Release

    Requires a user to start manually
  4. Set variables

  5. Release others

Build log

The build generated 161 lines of output. Download or view full build log.

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