Deploys Reference Application SNAPSHOT to maven

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

22-Jan-2023 03:13:18 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13407 (REFAPP-OMODDISTRO-DTMTS-13407) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
22-Jan-2023 03:13:18 Remote agent on host xiao.openmrs.org
22-Jan-2023 03:13:18 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
22-Jan-2023 03:13:18 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13407 (REFAPP-OMODDISTRO-DTMTS-13407)
22-Jan-2023 03:13:18 Running pre-build action: Build Log Labeller Pre Build Action
22-Jan-2023 03:13:18 Running pre-build action: VCS Version Collector
22-Jan-2023 03:13:18 Running pre-build action: Run Predator
22-Jan-2023 03:13:18 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
22-Jan-2023 03:13:18 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
22-Jan-2023 03:13:18 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
22-Jan-2023 03:13:18 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
22-Jan-2023 03:13:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1996 java        1476 bamboo-age 2967Mb  462Mb 00:11:12 /usr/lib/jvm/java-8-ope
22-Jan-2023 03:13:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:02:59 /home/bamboo-agent/bamb
22-Jan-2023 03:13:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:22 /sbin/init             
22-Jan-2023 03:13:18 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
22-Jan-2023 03:13:18 [PredatorPreBuildAction] Initial free space: 3.4183006 GB
22-Jan-2023 03:13:18 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
22-Jan-2023 03:13:20 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
22-Jan-2023 03:13:20 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
22-Jan-2023 03:13:20 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
22-Jan-2023 03:13:21 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
22-Jan-2023 03:13:21 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
22-Jan-2023 03:13:21 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
22-Jan-2023 03:13:21 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
22-Jan-2023 03:13:21 [PredatorPreBuildAction] Final free space: 3.4499435 GB
22-Jan-2023 03:13:21 [PredatorPreBuildAction] Done
22-Jan-2023 03:13:21
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
22-Jan-2023 03:13:21
Substituting password variable: ${bamboo.dockerhub.password}
22-Jan-2023 03:13:21
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f8611cc7e27b0b97e88786f9a8ed03c7b0da93f2b69f62ab3165aa5052846c23
22-Jan-2023 03:13:21
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f8611cc7e27b0b97e88786f9a8ed03c7b0da93f2b69f62ab3165aa5052846c23
22-Jan-2023 03:13:21
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
22-Jan-2023 03:13:21
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
22-Jan-2023 03:13:21 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
22-Jan-2023 03:13:21
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13407 (REFAPP-OMODDISTRO-DTMTS-13407)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13407-ScriptBuildTask-870200858721910356.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
22-Jan-2023 03:13:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
22-Jan-2023 03:13:21 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
22-Jan-2023 03:13:21 Configure a credential helper to remove this warning. See
22-Jan-2023 03:13:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
22-Jan-2023 03:13:21
22-Jan-2023 03:13:21 Login Succeeded
22-Jan-2023 03:13:21 + docker pull openmrs/openmrs-reference-application@sha256:f8611cc7e27b0b97e88786f9a8ed03c7b0da93f2b69f62ab3165aa5052846c23
22-Jan-2023 03:13:21 docker.io/openmrs/openmrs-reference-application@sha256:f8611cc7e27b0b97e88786f9a8ed03c7b0da93f2b69f62ab3165aa5052846c23: Pulling from openmrs/openmrs-reference-application
22-Jan-2023 03:13:21 Digest: sha256:f8611cc7e27b0b97e88786f9a8ed03c7b0da93f2b69f62ab3165aa5052846c23
22-Jan-2023 03:13:21 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:f8611cc7e27b0b97e88786f9a8ed03c7b0da93f2b69f62ab3165aa5052846c23
22-Jan-2023 03:13:21 docker.io/openmrs/openmrs-reference-application@sha256:f8611cc7e27b0b97e88786f9a8ed03c7b0da93f2b69f62ab3165aa5052846c23
22-Jan-2023 03:13:21 + docker tag openmrs/openmrs-reference-application@sha256:f8611cc7e27b0b97e88786f9a8ed03c7b0da93f2b69f62ab3165aa5052846c23 openmrs/openmrs-reference-application:qa
22-Jan-2023 03:13:21 + docker push openmrs/openmrs-reference-application:qa
22-Jan-2023 03:13:21 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
22-Jan-2023 03:13:21 bbe85bfd60b3: Preparing
22-Jan-2023 03:13:21 d7c098a643c7: Preparing
22-Jan-2023 03:13:21 cc9e2e7521da: Preparing
22-Jan-2023 03:13:21 afb5c055c85e: Preparing
22-Jan-2023 03:13:21 e61322449ad0: Preparing
22-Jan-2023 03:13:21 6fdd21bc4a9b: Preparing
22-Jan-2023 03:13:21 5f70bf18a086: Preparing
22-Jan-2023 03:13:21 b7243530d918: Preparing
22-Jan-2023 03:13:21 23323df4fbd9: Preparing
22-Jan-2023 03:13:21 725ecc0c9d62: Preparing
22-Jan-2023 03:13:21 6c1f45cb6682: Preparing
22-Jan-2023 03:13:21 b8aa9430b356: Preparing
22-Jan-2023 03:13:21 b46e16032f56: Preparing
22-Jan-2023 03:13:21 91ac82815b04: Preparing
22-Jan-2023 03:13:21 24fcda5a8b17: Preparing
22-Jan-2023 03:13:21 a4a7e924299e: Preparing
22-Jan-2023 03:13:21 059c2d42be74: Preparing
22-Jan-2023 03:13:21 3f800aca2a44: Preparing
22-Jan-2023 03:13:21 6fdd21bc4a9b: Waiting
22-Jan-2023 03:13:21 5f70bf18a086: Waiting
22-Jan-2023 03:13:21 b7243530d918: Waiting
22-Jan-2023 03:13:21 23323df4fbd9: Waiting
22-Jan-2023 03:13:21 725ecc0c9d62: Waiting
22-Jan-2023 03:13:21 6c1f45cb6682: Waiting
22-Jan-2023 03:13:21 b8aa9430b356: Waiting
22-Jan-2023 03:13:21 b46e16032f56: Waiting
22-Jan-2023 03:13:21 24fcda5a8b17: Waiting
22-Jan-2023 03:13:21 91ac82815b04: Waiting
22-Jan-2023 03:13:21 a4a7e924299e: Waiting
22-Jan-2023 03:13:21 059c2d42be74: Waiting
22-Jan-2023 03:13:21 3f800aca2a44: Waiting
22-Jan-2023 03:13:21 e61322449ad0: Layer already exists
22-Jan-2023 03:13:21 cc9e2e7521da: Layer already exists
22-Jan-2023 03:13:21 afb5c055c85e: Layer already exists
22-Jan-2023 03:13:22 bbe85bfd60b3: Layer already exists
22-Jan-2023 03:13:22 d7c098a643c7: Layer already exists
22-Jan-2023 03:13:22 6fdd21bc4a9b: Layer already exists
22-Jan-2023 03:13:22 5f70bf18a086: Layer already exists
22-Jan-2023 03:13:22 b7243530d918: Layer already exists
22-Jan-2023 03:13:22 6c1f45cb6682: Layer already exists
22-Jan-2023 03:13:22 725ecc0c9d62: Layer already exists
22-Jan-2023 03:13:22 23323df4fbd9: Layer already exists
22-Jan-2023 03:13:22 b8aa9430b356: Layer already exists
22-Jan-2023 03:13:22 b46e16032f56: Layer already exists
22-Jan-2023 03:13:22 91ac82815b04: Layer already exists
22-Jan-2023 03:13:22 24fcda5a8b17: Layer already exists
22-Jan-2023 03:13:22 a4a7e924299e: Layer already exists
22-Jan-2023 03:13:22 059c2d42be74: Layer already exists
22-Jan-2023 03:13:22 3f800aca2a44: Layer already exists
22-Jan-2023 03:13:22 qa: digest: sha256:2ecc1f836d33c99d8b285284125c9291e90b746869874f7cb02e639d4ce9de03 size: 4088
22-Jan-2023 03:13:22 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
22-Jan-2023 03:13:22 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
22-Jan-2023 03:13:23 Removing unused images if any
22-Jan-2023 03:13:24 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication-mysql ...
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ...
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication-mysql ... done
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... already exists
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... waiting
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... downloading (100.0%)
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... verifying checksum
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... download complete
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... downloading (0.5%)
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... downloading (0.7%)
22-Jan-2023 03:13:24 Pulling openmrs-referenceapplication       ... downloading (1.1%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (17.2%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (18.1%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... verifying checksum
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... download complete
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (30.9%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (38.3%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (44.7%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (55.1%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (57.4%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (73.9%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (74.1%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (96.8%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... verifying checksum
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... download complete
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... downloading (90.8%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... verifying checksum
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... download complete
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... extracting (0.7%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... extracting (23.6%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... extracting (45.8%)
22-Jan-2023 03:13:25 Pulling openmrs-referenceapplication       ... extracting (70.8%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (97.8%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... pull complete
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... pull complete
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (0.5%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (20.8%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (41.0%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (60.8%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (77.5%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (95.2%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... pull complete
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (3.0%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... pull complete
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... digest: sha256:2ecc1f836d33c99d8b...
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
22-Jan-2023 03:13:26 Pulling openmrs-referenceapplication       ... done
22-Jan-2023 03:13:26 Recreating all images and volumes
22-Jan-2023 03:13:27 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Jan-2023 03:13:27 Stopping qa-refapp_openmrs-referenceapplication_1       ...
22-Jan-2023 03:13:27 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Jan-2023 03:13:27 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
22-Jan-2023 03:13:29 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Jan-2023 03:13:29 Removing qa-refapp_openmrs-referenceapplication_1       ...
22-Jan-2023 03:13:29 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Jan-2023 03:13:29 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Jan-2023 03:13:30 Removing qa-refapp_openmrs-referenceapplication_1       ... done
22-Jan-2023 03:13:30 Removing network qa-refapp_default
22-Jan-2023 03:13:30 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
22-Jan-2023 03:13:30 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Jan-2023 03:13:30 Creating network "qa-refapp_default" with the default driver
22-Jan-2023 03:13:30 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
22-Jan-2023 03:13:30 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Jan-2023 03:13:31 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Jan-2023 03:13:31 Creating qa-refapp_openmrs-referenceapplication_1       ...
22-Jan-2023 03:13:31 Creating qa-refapp_openmrs-referenceapplication_1       ... done
22-Jan-2023 03:13:32 Verifying if docker containers 61b2b0aba9e056395d74ab66a3a1b4c9ed0d4225cad97049d0e61e041c8f54d8
22-Jan-2023 03:13:32 f703dfa9e08d9c8393784f7982468d32c6cc13aa380305a35c9c769032826dd2 are healthy
22-Jan-2023 03:13:32 Status found: "starting"
22-Jan-2023 03:13:32 Waiting 15s
22-Jan-2023 03:13:47 Verifying if docker containers 61b2b0aba9e056395d74ab66a3a1b4c9ed0d4225cad97049d0e61e041c8f54d8
22-Jan-2023 03:13:47 f703dfa9e08d9c8393784f7982468d32c6cc13aa380305a35c9c769032826dd2 are healthy
22-Jan-2023 03:13:47 Status found: "starting"
22-Jan-2023 03:13:47 Waiting 15s
22-Jan-2023 03:14:02 Verifying if docker containers 61b2b0aba9e056395d74ab66a3a1b4c9ed0d4225cad97049d0e61e041c8f54d8
22-Jan-2023 03:14:02 f703dfa9e08d9c8393784f7982468d32c6cc13aa380305a35c9c769032826dd2 are healthy
22-Jan-2023 03:14:02 Status found: "healthy"
22-Jan-2023 03:14:02 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
22-Jan-2023 03:14:02 Running post build plugin 'Docker Container Cleanup'
22-Jan-2023 03:14:02 Running post build plugin 'NCover Results Collector'
22-Jan-2023 03:14:02 Running post build plugin 'Build Results Label Collector'
22-Jan-2023 03:14:02 Running post build plugin 'Clover Results Collector'
22-Jan-2023 03:14:02 Running post build plugin 'npm Cache Cleanup'
22-Jan-2023 03:14:02 Running post build plugin 'Artifact Copier'
22-Jan-2023 03:14:02 Finalising the build...
22-Jan-2023 03:14:02 Stopping timer.
22-Jan-2023 03:14:02 Build REFAPP-OMODDISTRO-DTMTS-13407 completed.
22-Jan-2023 03:14:02 Running on server: post build plugin 'Build Hanging Detection Configuration'
22-Jan-2023 03:14:02 Running on server: post build plugin 'NCover Results Collector'
22-Jan-2023 03:14:02 Running on server: post build plugin 'Build Labeller'
22-Jan-2023 03:14:02 Running on server: post build plugin 'Clover Delta Calculator'
22-Jan-2023 03:14:02 Running on server: post build plugin 'Maven Dependencies Postprocessor'
22-Jan-2023 03:14:02 All post build plugins have finished
22-Jan-2023 03:14:02 Generating build results summary...
22-Jan-2023 03:14:02 Saving build results to disk...
22-Jan-2023 03:14:02 Store variable context...
22-Jan-2023 03:14:02 Finished building REFAPP-OMODDISTRO-DTMTS-13407.