Deploys Reference Application SNAPSHOT to maven

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

16-Feb-2023 03:13:27 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13480 (REFAPP-OMODDISTRO-DTMTS-13480) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
16-Feb-2023 03:13:27 Remote agent on host xindi.openmrs.org
16-Feb-2023 03:13:27 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
16-Feb-2023 03:13:27 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13480 (REFAPP-OMODDISTRO-DTMTS-13480)
16-Feb-2023 03:13:27 Running pre-build action: Build Log Labeller Pre Build Action
16-Feb-2023 03:13:27 Running pre-build action: VCS Version Collector
16-Feb-2023 03:13:27 Running pre-build action: Run Predator
16-Feb-2023 03:13:27 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
16-Feb-2023 03:13:27 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
16-Feb-2023 03:13:27 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
16-Feb-2023 03:13:29 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
16-Feb-2023 03:13:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2976Mb  405Mb 00:09:13 /usr/lib/jvm/java-8-ope
16-Feb-2023 03:13:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    2Mb 00:02:04 /home/bamboo-agent/bamb
16-Feb-2023 03:13:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   11Mb 00:00:49 /sbin/init             
16-Feb-2023 03:13:29 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
16-Feb-2023 03:13:29 [PredatorPreBuildAction] Initial free space: 1.7644806 GB
16-Feb-2023 03:13:29 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
16-Feb-2023 03:13:34 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
16-Feb-2023 03:13:34 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
16-Feb-2023 03:13:34 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
16-Feb-2023 03:13:34 [PredatorPreBuildAction] Maven stable disk freed: 0.002426098 GB, deleted 167 files
16-Feb-2023 03:13:34 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
16-Feb-2023 03:13:34 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
16-Feb-2023 03:13:34 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
16-Feb-2023 03:13:34 [PredatorPreBuildAction] Final free space: 1.7961273 GB
16-Feb-2023 03:13:34 [PredatorPreBuildAction] Done
16-Feb-2023 03:13:34
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
16-Feb-2023 03:13:34
Substituting password variable: ${bamboo.dockerhub.password}
16-Feb-2023 03:13:34
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:aea3b7db56a1ee30f750a85c62d24dfdf4df49db2f93756c1ce409285f77df72
16-Feb-2023 03:13:34
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:aea3b7db56a1ee30f750a85c62d24dfdf4df49db2f93756c1ce409285f77df72
16-Feb-2023 03:13:34
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
16-Feb-2023 03:13:34
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
16-Feb-2023 03:13:34 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
16-Feb-2023 03:13:34
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13480 (REFAPP-OMODDISTRO-DTMTS-13480)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13480-ScriptBuildTask-7135976218057087966.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
16-Feb-2023 03:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
16-Feb-2023 03:13:34 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
16-Feb-2023 03:13:34 Configure a credential helper to remove this warning. See
16-Feb-2023 03:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
16-Feb-2023 03:13:34
16-Feb-2023 03:13:34 Login Succeeded
16-Feb-2023 03:13:34 + docker pull openmrs/openmrs-reference-application@sha256:aea3b7db56a1ee30f750a85c62d24dfdf4df49db2f93756c1ce409285f77df72
16-Feb-2023 03:13:35 docker.io/openmrs/openmrs-reference-application@sha256:aea3b7db56a1ee30f750a85c62d24dfdf4df49db2f93756c1ce409285f77df72: Pulling from openmrs/openmrs-reference-application
16-Feb-2023 03:13:35 Digest: sha256:aea3b7db56a1ee30f750a85c62d24dfdf4df49db2f93756c1ce409285f77df72
16-Feb-2023 03:13:35 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:aea3b7db56a1ee30f750a85c62d24dfdf4df49db2f93756c1ce409285f77df72
16-Feb-2023 03:13:35 docker.io/openmrs/openmrs-reference-application@sha256:aea3b7db56a1ee30f750a85c62d24dfdf4df49db2f93756c1ce409285f77df72
16-Feb-2023 03:13:35 + docker tag openmrs/openmrs-reference-application@sha256:aea3b7db56a1ee30f750a85c62d24dfdf4df49db2f93756c1ce409285f77df72 openmrs/openmrs-reference-application:qa
16-Feb-2023 03:13:35 + docker push openmrs/openmrs-reference-application:qa
16-Feb-2023 03:13:35 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
16-Feb-2023 03:13:35 069039120dc6: Preparing
16-Feb-2023 03:13:35 ca01a2d9a0d9: Preparing
16-Feb-2023 03:13:35 9552648518b4: Preparing
16-Feb-2023 03:13:35 d77b51253d68: Preparing
16-Feb-2023 03:13:35 2893150654c9: Preparing
16-Feb-2023 03:13:35 60de0bbda0ed: Preparing
16-Feb-2023 03:13:35 5f70bf18a086: Preparing
16-Feb-2023 03:13:35 b34b6277c81b: Preparing
16-Feb-2023 03:13:35 d0a6a0df9123: Preparing
16-Feb-2023 03:13:35 63bbdb3574ed: Preparing
16-Feb-2023 03:13:35 118873527352: Preparing
16-Feb-2023 03:13:35 3353ee3d6876: Preparing
16-Feb-2023 03:13:35 ab5b3452b7ed: Preparing
16-Feb-2023 03:13:35 34f73756f7aa: Preparing
16-Feb-2023 03:13:35 93d6620f79bb: Preparing
16-Feb-2023 03:13:35 be417e78cadd: Preparing
16-Feb-2023 03:13:35 647dc4000019: Preparing
16-Feb-2023 03:13:35 8c5ff259ef50: Preparing
16-Feb-2023 03:13:35 d0a6a0df9123: Waiting
16-Feb-2023 03:13:35 63bbdb3574ed: Waiting
16-Feb-2023 03:13:35 118873527352: Waiting
16-Feb-2023 03:13:35 3353ee3d6876: Waiting
16-Feb-2023 03:13:35 ab5b3452b7ed: Waiting
16-Feb-2023 03:13:35 34f73756f7aa: Waiting
16-Feb-2023 03:13:35 93d6620f79bb: Waiting
16-Feb-2023 03:13:35 60de0bbda0ed: Waiting
16-Feb-2023 03:13:35 be417e78cadd: Waiting
16-Feb-2023 03:13:35 647dc4000019: Waiting
16-Feb-2023 03:13:35 8c5ff259ef50: Waiting
16-Feb-2023 03:13:35 5f70bf18a086: Waiting
16-Feb-2023 03:13:35 b34b6277c81b: Waiting
16-Feb-2023 03:13:35 9552648518b4: Layer already exists
16-Feb-2023 03:13:35 ca01a2d9a0d9: Layer already exists
16-Feb-2023 03:13:35 2893150654c9: Layer already exists
16-Feb-2023 03:13:35 d77b51253d68: Layer already exists
16-Feb-2023 03:13:35 069039120dc6: Layer already exists
16-Feb-2023 03:13:35 60de0bbda0ed: Layer already exists
16-Feb-2023 03:13:35 5f70bf18a086: Layer already exists
16-Feb-2023 03:13:35 b34b6277c81b: Layer already exists
16-Feb-2023 03:13:35 63bbdb3574ed: Layer already exists
16-Feb-2023 03:13:35 d0a6a0df9123: Layer already exists
16-Feb-2023 03:13:35 3353ee3d6876: Layer already exists
16-Feb-2023 03:13:35 118873527352: Layer already exists
16-Feb-2023 03:13:35 ab5b3452b7ed: Layer already exists
16-Feb-2023 03:13:35 34f73756f7aa: Layer already exists
16-Feb-2023 03:13:35 93d6620f79bb: Layer already exists
16-Feb-2023 03:13:35 be417e78cadd: Layer already exists
16-Feb-2023 03:13:35 647dc4000019: Layer already exists
16-Feb-2023 03:13:35 8c5ff259ef50: Layer already exists
16-Feb-2023 03:13:36 qa: digest: sha256:591fc7bfb6cb1483618cdd1e302e10ce749ae2631bcd3272a7a07d1b576e8b00 size: 4088
16-Feb-2023 03:13:36 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
16-Feb-2023 03:13:36 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
16-Feb-2023 03:13:37 Removing unused images if any
16-Feb-2023 03:13:37 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication-mysql ...
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication       ...
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication-mysql ... done
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... waiting
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (100.0%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... verifying checksum
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... download complete
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (0.5%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (0.7%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (10.8%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (18.1%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (1.1%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (100.0%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... verifying checksum
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... download complete
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (25.0%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (39.0%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (38.8%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (59.2%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (53.5%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (77.3%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (69.7%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (96.1%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... verifying checksum
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... download complete
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (83.0%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (0.7%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (94.2%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (17.3%)
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... verifying checksum
16-Feb-2023 03:13:38 Pulling openmrs-referenceapplication       ... download complete
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (40.9%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (61.1%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (83.3%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... pull complete
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... pull complete
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (0.5%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (14.2%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (32.9%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (48.1%)
16-Feb-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (65.8%)
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... extracting (78.5%)
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... extracting (90.2%)
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... pull complete
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... extracting (3.0%)
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... pull complete
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... digest: sha256:591fc7bfb6cb148361...
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
16-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ... done
16-Feb-2023 03:13:40 Recreating all images and volumes
16-Feb-2023 03:13:40 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Feb-2023 03:13:40 Stopping qa-refapp_openmrs-referenceapplication_1       ...
16-Feb-2023 03:13:40 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Feb-2023 03:13:41 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
16-Feb-2023 03:13:42 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Feb-2023 03:13:42 Removing qa-refapp_openmrs-referenceapplication_1       ...
16-Feb-2023 03:13:42 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Feb-2023 03:13:42 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Feb-2023 03:13:43 Removing qa-refapp_openmrs-referenceapplication_1       ... done
16-Feb-2023 03:13:43 Removing network qa-refapp_default
16-Feb-2023 03:13:43 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
16-Feb-2023 03:13:44 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Feb-2023 03:13:44 Creating network "qa-refapp_default" with the default driver
16-Feb-2023 03:13:44 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
16-Feb-2023 03:13:44 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Feb-2023 03:13:44 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Feb-2023 03:13:44 Creating qa-refapp_openmrs-referenceapplication_1       ...
16-Feb-2023 03:13:45 Creating qa-refapp_openmrs-referenceapplication_1       ... done
16-Feb-2023 03:13:45 Verifying if docker containers 064cecde07e16c31cfdf228718a8e8a2726dc5d38a5a07024c35bfb72b4525dd
16-Feb-2023 03:13:45 3c977d113dab9348bfbaa98c0de1c19b6156d9708a15c5e2512d33d3ba6f5fc4 are healthy
16-Feb-2023 03:13:45 Status found: "starting"
16-Feb-2023 03:13:45 Waiting 15s
16-Feb-2023 03:14:00 Verifying if docker containers 064cecde07e16c31cfdf228718a8e8a2726dc5d38a5a07024c35bfb72b4525dd
16-Feb-2023 03:14:00 3c977d113dab9348bfbaa98c0de1c19b6156d9708a15c5e2512d33d3ba6f5fc4 are healthy
16-Feb-2023 03:14:00 Status found: "starting"
16-Feb-2023 03:14:00 Waiting 15s
16-Feb-2023 03:14:15 Verifying if docker containers 064cecde07e16c31cfdf228718a8e8a2726dc5d38a5a07024c35bfb72b4525dd
16-Feb-2023 03:14:15 3c977d113dab9348bfbaa98c0de1c19b6156d9708a15c5e2512d33d3ba6f5fc4 are healthy
16-Feb-2023 03:14:15 Status found: "healthy"
16-Feb-2023 03:14:15 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
16-Feb-2023 03:14:15 Running post build plugin 'Docker Container Cleanup'
16-Feb-2023 03:14:15 Running post build plugin 'NCover Results Collector'
16-Feb-2023 03:14:15 Running post build plugin 'Build Results Label Collector'
16-Feb-2023 03:14:15 Running post build plugin 'Clover Results Collector'
16-Feb-2023 03:14:15 Running post build plugin 'npm Cache Cleanup'
16-Feb-2023 03:14:15 Running post build plugin 'Artifact Copier'
16-Feb-2023 03:14:15 Finalising the build...
16-Feb-2023 03:14:15 Stopping timer.
16-Feb-2023 03:14:15 Build REFAPP-OMODDISTRO-DTMTS-13480 completed.
16-Feb-2023 03:14:15 Running on server: post build plugin 'Build Hanging Detection Configuration'
16-Feb-2023 03:14:15 Running on server: post build plugin 'NCover Results Collector'
16-Feb-2023 03:14:15 Running on server: post build plugin 'Build Labeller'
16-Feb-2023 03:14:15 Running on server: post build plugin 'Clover Delta Calculator'
16-Feb-2023 03:14:15 Running on server: post build plugin 'Maven Dependencies Postprocessor'
16-Feb-2023 03:14:15 All post build plugins have finished
16-Feb-2023 03:14:15 Generating build results summary...
16-Feb-2023 03:14:15 Saving build results to disk...
16-Feb-2023 03:14:15 Store variable context...
16-Feb-2023 03:14:15 Finished building REFAPP-OMODDISTRO-DTMTS-13480.