Deploys Reference Application SNAPSHOT to maven

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

27-Feb-2023 03:20:20 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13518 (REFAPP-OMODDISTRO-DTMTS-13518) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
27-Feb-2023 03:20:20 Remote agent on host xindi.openmrs.org
27-Feb-2023 03:20:20 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Feb-2023 03:20:20 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13518 (REFAPP-OMODDISTRO-DTMTS-13518)
27-Feb-2023 03:20:20 Running pre-build action: Build Log Labeller Pre Build Action
27-Feb-2023 03:20:20 Running pre-build action: VCS Version Collector
27-Feb-2023 03:20:20 Running pre-build action: Run Predator
27-Feb-2023 03:20:20 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
27-Feb-2023 03:20:20 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
27-Feb-2023 03:20:20 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
27-Feb-2023 03:20:20 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
27-Feb-2023 03:20:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2978Mb  590Mb 00:25:39 /usr/lib/jvm/java-8-ope
27-Feb-2023 03:20:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    3Mb 00:07:03 /home/bamboo-agent/bamb
27-Feb-2023 03:20:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:37 /sbin/init             
27-Feb-2023 03:20:21 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
27-Feb-2023 03:20:21 [PredatorPreBuildAction] Initial free space: 1.7610397 GB
27-Feb-2023 03:20:21 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
27-Feb-2023 03:20:25 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
27-Feb-2023 03:20:25 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
27-Feb-2023 03:20:25 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
27-Feb-2023 03:20:26 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
27-Feb-2023 03:20:26 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
27-Feb-2023 03:20:26 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
27-Feb-2023 03:20:26 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
27-Feb-2023 03:20:26 [PredatorPreBuildAction] Final free space: 1.7927017 GB
27-Feb-2023 03:20:26 [PredatorPreBuildAction] Done
27-Feb-2023 03:20:26
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
27-Feb-2023 03:20:26
Substituting password variable: ${bamboo.dockerhub.password}
27-Feb-2023 03:20:26
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0757fd5c697e9bf3f28aabcbbb9b09f150cc81b293451401ced23ab10a406557
27-Feb-2023 03:20:26
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0757fd5c697e9bf3f28aabcbbb9b09f150cc81b293451401ced23ab10a406557
27-Feb-2023 03:20:26
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Feb-2023 03:20:26
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Feb-2023 03:20:26 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
27-Feb-2023 03:20:26
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13518 (REFAPP-OMODDISTRO-DTMTS-13518)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13518-ScriptBuildTask-6467132865038018626.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Feb-2023 03:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
27-Feb-2023 03:20:26 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
27-Feb-2023 03:20:26 Configure a credential helper to remove this warning. See
27-Feb-2023 03:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
27-Feb-2023 03:20:26
27-Feb-2023 03:20:26 Login Succeeded
27-Feb-2023 03:20:26 + docker pull openmrs/openmrs-reference-application@sha256:0757fd5c697e9bf3f28aabcbbb9b09f150cc81b293451401ced23ab10a406557
27-Feb-2023 03:20:26 docker.io/openmrs/openmrs-reference-application@sha256:0757fd5c697e9bf3f28aabcbbb9b09f150cc81b293451401ced23ab10a406557: Pulling from openmrs/openmrs-reference-application
27-Feb-2023 03:20:26 Digest: sha256:0757fd5c697e9bf3f28aabcbbb9b09f150cc81b293451401ced23ab10a406557
27-Feb-2023 03:20:26 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:0757fd5c697e9bf3f28aabcbbb9b09f150cc81b293451401ced23ab10a406557
27-Feb-2023 03:20:26 docker.io/openmrs/openmrs-reference-application@sha256:0757fd5c697e9bf3f28aabcbbb9b09f150cc81b293451401ced23ab10a406557
27-Feb-2023 03:20:26 + docker tag openmrs/openmrs-reference-application@sha256:0757fd5c697e9bf3f28aabcbbb9b09f150cc81b293451401ced23ab10a406557 openmrs/openmrs-reference-application:qa
27-Feb-2023 03:20:26 + docker push openmrs/openmrs-reference-application:qa
27-Feb-2023 03:20:26 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
27-Feb-2023 03:20:26 f62ad72b48b6: Preparing
27-Feb-2023 03:20:26 e4110f5c1f11: Preparing
27-Feb-2023 03:20:26 1949b60eb75a: Preparing
27-Feb-2023 03:20:26 4ad5aba0dcdb: Preparing
27-Feb-2023 03:20:26 94320e494a71: Preparing
27-Feb-2023 03:20:26 83487e6b4d35: Preparing
27-Feb-2023 03:20:26 5f70bf18a086: Preparing
27-Feb-2023 03:20:26 3a0a712f14cd: Preparing
27-Feb-2023 03:20:26 ec12c383224a: Preparing
27-Feb-2023 03:20:26 972fd81d4522: Preparing
27-Feb-2023 03:20:26 acdca9f9d8c6: Preparing
27-Feb-2023 03:20:26 e495071bc744: Preparing
27-Feb-2023 03:20:26 490c7563a936: Preparing
27-Feb-2023 03:20:26 a1398fefb962: Preparing
27-Feb-2023 03:20:26 cea396b9c0a2: Preparing
27-Feb-2023 03:20:26 1ea74e906b64: Preparing
27-Feb-2023 03:20:26 ef7c5fe2cbbc: Preparing
27-Feb-2023 03:20:26 c895c159af86: Preparing
27-Feb-2023 03:20:26 83487e6b4d35: Waiting
27-Feb-2023 03:20:26 5f70bf18a086: Waiting
27-Feb-2023 03:20:26 3a0a712f14cd: Waiting
27-Feb-2023 03:20:26 ec12c383224a: Waiting
27-Feb-2023 03:20:26 972fd81d4522: Waiting
27-Feb-2023 03:20:26 acdca9f9d8c6: Waiting
27-Feb-2023 03:20:26 e495071bc744: Waiting
27-Feb-2023 03:20:26 490c7563a936: Waiting
27-Feb-2023 03:20:26 a1398fefb962: Waiting
27-Feb-2023 03:20:26 cea396b9c0a2: Waiting
27-Feb-2023 03:20:26 1ea74e906b64: Waiting
27-Feb-2023 03:20:26 ef7c5fe2cbbc: Waiting
27-Feb-2023 03:20:26 c895c159af86: Waiting
27-Feb-2023 03:20:26 f62ad72b48b6: Layer already exists
27-Feb-2023 03:20:26 1949b60eb75a: Layer already exists
27-Feb-2023 03:20:26 e4110f5c1f11: Layer already exists
27-Feb-2023 03:20:26 4ad5aba0dcdb: Layer already exists
27-Feb-2023 03:20:26 94320e494a71: Layer already exists
27-Feb-2023 03:20:27 83487e6b4d35: Layer already exists
27-Feb-2023 03:20:27 3a0a712f14cd: Layer already exists
27-Feb-2023 03:20:27 5f70bf18a086: Layer already exists
27-Feb-2023 03:20:27 972fd81d4522: Layer already exists
27-Feb-2023 03:20:27 ec12c383224a: Layer already exists
27-Feb-2023 03:20:27 acdca9f9d8c6: Layer already exists
27-Feb-2023 03:20:27 e495071bc744: Layer already exists
27-Feb-2023 03:20:27 cea396b9c0a2: Layer already exists
27-Feb-2023 03:20:27 490c7563a936: Layer already exists
27-Feb-2023 03:20:27 a1398fefb962: Layer already exists
27-Feb-2023 03:20:27 1ea74e906b64: Layer already exists
27-Feb-2023 03:20:27 c895c159af86: Layer already exists
27-Feb-2023 03:20:27 ef7c5fe2cbbc: Layer already exists
27-Feb-2023 03:20:27 qa: digest: sha256:b413a98162e34acb6c3d167abbf8336236568d5a173ddbf6349d004761409703 size: 4088
27-Feb-2023 03:20:27 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
27-Feb-2023 03:20:27 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
27-Feb-2023 03:20:28 Removing unused images if any
27-Feb-2023 03:20:29 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication-mysql ...
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ...
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication-mysql ... done
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... waiting
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... downloading (95.3%)
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... downloading (100.0%)
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... download complete
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... downloading (0.7%)
27-Feb-2023 03:20:29 Pulling openmrs-referenceapplication       ... downloading (0.5%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (19.2%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (10.8%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (1.1%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... verifying checksum
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... download complete
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (38.2%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (24.9%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (57.3%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (38.6%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (77.1%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (52.3%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (96.9%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (65.1%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... verifying checksum
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... download complete
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (77.8%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... downloading (92.0%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... extracting (0.7%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... verifying checksum
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... download complete
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... extracting (23.3%)
27-Feb-2023 03:20:30 Pulling openmrs-referenceapplication       ... extracting (47.3%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (70.5%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (93.1%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... pull complete
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... pull complete
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (0.5%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (17.2%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (37.0%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (54.7%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (72.4%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (90.1%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... pull complete
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (3.0%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 03:20:31 Pulling openmrs-referenceapplication       ... pull complete
27-Feb-2023 03:20:32 Pulling openmrs-referenceapplication       ... digest: sha256:b413a98162e34acb6c...
27-Feb-2023 03:20:32 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
27-Feb-2023 03:20:32 Pulling openmrs-referenceapplication       ... done
27-Feb-2023 03:20:32 Recreating all images and volumes
27-Feb-2023 03:20:32 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Feb-2023 03:20:32 Stopping qa-refapp_openmrs-referenceapplication_1       ...
27-Feb-2023 03:20:32 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Feb-2023 03:20:33 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
27-Feb-2023 03:20:34 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Feb-2023 03:20:34 Removing qa-refapp_openmrs-referenceapplication_1       ...
27-Feb-2023 03:20:34 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Feb-2023 03:20:34 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Feb-2023 03:20:35 Removing qa-refapp_openmrs-referenceapplication_1       ... done
27-Feb-2023 03:20:35 Removing network qa-refapp_default
27-Feb-2023 03:20:35 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
27-Feb-2023 03:20:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Feb-2023 03:20:35 Creating network "qa-refapp_default" with the default driver
27-Feb-2023 03:20:35 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
27-Feb-2023 03:20:35 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Feb-2023 03:20:36 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Feb-2023 03:20:36 Creating qa-refapp_openmrs-referenceapplication_1       ...
27-Feb-2023 03:20:36 Creating qa-refapp_openmrs-referenceapplication_1       ... done
27-Feb-2023 03:20:37 Verifying if docker containers a74c04254abd2b62fb3a12826f471789066f0b2502aba6177a74125373fd63b0
27-Feb-2023 03:20:37 261172dedfb1bde7f8f441e27cbeb21fc698b417b6a0d546affa0b69aeaff73e are healthy
27-Feb-2023 03:20:37 Status found: "starting"
27-Feb-2023 03:20:37 Waiting 15s
27-Feb-2023 03:20:52 Verifying if docker containers a74c04254abd2b62fb3a12826f471789066f0b2502aba6177a74125373fd63b0
27-Feb-2023 03:20:52 261172dedfb1bde7f8f441e27cbeb21fc698b417b6a0d546affa0b69aeaff73e are healthy
27-Feb-2023 03:20:52 Status found: "starting"
27-Feb-2023 03:20:52 Waiting 15s
27-Feb-2023 03:21:07 Verifying if docker containers a74c04254abd2b62fb3a12826f471789066f0b2502aba6177a74125373fd63b0
27-Feb-2023 03:21:07 261172dedfb1bde7f8f441e27cbeb21fc698b417b6a0d546affa0b69aeaff73e are healthy
27-Feb-2023 03:21:07 Status found: "healthy"
27-Feb-2023 03:21:07 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
27-Feb-2023 03:21:07 Running post build plugin 'Docker Container Cleanup'
27-Feb-2023 03:21:07 Running post build plugin 'NCover Results Collector'
27-Feb-2023 03:21:07 Running post build plugin 'Build Results Label Collector'
27-Feb-2023 03:21:07 Running post build plugin 'Clover Results Collector'
27-Feb-2023 03:21:07 Running post build plugin 'npm Cache Cleanup'
27-Feb-2023 03:21:07 Running post build plugin 'Artifact Copier'
27-Feb-2023 03:21:07 Finalising the build...
27-Feb-2023 03:21:07 Stopping timer.
27-Feb-2023 03:21:07 Build REFAPP-OMODDISTRO-DTMTS-13518 completed.
27-Feb-2023 03:21:07 Running on server: post build plugin 'Build Hanging Detection Configuration'
27-Feb-2023 03:21:07 Running on server: post build plugin 'NCover Results Collector'
27-Feb-2023 03:21:07 Running on server: post build plugin 'Build Labeller'
27-Feb-2023 03:21:07 Running on server: post build plugin 'Clover Delta Calculator'
27-Feb-2023 03:21:07 Running on server: post build plugin 'Maven Dependencies Postprocessor'
27-Feb-2023 03:21:07 All post build plugins have finished
27-Feb-2023 03:21:07 Generating build results summary...
27-Feb-2023 03:21:07 Saving build results to disk...
27-Feb-2023 03:21:07 Store variable context...
27-Feb-2023 03:21:07 Finished building REFAPP-OMODDISTRO-DTMTS-13518.