Deploys Reference Application SNAPSHOT to maven

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

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