Deploys Reference Application SNAPSHOT to maven

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

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