Deploys Reference Application SNAPSHOT to maven

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

26-Feb-2023 03:15:16 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13516 (REFAPP-OMODDISTRO-DTMTS-13516) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
26-Feb-2023 03:15:16 Remote agent on host yu.openmrs.org
26-Feb-2023 03:15:16 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Feb-2023 03:15:16 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13516 (REFAPP-OMODDISTRO-DTMTS-13516)
26-Feb-2023 03:15:16 Running pre-build action: Build Log Labeller Pre Build Action
26-Feb-2023 03:15:16 Running pre-build action: VCS Version Collector
26-Feb-2023 03:15:16 Running pre-build action: Run Predator
26-Feb-2023 03:15:16 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-Feb-2023 03:15:16 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
26-Feb-2023 03:15:16 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
26-Feb-2023 03:15:16 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
26-Feb-2023 03:15:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2977Mb  579Mb 00:23:16 /usr/lib/jvm/java-8-ope
26-Feb-2023 03:15:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    1Mb 00:06:08 /home/bamboo-agent/bamb
26-Feb-2023 03:15:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:00:54 /sbin/init             
26-Feb-2023 03:15:16 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
26-Feb-2023 03:15:16 [PredatorPreBuildAction] Initial free space: 4.8214455 GB
26-Feb-2023 03:15:16 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
26-Feb-2023 03:15:21 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
26-Feb-2023 03:15:21 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
26-Feb-2023 03:15:21 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
26-Feb-2023 03:15:21 [PredatorPreBuildAction] Maven stable disk freed: 0.5291418 GB, deleted 148 files
26-Feb-2023 03:15:21 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
26-Feb-2023 03:15:21 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
26-Feb-2023 03:15:21 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
26-Feb-2023 03:15:21 [PredatorPreBuildAction] Final free space: 4.8531075 GB
26-Feb-2023 03:15:21 [PredatorPreBuildAction] Done
26-Feb-2023 03:15:21
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
26-Feb-2023 03:15:21
Substituting password variable: ${bamboo.dockerhub.password}
26-Feb-2023 03:15:21
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:62936fa0beec03228113b84e581b7d16e38df0c321e6652b4eb9373f736bae45
26-Feb-2023 03:15:21
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:62936fa0beec03228113b84e581b7d16e38df0c321e6652b4eb9373f736bae45
26-Feb-2023 03:15:21
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Feb-2023 03:15:21
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Feb-2023 03:15:21 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
26-Feb-2023 03:15:21
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13516 (REFAPP-OMODDISTRO-DTMTS-13516)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13516-ScriptBuildTask-7390950057202726224.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Feb-2023 03:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
26-Feb-2023 03:15:21 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
26-Feb-2023 03:15:21 Configure a credential helper to remove this warning. See
26-Feb-2023 03:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
26-Feb-2023 03:15:21
26-Feb-2023 03:15:21 Login Succeeded
26-Feb-2023 03:15:21 + docker pull openmrs/openmrs-reference-application@sha256:62936fa0beec03228113b84e581b7d16e38df0c321e6652b4eb9373f736bae45
26-Feb-2023 03:15:22 docker.io/openmrs/openmrs-reference-application@sha256:62936fa0beec03228113b84e581b7d16e38df0c321e6652b4eb9373f736bae45: Pulling from openmrs/openmrs-reference-application
26-Feb-2023 03:15:22 Digest: sha256:62936fa0beec03228113b84e581b7d16e38df0c321e6652b4eb9373f736bae45
26-Feb-2023 03:15:22 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:62936fa0beec03228113b84e581b7d16e38df0c321e6652b4eb9373f736bae45
26-Feb-2023 03:15:22 docker.io/openmrs/openmrs-reference-application@sha256:62936fa0beec03228113b84e581b7d16e38df0c321e6652b4eb9373f736bae45
26-Feb-2023 03:15:22 + docker tag openmrs/openmrs-reference-application@sha256:62936fa0beec03228113b84e581b7d16e38df0c321e6652b4eb9373f736bae45 openmrs/openmrs-reference-application:qa
26-Feb-2023 03:15:22 + docker push openmrs/openmrs-reference-application:qa
26-Feb-2023 03:15:22 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
26-Feb-2023 03:15:22 d1d76b8c2c67: Preparing
26-Feb-2023 03:15:22 3ee2e5f239b5: Preparing
26-Feb-2023 03:15:22 30e3714fb32a: Preparing
26-Feb-2023 03:15:22 f72aa94485a8: Preparing
26-Feb-2023 03:15:22 94320e494a71: Preparing
26-Feb-2023 03:15:22 83487e6b4d35: Preparing
26-Feb-2023 03:15:22 5f70bf18a086: Preparing
26-Feb-2023 03:15:22 3a0a712f14cd: Preparing
26-Feb-2023 03:15:22 ec12c383224a: Preparing
26-Feb-2023 03:15:22 972fd81d4522: Preparing
26-Feb-2023 03:15:22 acdca9f9d8c6: Preparing
26-Feb-2023 03:15:22 e495071bc744: Preparing
26-Feb-2023 03:15:22 490c7563a936: Preparing
26-Feb-2023 03:15:22 a1398fefb962: Preparing
26-Feb-2023 03:15:22 cea396b9c0a2: Preparing
26-Feb-2023 03:15:22 1ea74e906b64: Preparing
26-Feb-2023 03:15:22 ef7c5fe2cbbc: Preparing
26-Feb-2023 03:15:22 c895c159af86: Preparing
26-Feb-2023 03:15:22 83487e6b4d35: Waiting
26-Feb-2023 03:15:22 5f70bf18a086: Waiting
26-Feb-2023 03:15:22 3a0a712f14cd: Waiting
26-Feb-2023 03:15:22 ec12c383224a: Waiting
26-Feb-2023 03:15:22 972fd81d4522: Waiting
26-Feb-2023 03:15:22 acdca9f9d8c6: Waiting
26-Feb-2023 03:15:22 e495071bc744: Waiting
26-Feb-2023 03:15:22 490c7563a936: Waiting
26-Feb-2023 03:15:22 a1398fefb962: Waiting
26-Feb-2023 03:15:22 cea396b9c0a2: Waiting
26-Feb-2023 03:15:22 1ea74e906b64: Waiting
26-Feb-2023 03:15:22 ef7c5fe2cbbc: Waiting
26-Feb-2023 03:15:22 c895c159af86: Waiting
26-Feb-2023 03:15:22 94320e494a71: Layer already exists
26-Feb-2023 03:15:22 d1d76b8c2c67: Layer already exists
26-Feb-2023 03:15:22 3ee2e5f239b5: Layer already exists
26-Feb-2023 03:15:22 30e3714fb32a: Layer already exists
26-Feb-2023 03:15:22 f72aa94485a8: Layer already exists
26-Feb-2023 03:15:22 83487e6b4d35: Layer already exists
26-Feb-2023 03:15:22 5f70bf18a086: Layer already exists
26-Feb-2023 03:15:22 3a0a712f14cd: Layer already exists
26-Feb-2023 03:15:22 972fd81d4522: Layer already exists
26-Feb-2023 03:15:22 ec12c383224a: Layer already exists
26-Feb-2023 03:15:22 acdca9f9d8c6: Layer already exists
26-Feb-2023 03:15:22 490c7563a936: Layer already exists
26-Feb-2023 03:15:22 e495071bc744: Layer already exists
26-Feb-2023 03:15:22 a1398fefb962: Layer already exists
26-Feb-2023 03:15:22 cea396b9c0a2: Layer already exists
26-Feb-2023 03:15:22 1ea74e906b64: Layer already exists
26-Feb-2023 03:15:22 ef7c5fe2cbbc: Layer already exists
26-Feb-2023 03:15:22 c895c159af86: Layer already exists
26-Feb-2023 03:15:23 qa: digest: sha256:98fa70474fbd3c385f1d160572315a99533cbbfcfa4299075088a38d022ab603 size: 4088
26-Feb-2023 03:15:23 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
26-Feb-2023 03:15:23 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
26-Feb-2023 03:15:24 Removing unused images if any
26-Feb-2023 03:15:24 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Feb-2023 03:15:24 Pulling openmrs-referenceapplication-mysql ...
26-Feb-2023 03:15:24 Pulling openmrs-referenceapplication       ...
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication-mysql ... done
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... waiting
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (95.6%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (100.0%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... verifying checksum
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... download complete
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (0.7%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (0.5%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (12.2%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (21.2%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (1.1%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... verifying checksum
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... download complete
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (25.0%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (41.7%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (60.1%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (37.7%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (78.6%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (51.5%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (63.2%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... downloading (96.3%)
26-Feb-2023 03:15:25 Pulling openmrs-referenceapplication       ... download complete
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... downloading (78.5%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... downloading (92.7%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... verifying checksum
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... download complete
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (0.7%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (21.2%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (43.0%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (64.2%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (86.0%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... pull complete
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... pull complete
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (0.5%)
26-Feb-2023 03:15:26 Pulling openmrs-referenceapplication       ... extracting (16.2%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (32.4%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (49.1%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (61.3%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (71.9%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (84.6%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (96.2%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... pull complete
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (3.0%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... pull complete
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... digest: sha256:98fa70474fbd3c385f...
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
26-Feb-2023 03:15:27 Pulling openmrs-referenceapplication       ... done
26-Feb-2023 03:15:27 Recreating all images and volumes
26-Feb-2023 03:15:28 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Feb-2023 03:15:28 Stopping qa-refapp_openmrs-referenceapplication_1       ...
26-Feb-2023 03:15:28 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Feb-2023 03:15:28 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
26-Feb-2023 03:15:30 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Feb-2023 03:15:30 Removing qa-refapp_openmrs-referenceapplication_1       ...
26-Feb-2023 03:15:30 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Feb-2023 03:15:30 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Feb-2023 03:15:30 Removing qa-refapp_openmrs-referenceapplication_1       ... done
26-Feb-2023 03:15:30 Removing network qa-refapp_default
26-Feb-2023 03:15:31 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
26-Feb-2023 03:15:31 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Feb-2023 03:15:31 Creating network "qa-refapp_default" with the default driver
26-Feb-2023 03:15:31 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
26-Feb-2023 03:15:31 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Feb-2023 03:15:32 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Feb-2023 03:15:32 Creating qa-refapp_openmrs-referenceapplication_1       ...
26-Feb-2023 03:15:32 Creating qa-refapp_openmrs-referenceapplication_1       ... done
26-Feb-2023 03:15:32 Verifying if docker containers 7d00bebed3d56c75eff8bd58cdf9d50be64d998b2cd28613cb47ff43c1f743dd
26-Feb-2023 03:15:32 7db213abb6f434d7667d7ecf8a5c18b57d1cb1644fad44dcbbee126fc2b38bed are healthy
26-Feb-2023 03:15:33 Status found: "starting"
26-Feb-2023 03:15:33 Waiting 15s
26-Feb-2023 03:15:48 Verifying if docker containers 7d00bebed3d56c75eff8bd58cdf9d50be64d998b2cd28613cb47ff43c1f743dd
26-Feb-2023 03:15:48 7db213abb6f434d7667d7ecf8a5c18b57d1cb1644fad44dcbbee126fc2b38bed are healthy
26-Feb-2023 03:15:48 Status found: "starting"
26-Feb-2023 03:15:48 Waiting 15s
26-Feb-2023 03:16:03 Verifying if docker containers 7d00bebed3d56c75eff8bd58cdf9d50be64d998b2cd28613cb47ff43c1f743dd
26-Feb-2023 03:16:03 7db213abb6f434d7667d7ecf8a5c18b57d1cb1644fad44dcbbee126fc2b38bed are healthy
26-Feb-2023 03:16:03 Status found: "healthy"
26-Feb-2023 03:16:03 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
26-Feb-2023 03:16:03 Running post build plugin 'Docker Container Cleanup'
26-Feb-2023 03:16:03 Running post build plugin 'NCover Results Collector'
26-Feb-2023 03:16:03 Running post build plugin 'Build Results Label Collector'
26-Feb-2023 03:16:03 Running post build plugin 'Clover Results Collector'
26-Feb-2023 03:16:03 Running post build plugin 'npm Cache Cleanup'
26-Feb-2023 03:16:03 Running post build plugin 'Artifact Copier'
26-Feb-2023 03:16:03 Finalising the build...
26-Feb-2023 03:16:03 Stopping timer.
26-Feb-2023 03:16:03 Build REFAPP-OMODDISTRO-DTMTS-13516 completed.
26-Feb-2023 03:16:03 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-Feb-2023 03:16:03 Running on server: post build plugin 'NCover Results Collector'
26-Feb-2023 03:16:03 Running on server: post build plugin 'Build Labeller'
26-Feb-2023 03:16:03 Running on server: post build plugin 'Clover Delta Calculator'
26-Feb-2023 03:16:03 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-Feb-2023 03:16:03 All post build plugins have finished
26-Feb-2023 03:16:03 Generating build results summary...
26-Feb-2023 03:16:03 Saving build results to disk...
26-Feb-2023 03:16:03 Store variable context...
26-Feb-2023 03:16:03 Finished building REFAPP-OMODDISTRO-DTMTS-13516.