Deploys Reference Application SNAPSHOT to maven

Build: #13434 was successful

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.

01-Feb-2023 03:13:55 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13434 (REFAPP-OMODDISTRO-DTMTS-13434) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
01-Feb-2023 03:13:55 Remote agent on host xindi.openmrs.org
01-Feb-2023 03:13:55 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
01-Feb-2023 03:13:55 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13434 (REFAPP-OMODDISTRO-DTMTS-13434)
01-Feb-2023 03:13:55 Running pre-build action: Build Log Labeller Pre Build Action
01-Feb-2023 03:13:55 Running pre-build action: VCS Version Collector
01-Feb-2023 03:13:55 Running pre-build action: Run Predator
01-Feb-2023 03:13:55 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
01-Feb-2023 03:13:55 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
01-Feb-2023 03:13:55 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
01-Feb-2023 03:13:55 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
01-Feb-2023 03:13:55 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 11218 java        1484 bamboo-age 2964Mb  349Mb 00:01:43 /usr/lib/jvm/java-8-ope
01-Feb-2023 03:13:55 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    3Mb 00:07:51 /home/bamboo-agent/bamb
01-Feb-2023 03:13:55 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:03:55 /sbin/init             
01-Feb-2023 03:13:55 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
01-Feb-2023 03:13:55 [PredatorPreBuildAction] Initial free space: 3.241085 GB
01-Feb-2023 03:13:55 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
01-Feb-2023 03:14:00 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
01-Feb-2023 03:14:00 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
01-Feb-2023 03:14:00 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
01-Feb-2023 03:14:00 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
01-Feb-2023 03:14:00 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
01-Feb-2023 03:14:00 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
01-Feb-2023 03:14:00 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
01-Feb-2023 03:14:00 [PredatorPreBuildAction] Final free space: 3.2727203 GB
01-Feb-2023 03:14:00 [PredatorPreBuildAction] Done
01-Feb-2023 03:14:00
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
01-Feb-2023 03:14:00
Substituting password variable: ${bamboo.dockerhub.password}
01-Feb-2023 03:14:00
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:deeeb677e84e29c4512a36d43c4390f968bed91fd57c3d74478dec6bbc8ac99c
01-Feb-2023 03:14:00
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:deeeb677e84e29c4512a36d43c4390f968bed91fd57c3d74478dec6bbc8ac99c
01-Feb-2023 03:14:00
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
01-Feb-2023 03:14:00
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
01-Feb-2023 03:14:00 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
01-Feb-2023 03:14:00
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13434 (REFAPP-OMODDISTRO-DTMTS-13434)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13434-ScriptBuildTask-6412687574041544238.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
01-Feb-2023 03:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
01-Feb-2023 03:14:01 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
01-Feb-2023 03:14:01 Configure a credential helper to remove this warning. See
01-Feb-2023 03:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
01-Feb-2023 03:14:01
01-Feb-2023 03:14:01 Login Succeeded
01-Feb-2023 03:14:01 + docker pull openmrs/openmrs-reference-application@sha256:deeeb677e84e29c4512a36d43c4390f968bed91fd57c3d74478dec6bbc8ac99c
01-Feb-2023 03:14:01 docker.io/openmrs/openmrs-reference-application@sha256:deeeb677e84e29c4512a36d43c4390f968bed91fd57c3d74478dec6bbc8ac99c: Pulling from openmrs/openmrs-reference-application
01-Feb-2023 03:14:01 Digest: sha256:deeeb677e84e29c4512a36d43c4390f968bed91fd57c3d74478dec6bbc8ac99c
01-Feb-2023 03:14:01 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:deeeb677e84e29c4512a36d43c4390f968bed91fd57c3d74478dec6bbc8ac99c
01-Feb-2023 03:14:01 docker.io/openmrs/openmrs-reference-application@sha256:deeeb677e84e29c4512a36d43c4390f968bed91fd57c3d74478dec6bbc8ac99c
01-Feb-2023 03:14:01 + docker tag openmrs/openmrs-reference-application@sha256:deeeb677e84e29c4512a36d43c4390f968bed91fd57c3d74478dec6bbc8ac99c openmrs/openmrs-reference-application:qa
01-Feb-2023 03:14:01 + docker push openmrs/openmrs-reference-application:qa
01-Feb-2023 03:14:01 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
01-Feb-2023 03:14:01 ae020c82c572: Preparing
01-Feb-2023 03:14:01 e30bfa70b6a3: Preparing
01-Feb-2023 03:14:01 984199638124: Preparing
01-Feb-2023 03:14:01 8082765385ce: Preparing
01-Feb-2023 03:14:01 a7523177b4f8: Preparing
01-Feb-2023 03:14:01 60de0bbda0ed: Preparing
01-Feb-2023 03:14:01 5f70bf18a086: Preparing
01-Feb-2023 03:14:01 60de0bbda0ed: Waiting
01-Feb-2023 03:14:01 b34b6277c81b: Preparing
01-Feb-2023 03:14:01 d0a6a0df9123: Preparing
01-Feb-2023 03:14:01 63bbdb3574ed: Preparing
01-Feb-2023 03:14:01 118873527352: Preparing
01-Feb-2023 03:14:01 3353ee3d6876: Preparing
01-Feb-2023 03:14:01 ab5b3452b7ed: Preparing
01-Feb-2023 03:14:01 5f70bf18a086: Waiting
01-Feb-2023 03:14:01 b34b6277c81b: Waiting
01-Feb-2023 03:14:01 d0a6a0df9123: Waiting
01-Feb-2023 03:14:01 63bbdb3574ed: Waiting
01-Feb-2023 03:14:01 118873527352: Waiting
01-Feb-2023 03:14:01 3353ee3d6876: Waiting
01-Feb-2023 03:14:01 34f73756f7aa: Preparing
01-Feb-2023 03:14:01 ab5b3452b7ed: Waiting
01-Feb-2023 03:14:01 93d6620f79bb: Preparing
01-Feb-2023 03:14:01 be417e78cadd: Preparing
01-Feb-2023 03:14:01 647dc4000019: Preparing
01-Feb-2023 03:14:01 8c5ff259ef50: Preparing
01-Feb-2023 03:14:01 34f73756f7aa: Waiting
01-Feb-2023 03:14:01 93d6620f79bb: Waiting
01-Feb-2023 03:14:01 be417e78cadd: Waiting
01-Feb-2023 03:14:01 647dc4000019: Waiting
01-Feb-2023 03:14:01 8c5ff259ef50: Waiting
01-Feb-2023 03:14:01 a7523177b4f8: Layer already exists
01-Feb-2023 03:14:01 8082765385ce: Layer already exists
01-Feb-2023 03:14:01 e30bfa70b6a3: Layer already exists
01-Feb-2023 03:14:01 984199638124: Layer already exists
01-Feb-2023 03:14:01 ae020c82c572: Layer already exists
01-Feb-2023 03:14:01 60de0bbda0ed: Layer already exists
01-Feb-2023 03:14:01 5f70bf18a086: Layer already exists
01-Feb-2023 03:14:01 b34b6277c81b: Layer already exists
01-Feb-2023 03:14:01 d0a6a0df9123: Layer already exists
01-Feb-2023 03:14:01 63bbdb3574ed: Layer already exists
01-Feb-2023 03:14:01 118873527352: Layer already exists
01-Feb-2023 03:14:01 3353ee3d6876: Layer already exists
01-Feb-2023 03:14:01 ab5b3452b7ed: Layer already exists
01-Feb-2023 03:14:01 34f73756f7aa: Layer already exists
01-Feb-2023 03:14:01 93d6620f79bb: Layer already exists
01-Feb-2023 03:14:01 647dc4000019: Layer already exists
01-Feb-2023 03:14:02 be417e78cadd: Layer already exists
01-Feb-2023 03:14:02 8c5ff259ef50: Layer already exists
01-Feb-2023 03:14:02 qa: digest: sha256:2c54ac0d38ccbd46aa026820340f85bee8cfb64ef50ef9c3f2eeeaff2d999440 size: 4088
01-Feb-2023 03:14:02 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
01-Feb-2023 03:14:02 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
01-Feb-2023 03:14:03 Removing unused images if any
01-Feb-2023 03:14:03 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
01-Feb-2023 03:14:03 Pulling openmrs-referenceapplication-mysql ...
01-Feb-2023 03:14:03 Pulling openmrs-referenceapplication       ...
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... done
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... waiting
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (100.0%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... verifying checksum
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... download complete
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (0.5%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (0.7%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (17.5%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (13.7%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (1.1%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (100.0%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... verifying checksum
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... download complete
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (27.0%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (33.0%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (39.7%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (52.4%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (53.4%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (71.9%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (68.1%)
01-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (92.1%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... verifying checksum
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... download complete
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (83.3%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (98.5%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... verifying checksum
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (0.7%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (22.9%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (45.8%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (66.6%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (84.7%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... pull complete
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... pull complete
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (0.5%)
01-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (18.2%)
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (35.0%)
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (52.2%)
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (68.4%)
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (86.1%)
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... pull complete
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (3.0%)
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... pull complete
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... digest: sha256:2c54ac0d38ccbd46aa...
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
01-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... done
01-Feb-2023 03:14:06 Recreating all images and volumes
01-Feb-2023 03:14:06 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
01-Feb-2023 03:14:06 Stopping qa-refapp_openmrs-referenceapplication_1       ...
01-Feb-2023 03:14:06 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
01-Feb-2023 03:14:07 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
01-Feb-2023 03:14:09 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
01-Feb-2023 03:14:09 Removing qa-refapp_openmrs-referenceapplication_1       ...
01-Feb-2023 03:14:09 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
01-Feb-2023 03:14:09 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
01-Feb-2023 03:14:10 Removing qa-refapp_openmrs-referenceapplication_1       ... done
01-Feb-2023 03:14:10 Removing network qa-refapp_default
01-Feb-2023 03:14:10 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
01-Feb-2023 03:14:11 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
01-Feb-2023 03:14:11 Creating network "qa-refapp_default" with the default driver
01-Feb-2023 03:14:11 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
01-Feb-2023 03:14:11 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
01-Feb-2023 03:14:11 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
01-Feb-2023 03:14:11 Creating qa-refapp_openmrs-referenceapplication_1       ...
01-Feb-2023 03:14:12 Creating qa-refapp_openmrs-referenceapplication_1       ... done
01-Feb-2023 03:14:12 Verifying if docker containers a608d3dfd0d4324b56834456ca8b028849d4a848f415a5dc83520d4b9fcbf2a8
01-Feb-2023 03:14:12 818379f25a5c543d305465e591110bd36bfb3723c5c40da126fdb1a013fe68e3 are healthy
01-Feb-2023 03:14:12 Status found: "starting"
01-Feb-2023 03:14:12 Waiting 15s
01-Feb-2023 03:14:27 Verifying if docker containers a608d3dfd0d4324b56834456ca8b028849d4a848f415a5dc83520d4b9fcbf2a8
01-Feb-2023 03:14:27 818379f25a5c543d305465e591110bd36bfb3723c5c40da126fdb1a013fe68e3 are healthy
01-Feb-2023 03:14:27 Status found: "starting"
01-Feb-2023 03:14:27 Waiting 15s
01-Feb-2023 03:14:42 Verifying if docker containers a608d3dfd0d4324b56834456ca8b028849d4a848f415a5dc83520d4b9fcbf2a8
01-Feb-2023 03:14:42 818379f25a5c543d305465e591110bd36bfb3723c5c40da126fdb1a013fe68e3 are healthy
01-Feb-2023 03:14:42 Status found: "healthy"
01-Feb-2023 03:14:42 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
01-Feb-2023 03:14:42 Running post build plugin 'Docker Container Cleanup'
01-Feb-2023 03:14:42 Running post build plugin 'NCover Results Collector'
01-Feb-2023 03:14:42 Running post build plugin 'Build Results Label Collector'
01-Feb-2023 03:14:42 Running post build plugin 'Clover Results Collector'
01-Feb-2023 03:14:42 Running post build plugin 'npm Cache Cleanup'
01-Feb-2023 03:14:42 Running post build plugin 'Artifact Copier'
01-Feb-2023 03:14:42 Finalising the build...
01-Feb-2023 03:14:42 Stopping timer.
01-Feb-2023 03:14:42 Build REFAPP-OMODDISTRO-DTMTS-13434 completed.
01-Feb-2023 03:14:42 Running on server: post build plugin 'Build Hanging Detection Configuration'
01-Feb-2023 03:14:42 Running on server: post build plugin 'NCover Results Collector'
01-Feb-2023 03:14:42 Running on server: post build plugin 'Build Labeller'
01-Feb-2023 03:14:42 Running on server: post build plugin 'Clover Delta Calculator'
01-Feb-2023 03:14:42 Running on server: post build plugin 'Maven Dependencies Postprocessor'
01-Feb-2023 03:14:42 All post build plugins have finished
01-Feb-2023 03:14:42 Generating build results summary...
01-Feb-2023 03:14:42 Saving build results to disk...
01-Feb-2023 03:14:42 Store variable context...
01-Feb-2023 03:14:42 Finished building REFAPP-OMODDISTRO-DTMTS-13434.