Deploys Reference Application SNAPSHOT to maven

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

11-Jan-2023 03:14:30 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13381 (REFAPP-OMODDISTRO-DTMTS-13381) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
11-Jan-2023 03:14:30 Remote agent on host xiao.openmrs.org
11-Jan-2023 03:14:30 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
11-Jan-2023 03:14:30 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13381 (REFAPP-OMODDISTRO-DTMTS-13381)
11-Jan-2023 03:14:30 Running pre-build action: Build Log Labeller Pre Build Action
11-Jan-2023 03:14:30 Running pre-build action: VCS Version Collector
11-Jan-2023 03:14:30 Running pre-build action: Run Predator
11-Jan-2023 03:14:30 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
11-Jan-2023 03:14:30 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
11-Jan-2023 03:14:30 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
11-Jan-2023 03:14:31 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
11-Jan-2023 03:14:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 62078 java        1474 bamboo-age 2977Mb  438Mb 00:05:46 /usr/lib/jvm/java-8-ope
11-Jan-2023 03:14:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1474 wrapper        1 bamboo-age   16Mb    3Mb 00:17:00 /home/bamboo-agent/bamb
11-Jan-2023 03:14:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:13:17 /sbin/init             
11-Jan-2023 03:14:31 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
11-Jan-2023 03:14:31 [PredatorPreBuildAction] Initial free space: 3.1876297 GB
11-Jan-2023 03:14:31 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
11-Jan-2023 03:14:32 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
11-Jan-2023 03:14:32 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
11-Jan-2023 03:14:32 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
11-Jan-2023 03:14:32 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
11-Jan-2023 03:14:32 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
11-Jan-2023 03:14:32 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
11-Jan-2023 03:14:32 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
11-Jan-2023 03:14:32 [PredatorPreBuildAction] Final free space: 3.2192688 GB
11-Jan-2023 03:14:32 [PredatorPreBuildAction] Done
11-Jan-2023 03:14:32
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
11-Jan-2023 03:14:32
Substituting password variable: ${bamboo.dockerhub.password}
11-Jan-2023 03:14:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:80283fae1dc6ba394f803b503bc10caac77031b9c3382f09598801ebcb4670c2
11-Jan-2023 03:14:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:80283fae1dc6ba394f803b503bc10caac77031b9c3382f09598801ebcb4670c2
11-Jan-2023 03:14:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
11-Jan-2023 03:14:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
11-Jan-2023 03:14:32 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
11-Jan-2023 03:14:32
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13381 (REFAPP-OMODDISTRO-DTMTS-13381)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13381-ScriptBuildTask-6168151236463714225.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
11-Jan-2023 03:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
11-Jan-2023 03:14:33 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
11-Jan-2023 03:14:33 Configure a credential helper to remove this warning. See
11-Jan-2023 03:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
11-Jan-2023 03:14:33
11-Jan-2023 03:14:33 Login Succeeded
11-Jan-2023 03:14:33 + docker pull openmrs/openmrs-reference-application@sha256:80283fae1dc6ba394f803b503bc10caac77031b9c3382f09598801ebcb4670c2
11-Jan-2023 03:14:33 docker.io/openmrs/openmrs-reference-application@sha256:80283fae1dc6ba394f803b503bc10caac77031b9c3382f09598801ebcb4670c2: Pulling from openmrs/openmrs-reference-application
11-Jan-2023 03:14:33 Digest: sha256:80283fae1dc6ba394f803b503bc10caac77031b9c3382f09598801ebcb4670c2
11-Jan-2023 03:14:33 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:80283fae1dc6ba394f803b503bc10caac77031b9c3382f09598801ebcb4670c2
11-Jan-2023 03:14:33 docker.io/openmrs/openmrs-reference-application@sha256:80283fae1dc6ba394f803b503bc10caac77031b9c3382f09598801ebcb4670c2
11-Jan-2023 03:14:33 + docker tag openmrs/openmrs-reference-application@sha256:80283fae1dc6ba394f803b503bc10caac77031b9c3382f09598801ebcb4670c2 openmrs/openmrs-reference-application:qa
11-Jan-2023 03:14:33 + docker push openmrs/openmrs-reference-application:qa
11-Jan-2023 03:14:33 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
11-Jan-2023 03:14:33 70274b7a4479: Preparing
11-Jan-2023 03:14:33 04f43b1681d2: Preparing
11-Jan-2023 03:14:33 8c802cb114bd: Preparing
11-Jan-2023 03:14:33 715a9b195c88: Preparing
11-Jan-2023 03:14:33 72d9ec969e5b: Preparing
11-Jan-2023 03:14:33 6fdd21bc4a9b: Preparing
11-Jan-2023 03:14:33 5f70bf18a086: Preparing
11-Jan-2023 03:14:33 b7243530d918: Preparing
11-Jan-2023 03:14:33 23323df4fbd9: Preparing
11-Jan-2023 03:14:33 725ecc0c9d62: Preparing
11-Jan-2023 03:14:33 6c1f45cb6682: Preparing
11-Jan-2023 03:14:33 b8aa9430b356: Preparing
11-Jan-2023 03:14:33 b46e16032f56: Preparing
11-Jan-2023 03:14:33 91ac82815b04: Preparing
11-Jan-2023 03:14:33 24fcda5a8b17: Preparing
11-Jan-2023 03:14:33 a4a7e924299e: Preparing
11-Jan-2023 03:14:33 059c2d42be74: Preparing
11-Jan-2023 03:14:33 3f800aca2a44: Preparing
11-Jan-2023 03:14:33 6fdd21bc4a9b: Waiting
11-Jan-2023 03:14:33 5f70bf18a086: Waiting
11-Jan-2023 03:14:33 b7243530d918: Waiting
11-Jan-2023 03:14:33 23323df4fbd9: Waiting
11-Jan-2023 03:14:33 725ecc0c9d62: Waiting
11-Jan-2023 03:14:33 6c1f45cb6682: Waiting
11-Jan-2023 03:14:33 b8aa9430b356: Waiting
11-Jan-2023 03:14:33 b46e16032f56: Waiting
11-Jan-2023 03:14:33 91ac82815b04: Waiting
11-Jan-2023 03:14:33 24fcda5a8b17: Waiting
11-Jan-2023 03:14:33 a4a7e924299e: Waiting
11-Jan-2023 03:14:33 059c2d42be74: Waiting
11-Jan-2023 03:14:33 3f800aca2a44: Waiting
11-Jan-2023 03:14:33 04f43b1681d2: Layer already exists
11-Jan-2023 03:14:33 8c802cb114bd: Layer already exists
11-Jan-2023 03:14:33 70274b7a4479: Layer already exists
11-Jan-2023 03:14:33 72d9ec969e5b: Layer already exists
11-Jan-2023 03:14:33 715a9b195c88: Layer already exists
11-Jan-2023 03:14:33 6fdd21bc4a9b: Layer already exists
11-Jan-2023 03:14:33 5f70bf18a086: Layer already exists
11-Jan-2023 03:14:33 b7243530d918: Layer already exists
11-Jan-2023 03:14:33 725ecc0c9d62: Layer already exists
11-Jan-2023 03:14:33 23323df4fbd9: Layer already exists
11-Jan-2023 03:14:33 6c1f45cb6682: Layer already exists
11-Jan-2023 03:14:33 b8aa9430b356: Layer already exists
11-Jan-2023 03:14:33 24fcda5a8b17: Layer already exists
11-Jan-2023 03:14:33 91ac82815b04: Layer already exists
11-Jan-2023 03:14:33 b46e16032f56: Layer already exists
11-Jan-2023 03:14:34 a4a7e924299e: Layer already exists
11-Jan-2023 03:14:34 059c2d42be74: Layer already exists
11-Jan-2023 03:14:34 3f800aca2a44: Layer already exists
11-Jan-2023 03:14:34 qa: digest: sha256:7a7ace6eab47e89fdbd3d3d6d4a3f45645899a3e37c002cd3d8e74cbff3a5729 size: 4088
11-Jan-2023 03:14:34 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
11-Jan-2023 03:14:34 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
11-Jan-2023 03:14:35 Removing unused images if any
11-Jan-2023 03:14:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Jan-2023 03:14:35 Pulling openmrs-referenceapplication-mysql ...
11-Jan-2023 03:14:35 Pulling openmrs-referenceapplication       ...
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication-mysql ... done
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... already exists
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... waiting
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (100.0%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... download complete
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (0.7%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (0.5%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (19.1%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (1.1%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (13.2%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... verifying checksum
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... download complete
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (38.9%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (26.0%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (56.6%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (38.8%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (72.9%)
11-Jan-2023 03:14:36 Pulling openmrs-referenceapplication       ... downloading (53.0%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... downloading (89.9%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... downloading (64.2%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... verifying checksum
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... download complete
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... downloading (76.0%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (0.7%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... downloading (87.7%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (20.5%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... downloading (99.0%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... verifying checksum
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... download complete
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (40.9%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (69.1%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (96.7%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... pull complete
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... pull complete
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (0.5%)
11-Jan-2023 03:14:37 Pulling openmrs-referenceapplication       ... extracting (15.7%)
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... extracting (33.9%)
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... extracting (50.7%)
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... extracting (67.4%)
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... extracting (83.6%)
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... extracting (97.8%)
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... pull complete
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... extracting (3.0%)
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... pull complete
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... digest: sha256:7a7ace6eab47e89fdb...
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
11-Jan-2023 03:14:38 Pulling openmrs-referenceapplication       ... done
11-Jan-2023 03:14:38 Recreating all images and volumes
11-Jan-2023 03:14:38 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Jan-2023 03:14:38 Stopping qa-refapp_openmrs-referenceapplication_1       ...
11-Jan-2023 03:14:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Jan-2023 03:14:39 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
11-Jan-2023 03:14:41 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Jan-2023 03:14:41 Removing qa-refapp_openmrs-referenceapplication_1       ...
11-Jan-2023 03:14:41 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Jan-2023 03:14:41 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Jan-2023 03:14:41 Removing qa-refapp_openmrs-referenceapplication_1       ... done
11-Jan-2023 03:14:41 Removing network qa-refapp_default
11-Jan-2023 03:14:41 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
11-Jan-2023 03:14:42 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Jan-2023 03:14:42 Creating network "qa-refapp_default" with the default driver
11-Jan-2023 03:14:42 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
11-Jan-2023 03:14:42 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Jan-2023 03:14:42 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Jan-2023 03:14:42 Creating qa-refapp_openmrs-referenceapplication_1       ...
11-Jan-2023 03:14:43 Creating qa-refapp_openmrs-referenceapplication_1       ... done
11-Jan-2023 03:14:43 Verifying if docker containers eb57407fec7bf16bfb9049fa41f810181141f70bb04c9d7b88ef0a678a66fb1a
11-Jan-2023 03:14:43 e87356a553a769379146ae6ac1d7a02a819668ba2fc8e5042185813356ab7d71 are healthy
11-Jan-2023 03:14:43 Status found: "starting"
11-Jan-2023 03:14:43 Waiting 15s
11-Jan-2023 03:14:58 Verifying if docker containers eb57407fec7bf16bfb9049fa41f810181141f70bb04c9d7b88ef0a678a66fb1a
11-Jan-2023 03:14:58 e87356a553a769379146ae6ac1d7a02a819668ba2fc8e5042185813356ab7d71 are healthy
11-Jan-2023 03:14:58 Status found: "starting"
11-Jan-2023 03:14:58 Waiting 15s
11-Jan-2023 03:15:13 Verifying if docker containers eb57407fec7bf16bfb9049fa41f810181141f70bb04c9d7b88ef0a678a66fb1a
11-Jan-2023 03:15:13 e87356a553a769379146ae6ac1d7a02a819668ba2fc8e5042185813356ab7d71 are healthy
11-Jan-2023 03:15:13 Status found: "healthy"
11-Jan-2023 03:15:13 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
11-Jan-2023 03:15:13 Running post build plugin 'Docker Container Cleanup'
11-Jan-2023 03:15:13 Running post build plugin 'NCover Results Collector'
11-Jan-2023 03:15:13 Running post build plugin 'Build Results Label Collector'
11-Jan-2023 03:15:13 Running post build plugin 'Clover Results Collector'
11-Jan-2023 03:15:13 Running post build plugin 'npm Cache Cleanup'
11-Jan-2023 03:15:13 Running post build plugin 'Artifact Copier'
11-Jan-2023 03:15:13 Finalising the build...
11-Jan-2023 03:15:13 Stopping timer.
11-Jan-2023 03:15:13 Build REFAPP-OMODDISTRO-DTMTS-13381 completed.
11-Jan-2023 03:15:13 Running on server: post build plugin 'Build Hanging Detection Configuration'
11-Jan-2023 03:15:13 Running on server: post build plugin 'NCover Results Collector'
11-Jan-2023 03:15:13 Running on server: post build plugin 'Build Labeller'
11-Jan-2023 03:15:13 Running on server: post build plugin 'Clover Delta Calculator'
11-Jan-2023 03:15:13 Running on server: post build plugin 'Maven Dependencies Postprocessor'
11-Jan-2023 03:15:13 All post build plugins have finished
11-Jan-2023 03:15:13 Generating build results summary...
11-Jan-2023 03:15:13 Saving build results to disk...
11-Jan-2023 03:15:13 Store variable context...
11-Jan-2023 03:15:13 Finished building REFAPP-OMODDISTRO-DTMTS-13381.