Deploys Reference Application SNAPSHOT to maven

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

04-Feb-2023 03:13:16 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13443 (REFAPP-OMODDISTRO-DTMTS-13443) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
04-Feb-2023 03:13:16 Remote agent on host xindi.openmrs.org
04-Feb-2023 03:13:16 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
04-Feb-2023 03:13:16 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13443 (REFAPP-OMODDISTRO-DTMTS-13443)
04-Feb-2023 03:13:16 Running pre-build action: Build Log Labeller Pre Build Action
04-Feb-2023 03:13:16 Running pre-build action: VCS Version Collector
04-Feb-2023 03:13:16 Running pre-build action: Run Predator
04-Feb-2023 03:13:16 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
04-Feb-2023 03:13:16 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
04-Feb-2023 03:13:16 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
04-Feb-2023 03:13:16 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
04-Feb-2023 03:13:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 11218 java        1484 bamboo-age 2976Mb  471Mb 00:08:09 /usr/lib/jvm/java-8-ope
04-Feb-2023 03:13:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    2Mb 00:09:13 /home/bamboo-agent/bamb
04-Feb-2023 03:13:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:04:24 /sbin/init             
04-Feb-2023 03:13:16 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
04-Feb-2023 03:13:16 [PredatorPreBuildAction] Initial free space: 3.2996025 GB
04-Feb-2023 03:13:16 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
04-Feb-2023 03:13:18 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
04-Feb-2023 03:13:18 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
04-Feb-2023 03:13:18 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
04-Feb-2023 03:13:18 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
04-Feb-2023 03:13:18 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
04-Feb-2023 03:13:18 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
04-Feb-2023 03:13:18 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
04-Feb-2023 03:13:18 [PredatorPreBuildAction] Final free space: 3.3312416 GB
04-Feb-2023 03:13:18 [PredatorPreBuildAction] Done
04-Feb-2023 03:13:18
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
04-Feb-2023 03:13:18
Substituting password variable: ${bamboo.dockerhub.password}
04-Feb-2023 03:13:18
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c8bf915387d3570469ab88fa00b71aafb5ee4b2813e93b506dfd1adc026ff593
04-Feb-2023 03:13:18
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c8bf915387d3570469ab88fa00b71aafb5ee4b2813e93b506dfd1adc026ff593
04-Feb-2023 03:13:18
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
04-Feb-2023 03:13:18
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
04-Feb-2023 03:13:18 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
04-Feb-2023 03:13:18
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13443 (REFAPP-OMODDISTRO-DTMTS-13443)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13443-ScriptBuildTask-6490216309553541791.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
04-Feb-2023 03:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
04-Feb-2023 03:13:19 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
04-Feb-2023 03:13:19 Configure a credential helper to remove this warning. See
04-Feb-2023 03:13:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
04-Feb-2023 03:13:19
04-Feb-2023 03:13:19 Login Succeeded
04-Feb-2023 03:13:19 + docker pull openmrs/openmrs-reference-application@sha256:c8bf915387d3570469ab88fa00b71aafb5ee4b2813e93b506dfd1adc026ff593
04-Feb-2023 03:13:19 docker.io/openmrs/openmrs-reference-application@sha256:c8bf915387d3570469ab88fa00b71aafb5ee4b2813e93b506dfd1adc026ff593: Pulling from openmrs/openmrs-reference-application
04-Feb-2023 03:13:19 Digest: sha256:c8bf915387d3570469ab88fa00b71aafb5ee4b2813e93b506dfd1adc026ff593
04-Feb-2023 03:13:19 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:c8bf915387d3570469ab88fa00b71aafb5ee4b2813e93b506dfd1adc026ff593
04-Feb-2023 03:13:19 docker.io/openmrs/openmrs-reference-application@sha256:c8bf915387d3570469ab88fa00b71aafb5ee4b2813e93b506dfd1adc026ff593
04-Feb-2023 03:13:19 + docker tag openmrs/openmrs-reference-application@sha256:c8bf915387d3570469ab88fa00b71aafb5ee4b2813e93b506dfd1adc026ff593 openmrs/openmrs-reference-application:qa
04-Feb-2023 03:13:19 + docker push openmrs/openmrs-reference-application:qa
04-Feb-2023 03:13:19 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
04-Feb-2023 03:13:19 e2cc246cb3c5: Preparing
04-Feb-2023 03:13:19 feaa4b18d284: Preparing
04-Feb-2023 03:13:19 73e4b3199f50: Preparing
04-Feb-2023 03:13:19 bf86462c79db: Preparing
04-Feb-2023 03:13:19 b781e920d918: Preparing
04-Feb-2023 03:13:19 60de0bbda0ed: Preparing
04-Feb-2023 03:13:19 5f70bf18a086: Preparing
04-Feb-2023 03:13:19 b34b6277c81b: Preparing
04-Feb-2023 03:13:19 d0a6a0df9123: Preparing
04-Feb-2023 03:13:19 63bbdb3574ed: Preparing
04-Feb-2023 03:13:19 118873527352: Preparing
04-Feb-2023 03:13:19 3353ee3d6876: Preparing
04-Feb-2023 03:13:19 ab5b3452b7ed: Preparing
04-Feb-2023 03:13:19 34f73756f7aa: Preparing
04-Feb-2023 03:13:19 93d6620f79bb: Preparing
04-Feb-2023 03:13:19 be417e78cadd: Preparing
04-Feb-2023 03:13:19 647dc4000019: Preparing
04-Feb-2023 03:13:19 8c5ff259ef50: Preparing
04-Feb-2023 03:13:19 63bbdb3574ed: Waiting
04-Feb-2023 03:13:19 118873527352: Waiting
04-Feb-2023 03:13:19 3353ee3d6876: Waiting
04-Feb-2023 03:13:19 ab5b3452b7ed: Waiting
04-Feb-2023 03:13:19 34f73756f7aa: Waiting
04-Feb-2023 03:13:19 93d6620f79bb: Waiting
04-Feb-2023 03:13:19 be417e78cadd: Waiting
04-Feb-2023 03:13:19 647dc4000019: Waiting
04-Feb-2023 03:13:19 8c5ff259ef50: Waiting
04-Feb-2023 03:13:19 5f70bf18a086: Waiting
04-Feb-2023 03:13:19 b34b6277c81b: Waiting
04-Feb-2023 03:13:19 d0a6a0df9123: Waiting
04-Feb-2023 03:13:19 60de0bbda0ed: Waiting
04-Feb-2023 03:13:19 73e4b3199f50: Layer already exists
04-Feb-2023 03:13:19 b781e920d918: Layer already exists
04-Feb-2023 03:13:19 bf86462c79db: Layer already exists
04-Feb-2023 03:13:19 e2cc246cb3c5: Layer already exists
04-Feb-2023 03:13:19 feaa4b18d284: Layer already exists
04-Feb-2023 03:13:19 60de0bbda0ed: Layer already exists
04-Feb-2023 03:13:19 5f70bf18a086: Layer already exists
04-Feb-2023 03:13:19 b34b6277c81b: Layer already exists
04-Feb-2023 03:13:19 d0a6a0df9123: Layer already exists
04-Feb-2023 03:13:19 63bbdb3574ed: Layer already exists
04-Feb-2023 03:13:19 118873527352: Layer already exists
04-Feb-2023 03:13:19 3353ee3d6876: Layer already exists
04-Feb-2023 03:13:19 ab5b3452b7ed: Layer already exists
04-Feb-2023 03:13:19 34f73756f7aa: Layer already exists
04-Feb-2023 03:13:19 93d6620f79bb: Layer already exists
04-Feb-2023 03:13:19 be417e78cadd: Layer already exists
04-Feb-2023 03:13:19 647dc4000019: Layer already exists
04-Feb-2023 03:13:19 8c5ff259ef50: Layer already exists
04-Feb-2023 03:13:20 qa: digest: sha256:0805bc131b24ec5a5fc8bda92ecf8521cdb25150ff7ebba484848c09b45db046 size: 4088
04-Feb-2023 03:13:20 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
04-Feb-2023 03:13:20 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
04-Feb-2023 03:13:21 Removing unused images if any
04-Feb-2023 03:13:21 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
04-Feb-2023 03:13:21 Pulling openmrs-referenceapplication-mysql ...
04-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ...
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication-mysql ... done
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... waiting
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (100.0%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... verifying checksum
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... download complete
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (0.5%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (0.7%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (17.7%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (1.1%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (14.8%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (100.0%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... verifying checksum
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... download complete
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (31.9%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (36.9%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (47.1%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (55.8%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (63.3%)
04-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... downloading (77.3%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... downloading (78.5%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... downloading (99.5%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... verifying checksum
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... download complete
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... downloading (94.7%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... verifying checksum
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... download complete
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (0.7%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (22.9%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (46.5%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (65.2%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (84.7%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (99.2%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... pull complete
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... pull complete
04-Feb-2023 03:13:23 Pulling openmrs-referenceapplication       ... extracting (0.5%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... extracting (16.2%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... extracting (36.0%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... extracting (56.2%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... extracting (72.9%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... extracting (87.6%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... pull complete
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... extracting (3.0%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... pull complete
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... digest: sha256:0805bc131b24ec5a5f...
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
04-Feb-2023 03:13:24 Pulling openmrs-referenceapplication       ... done
04-Feb-2023 03:13:24 Recreating all images and volumes
04-Feb-2023 03:13:24 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
04-Feb-2023 03:13:24 Stopping qa-refapp_openmrs-referenceapplication_1       ...
04-Feb-2023 03:13:24 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
04-Feb-2023 03:13:25 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
04-Feb-2023 03:13:27 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
04-Feb-2023 03:13:27 Removing qa-refapp_openmrs-referenceapplication_1       ...
04-Feb-2023 03:13:27 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
04-Feb-2023 03:13:27 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
04-Feb-2023 03:13:28 Removing qa-refapp_openmrs-referenceapplication_1       ... done
04-Feb-2023 03:13:28 Removing network qa-refapp_default
04-Feb-2023 03:13:28 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
04-Feb-2023 03:13:28 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
04-Feb-2023 03:13:28 Creating network "qa-refapp_default" with the default driver
04-Feb-2023 03:13:28 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
04-Feb-2023 03:13:28 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
04-Feb-2023 03:13:29 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
04-Feb-2023 03:13:29 Creating qa-refapp_openmrs-referenceapplication_1       ...
04-Feb-2023 03:13:29 Creating qa-refapp_openmrs-referenceapplication_1       ... done
04-Feb-2023 03:13:30 Verifying if docker containers be7e75050edc34bac1473c9ac1e01eaf388b75d2c260eaff54f04539c394d2ac
04-Feb-2023 03:13:30 5c15f33d867d61048ee32dd707932f7769b5a2422b270e0f3a85a6eecb86e93e are healthy
04-Feb-2023 03:13:30 Status found: "starting"
04-Feb-2023 03:13:30 Waiting 15s
04-Feb-2023 03:13:45 Verifying if docker containers be7e75050edc34bac1473c9ac1e01eaf388b75d2c260eaff54f04539c394d2ac
04-Feb-2023 03:13:45 5c15f33d867d61048ee32dd707932f7769b5a2422b270e0f3a85a6eecb86e93e are healthy
04-Feb-2023 03:13:45 Status found: "starting"
04-Feb-2023 03:13:45 Waiting 15s
04-Feb-2023 03:14:00 Verifying if docker containers be7e75050edc34bac1473c9ac1e01eaf388b75d2c260eaff54f04539c394d2ac
04-Feb-2023 03:14:00 5c15f33d867d61048ee32dd707932f7769b5a2422b270e0f3a85a6eecb86e93e are healthy
04-Feb-2023 03:14:00 Status found: "healthy"
04-Feb-2023 03:14:00 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
04-Feb-2023 03:14:00 Running post build plugin 'Docker Container Cleanup'
04-Feb-2023 03:14:00 Running post build plugin 'NCover Results Collector'
04-Feb-2023 03:14:00 Running post build plugin 'Build Results Label Collector'
04-Feb-2023 03:14:00 Running post build plugin 'Clover Results Collector'
04-Feb-2023 03:14:00 Running post build plugin 'npm Cache Cleanup'
04-Feb-2023 03:14:00 Running post build plugin 'Artifact Copier'
04-Feb-2023 03:14:00 Finalising the build...
04-Feb-2023 03:14:00 Stopping timer.
04-Feb-2023 03:14:00 Build REFAPP-OMODDISTRO-DTMTS-13443 completed.
04-Feb-2023 03:14:00 Running on server: post build plugin 'Build Hanging Detection Configuration'
04-Feb-2023 03:14:00 Running on server: post build plugin 'NCover Results Collector'
04-Feb-2023 03:14:00 Running on server: post build plugin 'Build Labeller'
04-Feb-2023 03:14:00 Running on server: post build plugin 'Clover Delta Calculator'
04-Feb-2023 03:14:00 Running on server: post build plugin 'Maven Dependencies Postprocessor'
04-Feb-2023 03:14:00 All post build plugins have finished
04-Feb-2023 03:14:00 Generating build results summary...
04-Feb-2023 03:14:00 Saving build results to disk...
04-Feb-2023 03:14:00 Store variable context...
04-Feb-2023 03:14:00 Finished building REFAPP-OMODDISTRO-DTMTS-13443.