Deploys Reference Application SNAPSHOT to maven

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

05-Dec-2022 11:03:11 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13271 (REFAPP-OMODDISTRO-DTMTS-13271) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
05-Dec-2022 11:03:11 Remote agent on host yu.openmrs.org
05-Dec-2022 11:03:11 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
05-Dec-2022 11:03:11 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13271 (REFAPP-OMODDISTRO-DTMTS-13271)
05-Dec-2022 11:03:11 Running pre-build action: Build Log Labeller Pre Build Action
05-Dec-2022 11:03:11 Running pre-build action: VCS Version Collector
05-Dec-2022 11:03:11 Running pre-build action: Run Predator
05-Dec-2022 11:03:11 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
05-Dec-2022 11:03:11 [PredatorPreBuildAction] Running these commands: docker ps -q| xargs docker kill; docker ps -qa | xargs docker rm -f; docker system prune -af --filter until=48h; docker volume prune -f;
05-Dec-2022 11:03:11 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2970 java        1463 bamboo-age 2964Mb  333Mb 00:02:28 /usr/lib/jvm/java-8-ope
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1463 wrapper        1 bamboo-age   16Mb    3Mb 00:00:31 /home/bamboo-agent/bamb
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:03 /sbin/init             
05-Dec-2022 11:03:12 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Initial free space: 4.138546 GB
05-Dec-2022 11:03:12 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
05-Dec-2022 11:03:15 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
05-Dec-2022 11:03:15 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
05-Dec-2022 11:03:15 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
05-Dec-2022 11:03:15 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
05-Dec-2022 11:03:15 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
05-Dec-2022 11:03:15 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
05-Dec-2022 11:03:15 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
05-Dec-2022 11:03:15 [PredatorPreBuildAction] Final free space: 4.1701813 GB
05-Dec-2022 11:03:15 [PredatorPreBuildAction] Done
05-Dec-2022 11:03:15
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
05-Dec-2022 11:03:15
Substituting password variable: ${bamboo.dockerhub.password}
05-Dec-2022 11:03:15
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:bc51867f4df89083f664ea2f96dd382e7dd3c9e6f4a84ceb7319ac41339e82d0
05-Dec-2022 11:03:15
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:bc51867f4df89083f664ea2f96dd382e7dd3c9e6f4a84ceb7319ac41339e82d0
05-Dec-2022 11:03:15
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
05-Dec-2022 11:03:15
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
05-Dec-2022 11:03:15 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
05-Dec-2022 11:03:15
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13271 (REFAPP-OMODDISTRO-DTMTS-13271)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13271-ScriptBuildTask-3751471177396233111.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
05-Dec-2022 11:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
05-Dec-2022 11:03:16 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
05-Dec-2022 11:03:16 Configure a credential helper to remove this warning. See
05-Dec-2022 11:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
05-Dec-2022 11:03:16
05-Dec-2022 11:03:16 Login Succeeded
05-Dec-2022 11:03:16 + docker pull openmrs/openmrs-reference-application@sha256:bc51867f4df89083f664ea2f96dd382e7dd3c9e6f4a84ceb7319ac41339e82d0
05-Dec-2022 11:03:16 docker.io/openmrs/openmrs-reference-application@sha256:bc51867f4df89083f664ea2f96dd382e7dd3c9e6f4a84ceb7319ac41339e82d0: Pulling from openmrs/openmrs-reference-application
05-Dec-2022 11:03:16 Digest: sha256:bc51867f4df89083f664ea2f96dd382e7dd3c9e6f4a84ceb7319ac41339e82d0
05-Dec-2022 11:03:16 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:bc51867f4df89083f664ea2f96dd382e7dd3c9e6f4a84ceb7319ac41339e82d0
05-Dec-2022 11:03:16 docker.io/openmrs/openmrs-reference-application@sha256:bc51867f4df89083f664ea2f96dd382e7dd3c9e6f4a84ceb7319ac41339e82d0
05-Dec-2022 11:03:16 + docker tag openmrs/openmrs-reference-application@sha256:bc51867f4df89083f664ea2f96dd382e7dd3c9e6f4a84ceb7319ac41339e82d0 openmrs/openmrs-reference-application:qa
05-Dec-2022 11:03:16 + docker push openmrs/openmrs-reference-application:qa
05-Dec-2022 11:03:16 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
05-Dec-2022 11:03:16 7007cdd02f21: Preparing
05-Dec-2022 11:03:16 d47dde1f0b84: Preparing
05-Dec-2022 11:03:16 9de824cdf5a3: Preparing
05-Dec-2022 11:03:16 50923b2f1460: Preparing
05-Dec-2022 11:03:16 83dfd9b843a7: Preparing
05-Dec-2022 11:03:16 a0f4c8821ea0: Preparing
05-Dec-2022 11:03:16 5f70bf18a086: Preparing
05-Dec-2022 11:03:16 d076d939710e: Preparing
05-Dec-2022 11:03:16 9df215734b6b: Preparing
05-Dec-2022 11:03:16 25dafcda31ec: Preparing
05-Dec-2022 11:03:16 7e7b5ad6a5af: Preparing
05-Dec-2022 11:03:16 f21dfe78b336: Preparing
05-Dec-2022 11:03:16 efcfa6599fd2: Preparing
05-Dec-2022 11:03:16 375e91c73c0d: Preparing
05-Dec-2022 11:03:16 b44e64b6b5dd: Preparing
05-Dec-2022 11:03:16 30b06f850be5: Preparing
05-Dec-2022 11:03:16 d3de7f222ccb: Preparing
05-Dec-2022 11:03:16 4635ea08a558: Preparing
05-Dec-2022 11:03:16 a0f4c8821ea0: Waiting
05-Dec-2022 11:03:16 5f70bf18a086: Waiting
05-Dec-2022 11:03:16 d076d939710e: Waiting
05-Dec-2022 11:03:16 9df215734b6b: Waiting
05-Dec-2022 11:03:16 25dafcda31ec: Waiting
05-Dec-2022 11:03:16 7e7b5ad6a5af: Waiting
05-Dec-2022 11:03:16 f21dfe78b336: Waiting
05-Dec-2022 11:03:16 efcfa6599fd2: Waiting
05-Dec-2022 11:03:16 375e91c73c0d: Waiting
05-Dec-2022 11:03:16 b44e64b6b5dd: Waiting
05-Dec-2022 11:03:16 30b06f850be5: Waiting
05-Dec-2022 11:03:16 d3de7f222ccb: Waiting
05-Dec-2022 11:03:16 4635ea08a558: Waiting
05-Dec-2022 11:03:16 83dfd9b843a7: Layer already exists
05-Dec-2022 11:03:16 d47dde1f0b84: Layer already exists
05-Dec-2022 11:03:16 7007cdd02f21: Layer already exists
05-Dec-2022 11:03:16 9de824cdf5a3: Layer already exists
05-Dec-2022 11:03:16 50923b2f1460: Layer already exists
05-Dec-2022 11:03:16 a0f4c8821ea0: Layer already exists
05-Dec-2022 11:03:16 5f70bf18a086: Layer already exists
05-Dec-2022 11:03:16 25dafcda31ec: Layer already exists
05-Dec-2022 11:03:16 d076d939710e: Layer already exists
05-Dec-2022 11:03:16 9df215734b6b: Layer already exists
05-Dec-2022 11:03:16 7e7b5ad6a5af: Layer already exists
05-Dec-2022 11:03:17 f21dfe78b336: Layer already exists
05-Dec-2022 11:03:17 375e91c73c0d: Layer already exists
05-Dec-2022 11:03:17 b44e64b6b5dd: Layer already exists
05-Dec-2022 11:03:17 efcfa6599fd2: Layer already exists
05-Dec-2022 11:03:17 30b06f850be5: Layer already exists
05-Dec-2022 11:03:17 d3de7f222ccb: Layer already exists
05-Dec-2022 11:03:17 4635ea08a558: Layer already exists
05-Dec-2022 11:03:17 qa: digest: sha256:17e5880f7ae1e0bf14d152019cf2e6295e0df7adca0297cd4be61288a6992683 size: 4088
05-Dec-2022 11:03:17 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
05-Dec-2022 11:03:17 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
05-Dec-2022 11:03:18 Removing unused images if any
05-Dec-2022 11:03:18 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication-mysql ...
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ...
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication-mysql ... done
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... already exists
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... pulling fs layer
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... pulling fs layer
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... pulling fs layer
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... pulling fs layer
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... waiting
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... downloading (99.6%)
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... verifying checksum
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... download complete
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... downloading (0.5%)
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... downloading (0.7%)
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... downloading (16.7%)
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... downloading (1.1%)
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... downloading (21.4%)
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... verifying checksum
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... download complete
05-Dec-2022 11:03:19 Pulling openmrs-referenceapplication       ... downloading (34.7%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... downloading (42.0%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... downloading (54.8%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... downloading (65.4%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... downloading (72.5%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... downloading (92.9%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... download complete
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... downloading (92.1%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... extracting (0.7%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... verifying checksum
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... download complete
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... extracting (22.9%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... extracting (45.1%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... extracting (74.2%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... pull complete
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... pull complete
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... extracting (0.5%)
05-Dec-2022 11:03:20 Pulling openmrs-referenceapplication       ... extracting (18.3%)
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... extracting (37.6%)
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... extracting (57.4%)
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... extracting (77.2%)
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... extracting (94.4%)
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... pull complete
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... extracting (3.0%)
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... pull complete
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... digest: sha256:17e5880f7ae1e0bf14...
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
05-Dec-2022 11:03:21 Pulling openmrs-referenceapplication       ... done
05-Dec-2022 11:03:21 Recreating all images and volumes
05-Dec-2022 11:03:21 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
05-Dec-2022 11:03:21 Stopping qa-refapp_openmrs-referenceapplication_1       ...
05-Dec-2022 11:03:21 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
05-Dec-2022 11:03:22 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
05-Dec-2022 11:03:24 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
05-Dec-2022 11:03:24 Removing qa-refapp_openmrs-referenceapplication_1       ...
05-Dec-2022 11:03:24 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
05-Dec-2022 11:03:24 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
05-Dec-2022 11:03:24 Removing qa-refapp_openmrs-referenceapplication_1       ... done
05-Dec-2022 11:03:24 Removing network qa-refapp_default
05-Dec-2022 11:03:24 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
05-Dec-2022 11:03:25 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
05-Dec-2022 11:03:25 Creating network "qa-refapp_default" with the default driver
05-Dec-2022 11:03:25 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
05-Dec-2022 11:03:25 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
05-Dec-2022 11:03:25 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
05-Dec-2022 11:03:25 Creating qa-refapp_openmrs-referenceapplication_1       ...
05-Dec-2022 11:03:26 Creating qa-refapp_openmrs-referenceapplication_1       ... done
05-Dec-2022 11:03:26 Verifying if docker containers 2d073c7f1bc882bf918d79248761296e7485c1cc11b31f9604b4d7a1341d3490
05-Dec-2022 11:03:26 764061cd5621130b7ebc8c32cd023f27156d0df738ef1ec47e19e533a33066e0 are healthy
05-Dec-2022 11:03:26 Status found: "starting"
05-Dec-2022 11:03:26 Waiting 15s
05-Dec-2022 11:03:41 Verifying if docker containers 2d073c7f1bc882bf918d79248761296e7485c1cc11b31f9604b4d7a1341d3490
05-Dec-2022 11:03:41 764061cd5621130b7ebc8c32cd023f27156d0df738ef1ec47e19e533a33066e0 are healthy
05-Dec-2022 11:03:41 Status found: "starting"
05-Dec-2022 11:03:41 Waiting 15s
05-Dec-2022 11:03:56 Verifying if docker containers 2d073c7f1bc882bf918d79248761296e7485c1cc11b31f9604b4d7a1341d3490
05-Dec-2022 11:03:56 764061cd5621130b7ebc8c32cd023f27156d0df738ef1ec47e19e533a33066e0 are healthy
05-Dec-2022 11:03:56 Status found: "healthy"
05-Dec-2022 11:03:56 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
05-Dec-2022 11:03:56 Running post build plugin 'Docker Container Cleanup'
05-Dec-2022 11:03:56 Running post build plugin 'NCover Results Collector'
05-Dec-2022 11:03:56 Running post build plugin 'Build Results Label Collector'
05-Dec-2022 11:03:56 Running post build plugin 'Clover Results Collector'
05-Dec-2022 11:03:56 Running post build plugin 'npm Cache Cleanup'
05-Dec-2022 11:03:56 Running post build plugin 'Artifact Copier'
05-Dec-2022 11:03:56 Finalising the build...
05-Dec-2022 11:03:56 Stopping timer.
05-Dec-2022 11:03:56 Build REFAPP-OMODDISTRO-DTMTS-13271 completed.
05-Dec-2022 11:03:56 Running on server: post build plugin 'Build Hanging Detection Configuration'
05-Dec-2022 11:03:56 Running on server: post build plugin 'NCover Results Collector'
05-Dec-2022 11:03:56 Running on server: post build plugin 'Build Labeller'
05-Dec-2022 11:03:56 Running on server: post build plugin 'Clover Delta Calculator'
05-Dec-2022 11:03:56 Running on server: post build plugin 'Maven Dependencies Postprocessor'
05-Dec-2022 11:03:56 All post build plugins have finished
05-Dec-2022 11:03:56 Generating build results summary...
05-Dec-2022 11:03:56 Saving build results to disk...
05-Dec-2022 11:03:56 Store variable context...
05-Dec-2022 11:03:56 Finished building REFAPP-OMODDISTRO-DTMTS-13271.