Deploys Reference Application SNAPSHOT to maven

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

06-Feb-2023 00:12:24 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13448 (REFAPP-OMODDISTRO-DTMTS-13448) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
06-Feb-2023 00:12:24 Remote agent on host xiao.openmrs.org
06-Feb-2023 00:12:24 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
06-Feb-2023 00:12:24 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13448 (REFAPP-OMODDISTRO-DTMTS-13448)
06-Feb-2023 00:12:24 Running pre-build action: Build Log Labeller Pre Build Action
06-Feb-2023 00:12:24 Running pre-build action: VCS Version Collector
06-Feb-2023 00:12:24 Running pre-build action: Run Predator
06-Feb-2023 00:12:24 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
06-Feb-2023 00:12:24 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
06-Feb-2023 00:12:24 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
06-Feb-2023 00:12:24 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
06-Feb-2023 00:12:24 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 39819 java        1476 bamboo-age 2978Mb  492Mb 00:11:07 /usr/lib/jvm/java-8-ope
06-Feb-2023 00:12:24 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:09:54 /home/bamboo-agent/bamb
06-Feb-2023 00:12:24 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:47 /sbin/init             
06-Feb-2023 00:12:24 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
06-Feb-2023 00:12:24 [PredatorPreBuildAction] Initial free space: 3.055336 GB
06-Feb-2023 00:12:24 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
06-Feb-2023 00:12:28 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
06-Feb-2023 00:12:28 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
06-Feb-2023 00:12:28 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
06-Feb-2023 00:12:28 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
06-Feb-2023 00:12:28 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
06-Feb-2023 00:12:28 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
06-Feb-2023 00:12:28 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
06-Feb-2023 00:12:28 [PredatorPreBuildAction] Final free space: 3.086979 GB
06-Feb-2023 00:12:28 [PredatorPreBuildAction] Done
06-Feb-2023 00:12:28
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
06-Feb-2023 00:12:28
Substituting password variable: ${bamboo.dockerhub.password}
06-Feb-2023 00:12:28
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c80ca9a9448862028bea7210d1704582c9504930e0ecec796f4ac17a3b5daeab
06-Feb-2023 00:12:28
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c80ca9a9448862028bea7210d1704582c9504930e0ecec796f4ac17a3b5daeab
06-Feb-2023 00:12:28
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
06-Feb-2023 00:12:28
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
06-Feb-2023 00:12:28 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
06-Feb-2023 00:12:28
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13448 (REFAPP-OMODDISTRO-DTMTS-13448)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13448-ScriptBuildTask-2445258057507705142.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
06-Feb-2023 00:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
06-Feb-2023 00:12:28 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
06-Feb-2023 00:12:28 Configure a credential helper to remove this warning. See
06-Feb-2023 00:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
06-Feb-2023 00:12:28
06-Feb-2023 00:12:28 Login Succeeded
06-Feb-2023 00:12:28 + docker pull openmrs/openmrs-reference-application@sha256:c80ca9a9448862028bea7210d1704582c9504930e0ecec796f4ac17a3b5daeab
06-Feb-2023 00:12:29 docker.io/openmrs/openmrs-reference-application@sha256:c80ca9a9448862028bea7210d1704582c9504930e0ecec796f4ac17a3b5daeab: Pulling from openmrs/openmrs-reference-application
06-Feb-2023 00:12:29 Digest: sha256:c80ca9a9448862028bea7210d1704582c9504930e0ecec796f4ac17a3b5daeab
06-Feb-2023 00:12:29 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:c80ca9a9448862028bea7210d1704582c9504930e0ecec796f4ac17a3b5daeab
06-Feb-2023 00:12:29 docker.io/openmrs/openmrs-reference-application@sha256:c80ca9a9448862028bea7210d1704582c9504930e0ecec796f4ac17a3b5daeab
06-Feb-2023 00:12:29 + docker tag openmrs/openmrs-reference-application@sha256:c80ca9a9448862028bea7210d1704582c9504930e0ecec796f4ac17a3b5daeab openmrs/openmrs-reference-application:qa
06-Feb-2023 00:12:29 + docker push openmrs/openmrs-reference-application:qa
06-Feb-2023 00:12:29 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
06-Feb-2023 00:12:29 502b5a5e6a46: Preparing
06-Feb-2023 00:12:29 a2827c32b4ff: Preparing
06-Feb-2023 00:12:29 d74ff79a77c6: Preparing
06-Feb-2023 00:12:29 a75c286e0bb3: Preparing
06-Feb-2023 00:12:29 0740b0956fe0: Preparing
06-Feb-2023 00:12:29 60de0bbda0ed: Preparing
06-Feb-2023 00:12:29 5f70bf18a086: Preparing
06-Feb-2023 00:12:29 b34b6277c81b: Preparing
06-Feb-2023 00:12:29 d0a6a0df9123: Preparing
06-Feb-2023 00:12:29 63bbdb3574ed: Preparing
06-Feb-2023 00:12:29 118873527352: Preparing
06-Feb-2023 00:12:29 3353ee3d6876: Preparing
06-Feb-2023 00:12:29 ab5b3452b7ed: Preparing
06-Feb-2023 00:12:29 34f73756f7aa: Preparing
06-Feb-2023 00:12:29 93d6620f79bb: Preparing
06-Feb-2023 00:12:29 be417e78cadd: Preparing
06-Feb-2023 00:12:29 647dc4000019: Preparing
06-Feb-2023 00:12:29 8c5ff259ef50: Preparing
06-Feb-2023 00:12:29 60de0bbda0ed: Waiting
06-Feb-2023 00:12:29 5f70bf18a086: Waiting
06-Feb-2023 00:12:29 b34b6277c81b: Waiting
06-Feb-2023 00:12:29 d0a6a0df9123: Waiting
06-Feb-2023 00:12:29 63bbdb3574ed: Waiting
06-Feb-2023 00:12:29 118873527352: Waiting
06-Feb-2023 00:12:29 3353ee3d6876: Waiting
06-Feb-2023 00:12:29 ab5b3452b7ed: Waiting
06-Feb-2023 00:12:29 34f73756f7aa: Waiting
06-Feb-2023 00:12:29 93d6620f79bb: Waiting
06-Feb-2023 00:12:29 be417e78cadd: Waiting
06-Feb-2023 00:12:29 647dc4000019: Waiting
06-Feb-2023 00:12:29 8c5ff259ef50: Waiting
06-Feb-2023 00:12:29 0740b0956fe0: Layer already exists
06-Feb-2023 00:12:29 502b5a5e6a46: Layer already exists
06-Feb-2023 00:12:29 a75c286e0bb3: Layer already exists
06-Feb-2023 00:12:29 a2827c32b4ff: Layer already exists
06-Feb-2023 00:12:29 d74ff79a77c6: Layer already exists
06-Feb-2023 00:12:29 60de0bbda0ed: Layer already exists
06-Feb-2023 00:12:29 5f70bf18a086: Layer already exists
06-Feb-2023 00:12:29 b34b6277c81b: Layer already exists
06-Feb-2023 00:12:29 63bbdb3574ed: Layer already exists
06-Feb-2023 00:12:29 d0a6a0df9123: Layer already exists
06-Feb-2023 00:12:29 118873527352: Layer already exists
06-Feb-2023 00:12:29 3353ee3d6876: Layer already exists
06-Feb-2023 00:12:29 ab5b3452b7ed: Layer already exists
06-Feb-2023 00:12:29 34f73756f7aa: Layer already exists
06-Feb-2023 00:12:29 93d6620f79bb: Layer already exists
06-Feb-2023 00:12:30 be417e78cadd: Layer already exists
06-Feb-2023 00:12:30 647dc4000019: Layer already exists
06-Feb-2023 00:12:30 8c5ff259ef50: Layer already exists
06-Feb-2023 00:12:30 qa: digest: sha256:faa819058d32c8be07f7ca818b29411fcf89ad72a937a3c7d7b2169a08363246 size: 4088
06-Feb-2023 00:12:30 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
06-Feb-2023 00:12:30 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
06-Feb-2023 00:12:31 Removing unused images if any
06-Feb-2023 00:12:31 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
06-Feb-2023 00:12:31 Pulling openmrs-referenceapplication-mysql ...
06-Feb-2023 00:12:31 Pulling openmrs-referenceapplication       ...
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication-mysql ... done
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... waiting
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... downloading (100.0%)
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... verifying checksum
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... download complete
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... downloading (0.5%)
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... downloading (0.7%)
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... downloading (15.2%)
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... downloading (1.1%)
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... downloading (20.8%)
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... verifying checksum
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... download complete
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... downloading (29.9%)
06-Feb-2023 00:12:32 Pulling openmrs-referenceapplication       ... downloading (39.6%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... downloading (43.7%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... downloading (57.1%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... downloading (57.4%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... downloading (75.9%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... downloading (70.2%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... downloading (94.1%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... verifying checksum
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... download complete
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... downloading (83.9%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... downloading (96.2%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... verifying checksum
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... download complete
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... extracting (0.7%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... extracting (18.7%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... extracting (44.4%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... extracting (67.3%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... extracting (90.2%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... pull complete
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 00:12:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... pull complete
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (0.5%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (17.7%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (35.0%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (52.2%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (69.4%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (86.6%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (95.2%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... pull complete
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (3.0%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... pull complete
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... digest: sha256:faa819058d32c8be07...
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
06-Feb-2023 00:12:34 Pulling openmrs-referenceapplication       ... done
06-Feb-2023 00:12:34 Recreating all images and volumes
06-Feb-2023 00:12:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
06-Feb-2023 00:12:35 Stopping qa-refapp_openmrs-referenceapplication_1       ...
06-Feb-2023 00:12:35 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
06-Feb-2023 00:12:35 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
06-Feb-2023 00:12:37 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
06-Feb-2023 00:12:37 Removing qa-refapp_openmrs-referenceapplication_1       ...
06-Feb-2023 00:12:37 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
06-Feb-2023 00:12:37 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
06-Feb-2023 00:12:38 Removing qa-refapp_openmrs-referenceapplication_1       ... done
06-Feb-2023 00:12:38 Removing network qa-refapp_default
06-Feb-2023 00:12:38 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
06-Feb-2023 00:12:38 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
06-Feb-2023 00:12:38 Creating network "qa-refapp_default" with the default driver
06-Feb-2023 00:12:38 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
06-Feb-2023 00:12:38 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
06-Feb-2023 00:12:39 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
06-Feb-2023 00:12:39 Creating qa-refapp_openmrs-referenceapplication_1       ...
06-Feb-2023 00:12:40 Creating qa-refapp_openmrs-referenceapplication_1       ... done
06-Feb-2023 00:12:40 Verifying if docker containers f2ea695e71ee45c89f1580c448fc44c0a0f88aa0d8d774fabde7e9c54664a723
06-Feb-2023 00:12:40 b1f9d0f60dcf7479259cb837ffe840d82c67c959bb62b97f184961f4454e58d8 are healthy
06-Feb-2023 00:12:40 Status found: "starting"
06-Feb-2023 00:12:40 Waiting 15s
06-Feb-2023 00:12:55 Verifying if docker containers f2ea695e71ee45c89f1580c448fc44c0a0f88aa0d8d774fabde7e9c54664a723
06-Feb-2023 00:12:55 b1f9d0f60dcf7479259cb837ffe840d82c67c959bb62b97f184961f4454e58d8 are healthy
06-Feb-2023 00:12:55 Status found: "starting"
06-Feb-2023 00:12:55 Waiting 15s
06-Feb-2023 00:13:10 Verifying if docker containers f2ea695e71ee45c89f1580c448fc44c0a0f88aa0d8d774fabde7e9c54664a723
06-Feb-2023 00:13:10 b1f9d0f60dcf7479259cb837ffe840d82c67c959bb62b97f184961f4454e58d8 are healthy
06-Feb-2023 00:13:10 Status found: "healthy"
06-Feb-2023 00:13:10 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
06-Feb-2023 00:13:10 Running post build plugin 'Docker Container Cleanup'
06-Feb-2023 00:13:10 Running post build plugin 'NCover Results Collector'
06-Feb-2023 00:13:10 Running post build plugin 'Build Results Label Collector'
06-Feb-2023 00:13:10 Running post build plugin 'Clover Results Collector'
06-Feb-2023 00:13:10 Running post build plugin 'npm Cache Cleanup'
06-Feb-2023 00:13:10 Running post build plugin 'Artifact Copier'
06-Feb-2023 00:13:10 Finalising the build...
06-Feb-2023 00:13:10 Stopping timer.
06-Feb-2023 00:13:10 Build REFAPP-OMODDISTRO-DTMTS-13448 completed.
06-Feb-2023 00:13:10 Running on server: post build plugin 'Build Hanging Detection Configuration'
06-Feb-2023 00:13:10 Running on server: post build plugin 'NCover Results Collector'
06-Feb-2023 00:13:10 Running on server: post build plugin 'Build Labeller'
06-Feb-2023 00:13:10 Running on server: post build plugin 'Clover Delta Calculator'
06-Feb-2023 00:13:10 Running on server: post build plugin 'Maven Dependencies Postprocessor'
06-Feb-2023 00:13:10 All post build plugins have finished
06-Feb-2023 00:13:10 Generating build results summary...
06-Feb-2023 00:13:10 Saving build results to disk...
06-Feb-2023 00:13:10 Store variable context...
06-Feb-2023 00:13:10 Finished building REFAPP-OMODDISTRO-DTMTS-13448.