Deploys Reference Application SNAPSHOT to maven

Build: #13446 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.

05-Feb-2023 03:12:44 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13446 (REFAPP-OMODDISTRO-DTMTS-13446) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
05-Feb-2023 03:12:44 Remote agent on host xindi.openmrs.org
05-Feb-2023 03:12:44 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
05-Feb-2023 03:12:44 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13446 (REFAPP-OMODDISTRO-DTMTS-13446)
05-Feb-2023 03:12:44 Running pre-build action: Build Log Labeller Pre Build Action
05-Feb-2023 03:12:44 Running pre-build action: VCS Version Collector
05-Feb-2023 03:12:44 Running pre-build action: Run Predator
05-Feb-2023 03:12:44 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
05-Feb-2023 03:12:44 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
05-Feb-2023 03:12:44 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
05-Feb-2023 03:12:44 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
05-Feb-2023 03:12:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 11218 java        1484 bamboo-age 2976Mb  502Mb 00:09:50 /usr/lib/jvm/java-8-ope
05-Feb-2023 03:12:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    2Mb 00:09:41 /home/bamboo-agent/bamb
05-Feb-2023 03:12:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:04:30 /sbin/init             
05-Feb-2023 03:12:44 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
05-Feb-2023 03:12:44 [PredatorPreBuildAction] Initial free space: 3.3417282 GB
05-Feb-2023 03:12:44 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
05-Feb-2023 03:12:46 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
05-Feb-2023 03:12:46 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
05-Feb-2023 03:12:46 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
05-Feb-2023 03:12:46 [PredatorPreBuildAction] Maven stable disk freed: 0.0047852863 GB, deleted 184 files
05-Feb-2023 03:12:46 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
05-Feb-2023 03:12:46 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
05-Feb-2023 03:12:46 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
05-Feb-2023 03:12:46 [PredatorPreBuildAction] Final free space: 3.3733673 GB
05-Feb-2023 03:12:46 [PredatorPreBuildAction] Done
05-Feb-2023 03:12:46
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
05-Feb-2023 03:12:46
Substituting password variable: ${bamboo.dockerhub.password}
05-Feb-2023 03:12:46
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:941c80686b4cf86c46150c949accb170032b97983743be850b27d12f6c5ef768
05-Feb-2023 03:12:46
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:941c80686b4cf86c46150c949accb170032b97983743be850b27d12f6c5ef768
05-Feb-2023 03:12:46
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
05-Feb-2023 03:12:46
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
05-Feb-2023 03:12:46 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
05-Feb-2023 03:12:46
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13446 (REFAPP-OMODDISTRO-DTMTS-13446)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13446-ScriptBuildTask-989067949914121930.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
05-Feb-2023 03:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
05-Feb-2023 03:12:46 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
05-Feb-2023 03:12:46 Configure a credential helper to remove this warning. See
05-Feb-2023 03:12:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
05-Feb-2023 03:12:46
05-Feb-2023 03:12:46 Login Succeeded
05-Feb-2023 03:12:46 + docker pull openmrs/openmrs-reference-application@sha256:941c80686b4cf86c46150c949accb170032b97983743be850b27d12f6c5ef768
05-Feb-2023 03:12:46 docker.io/openmrs/openmrs-reference-application@sha256:941c80686b4cf86c46150c949accb170032b97983743be850b27d12f6c5ef768: Pulling from openmrs/openmrs-reference-application
05-Feb-2023 03:12:46 Digest: sha256:941c80686b4cf86c46150c949accb170032b97983743be850b27d12f6c5ef768
05-Feb-2023 03:12:46 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:941c80686b4cf86c46150c949accb170032b97983743be850b27d12f6c5ef768
05-Feb-2023 03:12:46 docker.io/openmrs/openmrs-reference-application@sha256:941c80686b4cf86c46150c949accb170032b97983743be850b27d12f6c5ef768
05-Feb-2023 03:12:46 + docker tag openmrs/openmrs-reference-application@sha256:941c80686b4cf86c46150c949accb170032b97983743be850b27d12f6c5ef768 openmrs/openmrs-reference-application:qa
05-Feb-2023 03:12:46 + docker push openmrs/openmrs-reference-application:qa
05-Feb-2023 03:12:46 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
05-Feb-2023 03:12:47 5125354f93dd: Preparing
05-Feb-2023 03:12:47 189d467be448: Preparing
05-Feb-2023 03:12:47 74a89c707d41: Preparing
05-Feb-2023 03:12:47 c2907122ff1e: Preparing
05-Feb-2023 03:12:47 0740b0956fe0: Preparing
05-Feb-2023 03:12:47 60de0bbda0ed: Preparing
05-Feb-2023 03:12:47 5f70bf18a086: Preparing
05-Feb-2023 03:12:47 b34b6277c81b: Preparing
05-Feb-2023 03:12:47 d0a6a0df9123: Preparing
05-Feb-2023 03:12:47 63bbdb3574ed: Preparing
05-Feb-2023 03:12:47 118873527352: Preparing
05-Feb-2023 03:12:47 3353ee3d6876: Preparing
05-Feb-2023 03:12:47 ab5b3452b7ed: Preparing
05-Feb-2023 03:12:47 34f73756f7aa: Preparing
05-Feb-2023 03:12:47 93d6620f79bb: Preparing
05-Feb-2023 03:12:47 be417e78cadd: Preparing
05-Feb-2023 03:12:47 647dc4000019: Preparing
05-Feb-2023 03:12:47 8c5ff259ef50: Preparing
05-Feb-2023 03:12:47 63bbdb3574ed: Waiting
05-Feb-2023 03:12:47 118873527352: Waiting
05-Feb-2023 03:12:47 3353ee3d6876: Waiting
05-Feb-2023 03:12:47 ab5b3452b7ed: Waiting
05-Feb-2023 03:12:47 34f73756f7aa: Waiting
05-Feb-2023 03:12:47 93d6620f79bb: Waiting
05-Feb-2023 03:12:47 be417e78cadd: Waiting
05-Feb-2023 03:12:47 647dc4000019: Waiting
05-Feb-2023 03:12:47 60de0bbda0ed: Waiting
05-Feb-2023 03:12:47 5f70bf18a086: Waiting
05-Feb-2023 03:12:47 b34b6277c81b: Waiting
05-Feb-2023 03:12:47 d0a6a0df9123: Waiting
05-Feb-2023 03:12:47 8c5ff259ef50: Waiting
05-Feb-2023 03:12:47 0740b0956fe0: Layer already exists
05-Feb-2023 03:12:47 189d467be448: Layer already exists
05-Feb-2023 03:12:47 c2907122ff1e: Layer already exists
05-Feb-2023 03:12:47 74a89c707d41: Layer already exists
05-Feb-2023 03:12:47 5125354f93dd: Layer already exists
05-Feb-2023 03:12:47 60de0bbda0ed: Layer already exists
05-Feb-2023 03:12:47 5f70bf18a086: Layer already exists
05-Feb-2023 03:12:47 b34b6277c81b: Layer already exists
05-Feb-2023 03:12:47 63bbdb3574ed: Layer already exists
05-Feb-2023 03:12:47 d0a6a0df9123: Layer already exists
05-Feb-2023 03:12:47 118873527352: Layer already exists
05-Feb-2023 03:12:47 3353ee3d6876: Layer already exists
05-Feb-2023 03:12:47 93d6620f79bb: Layer already exists
05-Feb-2023 03:12:47 ab5b3452b7ed: Layer already exists
05-Feb-2023 03:12:47 34f73756f7aa: Layer already exists
05-Feb-2023 03:12:47 be417e78cadd: Layer already exists
05-Feb-2023 03:12:47 647dc4000019: Layer already exists
05-Feb-2023 03:12:47 8c5ff259ef50: Layer already exists
05-Feb-2023 03:12:47 qa: digest: sha256:1136973ebf2ff592237a3e4fd11c5ef0b724ac47f1ab91d86d532261fd7b73cb size: 4088
05-Feb-2023 03:12:47 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
05-Feb-2023 03:12:48 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
05-Feb-2023 03:12:48 Removing unused images if any
05-Feb-2023 03:12:49 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication-mysql ...
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ...
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication-mysql ... done
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... already exists
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... pulling fs layer
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... pulling fs layer
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... pulling fs layer
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... pulling fs layer
05-Feb-2023 03:12:49 Pulling openmrs-referenceapplication       ... waiting
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (100.0%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... verifying checksum
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... download complete
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (0.7%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (0.5%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (18.8%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (14.7%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (1.1%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... verifying checksum
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... download complete
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (38.3%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (28.9%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (57.8%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (42.7%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (55.9%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (78.7%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (98.8%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (70.7%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... download complete
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (85.4%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... extracting (0.7%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... downloading (98.2%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... verifying checksum
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... download complete
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... extracting (21.5%)
05-Feb-2023 03:12:50 Pulling openmrs-referenceapplication       ... extracting (47.2%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (72.2%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (93.7%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... pull complete
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... pull complete
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (0.5%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (9.1%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (27.4%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (48.1%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (65.9%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (81.6%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (96.2%)
05-Feb-2023 03:12:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Feb-2023 03:12:52 Pulling openmrs-referenceapplication       ... pull complete
05-Feb-2023 03:12:52 Pulling openmrs-referenceapplication       ... extracting (3.0%)
05-Feb-2023 03:12:52 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Feb-2023 03:12:52 Pulling openmrs-referenceapplication       ... pull complete
05-Feb-2023 03:12:52 Pulling openmrs-referenceapplication       ... digest: sha256:1136973ebf2ff59223...
05-Feb-2023 03:12:52 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
05-Feb-2023 03:12:52 Pulling openmrs-referenceapplication       ... done
05-Feb-2023 03:12:52 Recreating all images and volumes
05-Feb-2023 03:12:52 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
05-Feb-2023 03:12:52 Stopping qa-refapp_openmrs-referenceapplication_1       ...
05-Feb-2023 03:12:52 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
05-Feb-2023 03:12:52 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
05-Feb-2023 03:12:54 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
05-Feb-2023 03:12:54 Removing qa-refapp_openmrs-referenceapplication_1       ...
05-Feb-2023 03:12:54 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
05-Feb-2023 03:12:54 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
05-Feb-2023 03:12:55 Removing qa-refapp_openmrs-referenceapplication_1       ... done
05-Feb-2023 03:12:55 Removing network qa-refapp_default
05-Feb-2023 03:12:55 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
05-Feb-2023 03:12:55 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
05-Feb-2023 03:12:55 Creating network "qa-refapp_default" with the default driver
05-Feb-2023 03:12:55 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
05-Feb-2023 03:12:55 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
05-Feb-2023 03:12:56 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
05-Feb-2023 03:12:56 Creating qa-refapp_openmrs-referenceapplication_1       ...
05-Feb-2023 03:12:56 Creating qa-refapp_openmrs-referenceapplication_1       ... done
05-Feb-2023 03:12:57 Verifying if docker containers 49dd8a87ccd8b3ffadf7e61b6268cabe1cf8ec747645edeac0c970bc08d08eb4
05-Feb-2023 03:12:57 9a3bff5d9b07b54ecdf2dc4ab7cba4982c41da4b84f0a1114a5c17a8cdaee376 are healthy
05-Feb-2023 03:12:57 Status found: "starting"
05-Feb-2023 03:12:57 Waiting 15s
05-Feb-2023 03:13:12 Verifying if docker containers 49dd8a87ccd8b3ffadf7e61b6268cabe1cf8ec747645edeac0c970bc08d08eb4
05-Feb-2023 03:13:12 9a3bff5d9b07b54ecdf2dc4ab7cba4982c41da4b84f0a1114a5c17a8cdaee376 are healthy
05-Feb-2023 03:13:12 Status found: "starting"
05-Feb-2023 03:13:12 Waiting 15s
05-Feb-2023 03:13:27 Verifying if docker containers 49dd8a87ccd8b3ffadf7e61b6268cabe1cf8ec747645edeac0c970bc08d08eb4
05-Feb-2023 03:13:27 9a3bff5d9b07b54ecdf2dc4ab7cba4982c41da4b84f0a1114a5c17a8cdaee376 are healthy
05-Feb-2023 03:13:27 Status found: "healthy"
05-Feb-2023 03:13:27 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
05-Feb-2023 03:13:27 Running post build plugin 'Docker Container Cleanup'
05-Feb-2023 03:13:27 Running post build plugin 'NCover Results Collector'
05-Feb-2023 03:13:27 Running post build plugin 'Build Results Label Collector'
05-Feb-2023 03:13:27 Running post build plugin 'Clover Results Collector'
05-Feb-2023 03:13:27 Running post build plugin 'npm Cache Cleanup'
05-Feb-2023 03:13:27 Running post build plugin 'Artifact Copier'
05-Feb-2023 03:13:27 Finalising the build...
05-Feb-2023 03:13:27 Stopping timer.
05-Feb-2023 03:13:27 Build REFAPP-OMODDISTRO-DTMTS-13446 completed.
05-Feb-2023 03:13:27 Running on server: post build plugin 'Build Hanging Detection Configuration'
05-Feb-2023 03:13:27 Running on server: post build plugin 'NCover Results Collector'
05-Feb-2023 03:13:27 Running on server: post build plugin 'Build Labeller'
05-Feb-2023 03:13:27 Running on server: post build plugin 'Clover Delta Calculator'
05-Feb-2023 03:13:27 Running on server: post build plugin 'Maven Dependencies Postprocessor'
05-Feb-2023 03:13:27 All post build plugins have finished
05-Feb-2023 03:13:27 Generating build results summary...
05-Feb-2023 03:13:27 Saving build results to disk...
05-Feb-2023 03:13:27 Store variable context...
05-Feb-2023 03:13:27 Finished building REFAPP-OMODDISTRO-DTMTS-13446.