Deploys Reference Application SNAPSHOT to maven

Build: #13495 did not complete

Job: Deploy to qa-refapp was successful

Stages & jobs

  1. Build and push

  2. Deploy to qa-refapp

  3. Validate

  4. Release

    Requires a user to start manually
  5. Set variables

  6. Release others

Build log

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

21-Feb-2023 14:30:27 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13495 (REFAPP-OMODDISTRO-DTMTS-13495) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
21-Feb-2023 14:30:27 Remote agent on host xiao.openmrs.org
21-Feb-2023 14:30:27 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Feb-2023 14:30:27 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13495 (REFAPP-OMODDISTRO-DTMTS-13495)
21-Feb-2023 14:30:27 Running pre-build action: Build Log Labeller Pre Build Action
21-Feb-2023 14:30:27 Running pre-build action: VCS Version Collector
21-Feb-2023 14:30:27 Running pre-build action: Run Predator
21-Feb-2023 14:30:27 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
21-Feb-2023 14:30:27 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
21-Feb-2023 14:30:27 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
21-Feb-2023 14:30:27 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
21-Feb-2023 14:30:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2034 java        1481 bamboo-age 2985Mb  475Mb 00:19:05 /usr/lib/jvm/java-8-ope
21-Feb-2023 14:30:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1481 wrapper        1 bamboo-age   16Mb    1Mb 00:04:45 /home/bamboo-agent/bamb
21-Feb-2023 14:30:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:46 /sbin/init             
21-Feb-2023 14:30:27 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
21-Feb-2023 14:30:27 [PredatorPreBuildAction] Initial free space: 2.6436996 GB
21-Feb-2023 14:30:27 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
21-Feb-2023 14:30:30 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
21-Feb-2023 14:30:30 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
21-Feb-2023 14:30:30 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
21-Feb-2023 14:30:30 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
21-Feb-2023 14:30:30 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
21-Feb-2023 14:30:30 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
21-Feb-2023 14:30:30 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
21-Feb-2023 14:30:30 [PredatorPreBuildAction] Final free space: 2.6753426 GB
21-Feb-2023 14:30:30 [PredatorPreBuildAction] Done
21-Feb-2023 14:30:30
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
21-Feb-2023 14:30:30
Substituting password variable: ${bamboo.dockerhub.password}
21-Feb-2023 14:30:30
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:5fd6baa905e01772ae391e0ed5906812e1b7d1f533e340252ffa9b5414cdf3cc
21-Feb-2023 14:30:30
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:5fd6baa905e01772ae391e0ed5906812e1b7d1f533e340252ffa9b5414cdf3cc
21-Feb-2023 14:30:30
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Feb-2023 14:30:30
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Feb-2023 14:30:30 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
21-Feb-2023 14:30:30
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13495 (REFAPP-OMODDISTRO-DTMTS-13495)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13495-ScriptBuildTask-224653885586524998.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Feb-2023 14:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
21-Feb-2023 14:30:30 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
21-Feb-2023 14:30:30 Configure a credential helper to remove this warning. See
21-Feb-2023 14:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
21-Feb-2023 14:30:30
21-Feb-2023 14:30:30 Login Succeeded
21-Feb-2023 14:30:30 + docker pull openmrs/openmrs-reference-application@sha256:5fd6baa905e01772ae391e0ed5906812e1b7d1f533e340252ffa9b5414cdf3cc
21-Feb-2023 14:30:30 docker.io/openmrs/openmrs-reference-application@sha256:5fd6baa905e01772ae391e0ed5906812e1b7d1f533e340252ffa9b5414cdf3cc: Pulling from openmrs/openmrs-reference-application
21-Feb-2023 14:30:30 Digest: sha256:5fd6baa905e01772ae391e0ed5906812e1b7d1f533e340252ffa9b5414cdf3cc
21-Feb-2023 14:30:30 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:5fd6baa905e01772ae391e0ed5906812e1b7d1f533e340252ffa9b5414cdf3cc
21-Feb-2023 14:30:30 docker.io/openmrs/openmrs-reference-application@sha256:5fd6baa905e01772ae391e0ed5906812e1b7d1f533e340252ffa9b5414cdf3cc
21-Feb-2023 14:30:30 + docker tag openmrs/openmrs-reference-application@sha256:5fd6baa905e01772ae391e0ed5906812e1b7d1f533e340252ffa9b5414cdf3cc openmrs/openmrs-reference-application:qa
21-Feb-2023 14:30:30 + docker push openmrs/openmrs-reference-application:qa
21-Feb-2023 14:30:30 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
21-Feb-2023 14:30:31 ac22c89ec83e: Preparing
21-Feb-2023 14:30:31 97b04ed6994c: Preparing
21-Feb-2023 14:30:31 ba2e4333801b: Preparing
21-Feb-2023 14:30:31 94c15d32e6bc: Preparing
21-Feb-2023 14:30:31 e4a92042edbd: Preparing
21-Feb-2023 14:30:31 60de0bbda0ed: Preparing
21-Feb-2023 14:30:31 5f70bf18a086: Preparing
21-Feb-2023 14:30:31 b34b6277c81b: Preparing
21-Feb-2023 14:30:31 d0a6a0df9123: Preparing
21-Feb-2023 14:30:31 63bbdb3574ed: Preparing
21-Feb-2023 14:30:31 118873527352: Preparing
21-Feb-2023 14:30:31 3353ee3d6876: Preparing
21-Feb-2023 14:30:31 ab5b3452b7ed: Preparing
21-Feb-2023 14:30:31 34f73756f7aa: Preparing
21-Feb-2023 14:30:31 93d6620f79bb: Preparing
21-Feb-2023 14:30:31 be417e78cadd: Preparing
21-Feb-2023 14:30:31 647dc4000019: Preparing
21-Feb-2023 14:30:31 8c5ff259ef50: Preparing
21-Feb-2023 14:30:31 60de0bbda0ed: Waiting
21-Feb-2023 14:30:31 5f70bf18a086: Waiting
21-Feb-2023 14:30:31 b34b6277c81b: Waiting
21-Feb-2023 14:30:31 d0a6a0df9123: Waiting
21-Feb-2023 14:30:31 63bbdb3574ed: Waiting
21-Feb-2023 14:30:31 118873527352: Waiting
21-Feb-2023 14:30:31 3353ee3d6876: Waiting
21-Feb-2023 14:30:31 ab5b3452b7ed: Waiting
21-Feb-2023 14:30:31 34f73756f7aa: Waiting
21-Feb-2023 14:30:31 93d6620f79bb: Waiting
21-Feb-2023 14:30:31 be417e78cadd: Waiting
21-Feb-2023 14:30:31 647dc4000019: Waiting
21-Feb-2023 14:30:31 8c5ff259ef50: Waiting
21-Feb-2023 14:30:31 e4a92042edbd: Layer already exists
21-Feb-2023 14:30:31 ba2e4333801b: Layer already exists
21-Feb-2023 14:30:31 94c15d32e6bc: Layer already exists
21-Feb-2023 14:30:31 97b04ed6994c: Layer already exists
21-Feb-2023 14:30:31 ac22c89ec83e: Layer already exists
21-Feb-2023 14:30:31 60de0bbda0ed: Layer already exists
21-Feb-2023 14:30:31 b34b6277c81b: Layer already exists
21-Feb-2023 14:30:31 5f70bf18a086: Layer already exists
21-Feb-2023 14:30:31 d0a6a0df9123: Layer already exists
21-Feb-2023 14:30:31 63bbdb3574ed: Layer already exists
21-Feb-2023 14:30:31 118873527352: Layer already exists
21-Feb-2023 14:30:31 3353ee3d6876: Layer already exists
21-Feb-2023 14:30:31 ab5b3452b7ed: Layer already exists
21-Feb-2023 14:30:31 34f73756f7aa: Layer already exists
21-Feb-2023 14:30:31 93d6620f79bb: Layer already exists
21-Feb-2023 14:30:31 647dc4000019: Layer already exists
21-Feb-2023 14:30:31 be417e78cadd: Layer already exists
21-Feb-2023 14:30:31 8c5ff259ef50: Layer already exists
21-Feb-2023 14:30:31 qa: digest: sha256:33bd442148c6dad4e1a6e86801f89bd755fb434de1fcd6e5b9619f8699790231 size: 4088
21-Feb-2023 14:30:31 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
21-Feb-2023 14:30:32 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
21-Feb-2023 14:30:32 Removing unused images if any
21-Feb-2023 14:30:33 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication-mysql ...
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ...
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication-mysql ... done
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 14:30:33 Pulling openmrs-referenceapplication       ... waiting
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (100.0%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (0.5%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (0.7%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (16.2%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (16.3%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (1.1%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (100.0%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (30.9%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (34.7%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (45.6%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (53.8%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (59.8%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (73.5%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (73.5%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (94.0%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... downloading (87.7%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... extracting (0.7%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... extracting (21.9%)
21-Feb-2023 14:30:34 Pulling openmrs-referenceapplication       ... extracting (42.3%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (71.2%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (88.9%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (0.5%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (19.2%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (38.0%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (56.7%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (74.5%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (92.7%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (3.0%)
21-Feb-2023 14:30:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 14:30:36 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 14:30:36 Pulling openmrs-referenceapplication       ... digest: sha256:33bd442148c6dad4e1...
21-Feb-2023 14:30:36 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
21-Feb-2023 14:30:36 Pulling openmrs-referenceapplication       ... done
21-Feb-2023 14:30:36 Recreating all images and volumes
21-Feb-2023 14:30:36 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Feb-2023 14:30:36 Stopping qa-refapp_openmrs-referenceapplication_1       ...
21-Feb-2023 14:30:36 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Feb-2023 14:30:37 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
21-Feb-2023 14:30:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Feb-2023 14:30:38 Removing qa-refapp_openmrs-referenceapplication_1       ...
21-Feb-2023 14:30:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Feb-2023 14:30:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Feb-2023 14:30:39 Removing qa-refapp_openmrs-referenceapplication_1       ... done
21-Feb-2023 14:30:39 Removing network qa-refapp_default
21-Feb-2023 14:30:40 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
21-Feb-2023 14:30:40 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Feb-2023 14:30:40 Creating network "qa-refapp_default" with the default driver
21-Feb-2023 14:30:40 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
21-Feb-2023 14:30:40 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Feb-2023 14:30:41 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Feb-2023 14:30:41 Creating qa-refapp_openmrs-referenceapplication_1       ...
21-Feb-2023 14:30:41 Creating qa-refapp_openmrs-referenceapplication_1       ... done
21-Feb-2023 14:30:42 Verifying if docker containers 98190acf6395873716535228be78c43cd6acb2dffb6bcebb890721c4a3c99555
21-Feb-2023 14:30:42 6cde6868ca8ca9bc3f32399d644433680a4f8059628d8afd764c4d4d79815a15 are healthy
21-Feb-2023 14:30:42 Status found: "starting"
21-Feb-2023 14:30:42 Waiting 15s
21-Feb-2023 14:30:57 Verifying if docker containers 98190acf6395873716535228be78c43cd6acb2dffb6bcebb890721c4a3c99555
21-Feb-2023 14:30:57 6cde6868ca8ca9bc3f32399d644433680a4f8059628d8afd764c4d4d79815a15 are healthy
21-Feb-2023 14:30:57 Status found: "starting"
21-Feb-2023 14:30:57 Waiting 15s
21-Feb-2023 14:31:12 Verifying if docker containers 98190acf6395873716535228be78c43cd6acb2dffb6bcebb890721c4a3c99555
21-Feb-2023 14:31:12 6cde6868ca8ca9bc3f32399d644433680a4f8059628d8afd764c4d4d79815a15 are healthy
21-Feb-2023 14:31:12 Status found: "healthy"
21-Feb-2023 14:31:12 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
21-Feb-2023 14:31:12 Running post build plugin 'Docker Container Cleanup'
21-Feb-2023 14:31:12 Running post build plugin 'NCover Results Collector'
21-Feb-2023 14:31:12 Running post build plugin 'Build Results Label Collector'
21-Feb-2023 14:31:12 Running post build plugin 'Clover Results Collector'
21-Feb-2023 14:31:12 Running post build plugin 'npm Cache Cleanup'
21-Feb-2023 14:31:12 Running post build plugin 'Artifact Copier'
21-Feb-2023 14:31:12 Finalising the build...
21-Feb-2023 14:31:12 Stopping timer.
21-Feb-2023 14:31:12 Build REFAPP-OMODDISTRO-DTMTS-13495 completed.
21-Feb-2023 14:31:12 Running on server: post build plugin 'Build Hanging Detection Configuration'
21-Feb-2023 14:31:12 Running on server: post build plugin 'NCover Results Collector'
21-Feb-2023 14:31:12 Running on server: post build plugin 'Build Labeller'
21-Feb-2023 14:31:12 Running on server: post build plugin 'Clover Delta Calculator'
21-Feb-2023 14:31:12 Running on server: post build plugin 'Maven Dependencies Postprocessor'
21-Feb-2023 14:31:12 All post build plugins have finished
21-Feb-2023 14:31:12 Generating build results summary...
21-Feb-2023 14:31:12 Saving build results to disk...
21-Feb-2023 14:31:12 Store variable context...
21-Feb-2023 14:31:12 Finished building REFAPP-OMODDISTRO-DTMTS-13495.