Deploys Reference Application SNAPSHOT to maven

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

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