Deploys Reference Application SNAPSHOT to maven

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

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