Deploys Reference Application SNAPSHOT to maven

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

18-Jan-2023 03:13:22 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13399 (REFAPP-OMODDISTRO-DTMTS-13399) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
18-Jan-2023 03:13:22 Remote agent on host xiao.openmrs.org
18-Jan-2023 03:13:22 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
18-Jan-2023 03:13:22 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13399 (REFAPP-OMODDISTRO-DTMTS-13399)
18-Jan-2023 03:13:22 Running pre-build action: Build Log Labeller Pre Build Action
18-Jan-2023 03:13:22 Running pre-build action: VCS Version Collector
18-Jan-2023 03:13:22 Running pre-build action: Run Predator
18-Jan-2023 03:13:22 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
18-Jan-2023 03:13:22 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
18-Jan-2023 03:13:22 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
18-Jan-2023 03:13:22 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
18-Jan-2023 03:13:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1996 java        1476 bamboo-age 2967Mb  401Mb 00:05:09 /usr/lib/jvm/java-8-ope
18-Jan-2023 03:13:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:01:14 /home/bamboo-agent/bamb
18-Jan-2023 03:13:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:07 /sbin/init             
18-Jan-2023 03:13:22 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
18-Jan-2023 03:13:22 [PredatorPreBuildAction] Initial free space: 3.4952164 GB
18-Jan-2023 03:13:22 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
18-Jan-2023 03:13:24 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
18-Jan-2023 03:13:24 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
18-Jan-2023 03:13:25 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
18-Jan-2023 03:13:25 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
18-Jan-2023 03:13:25 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
18-Jan-2023 03:13:25 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
18-Jan-2023 03:13:25 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
18-Jan-2023 03:13:25 [PredatorPreBuildAction] Final free space: 3.5268517 GB
18-Jan-2023 03:13:25 [PredatorPreBuildAction] Done
18-Jan-2023 03:13:25
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
18-Jan-2023 03:13:25
Substituting password variable: ${bamboo.dockerhub.password}
18-Jan-2023 03:13:25
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7af10cf494abd67b4d3e63b59a35841e67f2e4617b140c1cebd9b6b6807db055
18-Jan-2023 03:13:25
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7af10cf494abd67b4d3e63b59a35841e67f2e4617b140c1cebd9b6b6807db055
18-Jan-2023 03:13:25
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
18-Jan-2023 03:13:25
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
18-Jan-2023 03:13:25 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
18-Jan-2023 03:13:25
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13399 (REFAPP-OMODDISTRO-DTMTS-13399)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13399-ScriptBuildTask-5642368689807050288.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
18-Jan-2023 03:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
18-Jan-2023 03:13:25 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
18-Jan-2023 03:13:25 Configure a credential helper to remove this warning. See
18-Jan-2023 03:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
18-Jan-2023 03:13:25
18-Jan-2023 03:13:25 Login Succeeded
18-Jan-2023 03:13:25 + docker pull openmrs/openmrs-reference-application@sha256:7af10cf494abd67b4d3e63b59a35841e67f2e4617b140c1cebd9b6b6807db055
18-Jan-2023 03:13:25 docker.io/openmrs/openmrs-reference-application@sha256:7af10cf494abd67b4d3e63b59a35841e67f2e4617b140c1cebd9b6b6807db055: Pulling from openmrs/openmrs-reference-application
18-Jan-2023 03:13:25 Digest: sha256:7af10cf494abd67b4d3e63b59a35841e67f2e4617b140c1cebd9b6b6807db055
18-Jan-2023 03:13:25 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:7af10cf494abd67b4d3e63b59a35841e67f2e4617b140c1cebd9b6b6807db055
18-Jan-2023 03:13:25 docker.io/openmrs/openmrs-reference-application@sha256:7af10cf494abd67b4d3e63b59a35841e67f2e4617b140c1cebd9b6b6807db055
18-Jan-2023 03:13:25 + docker tag openmrs/openmrs-reference-application@sha256:7af10cf494abd67b4d3e63b59a35841e67f2e4617b140c1cebd9b6b6807db055 openmrs/openmrs-reference-application:qa
18-Jan-2023 03:13:25 + docker push openmrs/openmrs-reference-application:qa
18-Jan-2023 03:13:25 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
18-Jan-2023 03:13:25 1f263aadffec: Preparing
18-Jan-2023 03:13:25 e3bd4f43796a: Preparing
18-Jan-2023 03:13:25 e91d868f4d57: Preparing
18-Jan-2023 03:13:25 89253b5895a9: Preparing
18-Jan-2023 03:13:25 e61322449ad0: Preparing
18-Jan-2023 03:13:25 6fdd21bc4a9b: Preparing
18-Jan-2023 03:13:25 5f70bf18a086: Preparing
18-Jan-2023 03:13:25 b7243530d918: Preparing
18-Jan-2023 03:13:25 23323df4fbd9: Preparing
18-Jan-2023 03:13:25 725ecc0c9d62: Preparing
18-Jan-2023 03:13:25 6c1f45cb6682: Preparing
18-Jan-2023 03:13:25 b8aa9430b356: Preparing
18-Jan-2023 03:13:25 b46e16032f56: Preparing
18-Jan-2023 03:13:25 91ac82815b04: Preparing
18-Jan-2023 03:13:25 24fcda5a8b17: Preparing
18-Jan-2023 03:13:25 a4a7e924299e: Preparing
18-Jan-2023 03:13:25 059c2d42be74: Preparing
18-Jan-2023 03:13:25 3f800aca2a44: Preparing
18-Jan-2023 03:13:25 6fdd21bc4a9b: Waiting
18-Jan-2023 03:13:25 5f70bf18a086: Waiting
18-Jan-2023 03:13:25 b7243530d918: Waiting
18-Jan-2023 03:13:25 23323df4fbd9: Waiting
18-Jan-2023 03:13:25 725ecc0c9d62: Waiting
18-Jan-2023 03:13:25 6c1f45cb6682: Waiting
18-Jan-2023 03:13:25 b8aa9430b356: Waiting
18-Jan-2023 03:13:25 b46e16032f56: Waiting
18-Jan-2023 03:13:25 91ac82815b04: Waiting
18-Jan-2023 03:13:25 24fcda5a8b17: Waiting
18-Jan-2023 03:13:25 a4a7e924299e: Waiting
18-Jan-2023 03:13:25 059c2d42be74: Waiting
18-Jan-2023 03:13:25 3f800aca2a44: Waiting
18-Jan-2023 03:13:26 e61322449ad0: Layer already exists
18-Jan-2023 03:13:26 1f263aadffec: Layer already exists
18-Jan-2023 03:13:26 e91d868f4d57: Layer already exists
18-Jan-2023 03:13:26 89253b5895a9: Layer already exists
18-Jan-2023 03:13:26 e3bd4f43796a: Layer already exists
18-Jan-2023 03:13:26 6fdd21bc4a9b: Layer already exists
18-Jan-2023 03:13:26 5f70bf18a086: Layer already exists
18-Jan-2023 03:13:26 b7243530d918: Layer already exists
18-Jan-2023 03:13:26 23323df4fbd9: Layer already exists
18-Jan-2023 03:13:26 725ecc0c9d62: Layer already exists
18-Jan-2023 03:13:26 6c1f45cb6682: Layer already exists
18-Jan-2023 03:13:26 b46e16032f56: Layer already exists
18-Jan-2023 03:13:26 b8aa9430b356: Layer already exists
18-Jan-2023 03:13:26 24fcda5a8b17: Layer already exists
18-Jan-2023 03:13:26 91ac82815b04: Layer already exists
18-Jan-2023 03:13:26 a4a7e924299e: Layer already exists
18-Jan-2023 03:13:26 059c2d42be74: Layer already exists
18-Jan-2023 03:13:26 3f800aca2a44: Layer already exists
18-Jan-2023 03:13:26 qa: digest: sha256:539a63791e634abf683c79975d904e61bdaf414c30e2e2dcab6692ccf153c091 size: 4088
18-Jan-2023 03:13:26 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
18-Jan-2023 03:13:26 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
18-Jan-2023 03:13:27 Removing unused images if any
18-Jan-2023 03:13:28 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication-mysql ...
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ...
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication-mysql ... done
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... already exists
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... waiting
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... downloading (100.0%)
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... download complete
18-Jan-2023 03:13:28 Pulling openmrs-referenceapplication       ... downloading (0.5%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (0.7%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (17.6%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (1.1%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (18.8%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... verifying checksum
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... download complete
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (33.7%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (42.3%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (48.9%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (65.2%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (64.1%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (87.3%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... download complete
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (79.3%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... downloading (93.5%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... verifying checksum
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... extracting (0.7%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... extracting (24.3%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... extracting (48.6%)
18-Jan-2023 03:13:29 Pulling openmrs-referenceapplication       ... extracting (73.6%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (97.8%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... pull complete
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... pull complete
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (0.5%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (16.7%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (37.0%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (56.7%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (76.0%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (92.7%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... pull complete
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (3.0%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... pull complete
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... digest: sha256:539a63791e634abf68...
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
18-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... done
18-Jan-2023 03:13:30 Recreating all images and volumes
18-Jan-2023 03:13:31 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Jan-2023 03:13:31 Stopping qa-refapp_openmrs-referenceapplication_1       ...
18-Jan-2023 03:13:31 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Jan-2023 03:13:31 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
18-Jan-2023 03:13:33 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Jan-2023 03:13:33 Removing qa-refapp_openmrs-referenceapplication_1       ...
18-Jan-2023 03:13:33 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Jan-2023 03:13:33 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Jan-2023 03:13:34 Removing qa-refapp_openmrs-referenceapplication_1       ... done
18-Jan-2023 03:13:34 Removing network qa-refapp_default
18-Jan-2023 03:13:34 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
18-Jan-2023 03:13:34 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Jan-2023 03:13:34 Creating network "qa-refapp_default" with the default driver
18-Jan-2023 03:13:34 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
18-Jan-2023 03:13:34 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Jan-2023 03:13:34 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Jan-2023 03:13:34 Creating qa-refapp_openmrs-referenceapplication_1       ...
18-Jan-2023 03:13:35 Creating qa-refapp_openmrs-referenceapplication_1       ... done
18-Jan-2023 03:13:35 Verifying if docker containers 507be3b6e66a28d702d82b7110dea2fc89735edb838e4702676cc87133357c92
18-Jan-2023 03:13:35 fb7ef40f15c652e1528525994360ce1bd2411263a3c6fc9237a5cfe79123db13 are healthy
18-Jan-2023 03:13:35 Status found: "starting"
18-Jan-2023 03:13:35 Waiting 15s
18-Jan-2023 03:13:50 Verifying if docker containers 507be3b6e66a28d702d82b7110dea2fc89735edb838e4702676cc87133357c92
18-Jan-2023 03:13:50 fb7ef40f15c652e1528525994360ce1bd2411263a3c6fc9237a5cfe79123db13 are healthy
18-Jan-2023 03:13:50 Status found: "starting"
18-Jan-2023 03:13:50 Waiting 15s
18-Jan-2023 03:14:05 Verifying if docker containers 507be3b6e66a28d702d82b7110dea2fc89735edb838e4702676cc87133357c92
18-Jan-2023 03:14:05 fb7ef40f15c652e1528525994360ce1bd2411263a3c6fc9237a5cfe79123db13 are healthy
18-Jan-2023 03:14:06 Status found: "healthy"
18-Jan-2023 03:14:06 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
18-Jan-2023 03:14:06 Running post build plugin 'Docker Container Cleanup'
18-Jan-2023 03:14:06 Running post build plugin 'NCover Results Collector'
18-Jan-2023 03:14:06 Running post build plugin 'Build Results Label Collector'
18-Jan-2023 03:14:06 Running post build plugin 'Clover Results Collector'
18-Jan-2023 03:14:06 Running post build plugin 'npm Cache Cleanup'
18-Jan-2023 03:14:06 Running post build plugin 'Artifact Copier'
18-Jan-2023 03:14:06 Finalising the build...
18-Jan-2023 03:14:06 Stopping timer.
18-Jan-2023 03:14:06 Build REFAPP-OMODDISTRO-DTMTS-13399 completed.
18-Jan-2023 03:14:06 Running on server: post build plugin 'Build Hanging Detection Configuration'
18-Jan-2023 03:14:06 Running on server: post build plugin 'NCover Results Collector'
18-Jan-2023 03:14:06 Running on server: post build plugin 'Build Labeller'
18-Jan-2023 03:14:06 Running on server: post build plugin 'Clover Delta Calculator'
18-Jan-2023 03:14:06 Running on server: post build plugin 'Maven Dependencies Postprocessor'
18-Jan-2023 03:14:06 All post build plugins have finished
18-Jan-2023 03:14:06 Generating build results summary...
18-Jan-2023 03:14:06 Saving build results to disk...
18-Jan-2023 03:14:06 Store variable context...
18-Jan-2023 03:14:06 Finished building REFAPP-OMODDISTRO-DTMTS-13399.