Deploys Reference Application SNAPSHOT to maven

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

14-Mar-2023 03:21:31 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13561 (REFAPP-OMODDISTRO-DTMTS-13561) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
14-Mar-2023 03:21:31 Remote agent on host xiao.openmrs.org
14-Mar-2023 03:21:31 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Mar-2023 03:21:31 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13561 (REFAPP-OMODDISTRO-DTMTS-13561)
14-Mar-2023 03:21:31 Running pre-build action: Build Log Labeller Pre Build Action
14-Mar-2023 03:21:31 Running pre-build action: VCS Version Collector
14-Mar-2023 03:21:31 Running pre-build action: Run Predator
14-Mar-2023 03:21:31 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
14-Mar-2023 03:21:31 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
14-Mar-2023 03:21:31 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
14-Mar-2023 03:21:31 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
14-Mar-2023 03:21:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 20482 java        1479 bamboo-age 2975Mb  478Mb 00:09:10 /usr/lib/jvm/java-8-ope
14-Mar-2023 03:21:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1479 wrapper        1 bamboo-age   16Mb    3Mb 00:04:02 /home/bamboo-agent/bamb
14-Mar-2023 03:21:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   12Mb 00:00:38 /lib/systemd/systemd --
14-Mar-2023 03:21:31 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
14-Mar-2023 03:21:31 [PredatorPreBuildAction] Initial free space: 2.533268 GB
14-Mar-2023 03:21:31 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
14-Mar-2023 03:21:35 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
14-Mar-2023 03:21:35 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
14-Mar-2023 03:21:35 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
14-Mar-2023 03:21:36 [PredatorPreBuildAction] Maven stable disk freed: 0.0284902 GB, deleted 310 files
14-Mar-2023 03:21:36 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
14-Mar-2023 03:21:36 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
14-Mar-2023 03:21:36 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
14-Mar-2023 03:21:36 [PredatorPreBuildAction] Final free space: 2.5649376 GB
14-Mar-2023 03:21:36 [PredatorPreBuildAction] Done
14-Mar-2023 03:21:36
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
14-Mar-2023 03:21:36
Substituting password variable: ${bamboo.dockerhub.password}
14-Mar-2023 03:21:36
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:cc461643eb2bedcda1f8f616998df7fd0271dafe31217d3a97fb270e69910303
14-Mar-2023 03:21:36
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:cc461643eb2bedcda1f8f616998df7fd0271dafe31217d3a97fb270e69910303
14-Mar-2023 03:21:36
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Mar-2023 03:21:36
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Mar-2023 03:21:36 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
14-Mar-2023 03:21:36
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13561 (REFAPP-OMODDISTRO-DTMTS-13561)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13561-ScriptBuildTask-4645529197353724740.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Mar-2023 03:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
14-Mar-2023 03:21:36 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
14-Mar-2023 03:21:36 Configure a credential helper to remove this warning. See
14-Mar-2023 03:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
14-Mar-2023 03:21:36
14-Mar-2023 03:21:36 Login Succeeded
14-Mar-2023 03:21:36 + docker pull openmrs/openmrs-reference-application@sha256:cc461643eb2bedcda1f8f616998df7fd0271dafe31217d3a97fb270e69910303
14-Mar-2023 03:21:36 docker.io/openmrs/openmrs-reference-application@sha256:cc461643eb2bedcda1f8f616998df7fd0271dafe31217d3a97fb270e69910303: Pulling from openmrs/openmrs-reference-application
14-Mar-2023 03:21:36 Digest: sha256:cc461643eb2bedcda1f8f616998df7fd0271dafe31217d3a97fb270e69910303
14-Mar-2023 03:21:36 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:cc461643eb2bedcda1f8f616998df7fd0271dafe31217d3a97fb270e69910303
14-Mar-2023 03:21:36 docker.io/openmrs/openmrs-reference-application@sha256:cc461643eb2bedcda1f8f616998df7fd0271dafe31217d3a97fb270e69910303
14-Mar-2023 03:21:36 + docker tag openmrs/openmrs-reference-application@sha256:cc461643eb2bedcda1f8f616998df7fd0271dafe31217d3a97fb270e69910303 openmrs/openmrs-reference-application:qa
14-Mar-2023 03:21:36 + docker push openmrs/openmrs-reference-application:qa
14-Mar-2023 03:21:36 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
14-Mar-2023 03:21:36 c6f979ba4731: Preparing
14-Mar-2023 03:21:36 808b42c5de72: Preparing
14-Mar-2023 03:21:36 19675b70226f: Preparing
14-Mar-2023 03:21:36 eb5f90fc0e36: Preparing
14-Mar-2023 03:21:36 259d338e0fbd: Preparing
14-Mar-2023 03:21:36 6c95f61118ed: Preparing
14-Mar-2023 03:21:36 5f70bf18a086: Preparing
14-Mar-2023 03:21:36 256473643621: Preparing
14-Mar-2023 03:21:36 2920fd245f09: Preparing
14-Mar-2023 03:21:36 6c95f61118ed: Waiting
14-Mar-2023 03:21:36 5f70bf18a086: Waiting
14-Mar-2023 03:21:36 256473643621: Waiting
14-Mar-2023 03:21:36 b0de2ea368f8: Preparing
14-Mar-2023 03:21:36 f5291c9524f4: Preparing
14-Mar-2023 03:21:36 dac532ad5cb6: Preparing
14-Mar-2023 03:21:36 2920fd245f09: Waiting
14-Mar-2023 03:21:36 b0de2ea368f8: Waiting
14-Mar-2023 03:21:36 f5291c9524f4: Waiting
14-Mar-2023 03:21:36 4c521b7b1daf: Preparing
14-Mar-2023 03:21:36 36476cadc5c2: Preparing
14-Mar-2023 03:21:36 dac532ad5cb6: Waiting
14-Mar-2023 03:21:36 4c521b7b1daf: Waiting
14-Mar-2023 03:21:36 96769b7a3a64: Preparing
14-Mar-2023 03:21:36 ecf2ad663867: Preparing
14-Mar-2023 03:21:36 36476cadc5c2: Waiting
14-Mar-2023 03:21:36 96769b7a3a64: Waiting
14-Mar-2023 03:21:36 8942ec0edea2: Preparing
14-Mar-2023 03:21:36 ecf2ad663867: Waiting
14-Mar-2023 03:21:36 941b8b0a5987: Preparing
14-Mar-2023 03:21:36 8942ec0edea2: Waiting
14-Mar-2023 03:21:36 259d338e0fbd: Layer already exists
14-Mar-2023 03:21:36 c6f979ba4731: Layer already exists
14-Mar-2023 03:21:36 eb5f90fc0e36: Layer already exists
14-Mar-2023 03:21:36 808b42c5de72: Layer already exists
14-Mar-2023 03:21:36 19675b70226f: Layer already exists
14-Mar-2023 03:21:37 6c95f61118ed: Layer already exists
14-Mar-2023 03:21:37 5f70bf18a086: Layer already exists
14-Mar-2023 03:21:37 256473643621: Layer already exists
14-Mar-2023 03:21:37 b0de2ea368f8: Layer already exists
14-Mar-2023 03:21:37 2920fd245f09: Layer already exists
14-Mar-2023 03:21:37 f5291c9524f4: Layer already exists
14-Mar-2023 03:21:37 dac532ad5cb6: Layer already exists
14-Mar-2023 03:21:37 36476cadc5c2: Layer already exists
14-Mar-2023 03:21:37 4c521b7b1daf: Layer already exists
14-Mar-2023 03:21:37 96769b7a3a64: Layer already exists
14-Mar-2023 03:21:37 ecf2ad663867: Layer already exists
14-Mar-2023 03:21:37 8942ec0edea2: Layer already exists
14-Mar-2023 03:21:37 941b8b0a5987: Layer already exists
14-Mar-2023 03:21:37 qa: digest: sha256:7097968f8002059d17e83c3927c41177888bfacf9d2f10465f00568fbdf21d46 size: 4092
14-Mar-2023 03:21:37 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
14-Mar-2023 03:21:37 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
14-Mar-2023 03:21:38 Removing unused images if any
14-Mar-2023 03:21:39 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication-mysql ...
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ...
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication-mysql ... done
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... already exists
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... waiting
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (96.4%)
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (100.0%)
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... verifying checksum
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... download complete
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (0.7%)
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (0.5%)
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (21.2%)
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (11.8%)
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (1.1%)
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (100.0%)
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... verifying checksum
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... download complete
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (40.4%)
14-Mar-2023 03:21:39 Pulling openmrs-referenceapplication       ... downloading (26.5%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... downloading (61.5%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... downloading (41.7%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... downloading (84.1%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... downloading (57.4%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... verifying checksum
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... download complete
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... downloading (73.6%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... extracting (0.7%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... downloading (88.3%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... extracting (21.2%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... verifying checksum
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... download complete
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... extracting (45.1%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... extracting (69.1%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... extracting (95.9%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... pull complete
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... pull complete
14-Mar-2023 03:21:40 Pulling openmrs-referenceapplication       ... extracting (0.5%)
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... extracting (19.2%)
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... extracting (39.0%)
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... extracting (56.2%)
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... extracting (73.4%)
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... extracting (90.1%)
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... pull complete
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... extracting (3.0%)
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... pull complete
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... digest: sha256:7097968f8002059d17...
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
14-Mar-2023 03:21:41 Pulling openmrs-referenceapplication       ... done
14-Mar-2023 03:21:41 Recreating all images and volumes
14-Mar-2023 03:21:41 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Mar-2023 03:21:41 Stopping qa-refapp_openmrs-referenceapplication_1       ...
14-Mar-2023 03:21:41 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Mar-2023 03:21:42 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
14-Mar-2023 03:21:44 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Mar-2023 03:21:44 Removing qa-refapp_openmrs-referenceapplication_1       ...
14-Mar-2023 03:21:44 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Mar-2023 03:21:44 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Mar-2023 03:21:45 Removing qa-refapp_openmrs-referenceapplication_1       ... done
14-Mar-2023 03:21:45 Removing network qa-refapp_default
14-Mar-2023 03:21:45 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
14-Mar-2023 03:21:45 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Mar-2023 03:21:45 Creating network "qa-refapp_default" with the default driver
14-Mar-2023 03:21:45 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
14-Mar-2023 03:21:46 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Mar-2023 03:21:46 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Mar-2023 03:21:46 Creating qa-refapp_openmrs-referenceapplication_1       ...
14-Mar-2023 03:21:47 Creating qa-refapp_openmrs-referenceapplication_1       ... done
14-Mar-2023 03:21:47 Verifying if docker containers 9b71e5ee715fd9a9fdf878cc4a63d3109382225fa44b991791db67168f8acc68
14-Mar-2023 03:21:47 1ea346bba53c9f157514ebfb169a0e0959d8a6463a455916d29da069cb611ba0 are healthy
14-Mar-2023 03:21:47 Status found: "starting"
14-Mar-2023 03:21:47 Waiting 15s
14-Mar-2023 03:22:02 Verifying if docker containers 9b71e5ee715fd9a9fdf878cc4a63d3109382225fa44b991791db67168f8acc68
14-Mar-2023 03:22:02 1ea346bba53c9f157514ebfb169a0e0959d8a6463a455916d29da069cb611ba0 are healthy
14-Mar-2023 03:22:02 Status found: "starting"
14-Mar-2023 03:22:02 Waiting 15s
14-Mar-2023 03:22:17 Verifying if docker containers 9b71e5ee715fd9a9fdf878cc4a63d3109382225fa44b991791db67168f8acc68
14-Mar-2023 03:22:17 1ea346bba53c9f157514ebfb169a0e0959d8a6463a455916d29da069cb611ba0 are healthy
14-Mar-2023 03:22:17 Status found: "healthy"
14-Mar-2023 03:22:17 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
14-Mar-2023 03:22:17 Running post build plugin 'Docker Container Cleanup'
14-Mar-2023 03:22:17 Running post build plugin 'NCover Results Collector'
14-Mar-2023 03:22:17 Running post build plugin 'Build Results Label Collector'
14-Mar-2023 03:22:17 Running post build plugin 'Clover Results Collector'
14-Mar-2023 03:22:17 Running post build plugin 'npm Cache Cleanup'
14-Mar-2023 03:22:17 Running post build plugin 'Artifact Copier'
14-Mar-2023 03:22:17 Finalising the build...
14-Mar-2023 03:22:17 Stopping timer.
14-Mar-2023 03:22:17 Build REFAPP-OMODDISTRO-DTMTS-13561 completed.
14-Mar-2023 03:22:17 Running on server: post build plugin 'Build Hanging Detection Configuration'
14-Mar-2023 03:22:17 Running on server: post build plugin 'NCover Results Collector'
14-Mar-2023 03:22:17 Running on server: post build plugin 'Build Labeller'
14-Mar-2023 03:22:17 Running on server: post build plugin 'Clover Delta Calculator'
14-Mar-2023 03:22:17 Running on server: post build plugin 'Maven Dependencies Postprocessor'
14-Mar-2023 03:22:17 All post build plugins have finished
14-Mar-2023 03:22:17 Generating build results summary...
14-Mar-2023 03:22:17 Saving build results to disk...
14-Mar-2023 03:22:17 Store variable context...
14-Mar-2023 03:22:17 Finished building REFAPP-OMODDISTRO-DTMTS-13561.