Deploys Reference Application SNAPSHOT to maven

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

21-Jan-2023 03:13:58 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13405 (REFAPP-OMODDISTRO-DTMTS-13405) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
21-Jan-2023 03:13:58 Remote agent on host xiao.openmrs.org
21-Jan-2023 03:13:58 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Jan-2023 03:13:58 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13405 (REFAPP-OMODDISTRO-DTMTS-13405)
21-Jan-2023 03:13:58 Running pre-build action: Build Log Labeller Pre Build Action
21-Jan-2023 03:13:58 Running pre-build action: VCS Version Collector
21-Jan-2023 03:13:58 Running pre-build action: Run Predator
21-Jan-2023 03:13:58 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
21-Jan-2023 03:13:58 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
21-Jan-2023 03:13:58 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
21-Jan-2023 03:13:58 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
21-Jan-2023 03:13:58 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1996 java        1476 bamboo-age 2967Mb  458Mb 00:09:48 /usr/lib/jvm/java-8-ope
21-Jan-2023 03:13:58 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:02:32 /home/bamboo-agent/bamb
21-Jan-2023 03:13:58 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:19 /sbin/init             
21-Jan-2023 03:13:58 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
21-Jan-2023 03:13:58 [PredatorPreBuildAction] Initial free space: 3.3373451 GB
21-Jan-2023 03:13:58 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
21-Jan-2023 03:14:00 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
21-Jan-2023 03:14:00 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
21-Jan-2023 03:14:00 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
21-Jan-2023 03:14:00 [PredatorPreBuildAction] Maven stable disk freed: 0.0035671946 GB, deleted 156 files
21-Jan-2023 03:14:00 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
21-Jan-2023 03:14:00 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
21-Jan-2023 03:14:00 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
21-Jan-2023 03:14:00 [PredatorPreBuildAction] Final free space: 3.3689919 GB
21-Jan-2023 03:14:00 [PredatorPreBuildAction] Done
21-Jan-2023 03:14:00
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
21-Jan-2023 03:14:00
Substituting password variable: ${bamboo.dockerhub.password}
21-Jan-2023 03:14:00
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:277e385052ecdc8142a57e057d619c2a2e9b58ea22eae5dcb84f95c5e3ff0916
21-Jan-2023 03:14:00
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:277e385052ecdc8142a57e057d619c2a2e9b58ea22eae5dcb84f95c5e3ff0916
21-Jan-2023 03:14:00
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Jan-2023 03:14:00
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Jan-2023 03:14:00 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
21-Jan-2023 03:14:00
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13405 (REFAPP-OMODDISTRO-DTMTS-13405)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13405-ScriptBuildTask-5323022502673419046.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Jan-2023 03:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
21-Jan-2023 03:14:01 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
21-Jan-2023 03:14:01 Configure a credential helper to remove this warning. See
21-Jan-2023 03:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
21-Jan-2023 03:14:01
21-Jan-2023 03:14:01 Login Succeeded
21-Jan-2023 03:14:01 + docker pull openmrs/openmrs-reference-application@sha256:277e385052ecdc8142a57e057d619c2a2e9b58ea22eae5dcb84f95c5e3ff0916
21-Jan-2023 03:14:01 docker.io/openmrs/openmrs-reference-application@sha256:277e385052ecdc8142a57e057d619c2a2e9b58ea22eae5dcb84f95c5e3ff0916: Pulling from openmrs/openmrs-reference-application
21-Jan-2023 03:14:01 Digest: sha256:277e385052ecdc8142a57e057d619c2a2e9b58ea22eae5dcb84f95c5e3ff0916
21-Jan-2023 03:14:01 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:277e385052ecdc8142a57e057d619c2a2e9b58ea22eae5dcb84f95c5e3ff0916
21-Jan-2023 03:14:01 docker.io/openmrs/openmrs-reference-application@sha256:277e385052ecdc8142a57e057d619c2a2e9b58ea22eae5dcb84f95c5e3ff0916
21-Jan-2023 03:14:01 + docker tag openmrs/openmrs-reference-application@sha256:277e385052ecdc8142a57e057d619c2a2e9b58ea22eae5dcb84f95c5e3ff0916 openmrs/openmrs-reference-application:qa
21-Jan-2023 03:14:01 + docker push openmrs/openmrs-reference-application:qa
21-Jan-2023 03:14:01 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
21-Jan-2023 03:14:01 91601739552f: Preparing
21-Jan-2023 03:14:01 1b88ed9f4dc2: Preparing
21-Jan-2023 03:14:01 230b9c282938: Preparing
21-Jan-2023 03:14:01 9d1d4451c042: Preparing
21-Jan-2023 03:14:01 e61322449ad0: Preparing
21-Jan-2023 03:14:01 6fdd21bc4a9b: Preparing
21-Jan-2023 03:14:01 5f70bf18a086: Preparing
21-Jan-2023 03:14:01 b7243530d918: Preparing
21-Jan-2023 03:14:01 23323df4fbd9: Preparing
21-Jan-2023 03:14:01 725ecc0c9d62: Preparing
21-Jan-2023 03:14:01 6c1f45cb6682: Preparing
21-Jan-2023 03:14:01 b8aa9430b356: Preparing
21-Jan-2023 03:14:01 b46e16032f56: Preparing
21-Jan-2023 03:14:01 91ac82815b04: Preparing
21-Jan-2023 03:14:01 24fcda5a8b17: Preparing
21-Jan-2023 03:14:01 a4a7e924299e: Preparing
21-Jan-2023 03:14:01 059c2d42be74: Preparing
21-Jan-2023 03:14:01 3f800aca2a44: Preparing
21-Jan-2023 03:14:01 725ecc0c9d62: Waiting
21-Jan-2023 03:14:01 6c1f45cb6682: Waiting
21-Jan-2023 03:14:01 b8aa9430b356: Waiting
21-Jan-2023 03:14:01 b46e16032f56: Waiting
21-Jan-2023 03:14:01 91ac82815b04: Waiting
21-Jan-2023 03:14:01 24fcda5a8b17: Waiting
21-Jan-2023 03:14:01 a4a7e924299e: Waiting
21-Jan-2023 03:14:01 059c2d42be74: Waiting
21-Jan-2023 03:14:01 3f800aca2a44: Waiting
21-Jan-2023 03:14:01 5f70bf18a086: Waiting
21-Jan-2023 03:14:01 b7243530d918: Waiting
21-Jan-2023 03:14:01 23323df4fbd9: Waiting
21-Jan-2023 03:14:01 6fdd21bc4a9b: Waiting
21-Jan-2023 03:14:01 e61322449ad0: Layer already exists
21-Jan-2023 03:14:01 1b88ed9f4dc2: Layer already exists
21-Jan-2023 03:14:01 230b9c282938: Layer already exists
21-Jan-2023 03:14:01 91601739552f: Layer already exists
21-Jan-2023 03:14:01 9d1d4451c042: Layer already exists
21-Jan-2023 03:14:01 6fdd21bc4a9b: Layer already exists
21-Jan-2023 03:14:01 5f70bf18a086: Layer already exists
21-Jan-2023 03:14:01 b7243530d918: Layer already exists
21-Jan-2023 03:14:01 725ecc0c9d62: Layer already exists
21-Jan-2023 03:14:01 23323df4fbd9: Layer already exists
21-Jan-2023 03:14:01 6c1f45cb6682: Layer already exists
21-Jan-2023 03:14:01 b8aa9430b356: Layer already exists
21-Jan-2023 03:14:01 b46e16032f56: Layer already exists
21-Jan-2023 03:14:01 91ac82815b04: Layer already exists
21-Jan-2023 03:14:01 24fcda5a8b17: Layer already exists
21-Jan-2023 03:14:01 a4a7e924299e: Layer already exists
21-Jan-2023 03:14:01 059c2d42be74: Layer already exists
21-Jan-2023 03:14:01 3f800aca2a44: Layer already exists
21-Jan-2023 03:14:02 qa: digest: sha256:2a869ff00ef64437090214219ee44f5e68334f65141e3eec1c96ae5fa1d8ce01 size: 4088
21-Jan-2023 03:14:02 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
21-Jan-2023 03:14:02 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
21-Jan-2023 03:14:03 Removing unused images if any
21-Jan-2023 03:14:03 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Jan-2023 03:14:03 Pulling openmrs-referenceapplication-mysql ...
21-Jan-2023 03:14:03 Pulling openmrs-referenceapplication       ...
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... done
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... waiting
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (0.7%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (100.0%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... verifying checksum
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... download complete
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (0.5%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (20.2%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (1.1%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (14.2%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (100.0%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... verifying checksum
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... download complete
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (41.0%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (30.0%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (63.2%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (46.1%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (84.0%)
21-Jan-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (61.3%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... verifying checksum
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... download complete
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (78.4%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (93.1%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (0.7%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... verifying checksum
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... download complete
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (19.4%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (45.8%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (73.6%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (97.1%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... pull complete
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... pull complete
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (0.5%)
21-Jan-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (18.7%)
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (38.5%)
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (58.8%)
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (75.5%)
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (93.2%)
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... pull complete
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (3.0%)
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... pull complete
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... digest: sha256:2a869ff00ef6443709...
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
21-Jan-2023 03:14:06 Pulling openmrs-referenceapplication       ... done
21-Jan-2023 03:14:06 Recreating all images and volumes
21-Jan-2023 03:14:06 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Jan-2023 03:14:06 Stopping qa-refapp_openmrs-referenceapplication_1       ...
21-Jan-2023 03:14:06 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Jan-2023 03:14:07 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
21-Jan-2023 03:14:08 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Jan-2023 03:14:08 Removing qa-refapp_openmrs-referenceapplication_1       ...
21-Jan-2023 03:14:08 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Jan-2023 03:14:08 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Jan-2023 03:14:09 Removing qa-refapp_openmrs-referenceapplication_1       ... done
21-Jan-2023 03:14:09 Removing network qa-refapp_default
21-Jan-2023 03:14:09 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
21-Jan-2023 03:14:09 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Jan-2023 03:14:09 Creating network "qa-refapp_default" with the default driver
21-Jan-2023 03:14:09 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
21-Jan-2023 03:14:09 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Jan-2023 03:14:10 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Jan-2023 03:14:10 Creating qa-refapp_openmrs-referenceapplication_1       ...
21-Jan-2023 03:14:10 Creating qa-refapp_openmrs-referenceapplication_1       ... done
21-Jan-2023 03:14:11 Verifying if docker containers fb35b1d3ef5e0d6f773eb61242614aa69d4d577b9a71c91e6cce1f4af99f8d60
21-Jan-2023 03:14:11 54264e9f22694f06b59848e3e8bb30bcaa7e5b003faa8f822d9ec73b334ab1f0 are healthy
21-Jan-2023 03:14:11 Status found: "starting"
21-Jan-2023 03:14:11 Waiting 15s
21-Jan-2023 03:14:26 Verifying if docker containers fb35b1d3ef5e0d6f773eb61242614aa69d4d577b9a71c91e6cce1f4af99f8d60
21-Jan-2023 03:14:26 54264e9f22694f06b59848e3e8bb30bcaa7e5b003faa8f822d9ec73b334ab1f0 are healthy
21-Jan-2023 03:14:26 Status found: "starting"
21-Jan-2023 03:14:26 Waiting 15s
21-Jan-2023 03:14:41 Verifying if docker containers fb35b1d3ef5e0d6f773eb61242614aa69d4d577b9a71c91e6cce1f4af99f8d60
21-Jan-2023 03:14:41 54264e9f22694f06b59848e3e8bb30bcaa7e5b003faa8f822d9ec73b334ab1f0 are healthy
21-Jan-2023 03:14:41 Status found: "healthy"
21-Jan-2023 03:14:41 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
21-Jan-2023 03:14:41 Running post build plugin 'Docker Container Cleanup'
21-Jan-2023 03:14:41 Running post build plugin 'NCover Results Collector'
21-Jan-2023 03:14:41 Running post build plugin 'Build Results Label Collector'
21-Jan-2023 03:14:41 Running post build plugin 'Clover Results Collector'
21-Jan-2023 03:14:41 Running post build plugin 'npm Cache Cleanup'
21-Jan-2023 03:14:41 Running post build plugin 'Artifact Copier'
21-Jan-2023 03:14:41 Finalising the build...
21-Jan-2023 03:14:41 Stopping timer.
21-Jan-2023 03:14:41 Build REFAPP-OMODDISTRO-DTMTS-13405 completed.
21-Jan-2023 03:14:41 Running on server: post build plugin 'Build Hanging Detection Configuration'
21-Jan-2023 03:14:41 Running on server: post build plugin 'NCover Results Collector'
21-Jan-2023 03:14:41 Running on server: post build plugin 'Build Labeller'
21-Jan-2023 03:14:41 Running on server: post build plugin 'Clover Delta Calculator'
21-Jan-2023 03:14:41 Running on server: post build plugin 'Maven Dependencies Postprocessor'
21-Jan-2023 03:14:41 All post build plugins have finished
21-Jan-2023 03:14:41 Generating build results summary...
21-Jan-2023 03:14:41 Saving build results to disk...
21-Jan-2023 03:14:41 Store variable context...
21-Jan-2023 03:14:41 Finished building REFAPP-OMODDISTRO-DTMTS-13405.