Deploys Reference Application SNAPSHOT to maven

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

24-Feb-2023 00:14:02 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13509 (REFAPP-OMODDISTRO-DTMTS-13509) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
24-Feb-2023 00:14:02 Remote agent on host xindi.openmrs.org
24-Feb-2023 00:14:02 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Feb-2023 00:14:02 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13509 (REFAPP-OMODDISTRO-DTMTS-13509)
24-Feb-2023 00:14:02 Running pre-build action: Build Log Labeller Pre Build Action
24-Feb-2023 00:14:02 Running pre-build action: VCS Version Collector
24-Feb-2023 00:14:02 Running pre-build action: Run Predator
24-Feb-2023 00:14:02 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
24-Feb-2023 00:14:02 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
24-Feb-2023 00:14:02 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
24-Feb-2023 00:14:02 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
24-Feb-2023 00:14:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2978Mb  582Mb 00:21:01 /usr/lib/jvm/java-8-ope
24-Feb-2023 00:14:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    3Mb 00:05:38 /home/bamboo-agent/bamb
24-Feb-2023 00:14:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:24 /sbin/init             
24-Feb-2023 00:14:02 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
24-Feb-2023 00:14:02 [PredatorPreBuildAction] Initial free space: 0.40020752 GB
24-Feb-2023 00:14:02 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
24-Feb-2023 00:14:07 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
24-Feb-2023 00:14:07 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
24-Feb-2023 00:14:08 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
24-Feb-2023 00:14:08 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
24-Feb-2023 00:14:08 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
24-Feb-2023 00:14:08 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
24-Feb-2023 00:14:08 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
24-Feb-2023 00:14:08 [PredatorPreBuildAction] Final free space: 0.4318657 GB
24-Feb-2023 00:14:08 [PredatorPreBuildAction] Done
24-Feb-2023 00:14:08
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
24-Feb-2023 00:14:08
Substituting password variable: ${bamboo.dockerhub.password}
24-Feb-2023 00:14:08
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:8d8863c80994e19ed4c4b28e0e9b608acc266b81f8c1a018af42a9a3aaf762b6
24-Feb-2023 00:14:08
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:8d8863c80994e19ed4c4b28e0e9b608acc266b81f8c1a018af42a9a3aaf762b6
24-Feb-2023 00:14:08
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Feb-2023 00:14:08
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Feb-2023 00:14:08 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
24-Feb-2023 00:14:08
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13509 (REFAPP-OMODDISTRO-DTMTS-13509)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13509-ScriptBuildTask-2156406527690458904.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Feb-2023 00:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
24-Feb-2023 00:14:08 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
24-Feb-2023 00:14:08 Configure a credential helper to remove this warning. See
24-Feb-2023 00:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
24-Feb-2023 00:14:08
24-Feb-2023 00:14:08 Login Succeeded
24-Feb-2023 00:14:08 + docker pull openmrs/openmrs-reference-application@sha256:8d8863c80994e19ed4c4b28e0e9b608acc266b81f8c1a018af42a9a3aaf762b6
24-Feb-2023 00:14:08 docker.io/openmrs/openmrs-reference-application@sha256:8d8863c80994e19ed4c4b28e0e9b608acc266b81f8c1a018af42a9a3aaf762b6: Pulling from openmrs/openmrs-reference-application
24-Feb-2023 00:14:08 Digest: sha256:8d8863c80994e19ed4c4b28e0e9b608acc266b81f8c1a018af42a9a3aaf762b6
24-Feb-2023 00:14:08 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:8d8863c80994e19ed4c4b28e0e9b608acc266b81f8c1a018af42a9a3aaf762b6
24-Feb-2023 00:14:08 docker.io/openmrs/openmrs-reference-application@sha256:8d8863c80994e19ed4c4b28e0e9b608acc266b81f8c1a018af42a9a3aaf762b6
24-Feb-2023 00:14:08 + docker tag openmrs/openmrs-reference-application@sha256:8d8863c80994e19ed4c4b28e0e9b608acc266b81f8c1a018af42a9a3aaf762b6 openmrs/openmrs-reference-application:qa
24-Feb-2023 00:14:08 + docker push openmrs/openmrs-reference-application:qa
24-Feb-2023 00:14:08 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
24-Feb-2023 00:14:08 187e83b08fc4: Preparing
24-Feb-2023 00:14:08 e2c91b0c8523: Preparing
24-Feb-2023 00:14:08 6f0aebf21211: Preparing
24-Feb-2023 00:14:08 cbdcbe12c919: Preparing
24-Feb-2023 00:14:08 e4a92042edbd: Preparing
24-Feb-2023 00:14:08 60de0bbda0ed: Preparing
24-Feb-2023 00:14:08 5f70bf18a086: Preparing
24-Feb-2023 00:14:08 b34b6277c81b: Preparing
24-Feb-2023 00:14:08 d0a6a0df9123: Preparing
24-Feb-2023 00:14:08 63bbdb3574ed: Preparing
24-Feb-2023 00:14:08 118873527352: Preparing
24-Feb-2023 00:14:08 3353ee3d6876: Preparing
24-Feb-2023 00:14:08 ab5b3452b7ed: Preparing
24-Feb-2023 00:14:08 34f73756f7aa: Preparing
24-Feb-2023 00:14:08 93d6620f79bb: Preparing
24-Feb-2023 00:14:08 be417e78cadd: Preparing
24-Feb-2023 00:14:08 647dc4000019: Preparing
24-Feb-2023 00:14:08 8c5ff259ef50: Preparing
24-Feb-2023 00:14:08 60de0bbda0ed: Waiting
24-Feb-2023 00:14:08 5f70bf18a086: Waiting
24-Feb-2023 00:14:08 b34b6277c81b: Waiting
24-Feb-2023 00:14:08 d0a6a0df9123: Waiting
24-Feb-2023 00:14:08 63bbdb3574ed: Waiting
24-Feb-2023 00:14:08 118873527352: Waiting
24-Feb-2023 00:14:08 3353ee3d6876: Waiting
24-Feb-2023 00:14:08 ab5b3452b7ed: Waiting
24-Feb-2023 00:14:08 34f73756f7aa: Waiting
24-Feb-2023 00:14:08 93d6620f79bb: Waiting
24-Feb-2023 00:14:08 be417e78cadd: Waiting
24-Feb-2023 00:14:08 647dc4000019: Waiting
24-Feb-2023 00:14:08 8c5ff259ef50: Waiting
24-Feb-2023 00:14:09 e4a92042edbd: Layer already exists
24-Feb-2023 00:14:09 6f0aebf21211: Layer already exists
24-Feb-2023 00:14:09 187e83b08fc4: Layer already exists
24-Feb-2023 00:14:09 e2c91b0c8523: Layer already exists
24-Feb-2023 00:14:09 cbdcbe12c919: Layer already exists
24-Feb-2023 00:14:09 60de0bbda0ed: Layer already exists
24-Feb-2023 00:14:09 5f70bf18a086: Layer already exists
24-Feb-2023 00:14:09 b34b6277c81b: Layer already exists
24-Feb-2023 00:14:09 63bbdb3574ed: Layer already exists
24-Feb-2023 00:14:09 d0a6a0df9123: Layer already exists
24-Feb-2023 00:14:09 ab5b3452b7ed: Layer already exists
24-Feb-2023 00:14:09 3353ee3d6876: Layer already exists
24-Feb-2023 00:14:09 118873527352: Layer already exists
24-Feb-2023 00:14:09 93d6620f79bb: Layer already exists
24-Feb-2023 00:14:09 34f73756f7aa: Layer already exists
24-Feb-2023 00:14:09 647dc4000019: Layer already exists
24-Feb-2023 00:14:09 8c5ff259ef50: Layer already exists
24-Feb-2023 00:14:09 be417e78cadd: Layer already exists
24-Feb-2023 00:14:09 qa: digest: sha256:17e0259e37e2ae9e431c971c5625fccbc38cd59531a03a9c0080e0f99a5ebcd2 size: 4088
24-Feb-2023 00:14:09 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
24-Feb-2023 00:14:09 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
24-Feb-2023 00:14:10 Removing unused images if any
24-Feb-2023 00:14:11 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication-mysql ...
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ...
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication-mysql ... done
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... waiting
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... downloading (95.8%)
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... downloading (100.0%)
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... downloading (0.7%)
24-Feb-2023 00:14:11 Pulling openmrs-referenceapplication       ... downloading (0.5%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (22.4%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (12.3%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (1.1%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (43.6%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (29.9%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (68.9%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (47.6%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (92.8%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (64.8%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (82.0%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... extracting (0.7%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... downloading (97.1%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... extracting (21.9%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... extracting (46.5%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... extracting (71.9%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... extracting (97.3%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 00:14:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... extracting (0.5%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... extracting (16.7%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... extracting (36.0%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... extracting (56.2%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... extracting (74.5%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... extracting (91.7%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... extracting (3.0%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... digest: sha256:17e0259e37e2ae9e43...
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
24-Feb-2023 00:14:13 Pulling openmrs-referenceapplication       ... done
24-Feb-2023 00:14:13 Recreating all images and volumes
24-Feb-2023 00:14:14 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Feb-2023 00:14:14 Stopping qa-refapp_openmrs-referenceapplication_1       ...
24-Feb-2023 00:14:14 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Feb-2023 00:14:14 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
24-Feb-2023 00:14:16 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Feb-2023 00:14:16 Removing qa-refapp_openmrs-referenceapplication_1       ...
24-Feb-2023 00:14:16 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Feb-2023 00:14:16 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Feb-2023 00:14:16 Removing qa-refapp_openmrs-referenceapplication_1       ... done
24-Feb-2023 00:14:16 Removing network qa-refapp_default
24-Feb-2023 00:14:16 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
24-Feb-2023 00:14:17 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Feb-2023 00:14:17 Creating network "qa-refapp_default" with the default driver
24-Feb-2023 00:14:17 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
24-Feb-2023 00:14:17 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Feb-2023 00:14:17 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Feb-2023 00:14:17 Creating qa-refapp_openmrs-referenceapplication_1       ...
24-Feb-2023 00:14:18 Creating qa-refapp_openmrs-referenceapplication_1       ... done
24-Feb-2023 00:14:19 Verifying if docker containers 948da204c699d9c90fff090e3dfe4ce26accf8d007df52bd33c2a502cd088202
24-Feb-2023 00:14:19 a946b01518ca9193ada6803a69e8e8014b79b54d0211c77cb2b7621a19014bc4 are healthy
24-Feb-2023 00:14:19 Status found: "starting"
24-Feb-2023 00:14:19 Waiting 15s
24-Feb-2023 00:14:34 Verifying if docker containers 948da204c699d9c90fff090e3dfe4ce26accf8d007df52bd33c2a502cd088202
24-Feb-2023 00:14:34 a946b01518ca9193ada6803a69e8e8014b79b54d0211c77cb2b7621a19014bc4 are healthy
24-Feb-2023 00:14:34 Status found: "starting"
24-Feb-2023 00:14:34 Waiting 15s
24-Feb-2023 00:14:49 Verifying if docker containers 948da204c699d9c90fff090e3dfe4ce26accf8d007df52bd33c2a502cd088202
24-Feb-2023 00:14:49 a946b01518ca9193ada6803a69e8e8014b79b54d0211c77cb2b7621a19014bc4 are healthy
24-Feb-2023 00:14:49 Status found: "healthy"
24-Feb-2023 00:14:49 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
24-Feb-2023 00:14:49 Running post build plugin 'Docker Container Cleanup'
24-Feb-2023 00:14:49 Running post build plugin 'NCover Results Collector'
24-Feb-2023 00:14:49 Running post build plugin 'Build Results Label Collector'
24-Feb-2023 00:14:49 Running post build plugin 'Clover Results Collector'
24-Feb-2023 00:14:49 Running post build plugin 'npm Cache Cleanup'
24-Feb-2023 00:14:49 Running post build plugin 'Artifact Copier'
24-Feb-2023 00:14:49 Finalising the build...
24-Feb-2023 00:14:49 Stopping timer.
24-Feb-2023 00:14:49 Build REFAPP-OMODDISTRO-DTMTS-13509 completed.
24-Feb-2023 00:14:49 Running on server: post build plugin 'Build Hanging Detection Configuration'
24-Feb-2023 00:14:49 Running on server: post build plugin 'NCover Results Collector'
24-Feb-2023 00:14:49 Running on server: post build plugin 'Build Labeller'
24-Feb-2023 00:14:49 Running on server: post build plugin 'Clover Delta Calculator'
24-Feb-2023 00:14:49 Running on server: post build plugin 'Maven Dependencies Postprocessor'
24-Feb-2023 00:14:49 All post build plugins have finished
24-Feb-2023 00:14:49 Generating build results summary...
24-Feb-2023 00:14:49 Saving build results to disk...
24-Feb-2023 00:14:49 Store variable context...
24-Feb-2023 00:14:49 Finished building REFAPP-OMODDISTRO-DTMTS-13509.