Deploys Reference Application SNAPSHOT to maven

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

20-Feb-2023 22:32:37 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13490 (REFAPP-OMODDISTRO-DTMTS-13490) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
20-Feb-2023 22:32:37 Remote agent on host xiao.openmrs.org
20-Feb-2023 22:32:37 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Feb-2023 22:32:37 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13490 (REFAPP-OMODDISTRO-DTMTS-13490)
20-Feb-2023 22:32:37 Running pre-build action: Build Log Labeller Pre Build Action
20-Feb-2023 22:32:37 Running pre-build action: VCS Version Collector
20-Feb-2023 22:32:37 Running pre-build action: Run Predator
20-Feb-2023 22:32:37 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
20-Feb-2023 22:32:37 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
20-Feb-2023 22:32:37 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
20-Feb-2023 22:32:37 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
20-Feb-2023 22:32:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2034 java        1481 bamboo-age 2983Mb  470Mb 00:17:58 /usr/lib/jvm/java-8-ope
20-Feb-2023 22:32:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1481 wrapper        1 bamboo-age   16Mb    1Mb 00:04:27 /home/bamboo-agent/bamb
20-Feb-2023 22:32:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:41 /sbin/init             
20-Feb-2023 22:32:37 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
20-Feb-2023 22:32:37 [PredatorPreBuildAction] Initial free space: 2.6876488 GB
20-Feb-2023 22:32:37 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
20-Feb-2023 22:32:40 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
20-Feb-2023 22:32:40 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
20-Feb-2023 22:32:40 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
20-Feb-2023 22:32:40 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
20-Feb-2023 22:32:40 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
20-Feb-2023 22:32:40 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
20-Feb-2023 22:32:40 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
20-Feb-2023 22:32:40 [PredatorPreBuildAction] Final free space: 2.7192879 GB
20-Feb-2023 22:32:40 [PredatorPreBuildAction] Done
20-Feb-2023 22:32:40
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
20-Feb-2023 22:32:40
Substituting password variable: ${bamboo.dockerhub.password}
20-Feb-2023 22:32:40
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:52fad215c03b3c028b904d52c6653b5da68d779ebd01c653b4a43500ac7dfc40
20-Feb-2023 22:32:40
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:52fad215c03b3c028b904d52c6653b5da68d779ebd01c653b4a43500ac7dfc40
20-Feb-2023 22:32:40
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Feb-2023 22:32:40
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Feb-2023 22:32:40 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Feb-2023 22:32:40
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13490 (REFAPP-OMODDISTRO-DTMTS-13490)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13490-ScriptBuildTask-1698005630068572509.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Feb-2023 22:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
20-Feb-2023 22:32:41 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
20-Feb-2023 22:32:41 Configure a credential helper to remove this warning. See
20-Feb-2023 22:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
20-Feb-2023 22:32:41
20-Feb-2023 22:32:41 Login Succeeded
20-Feb-2023 22:32:41 + docker pull openmrs/openmrs-reference-application@sha256:52fad215c03b3c028b904d52c6653b5da68d779ebd01c653b4a43500ac7dfc40
20-Feb-2023 22:32:41 docker.io/openmrs/openmrs-reference-application@sha256:52fad215c03b3c028b904d52c6653b5da68d779ebd01c653b4a43500ac7dfc40: Pulling from openmrs/openmrs-reference-application
20-Feb-2023 22:32:41 Digest: sha256:52fad215c03b3c028b904d52c6653b5da68d779ebd01c653b4a43500ac7dfc40
20-Feb-2023 22:32:41 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:52fad215c03b3c028b904d52c6653b5da68d779ebd01c653b4a43500ac7dfc40
20-Feb-2023 22:32:41 docker.io/openmrs/openmrs-reference-application@sha256:52fad215c03b3c028b904d52c6653b5da68d779ebd01c653b4a43500ac7dfc40
20-Feb-2023 22:32:41 + docker tag openmrs/openmrs-reference-application@sha256:52fad215c03b3c028b904d52c6653b5da68d779ebd01c653b4a43500ac7dfc40 openmrs/openmrs-reference-application:qa
20-Feb-2023 22:32:41 + docker push openmrs/openmrs-reference-application:qa
20-Feb-2023 22:32:41 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
20-Feb-2023 22:32:41 95b4913ed52b: Preparing
20-Feb-2023 22:32:41 a4bf3df86db6: Preparing
20-Feb-2023 22:32:41 d5b1b840abc5: Preparing
20-Feb-2023 22:32:41 2f451e5e0812: Preparing
20-Feb-2023 22:32:41 e4a92042edbd: Preparing
20-Feb-2023 22:32:41 60de0bbda0ed: Preparing
20-Feb-2023 22:32:41 5f70bf18a086: Preparing
20-Feb-2023 22:32:41 b34b6277c81b: Preparing
20-Feb-2023 22:32:41 d0a6a0df9123: Preparing
20-Feb-2023 22:32:41 63bbdb3574ed: Preparing
20-Feb-2023 22:32:41 118873527352: Preparing
20-Feb-2023 22:32:41 3353ee3d6876: Preparing
20-Feb-2023 22:32:41 ab5b3452b7ed: Preparing
20-Feb-2023 22:32:41 34f73756f7aa: Preparing
20-Feb-2023 22:32:41 93d6620f79bb: Preparing
20-Feb-2023 22:32:41 be417e78cadd: Preparing
20-Feb-2023 22:32:41 647dc4000019: Preparing
20-Feb-2023 22:32:41 8c5ff259ef50: Preparing
20-Feb-2023 22:32:41 60de0bbda0ed: Waiting
20-Feb-2023 22:32:41 5f70bf18a086: Waiting
20-Feb-2023 22:32:41 b34b6277c81b: Waiting
20-Feb-2023 22:32:41 d0a6a0df9123: Waiting
20-Feb-2023 22:32:41 63bbdb3574ed: Waiting
20-Feb-2023 22:32:41 118873527352: Waiting
20-Feb-2023 22:32:41 3353ee3d6876: Waiting
20-Feb-2023 22:32:41 ab5b3452b7ed: Waiting
20-Feb-2023 22:32:41 34f73756f7aa: Waiting
20-Feb-2023 22:32:41 93d6620f79bb: Waiting
20-Feb-2023 22:32:41 be417e78cadd: Waiting
20-Feb-2023 22:32:41 647dc4000019: Waiting
20-Feb-2023 22:32:41 8c5ff259ef50: Waiting
20-Feb-2023 22:32:41 e4a92042edbd: Layer already exists
20-Feb-2023 22:32:41 95b4913ed52b: Layer already exists
20-Feb-2023 22:32:41 d5b1b840abc5: Layer already exists
20-Feb-2023 22:32:41 2f451e5e0812: Layer already exists
20-Feb-2023 22:32:41 a4bf3df86db6: Layer already exists
20-Feb-2023 22:32:41 60de0bbda0ed: Layer already exists
20-Feb-2023 22:32:41 5f70bf18a086: Layer already exists
20-Feb-2023 22:32:41 63bbdb3574ed: Layer already exists
20-Feb-2023 22:32:41 b34b6277c81b: Layer already exists
20-Feb-2023 22:32:41 d0a6a0df9123: Layer already exists
20-Feb-2023 22:32:41 3353ee3d6876: Layer already exists
20-Feb-2023 22:32:41 118873527352: Layer already exists
20-Feb-2023 22:32:41 34f73756f7aa: Layer already exists
20-Feb-2023 22:32:41 ab5b3452b7ed: Layer already exists
20-Feb-2023 22:32:41 93d6620f79bb: Layer already exists
20-Feb-2023 22:32:41 be417e78cadd: Layer already exists
20-Feb-2023 22:32:41 647dc4000019: Layer already exists
20-Feb-2023 22:32:41 8c5ff259ef50: Layer already exists
20-Feb-2023 22:32:42 qa: digest: sha256:c862f2cdb23515b8557fe9dfa43ca6bdf8355148375f4933a84e79bf85e55fca size: 4088
20-Feb-2023 22:32:42 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
20-Feb-2023 22:32:42 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
20-Feb-2023 22:32:43 Removing unused images if any
20-Feb-2023 22:32:43 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 22:32:43 Pulling openmrs-referenceapplication-mysql ...
20-Feb-2023 22:32:43 Pulling openmrs-referenceapplication       ...
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication-mysql ... done
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... waiting
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (100.0%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (0.7%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (0.5%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (1.1%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (22.2%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (16.2%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (100.0%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (41.0%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (29.4%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (57.1%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (41.2%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (73.9%)
20-Feb-2023 22:32:44 Pulling openmrs-referenceapplication       ... downloading (52.0%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... downloading (90.6%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... downloading (64.2%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... downloading (76.5%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... downloading (89.2%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (0.7%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... downloading (100.0%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (22.9%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (45.1%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (68.0%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (90.9%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (0.5%)
20-Feb-2023 22:32:45 Pulling openmrs-referenceapplication       ... extracting (15.2%)
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... extracting (33.9%)
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... extracting (51.7%)
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... extracting (68.9%)
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... extracting (87.1%)
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... extracting (3.0%)
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... digest: sha256:c862f2cdb23515b855...
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
20-Feb-2023 22:32:46 Pulling openmrs-referenceapplication       ... done
20-Feb-2023 22:32:46 Recreating all images and volumes
20-Feb-2023 22:32:46 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 22:32:46 Stopping qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 22:32:46 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 22:32:47 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 22:32:48 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 22:32:48 Removing qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 22:32:48 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 22:32:49 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 22:32:50 Removing qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 22:32:50 Removing network qa-refapp_default
20-Feb-2023 22:32:50 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
20-Feb-2023 22:32:50 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 22:32:50 Creating network "qa-refapp_default" with the default driver
20-Feb-2023 22:32:50 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
20-Feb-2023 22:32:50 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 22:32:51 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 22:32:51 Creating qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 22:32:52 Creating qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 22:32:52 Verifying if docker containers b27cfd93ef65332778ebb2388e5fe64f81b508f0dca110a05b7390efa4b00968
20-Feb-2023 22:32:52 3c94f06e6c182a5bf076ef1f4bbfbaa7b0d05e414db16060cc19351ab5a69a70 are healthy
20-Feb-2023 22:32:52 Status found: "starting"
20-Feb-2023 22:32:52 Waiting 15s
20-Feb-2023 22:33:07 Verifying if docker containers b27cfd93ef65332778ebb2388e5fe64f81b508f0dca110a05b7390efa4b00968
20-Feb-2023 22:33:07 3c94f06e6c182a5bf076ef1f4bbfbaa7b0d05e414db16060cc19351ab5a69a70 are healthy
20-Feb-2023 22:33:07 Status found: "starting"
20-Feb-2023 22:33:07 Waiting 15s
20-Feb-2023 22:33:22 Verifying if docker containers b27cfd93ef65332778ebb2388e5fe64f81b508f0dca110a05b7390efa4b00968
20-Feb-2023 22:33:22 3c94f06e6c182a5bf076ef1f4bbfbaa7b0d05e414db16060cc19351ab5a69a70 are healthy
20-Feb-2023 22:33:22 Status found: "healthy"
20-Feb-2023 22:33:22 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
20-Feb-2023 22:33:22 Running post build plugin 'Docker Container Cleanup'
20-Feb-2023 22:33:22 Running post build plugin 'NCover Results Collector'
20-Feb-2023 22:33:22 Running post build plugin 'Build Results Label Collector'
20-Feb-2023 22:33:22 Running post build plugin 'Clover Results Collector'
20-Feb-2023 22:33:22 Running post build plugin 'npm Cache Cleanup'
20-Feb-2023 22:33:22 Running post build plugin 'Artifact Copier'
20-Feb-2023 22:33:22 Finalising the build...
20-Feb-2023 22:33:22 Stopping timer.
20-Feb-2023 22:33:22 Build REFAPP-OMODDISTRO-DTMTS-13490 completed.
20-Feb-2023 22:33:22 Running on server: post build plugin 'Build Hanging Detection Configuration'
20-Feb-2023 22:33:22 Running on server: post build plugin 'NCover Results Collector'
20-Feb-2023 22:33:22 Running on server: post build plugin 'Build Labeller'
20-Feb-2023 22:33:22 Running on server: post build plugin 'Clover Delta Calculator'
20-Feb-2023 22:33:22 Running on server: post build plugin 'Maven Dependencies Postprocessor'
20-Feb-2023 22:33:22 All post build plugins have finished
20-Feb-2023 22:33:22 Generating build results summary...
20-Feb-2023 22:33:22 Saving build results to disk...
20-Feb-2023 22:33:22 Store variable context...
20-Feb-2023 22:33:22 Finished building REFAPP-OMODDISTRO-DTMTS-13490.