Deploys Reference Application SNAPSHOT to maven

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

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