Deploys Reference Application SNAPSHOT to maven

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

14-Jan-2023 00:12:59 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13389 (REFAPP-OMODDISTRO-DTMTS-13389) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
14-Jan-2023 00:12:59 Remote agent on host xindi.openmrs.org
14-Jan-2023 00:12:59 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Jan-2023 00:12:59 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13389 (REFAPP-OMODDISTRO-DTMTS-13389)
14-Jan-2023 00:12:59 Running pre-build action: Build Log Labeller Pre Build Action
14-Jan-2023 00:12:59 Running pre-build action: VCS Version Collector
14-Jan-2023 00:12:59 Running pre-build action: Run Predator
14-Jan-2023 00:12:59 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
14-Jan-2023 00:12:59 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
14-Jan-2023 00:12:59 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
14-Jan-2023 00:13:00 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
14-Jan-2023 00:13:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 31432 java        1450 bamboo-age 2976Mb  496Mb 00:11:25 /usr/lib/jvm/java-8-ope
14-Jan-2023 00:13:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1450 wrapper        1 bamboo-age   16Mb    2Mb 00:18:20 /home/bamboo-agent/bamb
14-Jan-2023 00:13:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:14:49 /sbin/init             
14-Jan-2023 00:13:00 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
14-Jan-2023 00:13:00 [PredatorPreBuildAction] Initial free space: 3.321247 GB
14-Jan-2023 00:13:00 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
14-Jan-2023 00:13:04 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
14-Jan-2023 00:13:04 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
14-Jan-2023 00:13:04 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
14-Jan-2023 00:13:04 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
14-Jan-2023 00:13:04 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
14-Jan-2023 00:13:04 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
14-Jan-2023 00:13:04 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
14-Jan-2023 00:13:04 [PredatorPreBuildAction] Final free space: 3.3528748 GB
14-Jan-2023 00:13:04 [PredatorPreBuildAction] Done
14-Jan-2023 00:13:04
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
14-Jan-2023 00:13:04
Substituting password variable: ${bamboo.dockerhub.password}
14-Jan-2023 00:13:04
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:b71985727cc0b77cb7fb8aa6816bd15743c880d0fdeaf3a545d3e25a55a8b02c
14-Jan-2023 00:13:04
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:b71985727cc0b77cb7fb8aa6816bd15743c880d0fdeaf3a545d3e25a55a8b02c
14-Jan-2023 00:13:04
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Jan-2023 00:13:04
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
14-Jan-2023 00:13:04 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
14-Jan-2023 00:13:04
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13389 (REFAPP-OMODDISTRO-DTMTS-13389)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13389-ScriptBuildTask-2322936177196029001.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
14-Jan-2023 00:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
14-Jan-2023 00:13:05 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
14-Jan-2023 00:13:05 Configure a credential helper to remove this warning. See
14-Jan-2023 00:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
14-Jan-2023 00:13:05
14-Jan-2023 00:13:05 Login Succeeded
14-Jan-2023 00:13:05 + docker pull openmrs/openmrs-reference-application@sha256:b71985727cc0b77cb7fb8aa6816bd15743c880d0fdeaf3a545d3e25a55a8b02c
14-Jan-2023 00:13:05 docker.io/openmrs/openmrs-reference-application@sha256:b71985727cc0b77cb7fb8aa6816bd15743c880d0fdeaf3a545d3e25a55a8b02c: Pulling from openmrs/openmrs-reference-application
14-Jan-2023 00:13:05 Digest: sha256:b71985727cc0b77cb7fb8aa6816bd15743c880d0fdeaf3a545d3e25a55a8b02c
14-Jan-2023 00:13:05 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:b71985727cc0b77cb7fb8aa6816bd15743c880d0fdeaf3a545d3e25a55a8b02c
14-Jan-2023 00:13:05 docker.io/openmrs/openmrs-reference-application@sha256:b71985727cc0b77cb7fb8aa6816bd15743c880d0fdeaf3a545d3e25a55a8b02c
14-Jan-2023 00:13:05 + docker tag openmrs/openmrs-reference-application@sha256:b71985727cc0b77cb7fb8aa6816bd15743c880d0fdeaf3a545d3e25a55a8b02c openmrs/openmrs-reference-application:qa
14-Jan-2023 00:13:05 + docker push openmrs/openmrs-reference-application:qa
14-Jan-2023 00:13:05 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
14-Jan-2023 00:13:05 ff1ae4eb31ad: Preparing
14-Jan-2023 00:13:05 60a4a9a942c9: Preparing
14-Jan-2023 00:13:05 c48aa6f3c5f0: Preparing
14-Jan-2023 00:13:05 9843f0060dea: Preparing
14-Jan-2023 00:13:05 72d9ec969e5b: Preparing
14-Jan-2023 00:13:05 6fdd21bc4a9b: Preparing
14-Jan-2023 00:13:05 5f70bf18a086: Preparing
14-Jan-2023 00:13:05 b7243530d918: Preparing
14-Jan-2023 00:13:05 23323df4fbd9: Preparing
14-Jan-2023 00:13:05 725ecc0c9d62: Preparing
14-Jan-2023 00:13:05 6c1f45cb6682: Preparing
14-Jan-2023 00:13:05 b8aa9430b356: Preparing
14-Jan-2023 00:13:05 b46e16032f56: Preparing
14-Jan-2023 00:13:05 91ac82815b04: Preparing
14-Jan-2023 00:13:05 24fcda5a8b17: Preparing
14-Jan-2023 00:13:05 a4a7e924299e: Preparing
14-Jan-2023 00:13:05 059c2d42be74: Preparing
14-Jan-2023 00:13:05 3f800aca2a44: Preparing
14-Jan-2023 00:13:05 6fdd21bc4a9b: Waiting
14-Jan-2023 00:13:05 5f70bf18a086: Waiting
14-Jan-2023 00:13:05 b7243530d918: Waiting
14-Jan-2023 00:13:05 23323df4fbd9: Waiting
14-Jan-2023 00:13:05 725ecc0c9d62: Waiting
14-Jan-2023 00:13:05 6c1f45cb6682: Waiting
14-Jan-2023 00:13:05 b8aa9430b356: Waiting
14-Jan-2023 00:13:05 b46e16032f56: Waiting
14-Jan-2023 00:13:05 91ac82815b04: Waiting
14-Jan-2023 00:13:05 24fcda5a8b17: Waiting
14-Jan-2023 00:13:05 a4a7e924299e: Waiting
14-Jan-2023 00:13:05 059c2d42be74: Waiting
14-Jan-2023 00:13:05 3f800aca2a44: Waiting
14-Jan-2023 00:13:05 72d9ec969e5b: Layer already exists
14-Jan-2023 00:13:05 9843f0060dea: Layer already exists
14-Jan-2023 00:13:05 ff1ae4eb31ad: Layer already exists
14-Jan-2023 00:13:05 60a4a9a942c9: Layer already exists
14-Jan-2023 00:13:05 c48aa6f3c5f0: Layer already exists
14-Jan-2023 00:13:05 6fdd21bc4a9b: Layer already exists
14-Jan-2023 00:13:05 5f70bf18a086: Layer already exists
14-Jan-2023 00:13:05 725ecc0c9d62: Layer already exists
14-Jan-2023 00:13:05 23323df4fbd9: Layer already exists
14-Jan-2023 00:13:05 b7243530d918: Layer already exists
14-Jan-2023 00:13:05 6c1f45cb6682: Layer already exists
14-Jan-2023 00:13:05 b8aa9430b356: Layer already exists
14-Jan-2023 00:13:05 24fcda5a8b17: Layer already exists
14-Jan-2023 00:13:05 b46e16032f56: Layer already exists
14-Jan-2023 00:13:05 91ac82815b04: Layer already exists
14-Jan-2023 00:13:05 a4a7e924299e: Layer already exists
14-Jan-2023 00:13:05 059c2d42be74: Layer already exists
14-Jan-2023 00:13:05 3f800aca2a44: Layer already exists
14-Jan-2023 00:13:06 qa: digest: sha256:d078cd9394a55a7143101adf1b99c98859b2a9519fee59255d8e42aeab5d44be size: 4088
14-Jan-2023 00:13:06 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
14-Jan-2023 00:13:06 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
14-Jan-2023 00:13:07 Removing unused images if any
14-Jan-2023 00:13:07 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Jan-2023 00:13:07 Pulling openmrs-referenceapplication-mysql ...
14-Jan-2023 00:13:07 Pulling openmrs-referenceapplication       ...
14-Jan-2023 00:13:07 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
14-Jan-2023 00:13:07 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
14-Jan-2023 00:13:07 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
14-Jan-2023 00:13:07 Pulling openmrs-referenceapplication-mysql ... done
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... already exists
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... pulling fs layer
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... waiting
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (100.0%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... verifying checksum
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... download complete
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (0.7%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (0.5%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (1.1%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (20.2%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (14.2%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (100.0%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... verifying checksum
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... download complete
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (43.0%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (28.5%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (57.8%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (39.2%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (54.4%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (76.6%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (69.7%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (97.5%)
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... verifying checksum
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... download complete
14-Jan-2023 00:13:08 Pulling openmrs-referenceapplication       ... downloading (82.4%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (0.7%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (96.7%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... verifying checksum
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... download complete
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (21.5%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (45.8%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (68.7%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (95.8%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... pull complete
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... pull complete
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (0.5%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (13.7%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (30.4%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (49.6%)
14-Jan-2023 00:13:09 Pulling openmrs-referenceapplication       ... extracting (67.9%)
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (86.1%)
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... pull complete
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (3.0%)
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (100.0%)
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... pull complete
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... digest: sha256:d078cd9394a55a7143...
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
14-Jan-2023 00:13:10 Pulling openmrs-referenceapplication       ... done
14-Jan-2023 00:13:10 Recreating all images and volumes
14-Jan-2023 00:13:10 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Jan-2023 00:13:10 Stopping qa-refapp_openmrs-referenceapplication_1       ...
14-Jan-2023 00:13:10 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Jan-2023 00:13:11 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
14-Jan-2023 00:13:13 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Jan-2023 00:13:13 Removing qa-refapp_openmrs-referenceapplication_1       ...
14-Jan-2023 00:13:13 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Jan-2023 00:13:13 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Jan-2023 00:13:14 Removing qa-refapp_openmrs-referenceapplication_1       ... done
14-Jan-2023 00:13:14 Removing network qa-refapp_default
14-Jan-2023 00:13:14 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
14-Jan-2023 00:13:15 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
14-Jan-2023 00:13:15 Creating network "qa-refapp_default" with the default driver
14-Jan-2023 00:13:15 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
14-Jan-2023 00:13:15 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
14-Jan-2023 00:13:15 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
14-Jan-2023 00:13:15 Creating qa-refapp_openmrs-referenceapplication_1       ...
14-Jan-2023 00:13:16 Creating qa-refapp_openmrs-referenceapplication_1       ... done
14-Jan-2023 00:13:16 Verifying if docker containers fa904b1b75756d6c3833cb9cb09fa5812c8974910c8ba04b85482a1a3c351a57
14-Jan-2023 00:13:16 f07c6e125fe2fae2b96abb713187e22a0da4689277dc62a248becf3cc43d5da3 are healthy
14-Jan-2023 00:13:16 Status found: "starting"
14-Jan-2023 00:13:16 Waiting 15s
14-Jan-2023 00:13:31 Verifying if docker containers fa904b1b75756d6c3833cb9cb09fa5812c8974910c8ba04b85482a1a3c351a57
14-Jan-2023 00:13:31 f07c6e125fe2fae2b96abb713187e22a0da4689277dc62a248becf3cc43d5da3 are healthy
14-Jan-2023 00:13:32 Status found: "starting"
14-Jan-2023 00:13:32 Waiting 15s
14-Jan-2023 00:13:47 Verifying if docker containers fa904b1b75756d6c3833cb9cb09fa5812c8974910c8ba04b85482a1a3c351a57
14-Jan-2023 00:13:47 f07c6e125fe2fae2b96abb713187e22a0da4689277dc62a248becf3cc43d5da3 are healthy
14-Jan-2023 00:13:47 Status found: "healthy"
14-Jan-2023 00:13:47 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
14-Jan-2023 00:13:47 Running post build plugin 'Docker Container Cleanup'
14-Jan-2023 00:13:47 Running post build plugin 'NCover Results Collector'
14-Jan-2023 00:13:47 Running post build plugin 'Build Results Label Collector'
14-Jan-2023 00:13:47 Running post build plugin 'Clover Results Collector'
14-Jan-2023 00:13:47 Running post build plugin 'npm Cache Cleanup'
14-Jan-2023 00:13:47 Running post build plugin 'Artifact Copier'
14-Jan-2023 00:13:47 Finalising the build...
14-Jan-2023 00:13:47 Stopping timer.
14-Jan-2023 00:13:47 Build REFAPP-OMODDISTRO-DTMTS-13389 completed.
14-Jan-2023 00:13:47 Running on server: post build plugin 'Build Hanging Detection Configuration'
14-Jan-2023 00:13:47 Running on server: post build plugin 'NCover Results Collector'
14-Jan-2023 00:13:47 Running on server: post build plugin 'Build Labeller'
14-Jan-2023 00:13:47 Running on server: post build plugin 'Clover Delta Calculator'
14-Jan-2023 00:13:47 Running on server: post build plugin 'Maven Dependencies Postprocessor'
14-Jan-2023 00:13:47 All post build plugins have finished
14-Jan-2023 00:13:47 Generating build results summary...
14-Jan-2023 00:13:47 Saving build results to disk...
14-Jan-2023 00:13:47 Store variable context...
14-Jan-2023 00:13:47 Finished building REFAPP-OMODDISTRO-DTMTS-13389.