Deploys Reference Application SNAPSHOT to maven

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

14-Jan-2023 03:14:33 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13390 (REFAPP-OMODDISTRO-DTMTS-13390) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
14-Jan-2023 03:14:33 Remote agent on host xiao.openmrs.org
14-Jan-2023 03:14:33 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Jan-2023 03:14:33 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13390 (REFAPP-OMODDISTRO-DTMTS-13390)
14-Jan-2023 03:14:33 Running pre-build action: Build Log Labeller Pre Build Action
14-Jan-2023 03:14:33 Running pre-build action: VCS Version Collector
14-Jan-2023 03:14:33 Running pre-build action: Run Predator
14-Jan-2023 03:14:33 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
14-Jan-2023 03:14:33 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
14-Jan-2023 03:14:33 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
14-Jan-2023 03:14:33 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
14-Jan-2023 03:14:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 62078 java        1474 bamboo-age 2977Mb  582Mb 00:11:13 /usr/lib/jvm/java-8-ope
14-Jan-2023 03:14:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1474 wrapper        1 bamboo-age   16Mb    3Mb 00:18:20 /home/bamboo-agent/bamb
14-Jan-2023 03:14:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:13:34 /sbin/init             
14-Jan-2023 03:14:33 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
14-Jan-2023 03:14:33 [PredatorPreBuildAction] Initial free space: 3.095749 GB
14-Jan-2023 03:14:33 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
14-Jan-2023 03:14:36 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
14-Jan-2023 03:14:36 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
14-Jan-2023 03:14:36 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
14-Jan-2023 03:14:36 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
14-Jan-2023 03:14:36 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
14-Jan-2023 03:14:36 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
14-Jan-2023 03:14:36 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
14-Jan-2023 03:14:36 [PredatorPreBuildAction] Final free space: 3.1273994 GB
14-Jan-2023 03:14:36 [PredatorPreBuildAction] Done
14-Jan-2023 03:14:36
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
14-Jan-2023 03:14:36
Substituting password variable: ${bamboo.dockerhub.password}
14-Jan-2023 03:14:36
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:a2b45012ba58334768fb7923ce013bf50cb35aabacb388663b5e467af6d84ad7
14-Jan-2023 03:14:36
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:a2b45012ba58334768fb7923ce013bf50cb35aabacb388663b5e467af6d84ad7
14-Jan-2023 03:14:36
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Jan-2023 03:14:36
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Jan-2023 03:14:36 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
14-Jan-2023 03:14:36
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13390 (REFAPP-OMODDISTRO-DTMTS-13390)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13390-ScriptBuildTask-4826272994053831056.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Jan-2023 03:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
14-Jan-2023 03:14:37 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
14-Jan-2023 03:14:37 Configure a credential helper to remove this warning. See
14-Jan-2023 03:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
14-Jan-2023 03:14:37
14-Jan-2023 03:14:37 Login Succeeded
14-Jan-2023 03:14:37 + docker pull openmrs/openmrs-reference-application@sha256:a2b45012ba58334768fb7923ce013bf50cb35aabacb388663b5e467af6d84ad7
14-Jan-2023 03:14:37 docker.io/openmrs/openmrs-reference-application@sha256:a2b45012ba58334768fb7923ce013bf50cb35aabacb388663b5e467af6d84ad7: Pulling from openmrs/openmrs-reference-application
14-Jan-2023 03:14:37 Digest: sha256:a2b45012ba58334768fb7923ce013bf50cb35aabacb388663b5e467af6d84ad7
14-Jan-2023 03:14:37 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:a2b45012ba58334768fb7923ce013bf50cb35aabacb388663b5e467af6d84ad7
14-Jan-2023 03:14:37 docker.io/openmrs/openmrs-reference-application@sha256:a2b45012ba58334768fb7923ce013bf50cb35aabacb388663b5e467af6d84ad7
14-Jan-2023 03:14:37 + docker tag openmrs/openmrs-reference-application@sha256:a2b45012ba58334768fb7923ce013bf50cb35aabacb388663b5e467af6d84ad7 openmrs/openmrs-reference-application:qa
14-Jan-2023 03:14:37 + docker push openmrs/openmrs-reference-application:qa
14-Jan-2023 03:14:37 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
14-Jan-2023 03:14:37 54ec9aef71fc: Preparing
14-Jan-2023 03:14:37 ad2c12ede9d4: Preparing
14-Jan-2023 03:14:37 3d18306d1c47: Preparing
14-Jan-2023 03:14:37 4f8beefb83ee: Preparing
14-Jan-2023 03:14:37 72d9ec969e5b: Preparing
14-Jan-2023 03:14:37 6fdd21bc4a9b: Preparing
14-Jan-2023 03:14:37 5f70bf18a086: Preparing
14-Jan-2023 03:14:37 b7243530d918: Preparing
14-Jan-2023 03:14:37 23323df4fbd9: Preparing
14-Jan-2023 03:14:37 725ecc0c9d62: Preparing
14-Jan-2023 03:14:37 6c1f45cb6682: Preparing
14-Jan-2023 03:14:37 b8aa9430b356: Preparing
14-Jan-2023 03:14:37 b46e16032f56: Preparing
14-Jan-2023 03:14:37 91ac82815b04: Preparing
14-Jan-2023 03:14:37 24fcda5a8b17: Preparing
14-Jan-2023 03:14:37 a4a7e924299e: Preparing
14-Jan-2023 03:14:37 059c2d42be74: Preparing
14-Jan-2023 03:14:37 3f800aca2a44: Preparing
14-Jan-2023 03:14:37 5f70bf18a086: Waiting
14-Jan-2023 03:14:37 b7243530d918: Waiting
14-Jan-2023 03:14:37 23323df4fbd9: Waiting
14-Jan-2023 03:14:37 725ecc0c9d62: Waiting
14-Jan-2023 03:14:37 6c1f45cb6682: Waiting
14-Jan-2023 03:14:37 b8aa9430b356: Waiting
14-Jan-2023 03:14:37 b46e16032f56: Waiting
14-Jan-2023 03:14:37 91ac82815b04: Waiting
14-Jan-2023 03:14:37 24fcda5a8b17: Waiting
14-Jan-2023 03:14:37 a4a7e924299e: Waiting
14-Jan-2023 03:14:37 059c2d42be74: Waiting
14-Jan-2023 03:14:37 3f800aca2a44: Waiting
14-Jan-2023 03:14:37 72d9ec969e5b: Layer already exists
14-Jan-2023 03:14:37 54ec9aef71fc: Layer already exists
14-Jan-2023 03:14:37 4f8beefb83ee: Layer already exists
14-Jan-2023 03:14:37 ad2c12ede9d4: Layer already exists
14-Jan-2023 03:14:37 3d18306d1c47: Layer already exists
14-Jan-2023 03:14:37 6fdd21bc4a9b: Layer already exists
14-Jan-2023 03:14:37 5f70bf18a086: Layer already exists
14-Jan-2023 03:14:37 b7243530d918: Layer already exists
14-Jan-2023 03:14:37 725ecc0c9d62: Layer already exists
14-Jan-2023 03:14:37 23323df4fbd9: Layer already exists
14-Jan-2023 03:14:37 6c1f45cb6682: Layer already exists
14-Jan-2023 03:14:37 b8aa9430b356: Layer already exists
14-Jan-2023 03:14:37 b46e16032f56: Layer already exists
14-Jan-2023 03:14:37 91ac82815b04: Layer already exists
14-Jan-2023 03:14:37 24fcda5a8b17: Layer already exists
14-Jan-2023 03:14:38 059c2d42be74: Layer already exists
14-Jan-2023 03:14:38 a4a7e924299e: Layer already exists
14-Jan-2023 03:14:38 3f800aca2a44: Layer already exists
14-Jan-2023 03:14:38 qa: digest: sha256:44deb2c465308ef26540d7aa7cd1b15f8412e0d9612159f8d6dd131e4fc84fc6 size: 4088
14-Jan-2023 03:14:38 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
14-Jan-2023 03:14:38 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
14-Jan-2023 03:14:39 Removing unused images if any
14-Jan-2023 03:14:39 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Jan-2023 03:14:39 Pulling openmrs-referenceapplication-mysql ...
14-Jan-2023 03:14:39 Pulling openmrs-referenceapplication       ...
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication-mysql ... done
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... waiting
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... download complete
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (0.7%)
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (0.5%)
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (16.8%)
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (1.1%)
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (12.7%)
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (100.0%)
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... verifying checksum
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... download complete
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (33.6%)
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (25.0%)
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (51.7%)
14-Jan-2023 03:14:40 Pulling openmrs-referenceapplication       ... downloading (38.2%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... downloading (69.9%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... downloading (49.4%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... downloading (87.3%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... downloading (62.2%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... verifying checksum
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... download complete
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... downloading (74.9%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... downloading (87.7%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... extracting (0.7%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... downloading (98.0%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... extracting (17.3%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... verifying checksum
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... download complete
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... extracting (37.5%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... extracting (49.3%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... extracting (69.4%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... extracting (92.3%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... pull complete
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 03:14:41 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... pull complete
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (0.5%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (13.7%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (28.9%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (46.6%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (65.3%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (82.6%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (93.7%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... pull complete
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (3.0%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... pull complete
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... digest: sha256:44deb2c465308ef265...
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
14-Jan-2023 03:14:42 Pulling openmrs-referenceapplication       ... done
14-Jan-2023 03:14:43 Recreating all images and volumes
14-Jan-2023 03:14:43 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Jan-2023 03:14:43 Stopping qa-refapp_openmrs-referenceapplication_1       ...
14-Jan-2023 03:14:43 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Jan-2023 03:14:43 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
14-Jan-2023 03:14:46 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Jan-2023 03:14:46 Removing qa-refapp_openmrs-referenceapplication_1       ...
14-Jan-2023 03:14:46 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Jan-2023 03:14:46 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Jan-2023 03:14:46 Removing qa-refapp_openmrs-referenceapplication_1       ... done
14-Jan-2023 03:14:46 Removing network qa-refapp_default
14-Jan-2023 03:14:46 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
14-Jan-2023 03:14:46 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Jan-2023 03:14:46 Creating network "qa-refapp_default" with the default driver
14-Jan-2023 03:14:46 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
14-Jan-2023 03:14:47 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Jan-2023 03:14:47 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Jan-2023 03:14:47 Creating qa-refapp_openmrs-referenceapplication_1       ...
14-Jan-2023 03:14:48 Creating qa-refapp_openmrs-referenceapplication_1       ... done
14-Jan-2023 03:14:48 Verifying if docker containers dac1c0fc6b14f5ee9e0b28b99c5480cb79dbd0ab6d9b55846f0e7c6a35ceb777
14-Jan-2023 03:14:48 4bf94e96079da1cdfddff8ac5789d6ee49d8f3edf67e7e8c209d39a2a5aba3db are healthy
14-Jan-2023 03:14:48 Status found: "starting"
14-Jan-2023 03:14:48 Waiting 15s
14-Jan-2023 03:15:03 Verifying if docker containers dac1c0fc6b14f5ee9e0b28b99c5480cb79dbd0ab6d9b55846f0e7c6a35ceb777
14-Jan-2023 03:15:03 4bf94e96079da1cdfddff8ac5789d6ee49d8f3edf67e7e8c209d39a2a5aba3db are healthy
14-Jan-2023 03:15:03 Status found: "starting"
14-Jan-2023 03:15:03 Waiting 15s
14-Jan-2023 03:15:18 Verifying if docker containers dac1c0fc6b14f5ee9e0b28b99c5480cb79dbd0ab6d9b55846f0e7c6a35ceb777
14-Jan-2023 03:15:18 4bf94e96079da1cdfddff8ac5789d6ee49d8f3edf67e7e8c209d39a2a5aba3db are healthy
14-Jan-2023 03:15:18 Status found: "healthy"
14-Jan-2023 03:15:18 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
14-Jan-2023 03:15:18 Running post build plugin 'Docker Container Cleanup'
14-Jan-2023 03:15:18 Running post build plugin 'NCover Results Collector'
14-Jan-2023 03:15:18 Running post build plugin 'Build Results Label Collector'
14-Jan-2023 03:15:18 Running post build plugin 'Clover Results Collector'
14-Jan-2023 03:15:18 Running post build plugin 'npm Cache Cleanup'
14-Jan-2023 03:15:18 Running post build plugin 'Artifact Copier'
14-Jan-2023 03:15:18 Finalising the build...
14-Jan-2023 03:15:18 Stopping timer.
14-Jan-2023 03:15:18 Build REFAPP-OMODDISTRO-DTMTS-13390 completed.
14-Jan-2023 03:15:18 Running on server: post build plugin 'Build Hanging Detection Configuration'
14-Jan-2023 03:15:18 Running on server: post build plugin 'NCover Results Collector'
14-Jan-2023 03:15:18 Running on server: post build plugin 'Build Labeller'
14-Jan-2023 03:15:18 Running on server: post build plugin 'Clover Delta Calculator'
14-Jan-2023 03:15:18 Running on server: post build plugin 'Maven Dependencies Postprocessor'
14-Jan-2023 03:15:18 All post build plugins have finished
14-Jan-2023 03:15:18 Generating build results summary...
14-Jan-2023 03:15:18 Saving build results to disk...
14-Jan-2023 03:15:18 Store variable context...
14-Jan-2023 03:15:18 Finished building REFAPP-OMODDISTRO-DTMTS-13390.