Deploys Reference Application SNAPSHOT to maven

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

14-Feb-2023 00:12:57 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13472 (REFAPP-OMODDISTRO-DTMTS-13472) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
14-Feb-2023 00:12:57 Remote agent on host yu.openmrs.org
14-Feb-2023 00:12:57 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Feb-2023 00:12:57 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13472 (REFAPP-OMODDISTRO-DTMTS-13472)
14-Feb-2023 00:12:57 Running pre-build action: Build Log Labeller Pre Build Action
14-Feb-2023 00:12:57 Running pre-build action: VCS Version Collector
14-Feb-2023 00:12:57 Running pre-build action: Run Predator
14-Feb-2023 00:12:57 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
14-Feb-2023 00:12:57 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
14-Feb-2023 00:12:57 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
14-Feb-2023 00:12:57 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
14-Feb-2023 00:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2956Mb  349Mb 00:03:03 /usr/lib/jvm/java-8-ope
14-Feb-2023 00:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    3Mb 00:00:44 /home/bamboo-agent/bamb
14-Feb-2023 00:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:06 /sbin/init             
14-Feb-2023 00:12:57 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
14-Feb-2023 00:12:57 [PredatorPreBuildAction] Initial free space: 2.9426537 GB
14-Feb-2023 00:12:57 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
14-Feb-2023 00:13:02 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
14-Feb-2023 00:13:02 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
14-Feb-2023 00:13:02 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
14-Feb-2023 00:13:02 [PredatorPreBuildAction] Maven stable disk freed: 0.3690821 GB, deleted 83 files
14-Feb-2023 00:13:02 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
14-Feb-2023 00:13:02 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
14-Feb-2023 00:13:02 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
14-Feb-2023 00:13:02 [PredatorPreBuildAction] Final free space: 2.9742928 GB
14-Feb-2023 00:13:02 [PredatorPreBuildAction] Done
14-Feb-2023 00:13:02
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
14-Feb-2023 00:13:02
Substituting password variable: ${bamboo.dockerhub.password}
14-Feb-2023 00:13:02
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:66b411c22efc4bd5110dccc25177e5a38777b1f2729d1a206f9ab1a77b541e07
14-Feb-2023 00:13:02
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:66b411c22efc4bd5110dccc25177e5a38777b1f2729d1a206f9ab1a77b541e07
14-Feb-2023 00:13:02
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Feb-2023 00:13:02
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Feb-2023 00:13:02 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
14-Feb-2023 00:13:02
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13472 (REFAPP-OMODDISTRO-DTMTS-13472)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13472-ScriptBuildTask-6969724097958386758.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Feb-2023 00:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
14-Feb-2023 00:13:02 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
14-Feb-2023 00:13:02 Configure a credential helper to remove this warning. See
14-Feb-2023 00:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
14-Feb-2023 00:13:02
14-Feb-2023 00:13:02 Login Succeeded
14-Feb-2023 00:13:02 + docker pull openmrs/openmrs-reference-application@sha256:66b411c22efc4bd5110dccc25177e5a38777b1f2729d1a206f9ab1a77b541e07
14-Feb-2023 00:13:03 docker.io/openmrs/openmrs-reference-application@sha256:66b411c22efc4bd5110dccc25177e5a38777b1f2729d1a206f9ab1a77b541e07: Pulling from openmrs/openmrs-reference-application
14-Feb-2023 00:13:03 Digest: sha256:66b411c22efc4bd5110dccc25177e5a38777b1f2729d1a206f9ab1a77b541e07
14-Feb-2023 00:13:03 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:66b411c22efc4bd5110dccc25177e5a38777b1f2729d1a206f9ab1a77b541e07
14-Feb-2023 00:13:03 docker.io/openmrs/openmrs-reference-application@sha256:66b411c22efc4bd5110dccc25177e5a38777b1f2729d1a206f9ab1a77b541e07
14-Feb-2023 00:13:03 + docker tag openmrs/openmrs-reference-application@sha256:66b411c22efc4bd5110dccc25177e5a38777b1f2729d1a206f9ab1a77b541e07 openmrs/openmrs-reference-application:qa
14-Feb-2023 00:13:03 + docker push openmrs/openmrs-reference-application:qa
14-Feb-2023 00:13:03 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
14-Feb-2023 00:13:03 30ea355ca5c6: Preparing
14-Feb-2023 00:13:03 44ce9fcd0f4f: Preparing
14-Feb-2023 00:13:03 097a5bf26c5d: Preparing
14-Feb-2023 00:13:03 d503310f5d1a: Preparing
14-Feb-2023 00:13:03 9f732191ac63: Preparing
14-Feb-2023 00:13:03 60de0bbda0ed: Preparing
14-Feb-2023 00:13:03 5f70bf18a086: Preparing
14-Feb-2023 00:13:03 b34b6277c81b: Preparing
14-Feb-2023 00:13:03 d0a6a0df9123: Preparing
14-Feb-2023 00:13:03 63bbdb3574ed: Preparing
14-Feb-2023 00:13:03 118873527352: Preparing
14-Feb-2023 00:13:03 3353ee3d6876: Preparing
14-Feb-2023 00:13:03 ab5b3452b7ed: Preparing
14-Feb-2023 00:13:03 34f73756f7aa: Preparing
14-Feb-2023 00:13:03 93d6620f79bb: Preparing
14-Feb-2023 00:13:03 be417e78cadd: Preparing
14-Feb-2023 00:13:03 647dc4000019: Preparing
14-Feb-2023 00:13:03 8c5ff259ef50: Preparing
14-Feb-2023 00:13:03 60de0bbda0ed: Waiting
14-Feb-2023 00:13:03 5f70bf18a086: Waiting
14-Feb-2023 00:13:03 b34b6277c81b: Waiting
14-Feb-2023 00:13:03 d0a6a0df9123: Waiting
14-Feb-2023 00:13:03 63bbdb3574ed: Waiting
14-Feb-2023 00:13:03 118873527352: Waiting
14-Feb-2023 00:13:03 3353ee3d6876: Waiting
14-Feb-2023 00:13:03 ab5b3452b7ed: Waiting
14-Feb-2023 00:13:03 34f73756f7aa: Waiting
14-Feb-2023 00:13:03 93d6620f79bb: Waiting
14-Feb-2023 00:13:03 be417e78cadd: Waiting
14-Feb-2023 00:13:03 647dc4000019: Waiting
14-Feb-2023 00:13:03 8c5ff259ef50: Waiting
14-Feb-2023 00:13:03 097a5bf26c5d: Layer already exists
14-Feb-2023 00:13:03 d503310f5d1a: Layer already exists
14-Feb-2023 00:13:03 30ea355ca5c6: Layer already exists
14-Feb-2023 00:13:03 44ce9fcd0f4f: Layer already exists
14-Feb-2023 00:13:03 9f732191ac63: Layer already exists
14-Feb-2023 00:13:03 60de0bbda0ed: Layer already exists
14-Feb-2023 00:13:03 5f70bf18a086: Layer already exists
14-Feb-2023 00:13:03 b34b6277c81b: Layer already exists
14-Feb-2023 00:13:03 63bbdb3574ed: Layer already exists
14-Feb-2023 00:13:03 d0a6a0df9123: Layer already exists
14-Feb-2023 00:13:03 118873527352: Layer already exists
14-Feb-2023 00:13:03 3353ee3d6876: Layer already exists
14-Feb-2023 00:13:03 34f73756f7aa: Layer already exists
14-Feb-2023 00:13:03 93d6620f79bb: Layer already exists
14-Feb-2023 00:13:03 ab5b3452b7ed: Layer already exists
14-Feb-2023 00:13:03 be417e78cadd: Layer already exists
14-Feb-2023 00:13:03 647dc4000019: Layer already exists
14-Feb-2023 00:13:03 8c5ff259ef50: Layer already exists
14-Feb-2023 00:13:04 qa: digest: sha256:5e7e4a2be3897bc33c4ff1413d83ba3ea43b8623260950510fe8c4d355b089de size: 4088
14-Feb-2023 00:13:04 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
14-Feb-2023 00:13:04 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
14-Feb-2023 00:13:05 Removing unused images if any
14-Feb-2023 00:13:05 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Feb-2023 00:13:05 Pulling openmrs-referenceapplication-mysql ...
14-Feb-2023 00:13:05 Pulling openmrs-referenceapplication       ...
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication-mysql ... done
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... already exists
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... waiting
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (100.0%)
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... verifying checksum
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... download complete
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (0.5%)
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (0.7%)
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (1.1%)
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (17.7%)
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... verifying checksum
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... download complete
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (20.8%)
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (34.3%)
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (43.6%)
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (49.0%)
14-Feb-2023 00:13:06 Pulling openmrs-referenceapplication       ... downloading (65.8%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... downloading (63.3%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... downloading (86.0%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... downloading (76.1%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... verifying checksum
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... download complete
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... downloading (89.3%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... download complete
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... extracting (0.7%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... extracting (13.9%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... extracting (32.6%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... extracting (45.1%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... extracting (67.3%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... extracting (92.3%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... pull complete
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Feb-2023 00:13:07 Pulling openmrs-referenceapplication       ... pull complete
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (0.5%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (17.2%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (36.0%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (54.2%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (69.9%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (85.1%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (94.7%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... pull complete
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (3.0%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... pull complete
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... digest: sha256:5e7e4a2be3897bc33c...
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
14-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ... done
14-Feb-2023 00:13:08 Recreating all images and volumes
14-Feb-2023 00:13:09 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Feb-2023 00:13:09 Stopping qa-refapp_openmrs-referenceapplication_1       ...
14-Feb-2023 00:13:09 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Feb-2023 00:13:09 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
14-Feb-2023 00:13:11 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Feb-2023 00:13:11 Removing qa-refapp_openmrs-referenceapplication_1       ...
14-Feb-2023 00:13:11 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Feb-2023 00:13:11 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Feb-2023 00:13:11 Removing qa-refapp_openmrs-referenceapplication_1       ... done
14-Feb-2023 00:13:11 Removing network qa-refapp_default
14-Feb-2023 00:13:12 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
14-Feb-2023 00:13:12 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Feb-2023 00:13:12 Creating network "qa-refapp_default" with the default driver
14-Feb-2023 00:13:12 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
14-Feb-2023 00:13:12 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Feb-2023 00:13:13 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Feb-2023 00:13:13 Creating qa-refapp_openmrs-referenceapplication_1       ...
14-Feb-2023 00:13:13 Creating qa-refapp_openmrs-referenceapplication_1       ... done
14-Feb-2023 00:13:13 Verifying if docker containers dff0a629f3e901eca7ed86a7816af09a6e13340a4ba5d2eeba8aaf0cb454bf5f
14-Feb-2023 00:13:13 83d85309ce96205d9a780490881234d18bb353152e768ad2c23af894ccb8e310 are healthy
14-Feb-2023 00:13:14 Status found: "starting"
14-Feb-2023 00:13:14 Waiting 15s
14-Feb-2023 00:13:29 Verifying if docker containers dff0a629f3e901eca7ed86a7816af09a6e13340a4ba5d2eeba8aaf0cb454bf5f
14-Feb-2023 00:13:29 83d85309ce96205d9a780490881234d18bb353152e768ad2c23af894ccb8e310 are healthy
14-Feb-2023 00:13:29 Status found: "starting"
14-Feb-2023 00:13:29 Waiting 15s
14-Feb-2023 00:13:44 Verifying if docker containers dff0a629f3e901eca7ed86a7816af09a6e13340a4ba5d2eeba8aaf0cb454bf5f
14-Feb-2023 00:13:44 83d85309ce96205d9a780490881234d18bb353152e768ad2c23af894ccb8e310 are healthy
14-Feb-2023 00:13:44 Status found: "healthy"
14-Feb-2023 00:13:44 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
14-Feb-2023 00:13:44 Running post build plugin 'Docker Container Cleanup'
14-Feb-2023 00:13:44 Running post build plugin 'NCover Results Collector'
14-Feb-2023 00:13:44 Running post build plugin 'Build Results Label Collector'
14-Feb-2023 00:13:44 Running post build plugin 'Clover Results Collector'
14-Feb-2023 00:13:44 Running post build plugin 'npm Cache Cleanup'
14-Feb-2023 00:13:44 Running post build plugin 'Artifact Copier'
14-Feb-2023 00:13:44 Finalising the build...
14-Feb-2023 00:13:44 Stopping timer.
14-Feb-2023 00:13:44 Build REFAPP-OMODDISTRO-DTMTS-13472 completed.
14-Feb-2023 00:13:44 Running on server: post build plugin 'Build Hanging Detection Configuration'
14-Feb-2023 00:13:44 Running on server: post build plugin 'NCover Results Collector'
14-Feb-2023 00:13:44 Running on server: post build plugin 'Build Labeller'
14-Feb-2023 00:13:44 Running on server: post build plugin 'Clover Delta Calculator'
14-Feb-2023 00:13:44 Running on server: post build plugin 'Maven Dependencies Postprocessor'
14-Feb-2023 00:13:44 All post build plugins have finished
14-Feb-2023 00:13:44 Generating build results summary...
14-Feb-2023 00:13:44 Saving build results to disk...
14-Feb-2023 00:13:44 Store variable context...
14-Feb-2023 00:13:44 Finished building REFAPP-OMODDISTRO-DTMTS-13472.