Deploys Reference Application SNAPSHOT to maven

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

14-Nov-2022 00:14:49 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13190 (REFAPP-OMODDISTRO-DTMTS-13190) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
14-Nov-2022 00:14:49 Remote agent on host xindi.openmrs.org
14-Nov-2022 00:14:49 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Nov-2022 00:14:49 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13190 (REFAPP-OMODDISTRO-DTMTS-13190)
14-Nov-2022 00:14:49 Running pre-build action: Build Log Labeller Pre Build Action
14-Nov-2022 00:14:49 Running pre-build action: VCS Version Collector
14-Nov-2022 00:14:49 Running pre-build action: Run Predator
14-Nov-2022 00:14:49 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
14-Nov-2022 00:14:49 [PredatorPreBuildAction] Running these commands: docker ps -q| xargs docker kill; docker ps -qa | xargs docker rm -f; docker system prune -af --filter until=48h; docker volume prune -f;
14-Nov-2022 00:14:49 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
14-Nov-2022 00:14:49 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
14-Nov-2022 00:14:49 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
14-Nov-2022 00:14:49 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
14-Nov-2022 00:14:49 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
14-Nov-2022 00:14:51 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
14-Nov-2022 00:14:51 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
14-Nov-2022 00:14:51 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
14-Nov-2022 00:14:51 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 39613 java        1433 bamboo-age 2980Mb  621Mb 00:24:54 /usr/lib/jvm/java-8-ope
14-Nov-2022 00:14:51 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1433 wrapper        1 bamboo-age   16Mb    2Mb 00:07:09 /home/bamboo-agent/bamb
14-Nov-2022 00:14:51 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:08:36 /sbin/init             
14-Nov-2022 00:14:51 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
14-Nov-2022 00:14:51 [PredatorPreBuildAction] Initial free space: 4.456814 GB
14-Nov-2022 00:14:51 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
14-Nov-2022 00:14:55 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
14-Nov-2022 00:14:55 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
14-Nov-2022 00:14:55 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
14-Nov-2022 00:14:55 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
14-Nov-2022 00:14:55 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
14-Nov-2022 00:14:55 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
14-Nov-2022 00:14:55 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
14-Nov-2022 00:14:55 [PredatorPreBuildAction] Final free space: 4.4884415 GB
14-Nov-2022 00:14:55 [PredatorPreBuildAction] Done
14-Nov-2022 00:14:55
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
14-Nov-2022 00:14:55
Substituting password variable: ${bamboo.dockerhub.password}
14-Nov-2022 00:14:55
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:53d5e288f2af8bcb3823084e3024e9620f66bf5fc8afc48870afe2410928f2d9
14-Nov-2022 00:14:55
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:53d5e288f2af8bcb3823084e3024e9620f66bf5fc8afc48870afe2410928f2d9
14-Nov-2022 00:14:55
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Nov-2022 00:14:55
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Nov-2022 00:14:55 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
14-Nov-2022 00:14:55
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13190 (REFAPP-OMODDISTRO-DTMTS-13190)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13190-ScriptBuildTask-8113094740575176089.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Nov-2022 00:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
14-Nov-2022 00:14:55 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
14-Nov-2022 00:14:55 Configure a credential helper to remove this warning. See
14-Nov-2022 00:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
14-Nov-2022 00:14:55
14-Nov-2022 00:14:55 Login Succeeded
14-Nov-2022 00:14:55 + docker pull openmrs/openmrs-reference-application@sha256:53d5e288f2af8bcb3823084e3024e9620f66bf5fc8afc48870afe2410928f2d9
14-Nov-2022 00:14:56 docker.io/openmrs/openmrs-reference-application@sha256:53d5e288f2af8bcb3823084e3024e9620f66bf5fc8afc48870afe2410928f2d9: Pulling from openmrs/openmrs-reference-application
14-Nov-2022 00:14:56 Digest: sha256:53d5e288f2af8bcb3823084e3024e9620f66bf5fc8afc48870afe2410928f2d9
14-Nov-2022 00:14:56 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:53d5e288f2af8bcb3823084e3024e9620f66bf5fc8afc48870afe2410928f2d9
14-Nov-2022 00:14:56 docker.io/openmrs/openmrs-reference-application@sha256:53d5e288f2af8bcb3823084e3024e9620f66bf5fc8afc48870afe2410928f2d9
14-Nov-2022 00:14:56 + docker tag openmrs/openmrs-reference-application@sha256:53d5e288f2af8bcb3823084e3024e9620f66bf5fc8afc48870afe2410928f2d9 openmrs/openmrs-reference-application:qa
14-Nov-2022 00:14:56 + docker push openmrs/openmrs-reference-application:qa
14-Nov-2022 00:14:56 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
14-Nov-2022 00:14:56 0a340e151b6b: Preparing
14-Nov-2022 00:14:56 d410d9824169: Preparing
14-Nov-2022 00:14:56 3d58f1825c45: Preparing
14-Nov-2022 00:14:56 bc1ff2e171fc: Preparing
14-Nov-2022 00:14:56 0d7567367df3: Preparing
14-Nov-2022 00:14:56 7166366c10ed: Preparing
14-Nov-2022 00:14:56 5f70bf18a086: Preparing
14-Nov-2022 00:14:56 ff399fe66155: Preparing
14-Nov-2022 00:14:56 f68cc74660ac: Preparing
14-Nov-2022 00:14:56 5e8152c21c19: Preparing
14-Nov-2022 00:14:56 d3b649348a36: Preparing
14-Nov-2022 00:14:56 863977ed1cf5: Preparing
14-Nov-2022 00:14:56 61fabc09defd: Preparing
14-Nov-2022 00:14:56 024fb52116d1: Preparing
14-Nov-2022 00:14:56 7f084483de6c: Preparing
14-Nov-2022 00:14:56 c0742fa78f13: Preparing
14-Nov-2022 00:14:56 97d2f1c2ec25: Preparing
14-Nov-2022 00:14:56 8c6806a06924: Preparing
14-Nov-2022 00:14:56 7166366c10ed: Waiting
14-Nov-2022 00:14:56 5f70bf18a086: Waiting
14-Nov-2022 00:14:56 d3b649348a36: Waiting
14-Nov-2022 00:14:56 ff399fe66155: Waiting
14-Nov-2022 00:14:56 f68cc74660ac: Waiting
14-Nov-2022 00:14:56 5e8152c21c19: Waiting
14-Nov-2022 00:14:56 863977ed1cf5: Waiting
14-Nov-2022 00:14:56 61fabc09defd: Waiting
14-Nov-2022 00:14:56 024fb52116d1: Waiting
14-Nov-2022 00:14:56 7f084483de6c: Waiting
14-Nov-2022 00:14:56 c0742fa78f13: Waiting
14-Nov-2022 00:14:56 97d2f1c2ec25: Waiting
14-Nov-2022 00:14:56 0d7567367df3: Layer already exists
14-Nov-2022 00:14:56 3d58f1825c45: Layer already exists
14-Nov-2022 00:14:56 d410d9824169: Layer already exists
14-Nov-2022 00:14:56 bc1ff2e171fc: Layer already exists
14-Nov-2022 00:14:56 0a340e151b6b: Layer already exists
14-Nov-2022 00:14:56 5f70bf18a086: Layer already exists
14-Nov-2022 00:14:56 7166366c10ed: Layer already exists
14-Nov-2022 00:14:56 ff399fe66155: Layer already exists
14-Nov-2022 00:14:56 5e8152c21c19: Layer already exists
14-Nov-2022 00:14:56 f68cc74660ac: Layer already exists
14-Nov-2022 00:14:56 863977ed1cf5: Layer already exists
14-Nov-2022 00:14:56 d3b649348a36: Layer already exists
14-Nov-2022 00:14:56 7f084483de6c: Layer already exists
14-Nov-2022 00:14:56 024fb52116d1: Layer already exists
14-Nov-2022 00:14:56 61fabc09defd: Layer already exists
14-Nov-2022 00:14:56 c0742fa78f13: Layer already exists
14-Nov-2022 00:14:57 8c6806a06924: Layer already exists
14-Nov-2022 00:14:57 97d2f1c2ec25: Layer already exists
14-Nov-2022 00:14:57 qa: digest: sha256:895362c640ba381354bf2f759ac477a5df51cdb96f54580eef0a2857014e9352 size: 4089
14-Nov-2022 00:14:57 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
14-Nov-2022 00:14:57 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
14-Nov-2022 00:14:58 Removing unused images if any
14-Nov-2022 00:14:58 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Nov-2022 00:14:58 Pulling openmrs-referenceapplication-mysql ...
14-Nov-2022 00:14:58 Pulling openmrs-referenceapplication       ...
14-Nov-2022 00:14:58 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication-mysql ... done
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... already exists
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... waiting
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (97.9%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... download complete
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (0.5%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (0.7%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (12.8%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (22.9%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (1.1%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... verifying checksum
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... download complete
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (44.4%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (28.5%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (42.2%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (62.6%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (57.5%)
14-Nov-2022 00:14:59 Pulling openmrs-referenceapplication       ... downloading (83.4%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... verifying checksum
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... download complete
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... downloading (70.8%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... downloading (84.1%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (0.7%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... downloading (93.4%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (18.7%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... verifying checksum
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... download complete
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (39.5%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (61.0%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (83.9%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... pull complete
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... pull complete
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (0.5%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (16.8%)
14-Nov-2022 00:15:00 Pulling openmrs-referenceapplication       ... extracting (32.5%)
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... extracting (50.3%)
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... extracting (67.5%)
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... extracting (84.3%)
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... pull complete
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... extracting (3.0%)
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... pull complete
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... digest: sha256:895362c640ba381354...
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
14-Nov-2022 00:15:01 Pulling openmrs-referenceapplication       ... done
14-Nov-2022 00:15:01 Recreating all images and volumes
14-Nov-2022 00:15:01 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Nov-2022 00:15:01 Stopping qa-refapp_openmrs-referenceapplication_1       ...
14-Nov-2022 00:15:01 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Nov-2022 00:15:02 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
14-Nov-2022 00:15:04 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Nov-2022 00:15:04 Removing qa-refapp_openmrs-referenceapplication_1       ...
14-Nov-2022 00:15:04 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Nov-2022 00:15:04 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Nov-2022 00:15:05 Removing qa-refapp_openmrs-referenceapplication_1       ... done
14-Nov-2022 00:15:05 Removing network qa-refapp_default
14-Nov-2022 00:15:05 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
14-Nov-2022 00:15:05 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Nov-2022 00:15:05 Creating network "qa-refapp_default" with the default driver
14-Nov-2022 00:15:05 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
14-Nov-2022 00:15:05 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Nov-2022 00:15:06 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Nov-2022 00:15:06 Creating qa-refapp_openmrs-referenceapplication_1       ...
14-Nov-2022 00:15:07 Creating qa-refapp_openmrs-referenceapplication_1       ... done
14-Nov-2022 00:15:07 Verifying if docker containers 378545f92d53dc2692e4cf4035715f663efd2bc24404bfc2772976359412756d
14-Nov-2022 00:15:07 d5fe55845c1a60c63372016609403e0cdb59f9b2fe3be90b9f028cf662961627 are healthy
14-Nov-2022 00:15:07 Status found: "starting"
14-Nov-2022 00:15:07 Waiting 15s
14-Nov-2022 00:15:22 Verifying if docker containers 378545f92d53dc2692e4cf4035715f663efd2bc24404bfc2772976359412756d
14-Nov-2022 00:15:22 d5fe55845c1a60c63372016609403e0cdb59f9b2fe3be90b9f028cf662961627 are healthy
14-Nov-2022 00:15:22 Status found: "starting"
14-Nov-2022 00:15:22 Waiting 15s
14-Nov-2022 00:15:37 Verifying if docker containers 378545f92d53dc2692e4cf4035715f663efd2bc24404bfc2772976359412756d
14-Nov-2022 00:15:37 d5fe55845c1a60c63372016609403e0cdb59f9b2fe3be90b9f028cf662961627 are healthy
14-Nov-2022 00:15:37 Status found: "healthy"
14-Nov-2022 00:15:37 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
14-Nov-2022 00:15:37 Running post build plugin 'Docker Container Cleanup'
14-Nov-2022 00:15:37 Running post build plugin 'NCover Results Collector'
14-Nov-2022 00:15:37 Running post build plugin 'Build Results Label Collector'
14-Nov-2022 00:15:37 Running post build plugin 'Clover Results Collector'
14-Nov-2022 00:15:37 Running post build plugin 'npm Cache Cleanup'
14-Nov-2022 00:15:37 Running post build plugin 'Artifact Copier'
14-Nov-2022 00:15:37 Finalising the build...
14-Nov-2022 00:15:37 Stopping timer.
14-Nov-2022 00:15:37 Build REFAPP-OMODDISTRO-DTMTS-13190 completed.
14-Nov-2022 00:15:37 Running on server: post build plugin 'Build Hanging Detection Configuration'
14-Nov-2022 00:15:37 Running on server: post build plugin 'NCover Results Collector'
14-Nov-2022 00:15:37 Running on server: post build plugin 'Build Labeller'
14-Nov-2022 00:15:37 Running on server: post build plugin 'Clover Delta Calculator'
14-Nov-2022 00:15:37 Running on server: post build plugin 'Maven Dependencies Postprocessor'
14-Nov-2022 00:15:37 All post build plugins have finished
14-Nov-2022 00:15:37 Generating build results summary...
14-Nov-2022 00:15:37 Saving build results to disk...
14-Nov-2022 00:15:37 Store variable context...
14-Nov-2022 00:15:37 Finished building REFAPP-OMODDISTRO-DTMTS-13190.