Deploys Reference Application SNAPSHOT to maven

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

28-Feb-2023 00:14:13 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13521 (REFAPP-OMODDISTRO-DTMTS-13521) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
28-Feb-2023 00:14:13 Remote agent on host xindi.openmrs.org
28-Feb-2023 00:14:13 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
28-Feb-2023 00:14:13 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13521 (REFAPP-OMODDISTRO-DTMTS-13521)
28-Feb-2023 00:14:13 Running pre-build action: Build Log Labeller Pre Build Action
28-Feb-2023 00:14:13 Running pre-build action: VCS Version Collector
28-Feb-2023 00:14:13 Running pre-build action: Run Predator
28-Feb-2023 00:14:13 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
28-Feb-2023 00:14:13 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
28-Feb-2023 00:14:13 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
28-Feb-2023 00:14:14 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
28-Feb-2023 00:14:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2979Mb  606Mb 00:27:26 /usr/lib/jvm/java-8-ope
28-Feb-2023 00:14:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    2Mb 00:07:27 /home/bamboo-agent/bamb
28-Feb-2023 00:14:14 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:41 /sbin/init             
28-Feb-2023 00:14:14 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
28-Feb-2023 00:14:14 [PredatorPreBuildAction] Initial free space: 1.6806259 GB
28-Feb-2023 00:14:14 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
28-Feb-2023 00:14:18 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
28-Feb-2023 00:14:18 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
28-Feb-2023 00:14:19 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
28-Feb-2023 00:14:19 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
28-Feb-2023 00:14:19 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
28-Feb-2023 00:14:19 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
28-Feb-2023 00:14:19 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
28-Feb-2023 00:14:19 [PredatorPreBuildAction] Final free space: 1.7122917 GB
28-Feb-2023 00:14:19 [PredatorPreBuildAction] Done
28-Feb-2023 00:14:19
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
28-Feb-2023 00:14:19
Substituting password variable: ${bamboo.dockerhub.password}
28-Feb-2023 00:14:19
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:abcb0837d484129b66d6ec37a126243576a5ae1aa0843e776f9f412ec715a3bd
28-Feb-2023 00:14:19
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:abcb0837d484129b66d6ec37a126243576a5ae1aa0843e776f9f412ec715a3bd
28-Feb-2023 00:14:19
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
28-Feb-2023 00:14:19
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
28-Feb-2023 00:14:19 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
28-Feb-2023 00:14:19
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13521 (REFAPP-OMODDISTRO-DTMTS-13521)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13521-ScriptBuildTask-8574646056898575137.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
28-Feb-2023 00:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
28-Feb-2023 00:14:19 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
28-Feb-2023 00:14:19 Configure a credential helper to remove this warning. See
28-Feb-2023 00:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
28-Feb-2023 00:14:19
28-Feb-2023 00:14:19 Login Succeeded
28-Feb-2023 00:14:19 + docker pull openmrs/openmrs-reference-application@sha256:abcb0837d484129b66d6ec37a126243576a5ae1aa0843e776f9f412ec715a3bd
28-Feb-2023 00:14:19 docker.io/openmrs/openmrs-reference-application@sha256:abcb0837d484129b66d6ec37a126243576a5ae1aa0843e776f9f412ec715a3bd: Pulling from openmrs/openmrs-reference-application
28-Feb-2023 00:14:19 Digest: sha256:abcb0837d484129b66d6ec37a126243576a5ae1aa0843e776f9f412ec715a3bd
28-Feb-2023 00:14:19 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:abcb0837d484129b66d6ec37a126243576a5ae1aa0843e776f9f412ec715a3bd
28-Feb-2023 00:14:19 docker.io/openmrs/openmrs-reference-application@sha256:abcb0837d484129b66d6ec37a126243576a5ae1aa0843e776f9f412ec715a3bd
28-Feb-2023 00:14:19 + docker tag openmrs/openmrs-reference-application@sha256:abcb0837d484129b66d6ec37a126243576a5ae1aa0843e776f9f412ec715a3bd openmrs/openmrs-reference-application:qa
28-Feb-2023 00:14:19 + docker push openmrs/openmrs-reference-application:qa
28-Feb-2023 00:14:19 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
28-Feb-2023 00:14:19 b1b4601f890d: Preparing
28-Feb-2023 00:14:19 bb84df7447be: Preparing
28-Feb-2023 00:14:19 6ad067dd5819: Preparing
28-Feb-2023 00:14:19 a361f140a92d: Preparing
28-Feb-2023 00:14:19 c62e19b820b1: Preparing
28-Feb-2023 00:14:19 1d4a24170d26: Preparing
28-Feb-2023 00:14:19 5f70bf18a086: Preparing
28-Feb-2023 00:14:19 1ba18030a395: Preparing
28-Feb-2023 00:14:19 3dcd63dcdcc0: Preparing
28-Feb-2023 00:14:19 292c29656df9: Preparing
28-Feb-2023 00:14:19 26e161a850ac: Preparing
28-Feb-2023 00:14:19 2c3f6cc61506: Preparing
28-Feb-2023 00:14:19 66b81dd28544: Preparing
28-Feb-2023 00:14:19 8d67d64a3c82: Preparing
28-Feb-2023 00:14:19 c91af8e72835: Preparing
28-Feb-2023 00:14:19 1ea74e906b64: Preparing
28-Feb-2023 00:14:19 ef7c5fe2cbbc: Preparing
28-Feb-2023 00:14:19 c895c159af86: Preparing
28-Feb-2023 00:14:19 1d4a24170d26: Waiting
28-Feb-2023 00:14:19 5f70bf18a086: Waiting
28-Feb-2023 00:14:19 1ba18030a395: Waiting
28-Feb-2023 00:14:19 3dcd63dcdcc0: Waiting
28-Feb-2023 00:14:19 292c29656df9: Waiting
28-Feb-2023 00:14:19 26e161a850ac: Waiting
28-Feb-2023 00:14:19 2c3f6cc61506: Waiting
28-Feb-2023 00:14:19 66b81dd28544: Waiting
28-Feb-2023 00:14:19 8d67d64a3c82: Waiting
28-Feb-2023 00:14:19 c91af8e72835: Waiting
28-Feb-2023 00:14:19 1ea74e906b64: Waiting
28-Feb-2023 00:14:19 ef7c5fe2cbbc: Waiting
28-Feb-2023 00:14:19 c895c159af86: Waiting
28-Feb-2023 00:14:20 6ad067dd5819: Layer already exists
28-Feb-2023 00:14:20 b1b4601f890d: Layer already exists
28-Feb-2023 00:14:20 a361f140a92d: Layer already exists
28-Feb-2023 00:14:20 c62e19b820b1: Layer already exists
28-Feb-2023 00:14:20 bb84df7447be: Layer already exists
28-Feb-2023 00:14:20 1d4a24170d26: Layer already exists
28-Feb-2023 00:14:20 5f70bf18a086: Layer already exists
28-Feb-2023 00:14:20 292c29656df9: Layer already exists
28-Feb-2023 00:14:20 1ba18030a395: Layer already exists
28-Feb-2023 00:14:20 3dcd63dcdcc0: Layer already exists
28-Feb-2023 00:14:20 26e161a850ac: Layer already exists
28-Feb-2023 00:14:20 2c3f6cc61506: Layer already exists
28-Feb-2023 00:14:20 c91af8e72835: Layer already exists
28-Feb-2023 00:14:20 8d67d64a3c82: Layer already exists
28-Feb-2023 00:14:20 66b81dd28544: Layer already exists
28-Feb-2023 00:14:20 1ea74e906b64: Layer already exists
28-Feb-2023 00:14:20 ef7c5fe2cbbc: Layer already exists
28-Feb-2023 00:14:20 c895c159af86: Layer already exists
28-Feb-2023 00:14:20 qa: digest: sha256:81bf501dcdcd6332092442b83b6c112ec73a3ac75b827ede7bb74c83d215de43 size: 4088
28-Feb-2023 00:14:20 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
28-Feb-2023 00:14:20 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
28-Feb-2023 00:14:21 Removing unused images if any
28-Feb-2023 00:14:22 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication-mysql ...
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ...
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication-mysql ... done
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... waiting
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... downloading (95.5%)
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... downloading (100.0%)
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... verifying checksum
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... download complete
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... downloading (0.7%)
28-Feb-2023 00:14:22 Pulling openmrs-referenceapplication       ... downloading (0.5%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (17.8%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (15.7%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (1.1%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (100.0%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... verifying checksum
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... download complete
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (39.0%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (29.9%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (58.1%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (44.6%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (77.9%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (60.3%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (95.7%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (73.1%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... verifying checksum
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... download complete
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... downloading (87.8%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... verifying checksum
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... download complete
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... extracting (0.7%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... extracting (24.7%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... extracting (47.3%)
28-Feb-2023 00:14:23 Pulling openmrs-referenceapplication       ... extracting (65.6%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (87.5%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... pull complete
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... pull complete
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (0.5%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (11.1%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (25.8%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (40.5%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (50.1%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (59.8%)
28-Feb-2023 00:14:24 Pulling openmrs-referenceapplication       ... extracting (75.5%)
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... extracting (92.2%)
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... pull complete
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... extracting (3.0%)
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... pull complete
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... digest: sha256:81bf501dcdcd633209...
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
28-Feb-2023 00:14:25 Pulling openmrs-referenceapplication       ... done
28-Feb-2023 00:14:25 Recreating all images and volumes
28-Feb-2023 00:14:25 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
28-Feb-2023 00:14:25 Stopping qa-refapp_openmrs-referenceapplication_1       ...
28-Feb-2023 00:14:25 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
28-Feb-2023 00:14:26 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
28-Feb-2023 00:14:27 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
28-Feb-2023 00:14:27 Removing qa-refapp_openmrs-referenceapplication_1       ...
28-Feb-2023 00:14:27 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
28-Feb-2023 00:14:28 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
28-Feb-2023 00:14:28 Removing qa-refapp_openmrs-referenceapplication_1       ... done
28-Feb-2023 00:14:28 Removing network qa-refapp_default
28-Feb-2023 00:14:29 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
28-Feb-2023 00:14:29 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
28-Feb-2023 00:14:29 Creating network "qa-refapp_default" with the default driver
28-Feb-2023 00:14:29 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
28-Feb-2023 00:14:29 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
28-Feb-2023 00:14:29 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
28-Feb-2023 00:14:29 Creating qa-refapp_openmrs-referenceapplication_1       ...
28-Feb-2023 00:14:30 Creating qa-refapp_openmrs-referenceapplication_1       ... done
28-Feb-2023 00:14:30 Verifying if docker containers 39372306e1b0f7ac2300572af6e798188fe038092edba2e3ba490f414163b656
28-Feb-2023 00:14:30 83e82a0729afc9adce37cd1a7e88db638e76b821cfd444486663eb6a6f773313 are healthy
28-Feb-2023 00:14:31 Status found: "starting"
28-Feb-2023 00:14:31 Waiting 15s
28-Feb-2023 00:14:46 Verifying if docker containers 39372306e1b0f7ac2300572af6e798188fe038092edba2e3ba490f414163b656
28-Feb-2023 00:14:46 83e82a0729afc9adce37cd1a7e88db638e76b821cfd444486663eb6a6f773313 are healthy
28-Feb-2023 00:14:46 Status found: "starting"
28-Feb-2023 00:14:46 Waiting 15s
28-Feb-2023 00:15:01 Verifying if docker containers 39372306e1b0f7ac2300572af6e798188fe038092edba2e3ba490f414163b656
28-Feb-2023 00:15:01 83e82a0729afc9adce37cd1a7e88db638e76b821cfd444486663eb6a6f773313 are healthy
28-Feb-2023 00:15:01 Status found: "healthy"
28-Feb-2023 00:15:01 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
28-Feb-2023 00:15:01 Running post build plugin 'Docker Container Cleanup'
28-Feb-2023 00:15:01 Running post build plugin 'NCover Results Collector'
28-Feb-2023 00:15:01 Running post build plugin 'Build Results Label Collector'
28-Feb-2023 00:15:01 Running post build plugin 'Clover Results Collector'
28-Feb-2023 00:15:01 Running post build plugin 'npm Cache Cleanup'
28-Feb-2023 00:15:01 Running post build plugin 'Artifact Copier'
28-Feb-2023 00:15:01 Finalising the build...
28-Feb-2023 00:15:01 Stopping timer.
28-Feb-2023 00:15:01 Build REFAPP-OMODDISTRO-DTMTS-13521 completed.
28-Feb-2023 00:15:01 Running on server: post build plugin 'Build Hanging Detection Configuration'
28-Feb-2023 00:15:01 Running on server: post build plugin 'NCover Results Collector'
28-Feb-2023 00:15:01 Running on server: post build plugin 'Build Labeller'
28-Feb-2023 00:15:01 Running on server: post build plugin 'Clover Delta Calculator'
28-Feb-2023 00:15:01 Running on server: post build plugin 'Maven Dependencies Postprocessor'
28-Feb-2023 00:15:01 All post build plugins have finished
28-Feb-2023 00:15:01 Generating build results summary...
28-Feb-2023 00:15:01 Saving build results to disk...
28-Feb-2023 00:15:01 Store variable context...
28-Feb-2023 00:15:01 Finished building REFAPP-OMODDISTRO-DTMTS-13521.