Deploys Reference Application SNAPSHOT to maven

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

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