Deploys Reference Application SNAPSHOT to maven

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

16-Jan-2023 03:13:29 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13395 (REFAPP-OMODDISTRO-DTMTS-13395) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
16-Jan-2023 03:13:29 Remote agent on host xiao.openmrs.org
16-Jan-2023 03:13:29 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
16-Jan-2023 03:13:29 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13395 (REFAPP-OMODDISTRO-DTMTS-13395)
16-Jan-2023 03:13:29 Running pre-build action: Build Log Labeller Pre Build Action
16-Jan-2023 03:13:29 Running pre-build action: VCS Version Collector
16-Jan-2023 03:13:29 Running pre-build action: Run Predator
16-Jan-2023 03:13:29 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
16-Jan-2023 03:13:29 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
16-Jan-2023 03:13:29 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
16-Jan-2023 03:13:30 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
16-Jan-2023 03:13:30 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1996 java        1476 bamboo-age 2962Mb  353Mb 00:01:48 /usr/lib/jvm/java-8-ope
16-Jan-2023 03:13:30 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:00:22 /home/bamboo-agent/bamb
16-Jan-2023 03:13:30 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   12Mb 00:00:02 /sbin/init             
16-Jan-2023 03:13:30 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
16-Jan-2023 03:13:30 [PredatorPreBuildAction] Initial free space: 3.21595 GB
16-Jan-2023 03:13:30 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
16-Jan-2023 03:13:32 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
16-Jan-2023 03:13:32 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
16-Jan-2023 03:13:32 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
16-Jan-2023 03:13:32 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
16-Jan-2023 03:13:32 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
16-Jan-2023 03:13:32 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
16-Jan-2023 03:13:32 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
16-Jan-2023 03:13:32 [PredatorPreBuildAction] Final free space: 3.2475967 GB
16-Jan-2023 03:13:32 [PredatorPreBuildAction] Done
16-Jan-2023 03:13:32
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
16-Jan-2023 03:13:32
Substituting password variable: ${bamboo.dockerhub.password}
16-Jan-2023 03:13:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:bb3723624574f04cbf2e741ad909dc7cc247ed14afcd692ab775ef0593d07373
16-Jan-2023 03:13:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:bb3723624574f04cbf2e741ad909dc7cc247ed14afcd692ab775ef0593d07373
16-Jan-2023 03:13:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
16-Jan-2023 03:13:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
16-Jan-2023 03:13:32 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
16-Jan-2023 03:13:32
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13395 (REFAPP-OMODDISTRO-DTMTS-13395)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13395-ScriptBuildTask-8316899734399226463.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
16-Jan-2023 03:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
16-Jan-2023 03:13:33 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
16-Jan-2023 03:13:33 Configure a credential helper to remove this warning. See
16-Jan-2023 03:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
16-Jan-2023 03:13:33
16-Jan-2023 03:13:33 Login Succeeded
16-Jan-2023 03:13:33 + docker pull openmrs/openmrs-reference-application@sha256:bb3723624574f04cbf2e741ad909dc7cc247ed14afcd692ab775ef0593d07373
16-Jan-2023 03:13:33 docker.io/openmrs/openmrs-reference-application@sha256:bb3723624574f04cbf2e741ad909dc7cc247ed14afcd692ab775ef0593d07373: Pulling from openmrs/openmrs-reference-application
16-Jan-2023 03:13:33 Digest: sha256:bb3723624574f04cbf2e741ad909dc7cc247ed14afcd692ab775ef0593d07373
16-Jan-2023 03:13:33 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:bb3723624574f04cbf2e741ad909dc7cc247ed14afcd692ab775ef0593d07373
16-Jan-2023 03:13:33 docker.io/openmrs/openmrs-reference-application@sha256:bb3723624574f04cbf2e741ad909dc7cc247ed14afcd692ab775ef0593d07373
16-Jan-2023 03:13:33 + docker tag openmrs/openmrs-reference-application@sha256:bb3723624574f04cbf2e741ad909dc7cc247ed14afcd692ab775ef0593d07373 openmrs/openmrs-reference-application:qa
16-Jan-2023 03:13:33 + docker push openmrs/openmrs-reference-application:qa
16-Jan-2023 03:13:33 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
16-Jan-2023 03:13:33 7fed50b83fb2: Preparing
16-Jan-2023 03:13:33 65e06d72916f: Preparing
16-Jan-2023 03:13:33 961bce5a0c79: Preparing
16-Jan-2023 03:13:33 0b7ffe2090db: Preparing
16-Jan-2023 03:13:33 e61322449ad0: Preparing
16-Jan-2023 03:13:33 6fdd21bc4a9b: Preparing
16-Jan-2023 03:13:33 5f70bf18a086: Preparing
16-Jan-2023 03:13:33 b7243530d918: Preparing
16-Jan-2023 03:13:33 23323df4fbd9: Preparing
16-Jan-2023 03:13:33 725ecc0c9d62: Preparing
16-Jan-2023 03:13:33 6c1f45cb6682: Preparing
16-Jan-2023 03:13:33 b8aa9430b356: Preparing
16-Jan-2023 03:13:33 b46e16032f56: Preparing
16-Jan-2023 03:13:33 91ac82815b04: Preparing
16-Jan-2023 03:13:33 24fcda5a8b17: Preparing
16-Jan-2023 03:13:33 a4a7e924299e: Preparing
16-Jan-2023 03:13:33 059c2d42be74: Preparing
16-Jan-2023 03:13:33 3f800aca2a44: Preparing
16-Jan-2023 03:13:33 725ecc0c9d62: Waiting
16-Jan-2023 03:13:33 6c1f45cb6682: Waiting
16-Jan-2023 03:13:33 b8aa9430b356: Waiting
16-Jan-2023 03:13:33 b46e16032f56: Waiting
16-Jan-2023 03:13:33 91ac82815b04: Waiting
16-Jan-2023 03:13:33 24fcda5a8b17: Waiting
16-Jan-2023 03:13:33 a4a7e924299e: Waiting
16-Jan-2023 03:13:33 059c2d42be74: Waiting
16-Jan-2023 03:13:33 6fdd21bc4a9b: Waiting
16-Jan-2023 03:13:33 3f800aca2a44: Waiting
16-Jan-2023 03:13:33 5f70bf18a086: Waiting
16-Jan-2023 03:13:33 b7243530d918: Waiting
16-Jan-2023 03:13:33 23323df4fbd9: Waiting
16-Jan-2023 03:13:33 e61322449ad0: Layer already exists
16-Jan-2023 03:13:33 0b7ffe2090db: Layer already exists
16-Jan-2023 03:13:33 961bce5a0c79: Layer already exists
16-Jan-2023 03:13:33 65e06d72916f: Layer already exists
16-Jan-2023 03:13:33 7fed50b83fb2: Layer already exists
16-Jan-2023 03:13:33 6fdd21bc4a9b: Layer already exists
16-Jan-2023 03:13:33 5f70bf18a086: Layer already exists
16-Jan-2023 03:13:33 725ecc0c9d62: Layer already exists
16-Jan-2023 03:13:33 23323df4fbd9: Layer already exists
16-Jan-2023 03:13:33 b7243530d918: Layer already exists
16-Jan-2023 03:13:33 6c1f45cb6682: Layer already exists
16-Jan-2023 03:13:33 b8aa9430b356: Layer already exists
16-Jan-2023 03:13:33 91ac82815b04: Layer already exists
16-Jan-2023 03:13:33 b46e16032f56: Layer already exists
16-Jan-2023 03:13:33 24fcda5a8b17: Layer already exists
16-Jan-2023 03:13:34 a4a7e924299e: Layer already exists
16-Jan-2023 03:13:34 059c2d42be74: Layer already exists
16-Jan-2023 03:13:34 3f800aca2a44: Layer already exists
16-Jan-2023 03:13:34 qa: digest: sha256:046327f98195f8bab2de8647a9883ce1323f86c736056cae5eda75364c256398 size: 4088
16-Jan-2023 03:13:34 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
16-Jan-2023 03:13:34 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
16-Jan-2023 03:13:35 Removing unused images if any
16-Jan-2023 03:13:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Jan-2023 03:13:35 Pulling openmrs-referenceapplication-mysql ...
16-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ...
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication-mysql ... done
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... waiting
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (0.5%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... download complete
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (0.7%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (17.2%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (22.8%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (1.1%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (100.0%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... verifying checksum
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... download complete
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (33.4%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (44.9%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (49.5%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (66.5%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (66.7%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (89.3%)
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... verifying checksum
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... download complete
16-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... downloading (83.8%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (0.7%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (96.5%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... verifying checksum
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... download complete
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (27.8%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (57.6%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (84.0%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... pull complete
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... pull complete
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (0.5%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (18.2%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (35.0%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (52.7%)
16-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... extracting (69.4%)
16-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (86.1%)
16-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... pull complete
16-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (3.0%)
16-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... pull complete
16-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... digest: sha256:046327f98195f8bab2...
16-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
16-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... done
16-Jan-2023 03:13:38 Recreating all images and volumes
16-Jan-2023 03:13:38 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Jan-2023 03:13:38 Stopping qa-refapp_openmrs-referenceapplication_1       ...
16-Jan-2023 03:13:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Jan-2023 03:13:39 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
16-Jan-2023 03:13:40 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Jan-2023 03:13:40 Removing qa-refapp_openmrs-referenceapplication_1       ...
16-Jan-2023 03:13:40 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Jan-2023 03:13:40 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Jan-2023 03:13:41 Removing qa-refapp_openmrs-referenceapplication_1       ... done
16-Jan-2023 03:13:41 Removing network qa-refapp_default
16-Jan-2023 03:13:41 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
16-Jan-2023 03:13:41 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Jan-2023 03:13:41 Creating network "qa-refapp_default" with the default driver
16-Jan-2023 03:13:41 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
16-Jan-2023 03:13:41 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Jan-2023 03:13:42 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Jan-2023 03:13:42 Creating qa-refapp_openmrs-referenceapplication_1       ...
16-Jan-2023 03:13:42 Creating qa-refapp_openmrs-referenceapplication_1       ... done
16-Jan-2023 03:13:43 Verifying if docker containers c6a87745c138b37e72dc0370b8eed242bc86c137928e392164627fb0f0fabf6a
16-Jan-2023 03:13:43 7a85d2e1260b3ab27182f124ad534ec95769e9182269bf2127477236b54c768e are healthy
16-Jan-2023 03:13:43 Status found: "starting"
16-Jan-2023 03:13:43 Waiting 15s
16-Jan-2023 03:13:58 Verifying if docker containers c6a87745c138b37e72dc0370b8eed242bc86c137928e392164627fb0f0fabf6a
16-Jan-2023 03:13:58 7a85d2e1260b3ab27182f124ad534ec95769e9182269bf2127477236b54c768e are healthy
16-Jan-2023 03:13:58 Status found: "starting"
16-Jan-2023 03:13:58 Waiting 15s
16-Jan-2023 03:14:13 Verifying if docker containers c6a87745c138b37e72dc0370b8eed242bc86c137928e392164627fb0f0fabf6a
16-Jan-2023 03:14:13 7a85d2e1260b3ab27182f124ad534ec95769e9182269bf2127477236b54c768e are healthy
16-Jan-2023 03:14:13 Status found: "healthy"
16-Jan-2023 03:14:13 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
16-Jan-2023 03:14:13 Running post build plugin 'Docker Container Cleanup'
16-Jan-2023 03:14:13 Running post build plugin 'NCover Results Collector'
16-Jan-2023 03:14:13 Running post build plugin 'Build Results Label Collector'
16-Jan-2023 03:14:13 Running post build plugin 'Clover Results Collector'
16-Jan-2023 03:14:13 Running post build plugin 'npm Cache Cleanup'
16-Jan-2023 03:14:13 Running post build plugin 'Artifact Copier'
16-Jan-2023 03:14:13 Finalising the build...
16-Jan-2023 03:14:13 Stopping timer.
16-Jan-2023 03:14:13 Build REFAPP-OMODDISTRO-DTMTS-13395 completed.
16-Jan-2023 03:14:13 Running on server: post build plugin 'Build Hanging Detection Configuration'
16-Jan-2023 03:14:13 Running on server: post build plugin 'NCover Results Collector'
16-Jan-2023 03:14:13 Running on server: post build plugin 'Build Labeller'
16-Jan-2023 03:14:13 Running on server: post build plugin 'Clover Delta Calculator'
16-Jan-2023 03:14:13 Running on server: post build plugin 'Maven Dependencies Postprocessor'
16-Jan-2023 03:14:13 All post build plugins have finished
16-Jan-2023 03:14:13 Generating build results summary...
16-Jan-2023 03:14:13 Saving build results to disk...
16-Jan-2023 03:14:13 Store variable context...
16-Jan-2023 03:14:13 Finished building REFAPP-OMODDISTRO-DTMTS-13395.