Deploys Reference Application SNAPSHOT to maven

Build: #13431 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.

31-Jan-2023 00:13:19 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13431 (REFAPP-OMODDISTRO-DTMTS-13431) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
31-Jan-2023 00:13:19 Remote agent on host xiao.openmrs.org
31-Jan-2023 00:13:19 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
31-Jan-2023 00:13:19 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13431 (REFAPP-OMODDISTRO-DTMTS-13431)
31-Jan-2023 00:13:19 Running pre-build action: Build Log Labeller Pre Build Action
31-Jan-2023 00:13:19 Running pre-build action: VCS Version Collector
31-Jan-2023 00:13:19 Running pre-build action: Run Predator
31-Jan-2023 00:13:19 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
31-Jan-2023 00:13:19 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
31-Jan-2023 00:13:19 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
31-Jan-2023 00:13:20 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
31-Jan-2023 00:13:20 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 24806 java        1476 bamboo-age 2964Mb  346Mb 00:01:32 /usr/lib/jvm/java-8-ope
31-Jan-2023 00:13:20 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:06:56 /home/bamboo-agent/bamb
31-Jan-2023 00:13:20 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:08 /sbin/init             
31-Jan-2023 00:13:20 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
31-Jan-2023 00:13:20 [PredatorPreBuildAction] Initial free space: 3.4117508 GB
31-Jan-2023 00:13:20 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
31-Jan-2023 00:13:23 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
31-Jan-2023 00:13:23 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
31-Jan-2023 00:13:23 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
31-Jan-2023 00:13:23 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
31-Jan-2023 00:13:23 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
31-Jan-2023 00:13:23 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
31-Jan-2023 00:13:23 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
31-Jan-2023 00:13:23 [PredatorPreBuildAction] Final free space: 3.4433975 GB
31-Jan-2023 00:13:23 [PredatorPreBuildAction] Done
31-Jan-2023 00:13:23
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
31-Jan-2023 00:13:23
Substituting password variable: ${bamboo.dockerhub.password}
31-Jan-2023 00:13:23
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:ff6c1ce867a1b5c7740fbffb373585e66384f6d438dac63176f4b0153325a916
31-Jan-2023 00:13:23
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:ff6c1ce867a1b5c7740fbffb373585e66384f6d438dac63176f4b0153325a916
31-Jan-2023 00:13:23
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
31-Jan-2023 00:13:23
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
31-Jan-2023 00:13:23 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
31-Jan-2023 00:13:23
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13431 (REFAPP-OMODDISTRO-DTMTS-13431)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13431-ScriptBuildTask-7051169408256582269.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
31-Jan-2023 00:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
31-Jan-2023 00:13:23 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
31-Jan-2023 00:13:23 Configure a credential helper to remove this warning. See
31-Jan-2023 00:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
31-Jan-2023 00:13:23
31-Jan-2023 00:13:23 Login Succeeded
31-Jan-2023 00:13:23 + docker pull openmrs/openmrs-reference-application@sha256:ff6c1ce867a1b5c7740fbffb373585e66384f6d438dac63176f4b0153325a916
31-Jan-2023 00:13:23 docker.io/openmrs/openmrs-reference-application@sha256:ff6c1ce867a1b5c7740fbffb373585e66384f6d438dac63176f4b0153325a916: Pulling from openmrs/openmrs-reference-application
31-Jan-2023 00:13:23 Digest: sha256:ff6c1ce867a1b5c7740fbffb373585e66384f6d438dac63176f4b0153325a916
31-Jan-2023 00:13:23 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:ff6c1ce867a1b5c7740fbffb373585e66384f6d438dac63176f4b0153325a916
31-Jan-2023 00:13:23 docker.io/openmrs/openmrs-reference-application@sha256:ff6c1ce867a1b5c7740fbffb373585e66384f6d438dac63176f4b0153325a916
31-Jan-2023 00:13:23 + docker tag openmrs/openmrs-reference-application@sha256:ff6c1ce867a1b5c7740fbffb373585e66384f6d438dac63176f4b0153325a916 openmrs/openmrs-reference-application:qa
31-Jan-2023 00:13:23 + docker push openmrs/openmrs-reference-application:qa
31-Jan-2023 00:13:23 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
31-Jan-2023 00:13:24 1af2ceabe104: Preparing
31-Jan-2023 00:13:24 bed218620c40: Preparing
31-Jan-2023 00:13:24 3aeaf4e42e04: Preparing
31-Jan-2023 00:13:24 e213295ada61: Preparing
31-Jan-2023 00:13:24 150d3742c32b: Preparing
31-Jan-2023 00:13:24 60de0bbda0ed: Preparing
31-Jan-2023 00:13:24 5f70bf18a086: Preparing
31-Jan-2023 00:13:24 b34b6277c81b: Preparing
31-Jan-2023 00:13:24 d0a6a0df9123: Preparing
31-Jan-2023 00:13:24 63bbdb3574ed: Preparing
31-Jan-2023 00:13:24 118873527352: Preparing
31-Jan-2023 00:13:24 3353ee3d6876: Preparing
31-Jan-2023 00:13:24 ab5b3452b7ed: Preparing
31-Jan-2023 00:13:24 34f73756f7aa: Preparing
31-Jan-2023 00:13:24 93d6620f79bb: Preparing
31-Jan-2023 00:13:24 be417e78cadd: Preparing
31-Jan-2023 00:13:24 647dc4000019: Preparing
31-Jan-2023 00:13:24 8c5ff259ef50: Preparing
31-Jan-2023 00:13:24 63bbdb3574ed: Waiting
31-Jan-2023 00:13:24 118873527352: Waiting
31-Jan-2023 00:13:24 3353ee3d6876: Waiting
31-Jan-2023 00:13:24 ab5b3452b7ed: Waiting
31-Jan-2023 00:13:24 34f73756f7aa: Waiting
31-Jan-2023 00:13:24 93d6620f79bb: Waiting
31-Jan-2023 00:13:24 be417e78cadd: Waiting
31-Jan-2023 00:13:24 647dc4000019: Waiting
31-Jan-2023 00:13:24 8c5ff259ef50: Waiting
31-Jan-2023 00:13:24 5f70bf18a086: Waiting
31-Jan-2023 00:13:24 b34b6277c81b: Waiting
31-Jan-2023 00:13:24 d0a6a0df9123: Waiting
31-Jan-2023 00:13:24 60de0bbda0ed: Waiting
31-Jan-2023 00:13:24 150d3742c32b: Layer already exists
31-Jan-2023 00:13:24 bed218620c40: Layer already exists
31-Jan-2023 00:13:24 e213295ada61: Layer already exists
31-Jan-2023 00:13:24 3aeaf4e42e04: Layer already exists
31-Jan-2023 00:13:24 1af2ceabe104: Layer already exists
31-Jan-2023 00:13:24 60de0bbda0ed: Layer already exists
31-Jan-2023 00:13:24 5f70bf18a086: Layer already exists
31-Jan-2023 00:13:24 b34b6277c81b: Layer already exists
31-Jan-2023 00:13:24 63bbdb3574ed: Layer already exists
31-Jan-2023 00:13:24 d0a6a0df9123: Layer already exists
31-Jan-2023 00:13:24 3353ee3d6876: Layer already exists
31-Jan-2023 00:13:24 118873527352: Layer already exists
31-Jan-2023 00:13:24 ab5b3452b7ed: Layer already exists
31-Jan-2023 00:13:24 93d6620f79bb: Layer already exists
31-Jan-2023 00:13:24 34f73756f7aa: Layer already exists
31-Jan-2023 00:13:24 be417e78cadd: Layer already exists
31-Jan-2023 00:13:24 647dc4000019: Layer already exists
31-Jan-2023 00:13:24 8c5ff259ef50: Layer already exists
31-Jan-2023 00:13:24 qa: digest: sha256:389f85e6d989a61a463d450709d8cda0f84fd6dce737f2356d9815e4e2610611 size: 4088
31-Jan-2023 00:13:24 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
31-Jan-2023 00:13:25 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
31-Jan-2023 00:13:25 Removing unused images if any
31-Jan-2023 00:13:26 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication-mysql ...
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ...
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication-mysql ... done
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... already exists
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... pulling fs layer
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... pulling fs layer
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... pulling fs layer
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... pulling fs layer
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... waiting
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (0.5%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (0.7%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (100.0%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... verifying checksum
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... download complete
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (14.7%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (20.7%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (1.1%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (100.0%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... verifying checksum
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... download complete
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (31.9%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (40.8%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (47.6%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (60.3%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (63.7%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (81.8%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... download complete
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (78.5%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... downloading (93.7%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... verifying checksum
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... download complete
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... extracting (0.7%)
31-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ... extracting (28.5%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (56.9%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (85.4%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (96.5%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... pull complete
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... pull complete
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (0.5%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (19.2%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (38.0%)
31-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... extracting (57.7%)
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (79.0%)
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (96.2%)
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (100.0%)
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... pull complete
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (3.0%)
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (100.0%)
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... pull complete
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... digest: sha256:389f85e6d989a61a46...
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
31-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... done
31-Jan-2023 00:13:29 Recreating all images and volumes
31-Jan-2023 00:13:29 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
31-Jan-2023 00:13:29 Stopping qa-refapp_openmrs-referenceapplication_1       ...
31-Jan-2023 00:13:29 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
31-Jan-2023 00:13:30 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
31-Jan-2023 00:13:31 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
31-Jan-2023 00:13:31 Removing qa-refapp_openmrs-referenceapplication_1       ...
31-Jan-2023 00:13:31 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
31-Jan-2023 00:13:31 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
31-Jan-2023 00:13:32 Removing qa-refapp_openmrs-referenceapplication_1       ... done
31-Jan-2023 00:13:32 Removing network qa-refapp_default
31-Jan-2023 00:13:32 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
31-Jan-2023 00:13:32 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
31-Jan-2023 00:13:32 Creating network "qa-refapp_default" with the default driver
31-Jan-2023 00:13:32 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
31-Jan-2023 00:13:32 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
31-Jan-2023 00:13:33 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
31-Jan-2023 00:13:33 Creating qa-refapp_openmrs-referenceapplication_1       ...
31-Jan-2023 00:13:33 Creating qa-refapp_openmrs-referenceapplication_1       ... done
31-Jan-2023 00:13:34 Verifying if docker containers 8f3aecd067602ef3a1e4db5fb5c1df07c8151739a3189f7429385b8296a6feb2
31-Jan-2023 00:13:34 6616d768712fda2205186fd23f5e7ca6f8f2ff72c6125c01c60ae9ac8518d4a3 are healthy
31-Jan-2023 00:13:34 Status found: "starting"
31-Jan-2023 00:13:34 Waiting 15s
31-Jan-2023 00:13:49 Verifying if docker containers 8f3aecd067602ef3a1e4db5fb5c1df07c8151739a3189f7429385b8296a6feb2
31-Jan-2023 00:13:49 6616d768712fda2205186fd23f5e7ca6f8f2ff72c6125c01c60ae9ac8518d4a3 are healthy
31-Jan-2023 00:13:49 Status found: "starting"
31-Jan-2023 00:13:49 Waiting 15s
31-Jan-2023 00:14:04 Verifying if docker containers 8f3aecd067602ef3a1e4db5fb5c1df07c8151739a3189f7429385b8296a6feb2
31-Jan-2023 00:14:04 6616d768712fda2205186fd23f5e7ca6f8f2ff72c6125c01c60ae9ac8518d4a3 are healthy
31-Jan-2023 00:14:04 Status found: "healthy"
31-Jan-2023 00:14:04 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
31-Jan-2023 00:14:04 Running post build plugin 'Docker Container Cleanup'
31-Jan-2023 00:14:04 Running post build plugin 'NCover Results Collector'
31-Jan-2023 00:14:04 Running post build plugin 'Build Results Label Collector'
31-Jan-2023 00:14:04 Running post build plugin 'Clover Results Collector'
31-Jan-2023 00:14:04 Running post build plugin 'npm Cache Cleanup'
31-Jan-2023 00:14:04 Running post build plugin 'Artifact Copier'
31-Jan-2023 00:14:04 Finalising the build...
31-Jan-2023 00:14:04 Stopping timer.
31-Jan-2023 00:14:04 Build REFAPP-OMODDISTRO-DTMTS-13431 completed.
31-Jan-2023 00:14:04 Running on server: post build plugin 'Build Hanging Detection Configuration'
31-Jan-2023 00:14:04 Running on server: post build plugin 'NCover Results Collector'
31-Jan-2023 00:14:04 Running on server: post build plugin 'Build Labeller'
31-Jan-2023 00:14:04 Running on server: post build plugin 'Clover Delta Calculator'
31-Jan-2023 00:14:04 Running on server: post build plugin 'Maven Dependencies Postprocessor'
31-Jan-2023 00:14:04 All post build plugins have finished
31-Jan-2023 00:14:04 Generating build results summary...
31-Jan-2023 00:14:04 Saving build results to disk...
31-Jan-2023 00:14:04 Store variable context...
31-Jan-2023 00:14:04 Finished building REFAPP-OMODDISTRO-DTMTS-13431.