Deploys Reference Application SNAPSHOT to maven

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

28-Feb-2023 03:14:49 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13522 (REFAPP-OMODDISTRO-DTMTS-13522) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
28-Feb-2023 03:14:49 Remote agent on host yu.openmrs.org
28-Feb-2023 03:14:49 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
28-Feb-2023 03:14:50 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13522 (REFAPP-OMODDISTRO-DTMTS-13522)
28-Feb-2023 03:14:50 Running pre-build action: Build Log Labeller Pre Build Action
28-Feb-2023 03:14:50 Running pre-build action: VCS Version Collector
28-Feb-2023 03:14:50 Running pre-build action: Run Predator
28-Feb-2023 03:14:50 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
28-Feb-2023 03:14:50 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
28-Feb-2023 03:14:50 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
28-Feb-2023 03:14:53 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
28-Feb-2023 03:14:53 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2977Mb  584Mb 00:26:31 /usr/lib/jvm/java-8-ope
28-Feb-2023 03:14:53 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    1Mb 00:07:01 /home/bamboo-agent/bamb
28-Feb-2023 03:14:53 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb    9Mb 00:01:03 /sbin/init             
28-Feb-2023 03:14:53 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
28-Feb-2023 03:14:53 [PredatorPreBuildAction] Initial free space: 4.4716415 GB
28-Feb-2023 03:14:53 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
28-Feb-2023 03:14:57 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
28-Feb-2023 03:14:57 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
28-Feb-2023 03:14:58 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
28-Feb-2023 03:14:58 [PredatorPreBuildAction] Maven stable disk freed: 0.5291418 GB, deleted 148 files
28-Feb-2023 03:14:58 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
28-Feb-2023 03:14:58 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
28-Feb-2023 03:14:58 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
28-Feb-2023 03:14:58 [PredatorPreBuildAction] Final free space: 4.503319 GB
28-Feb-2023 03:14:58 [PredatorPreBuildAction] Done
28-Feb-2023 03:14:58
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
28-Feb-2023 03:14:58
Substituting password variable: ${bamboo.dockerhub.password}
28-Feb-2023 03:14:58
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:2b34f80164e79820d1502003c787efda51537ec4878f834b90e0347d9780293b
28-Feb-2023 03:14:58
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:2b34f80164e79820d1502003c787efda51537ec4878f834b90e0347d9780293b
28-Feb-2023 03:14:58
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
28-Feb-2023 03:14:58
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
28-Feb-2023 03:14:58 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
28-Feb-2023 03:14:58
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13522 (REFAPP-OMODDISTRO-DTMTS-13522)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13522-ScriptBuildTask-5654285495592950161.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
28-Feb-2023 03:14:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
28-Feb-2023 03:14:58 Login Succeeded
28-Feb-2023 03:14:58 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
28-Feb-2023 03:14:58 Configure a credential helper to remove this warning. See
28-Feb-2023 03:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
28-Feb-2023 03:14:58
28-Feb-2023 03:14:58 + docker pull openmrs/openmrs-reference-application@sha256:2b34f80164e79820d1502003c787efda51537ec4878f834b90e0347d9780293b
28-Feb-2023 03:14:58 docker.io/openmrs/openmrs-reference-application@sha256:2b34f80164e79820d1502003c787efda51537ec4878f834b90e0347d9780293b: Pulling from openmrs/openmrs-reference-application
28-Feb-2023 03:14:58 Digest: sha256:2b34f80164e79820d1502003c787efda51537ec4878f834b90e0347d9780293b
28-Feb-2023 03:14:58 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:2b34f80164e79820d1502003c787efda51537ec4878f834b90e0347d9780293b
28-Feb-2023 03:14:58 docker.io/openmrs/openmrs-reference-application@sha256:2b34f80164e79820d1502003c787efda51537ec4878f834b90e0347d9780293b
28-Feb-2023 03:14:58 + docker tag openmrs/openmrs-reference-application@sha256:2b34f80164e79820d1502003c787efda51537ec4878f834b90e0347d9780293b openmrs/openmrs-reference-application:qa
28-Feb-2023 03:14:58 + docker push openmrs/openmrs-reference-application:qa
28-Feb-2023 03:14:58 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
28-Feb-2023 03:14:58 8ce6970642eb: Preparing
28-Feb-2023 03:14:58 8fb4c343fc86: Preparing
28-Feb-2023 03:14:58 04019b2e4de6: Preparing
28-Feb-2023 03:14:58 255d8e3799df: Preparing
28-Feb-2023 03:14:58 c62e19b820b1: Preparing
28-Feb-2023 03:14:58 1d4a24170d26: Preparing
28-Feb-2023 03:14:58 5f70bf18a086: Preparing
28-Feb-2023 03:14:58 1ba18030a395: Preparing
28-Feb-2023 03:14:58 3dcd63dcdcc0: Preparing
28-Feb-2023 03:14:58 292c29656df9: Preparing
28-Feb-2023 03:14:58 26e161a850ac: Preparing
28-Feb-2023 03:14:58 2c3f6cc61506: Preparing
28-Feb-2023 03:14:58 66b81dd28544: Preparing
28-Feb-2023 03:14:58 8d67d64a3c82: Preparing
28-Feb-2023 03:14:58 c91af8e72835: Preparing
28-Feb-2023 03:14:58 1ea74e906b64: Preparing
28-Feb-2023 03:14:58 ef7c5fe2cbbc: Preparing
28-Feb-2023 03:14:58 c895c159af86: Preparing
28-Feb-2023 03:14:58 26e161a850ac: Waiting
28-Feb-2023 03:14:58 2c3f6cc61506: Waiting
28-Feb-2023 03:14:58 66b81dd28544: Waiting
28-Feb-2023 03:14:58 8d67d64a3c82: Waiting
28-Feb-2023 03:14:58 c91af8e72835: Waiting
28-Feb-2023 03:14:58 1ea74e906b64: Waiting
28-Feb-2023 03:14:58 ef7c5fe2cbbc: Waiting
28-Feb-2023 03:14:58 c895c159af86: Waiting
28-Feb-2023 03:14:58 1d4a24170d26: Waiting
28-Feb-2023 03:14:58 5f70bf18a086: Waiting
28-Feb-2023 03:14:58 1ba18030a395: Waiting
28-Feb-2023 03:14:58 292c29656df9: Waiting
28-Feb-2023 03:14:58 3dcd63dcdcc0: Waiting
28-Feb-2023 03:14:59 255d8e3799df: Layer already exists
28-Feb-2023 03:14:59 c62e19b820b1: Layer already exists
28-Feb-2023 03:14:59 8ce6970642eb: Layer already exists
28-Feb-2023 03:14:59 8fb4c343fc86: Layer already exists
28-Feb-2023 03:14:59 04019b2e4de6: Layer already exists
28-Feb-2023 03:14:59 1d4a24170d26: Layer already exists
28-Feb-2023 03:14:59 5f70bf18a086: Layer already exists
28-Feb-2023 03:14:59 3dcd63dcdcc0: Layer already exists
28-Feb-2023 03:14:59 292c29656df9: Layer already exists
28-Feb-2023 03:14:59 1ba18030a395: Layer already exists
28-Feb-2023 03:14:59 26e161a850ac: Layer already exists
28-Feb-2023 03:14:59 2c3f6cc61506: Layer already exists
28-Feb-2023 03:14:59 66b81dd28544: Layer already exists
28-Feb-2023 03:14:59 8d67d64a3c82: Layer already exists
28-Feb-2023 03:14:59 c91af8e72835: Layer already exists
28-Feb-2023 03:14:59 1ea74e906b64: Layer already exists
28-Feb-2023 03:14:59 ef7c5fe2cbbc: Layer already exists
28-Feb-2023 03:14:59 c895c159af86: Layer already exists
28-Feb-2023 03:14:59 qa: digest: sha256:5a09cf43c80da74aafa5498f4a435fb001f5b8a82865bf563c5efd04a8b22096 size: 4088
28-Feb-2023 03:14:59 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
28-Feb-2023 03:15:00 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
28-Feb-2023 03:15:00 Removing unused images if any
28-Feb-2023 03:15:01 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication-mysql ...
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ...
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication-mysql ... done
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... already exists
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... waiting
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... downloading (95.8%)
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... downloading (100.0%)
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... verifying checksum
28-Feb-2023 03:15:01 Pulling openmrs-referenceapplication       ... download complete
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (0.5%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (0.7%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (17.2%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (25.3%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (1.1%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... verifying checksum
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... download complete
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (49.2%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (34.3%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (75.1%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (51.4%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... verifying checksum
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... download complete
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (70.6%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... downloading (86.2%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... extracting (0.7%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... verifying checksum
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... download complete
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... extracting (19.0%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... extracting (28.9%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... extracting (55.0%)
28-Feb-2023 03:15:02 Pulling openmrs-referenceapplication       ... extracting (81.1%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... pull complete
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... pull complete
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (0.5%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (19.2%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (39.0%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (60.3%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (78.5%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (94.7%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... pull complete
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (3.0%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... pull complete
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... digest: sha256:5a09cf43c80da74aaf...
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
28-Feb-2023 03:15:03 Pulling openmrs-referenceapplication       ... done
28-Feb-2023 03:15:03 Recreating all images and volumes
28-Feb-2023 03:15:04 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
28-Feb-2023 03:15:04 Stopping qa-refapp_openmrs-referenceapplication_1       ...
28-Feb-2023 03:15:04 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
28-Feb-2023 03:15:05 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
28-Feb-2023 03:15:06 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
28-Feb-2023 03:15:06 Removing qa-refapp_openmrs-referenceapplication_1       ...
28-Feb-2023 03:15:06 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
28-Feb-2023 03:15:06 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
28-Feb-2023 03:15:07 Removing qa-refapp_openmrs-referenceapplication_1       ... done
28-Feb-2023 03:15:07 Removing network qa-refapp_default
28-Feb-2023 03:15:07 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
28-Feb-2023 03:15:07 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
28-Feb-2023 03:15:07 Creating network "qa-refapp_default" with the default driver
28-Feb-2023 03:15:07 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
28-Feb-2023 03:15:07 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
28-Feb-2023 03:15:08 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
28-Feb-2023 03:15:08 Creating qa-refapp_openmrs-referenceapplication_1       ...
28-Feb-2023 03:15:08 Creating qa-refapp_openmrs-referenceapplication_1       ... done
28-Feb-2023 03:15:09 Verifying if docker containers bd008bd54e2414e4b0bbdb3e8262f0c944c6a4866d2d84bbca1099267c122e89
28-Feb-2023 03:15:09 6a88f027c4aa865405c97bb65f702e6f9087deaa49b73678a8cd8059fb63b33f are healthy
28-Feb-2023 03:15:09 Status found: "starting"
28-Feb-2023 03:15:09 Waiting 15s
28-Feb-2023 03:15:24 Verifying if docker containers bd008bd54e2414e4b0bbdb3e8262f0c944c6a4866d2d84bbca1099267c122e89
28-Feb-2023 03:15:24 6a88f027c4aa865405c97bb65f702e6f9087deaa49b73678a8cd8059fb63b33f are healthy
28-Feb-2023 03:15:24 Status found: "starting"
28-Feb-2023 03:15:24 Waiting 15s
28-Feb-2023 03:15:39 Verifying if docker containers bd008bd54e2414e4b0bbdb3e8262f0c944c6a4866d2d84bbca1099267c122e89
28-Feb-2023 03:15:39 6a88f027c4aa865405c97bb65f702e6f9087deaa49b73678a8cd8059fb63b33f are healthy
28-Feb-2023 03:15:39 Status found: "healthy"
28-Feb-2023 03:15:39 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
28-Feb-2023 03:15:39 Running post build plugin 'Docker Container Cleanup'
28-Feb-2023 03:15:39 Running post build plugin 'NCover Results Collector'
28-Feb-2023 03:15:39 Running post build plugin 'Build Results Label Collector'
28-Feb-2023 03:15:39 Running post build plugin 'Clover Results Collector'
28-Feb-2023 03:15:39 Running post build plugin 'npm Cache Cleanup'
28-Feb-2023 03:15:39 Running post build plugin 'Artifact Copier'
28-Feb-2023 03:15:39 Finalising the build...
28-Feb-2023 03:15:39 Stopping timer.
28-Feb-2023 03:15:39 Build REFAPP-OMODDISTRO-DTMTS-13522 completed.
28-Feb-2023 03:15:39 Running on server: post build plugin 'Build Hanging Detection Configuration'
28-Feb-2023 03:15:39 Running on server: post build plugin 'NCover Results Collector'
28-Feb-2023 03:15:39 Running on server: post build plugin 'Build Labeller'
28-Feb-2023 03:15:39 Running on server: post build plugin 'Clover Delta Calculator'
28-Feb-2023 03:15:39 Running on server: post build plugin 'Maven Dependencies Postprocessor'
28-Feb-2023 03:15:39 All post build plugins have finished
28-Feb-2023 03:15:39 Generating build results summary...
28-Feb-2023 03:15:39 Saving build results to disk...
28-Feb-2023 03:15:39 Store variable context...
28-Feb-2023 03:15:39 Finished building REFAPP-OMODDISTRO-DTMTS-13522.