Deploys Reference Application SNAPSHOT to maven

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

20-Feb-2023 03:15:05 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13489 (REFAPP-OMODDISTRO-DTMTS-13489) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
20-Feb-2023 03:15:05 Remote agent on host yu.openmrs.org
20-Feb-2023 03:15:05 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Feb-2023 03:15:05 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13489 (REFAPP-OMODDISTRO-DTMTS-13489)
20-Feb-2023 03:15:05 Running pre-build action: Build Log Labeller Pre Build Action
20-Feb-2023 03:15:05 Running pre-build action: VCS Version Collector
20-Feb-2023 03:15:05 Running pre-build action: Run Predator
20-Feb-2023 03:15:05 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
20-Feb-2023 03:15:05 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
20-Feb-2023 03:15:05 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
20-Feb-2023 03:15:05 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
20-Feb-2023 03:15:05 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2972Mb  420Mb 00:13:13 /usr/lib/jvm/java-8-ope
20-Feb-2023 03:15:05 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    2Mb 00:03:28 /home/bamboo-agent/bamb
20-Feb-2023 03:15:05 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:00:31 /sbin/init             
20-Feb-2023 03:15:05 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
20-Feb-2023 03:15:05 [PredatorPreBuildAction] Initial free space: 2.0209885 GB
20-Feb-2023 03:15:05 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
20-Feb-2023 03:15:10 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
20-Feb-2023 03:15:10 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
20-Feb-2023 03:15:10 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
20-Feb-2023 03:15:10 [PredatorPreBuildAction] Maven stable disk freed: 0.44616094 GB, deleted 118 files
20-Feb-2023 03:15:10 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
20-Feb-2023 03:15:10 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
20-Feb-2023 03:15:10 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
20-Feb-2023 03:15:10 [PredatorPreBuildAction] Final free space: 2.0526314 GB
20-Feb-2023 03:15:10 [PredatorPreBuildAction] Done
20-Feb-2023 03:15:10
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
20-Feb-2023 03:15:10
Substituting password variable: ${bamboo.dockerhub.password}
20-Feb-2023 03:15:10
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:898b434a4981e07da0858492e3a5d08793b87e8d240bb09586498e6d7ea3c013
20-Feb-2023 03:15:10
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:898b434a4981e07da0858492e3a5d08793b87e8d240bb09586498e6d7ea3c013
20-Feb-2023 03:15:10
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Feb-2023 03:15:10
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Feb-2023 03:15:10 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Feb-2023 03:15:10
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13489 (REFAPP-OMODDISTRO-DTMTS-13489)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13489-ScriptBuildTask-6459610579239462597.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Feb-2023 03:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
20-Feb-2023 03:15:10 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
20-Feb-2023 03:15:10 Configure a credential helper to remove this warning. See
20-Feb-2023 03:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
20-Feb-2023 03:15:10
20-Feb-2023 03:15:10 Login Succeeded
20-Feb-2023 03:15:10 + docker pull openmrs/openmrs-reference-application@sha256:898b434a4981e07da0858492e3a5d08793b87e8d240bb09586498e6d7ea3c013
20-Feb-2023 03:15:10 docker.io/openmrs/openmrs-reference-application@sha256:898b434a4981e07da0858492e3a5d08793b87e8d240bb09586498e6d7ea3c013: Pulling from openmrs/openmrs-reference-application
20-Feb-2023 03:15:10 Digest: sha256:898b434a4981e07da0858492e3a5d08793b87e8d240bb09586498e6d7ea3c013
20-Feb-2023 03:15:10 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:898b434a4981e07da0858492e3a5d08793b87e8d240bb09586498e6d7ea3c013
20-Feb-2023 03:15:10 docker.io/openmrs/openmrs-reference-application@sha256:898b434a4981e07da0858492e3a5d08793b87e8d240bb09586498e6d7ea3c013
20-Feb-2023 03:15:10 + docker tag openmrs/openmrs-reference-application@sha256:898b434a4981e07da0858492e3a5d08793b87e8d240bb09586498e6d7ea3c013 openmrs/openmrs-reference-application:qa
20-Feb-2023 03:15:10 + docker push openmrs/openmrs-reference-application:qa
20-Feb-2023 03:15:10 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
20-Feb-2023 03:15:10 243e05f79b8a: Preparing
20-Feb-2023 03:15:10 303b4c3e3a48: Preparing
20-Feb-2023 03:15:10 f2f7b37d84dc: Preparing
20-Feb-2023 03:15:10 90dfd8d6ae72: Preparing
20-Feb-2023 03:15:10 e4a92042edbd: Preparing
20-Feb-2023 03:15:10 60de0bbda0ed: Preparing
20-Feb-2023 03:15:10 5f70bf18a086: Preparing
20-Feb-2023 03:15:10 b34b6277c81b: Preparing
20-Feb-2023 03:15:10 d0a6a0df9123: Preparing
20-Feb-2023 03:15:10 63bbdb3574ed: Preparing
20-Feb-2023 03:15:10 118873527352: Preparing
20-Feb-2023 03:15:10 3353ee3d6876: Preparing
20-Feb-2023 03:15:10 ab5b3452b7ed: Preparing
20-Feb-2023 03:15:10 34f73756f7aa: Preparing
20-Feb-2023 03:15:10 93d6620f79bb: Preparing
20-Feb-2023 03:15:10 be417e78cadd: Preparing
20-Feb-2023 03:15:10 647dc4000019: Preparing
20-Feb-2023 03:15:10 8c5ff259ef50: Preparing
20-Feb-2023 03:15:10 60de0bbda0ed: Waiting
20-Feb-2023 03:15:10 5f70bf18a086: Waiting
20-Feb-2023 03:15:10 b34b6277c81b: Waiting
20-Feb-2023 03:15:10 d0a6a0df9123: Waiting
20-Feb-2023 03:15:10 63bbdb3574ed: Waiting
20-Feb-2023 03:15:10 118873527352: Waiting
20-Feb-2023 03:15:10 3353ee3d6876: Waiting
20-Feb-2023 03:15:10 ab5b3452b7ed: Waiting
20-Feb-2023 03:15:10 34f73756f7aa: Waiting
20-Feb-2023 03:15:10 93d6620f79bb: Waiting
20-Feb-2023 03:15:10 be417e78cadd: Waiting
20-Feb-2023 03:15:10 647dc4000019: Waiting
20-Feb-2023 03:15:10 8c5ff259ef50: Waiting
20-Feb-2023 03:15:11 90dfd8d6ae72: Layer already exists
20-Feb-2023 03:15:11 e4a92042edbd: Layer already exists
20-Feb-2023 03:15:11 303b4c3e3a48: Layer already exists
20-Feb-2023 03:15:11 f2f7b37d84dc: Layer already exists
20-Feb-2023 03:15:11 243e05f79b8a: Layer already exists
20-Feb-2023 03:15:11 60de0bbda0ed: Layer already exists
20-Feb-2023 03:15:11 5f70bf18a086: Layer already exists
20-Feb-2023 03:15:11 b34b6277c81b: Layer already exists
20-Feb-2023 03:15:11 d0a6a0df9123: Layer already exists
20-Feb-2023 03:15:11 63bbdb3574ed: Layer already exists
20-Feb-2023 03:15:11 118873527352: Layer already exists
20-Feb-2023 03:15:11 3353ee3d6876: Layer already exists
20-Feb-2023 03:15:11 ab5b3452b7ed: Layer already exists
20-Feb-2023 03:15:11 93d6620f79bb: Layer already exists
20-Feb-2023 03:15:11 34f73756f7aa: Layer already exists
20-Feb-2023 03:15:11 be417e78cadd: Layer already exists
20-Feb-2023 03:15:11 647dc4000019: Layer already exists
20-Feb-2023 03:15:11 8c5ff259ef50: Layer already exists
20-Feb-2023 03:15:11 qa: digest: sha256:7db1e51c8910ac8ebb147648df90e82504d453e350650350fab5af105a545f40 size: 4088
20-Feb-2023 03:15:11 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
20-Feb-2023 03:15:11 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
20-Feb-2023 03:15:12 Removing unused images if any
20-Feb-2023 03:15:13 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 03:15:13 Pulling openmrs-referenceapplication-mysql ...
20-Feb-2023 03:15:13 Pulling openmrs-referenceapplication       ...
20-Feb-2023 03:15:13 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
20-Feb-2023 03:15:13 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
20-Feb-2023 03:15:13 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
20-Feb-2023 03:15:13 Pulling openmrs-referenceapplication-mysql ... done
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:14 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... waiting
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (0.7%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (100.0%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (0.5%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (20.2%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (1.1%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (14.7%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (100.0%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (38.3%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (28.4%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (55.1%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (41.2%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (73.3%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (55.0%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (92.1%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (68.2%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (82.9%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (97.1%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... extracting (0.7%)
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (25.7%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (47.9%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (70.8%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (97.8%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (0.5%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (19.2%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (38.0%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (55.7%)
20-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (71.4%)
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (86.1%)
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (95.7%)
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (3.0%)
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... digest: sha256:7db1e51c8910ac8ebb...
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
20-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... done
20-Feb-2023 03:15:17 Recreating all images and volumes
20-Feb-2023 03:15:17 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 03:15:17 Stopping qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 03:15:17 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 03:15:18 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 03:15:20 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 03:15:20 Removing qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 03:15:20 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 03:15:20 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 03:15:20 Removing qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 03:15:20 Removing network qa-refapp_default
20-Feb-2023 03:15:20 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
20-Feb-2023 03:15:21 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 03:15:21 Creating network "qa-refapp_default" with the default driver
20-Feb-2023 03:15:21 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
20-Feb-2023 03:15:21 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 03:15:21 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 03:15:21 Creating qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 03:15:22 Creating qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 03:15:22 Verifying if docker containers 71e2f0a3c21bc4612433c9504a99e6b0e08c32d7360f36927811cbcceca6a34b
20-Feb-2023 03:15:22 fed7dbee3f1b32bf9534a2f9ce24109c281fdfacb5eef0b30ac97d42990c0614 are healthy
20-Feb-2023 03:15:22 Status found: "starting"
20-Feb-2023 03:15:22 Waiting 15s
20-Feb-2023 03:15:37 Verifying if docker containers 71e2f0a3c21bc4612433c9504a99e6b0e08c32d7360f36927811cbcceca6a34b
20-Feb-2023 03:15:37 fed7dbee3f1b32bf9534a2f9ce24109c281fdfacb5eef0b30ac97d42990c0614 are healthy
20-Feb-2023 03:15:37 Status found: "starting"
20-Feb-2023 03:15:37 Waiting 15s
20-Feb-2023 03:15:52 Verifying if docker containers 71e2f0a3c21bc4612433c9504a99e6b0e08c32d7360f36927811cbcceca6a34b
20-Feb-2023 03:15:52 fed7dbee3f1b32bf9534a2f9ce24109c281fdfacb5eef0b30ac97d42990c0614 are healthy
20-Feb-2023 03:15:52 Status found: "healthy"
20-Feb-2023 03:15:52 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
20-Feb-2023 03:15:52 Running post build plugin 'Docker Container Cleanup'
20-Feb-2023 03:15:52 Running post build plugin 'NCover Results Collector'
20-Feb-2023 03:15:52 Running post build plugin 'Build Results Label Collector'
20-Feb-2023 03:15:52 Running post build plugin 'Clover Results Collector'
20-Feb-2023 03:15:52 Running post build plugin 'npm Cache Cleanup'
20-Feb-2023 03:15:52 Running post build plugin 'Artifact Copier'
20-Feb-2023 03:15:52 Finalising the build...
20-Feb-2023 03:15:52 Stopping timer.
20-Feb-2023 03:15:52 Build REFAPP-OMODDISTRO-DTMTS-13489 completed.
20-Feb-2023 03:15:52 Running on server: post build plugin 'Build Hanging Detection Configuration'
20-Feb-2023 03:15:52 Running on server: post build plugin 'NCover Results Collector'
20-Feb-2023 03:15:52 Running on server: post build plugin 'Build Labeller'
20-Feb-2023 03:15:52 Running on server: post build plugin 'Clover Delta Calculator'
20-Feb-2023 03:15:53 Running on server: post build plugin 'Maven Dependencies Postprocessor'
20-Feb-2023 03:15:53 All post build plugins have finished
20-Feb-2023 03:15:53 Generating build results summary...
20-Feb-2023 03:15:53 Saving build results to disk...
20-Feb-2023 03:15:53 Store variable context...
20-Feb-2023 03:15:53 Finished building REFAPP-OMODDISTRO-DTMTS-13489.