Deploys Reference Application SNAPSHOT to maven

Build: #13958 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 160 lines of output. Download or view full build log.

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