Deploys Reference Application SNAPSHOT to maven

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

10-Jan-2023 00:17:27 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13377 (REFAPP-OMODDISTRO-DTMTS-13377) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
10-Jan-2023 00:17:27 Remote agent on host xindi.openmrs.org
10-Jan-2023 00:17:27 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
10-Jan-2023 00:17:27 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13377 (REFAPP-OMODDISTRO-DTMTS-13377)
10-Jan-2023 00:17:27 Running pre-build action: Build Log Labeller Pre Build Action
10-Jan-2023 00:17:27 Running pre-build action: VCS Version Collector
10-Jan-2023 00:17:27 Running pre-build action: Run Predator
10-Jan-2023 00:17:27 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
10-Jan-2023 00:17:27 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
10-Jan-2023 00:17:27 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
10-Jan-2023 00:17:27 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 123
10-Jan-2023 00:17:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 31432 java        1450 bamboo-age 2964Mb  366Mb 00:03:48 /usr/lib/jvm/java-8-ope
10-Jan-2023 00:17:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1450 wrapper        1 bamboo-age   16Mb    2Mb 00:16:32 /home/bamboo-agent/bamb
10-Jan-2023 00:17:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:12:51 /sbin/init             
10-Jan-2023 00:17:27 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
10-Jan-2023 00:17:27 [PredatorPreBuildAction] Initial free space: 3.4343224 GB
10-Jan-2023 00:17:27 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
10-Jan-2023 00:17:29 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
10-Jan-2023 00:17:29 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
10-Jan-2023 00:17:29 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
10-Jan-2023 00:17:29 [PredatorPreBuildAction] Maven stable disk freed: 0.3638246 GB, deleted 62 files
10-Jan-2023 00:17:29 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
10-Jan-2023 00:17:29 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
10-Jan-2023 00:17:29 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
10-Jan-2023 00:17:29 [PredatorPreBuildAction] Final free space: 3.4659576 GB
10-Jan-2023 00:17:29 [PredatorPreBuildAction] Done
10-Jan-2023 00:17:29
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
10-Jan-2023 00:17:29
Substituting password variable: ${bamboo.dockerhub.password}
10-Jan-2023 00:17:29
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f599db3179768838bbd42e24534cbbbb122962826615620f6c34b30b6fc219b5
10-Jan-2023 00:17:29
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f599db3179768838bbd42e24534cbbbb122962826615620f6c34b30b6fc219b5
10-Jan-2023 00:17:29
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
10-Jan-2023 00:17:29
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
10-Jan-2023 00:17:29 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
10-Jan-2023 00:17:29
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13377 (REFAPP-OMODDISTRO-DTMTS-13377)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13377-ScriptBuildTask-3070819618895517488.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
10-Jan-2023 00:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
10-Jan-2023 00:17:29 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
10-Jan-2023 00:17:29 Configure a credential helper to remove this warning. See
10-Jan-2023 00:17:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
10-Jan-2023 00:17:29
10-Jan-2023 00:17:29 Login Succeeded
10-Jan-2023 00:17:29 + docker pull openmrs/openmrs-reference-application@sha256:f599db3179768838bbd42e24534cbbbb122962826615620f6c34b30b6fc219b5
10-Jan-2023 00:17:29 docker.io/openmrs/openmrs-reference-application@sha256:f599db3179768838bbd42e24534cbbbb122962826615620f6c34b30b6fc219b5: Pulling from openmrs/openmrs-reference-application
10-Jan-2023 00:17:29 Digest: sha256:f599db3179768838bbd42e24534cbbbb122962826615620f6c34b30b6fc219b5
10-Jan-2023 00:17:29 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:f599db3179768838bbd42e24534cbbbb122962826615620f6c34b30b6fc219b5
10-Jan-2023 00:17:29 docker.io/openmrs/openmrs-reference-application@sha256:f599db3179768838bbd42e24534cbbbb122962826615620f6c34b30b6fc219b5
10-Jan-2023 00:17:29 + docker tag openmrs/openmrs-reference-application@sha256:f599db3179768838bbd42e24534cbbbb122962826615620f6c34b30b6fc219b5 openmrs/openmrs-reference-application:qa
10-Jan-2023 00:17:29 + docker push openmrs/openmrs-reference-application:qa
10-Jan-2023 00:17:29 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
10-Jan-2023 00:17:30 743ab4b7ae4d: Preparing
10-Jan-2023 00:17:30 fbd0cd826ab6: Preparing
10-Jan-2023 00:17:30 3b6630338508: Preparing
10-Jan-2023 00:17:30 dcbe6e8b3bd3: Preparing
10-Jan-2023 00:17:30 37f994ef76e7: Preparing
10-Jan-2023 00:17:30 6fdd21bc4a9b: Preparing
10-Jan-2023 00:17:30 5f70bf18a086: Preparing
10-Jan-2023 00:17:30 b7243530d918: Preparing
10-Jan-2023 00:17:30 23323df4fbd9: Preparing
10-Jan-2023 00:17:30 725ecc0c9d62: Preparing
10-Jan-2023 00:17:30 6c1f45cb6682: Preparing
10-Jan-2023 00:17:30 b8aa9430b356: Preparing
10-Jan-2023 00:17:30 b46e16032f56: Preparing
10-Jan-2023 00:17:30 91ac82815b04: Preparing
10-Jan-2023 00:17:30 24fcda5a8b17: Preparing
10-Jan-2023 00:17:30 a4a7e924299e: Preparing
10-Jan-2023 00:17:30 059c2d42be74: Preparing
10-Jan-2023 00:17:30 3f800aca2a44: Preparing
10-Jan-2023 00:17:30 725ecc0c9d62: Waiting
10-Jan-2023 00:17:30 6c1f45cb6682: Waiting
10-Jan-2023 00:17:30 b8aa9430b356: Waiting
10-Jan-2023 00:17:30 b46e16032f56: Waiting
10-Jan-2023 00:17:30 91ac82815b04: Waiting
10-Jan-2023 00:17:30 24fcda5a8b17: Waiting
10-Jan-2023 00:17:30 a4a7e924299e: Waiting
10-Jan-2023 00:17:30 059c2d42be74: Waiting
10-Jan-2023 00:17:30 3f800aca2a44: Waiting
10-Jan-2023 00:17:30 6fdd21bc4a9b: Waiting
10-Jan-2023 00:17:30 5f70bf18a086: Waiting
10-Jan-2023 00:17:30 b7243530d918: Waiting
10-Jan-2023 00:17:30 23323df4fbd9: Waiting
10-Jan-2023 00:17:30 743ab4b7ae4d: Layer already exists
10-Jan-2023 00:17:30 dcbe6e8b3bd3: Layer already exists
10-Jan-2023 00:17:30 3b6630338508: Layer already exists
10-Jan-2023 00:17:30 fbd0cd826ab6: Layer already exists
10-Jan-2023 00:17:30 37f994ef76e7: Layer already exists
10-Jan-2023 00:17:30 6fdd21bc4a9b: Layer already exists
10-Jan-2023 00:17:30 5f70bf18a086: Layer already exists
10-Jan-2023 00:17:30 b7243530d918: Layer already exists
10-Jan-2023 00:17:30 725ecc0c9d62: Layer already exists
10-Jan-2023 00:17:30 23323df4fbd9: Layer already exists
10-Jan-2023 00:17:30 6c1f45cb6682: Layer already exists
10-Jan-2023 00:17:30 b8aa9430b356: Layer already exists
10-Jan-2023 00:17:30 b46e16032f56: Layer already exists
10-Jan-2023 00:17:30 91ac82815b04: Layer already exists
10-Jan-2023 00:17:30 24fcda5a8b17: Layer already exists
10-Jan-2023 00:17:30 a4a7e924299e: Layer already exists
10-Jan-2023 00:17:30 059c2d42be74: Layer already exists
10-Jan-2023 00:17:30 3f800aca2a44: Layer already exists
10-Jan-2023 00:17:30 qa: digest: sha256:bad3c962d92eaff529a61c20eef968cc062400d30d047a96d003cb063bab48ed size: 4088
10-Jan-2023 00:17:30 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
10-Jan-2023 00:17:31 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
10-Jan-2023 00:17:31 Removing unused images if any
10-Jan-2023 00:17:32 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication-mysql ...
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ...
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication-mysql ... done
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Jan-2023 00:17:32 Pulling openmrs-referenceapplication       ... waiting
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (100.0%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... verifying checksum
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... download complete
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (0.7%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (0.5%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (17.1%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (1.1%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (10.7%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (100.0%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... verifying checksum
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... download complete
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (35.5%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (24.5%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (54.0%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (38.2%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (72.4%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (52.9%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (89.5%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (65.7%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... verifying checksum
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... download complete
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (79.4%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... extracting (0.7%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... downloading (91.2%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... extracting (21.2%)
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... verifying checksum
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... download complete
10-Jan-2023 00:17:33 Pulling openmrs-referenceapplication       ... extracting (47.3%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (71.3%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (95.2%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... pull complete
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... pull complete
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (0.5%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (17.7%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (33.9%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (52.2%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (68.9%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (80.0%)
10-Jan-2023 00:17:34 Pulling openmrs-referenceapplication       ... extracting (93.2%)
10-Jan-2023 00:17:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 00:17:35 Pulling openmrs-referenceapplication       ... pull complete
10-Jan-2023 00:17:35 Pulling openmrs-referenceapplication       ... extracting (3.0%)
10-Jan-2023 00:17:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 00:17:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 00:17:35 Pulling openmrs-referenceapplication       ... pull complete
10-Jan-2023 00:17:35 Pulling openmrs-referenceapplication       ... digest: sha256:bad3c962d92eaff529...
10-Jan-2023 00:17:35 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
10-Jan-2023 00:17:35 Pulling openmrs-referenceapplication       ... done
10-Jan-2023 00:17:35 Recreating all images and volumes
10-Jan-2023 00:17:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Jan-2023 00:17:35 Stopping qa-refapp_openmrs-referenceapplication_1       ...
10-Jan-2023 00:17:35 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Jan-2023 00:17:36 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
10-Jan-2023 00:17:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Jan-2023 00:17:38 Removing qa-refapp_openmrs-referenceapplication_1       ...
10-Jan-2023 00:17:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Jan-2023 00:17:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Jan-2023 00:17:40 Removing qa-refapp_openmrs-referenceapplication_1       ... done
10-Jan-2023 00:17:40 Removing network qa-refapp_default
10-Jan-2023 00:17:40 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
10-Jan-2023 00:17:40 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Jan-2023 00:17:40 Creating network "qa-refapp_default" with the default driver
10-Jan-2023 00:17:40 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
10-Jan-2023 00:17:40 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Jan-2023 00:17:41 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Jan-2023 00:17:41 Creating qa-refapp_openmrs-referenceapplication_1       ...
10-Jan-2023 00:17:41 Creating qa-refapp_openmrs-referenceapplication_1       ... done
10-Jan-2023 00:17:42 Verifying if docker containers 3cc57033ae4f2735842f29b329ff9c52168b7b041beecddffe89c8440f8605ee
10-Jan-2023 00:17:42 c218620e123a4a4fe8e1446a3e070002c9dca111770e1e2e3a11436e7ab51793 are healthy
10-Jan-2023 00:17:42 Status found: "starting"
10-Jan-2023 00:17:42 Waiting 15s
10-Jan-2023 00:17:57 Verifying if docker containers 3cc57033ae4f2735842f29b329ff9c52168b7b041beecddffe89c8440f8605ee
10-Jan-2023 00:17:57 c218620e123a4a4fe8e1446a3e070002c9dca111770e1e2e3a11436e7ab51793 are healthy
10-Jan-2023 00:17:57 Status found: "starting"
10-Jan-2023 00:17:57 Waiting 15s
10-Jan-2023 00:18:12 Verifying if docker containers 3cc57033ae4f2735842f29b329ff9c52168b7b041beecddffe89c8440f8605ee
10-Jan-2023 00:18:12 c218620e123a4a4fe8e1446a3e070002c9dca111770e1e2e3a11436e7ab51793 are healthy
10-Jan-2023 00:18:12 Status found: "healthy"
10-Jan-2023 00:18:12 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
10-Jan-2023 00:18:12 Running post build plugin 'Docker Container Cleanup'
10-Jan-2023 00:18:12 Running post build plugin 'NCover Results Collector'
10-Jan-2023 00:18:12 Running post build plugin 'Build Results Label Collector'
10-Jan-2023 00:18:12 Running post build plugin 'Clover Results Collector'
10-Jan-2023 00:18:12 Running post build plugin 'npm Cache Cleanup'
10-Jan-2023 00:18:12 Running post build plugin 'Artifact Copier'
10-Jan-2023 00:18:12 Finalising the build...
10-Jan-2023 00:18:12 Stopping timer.
10-Jan-2023 00:18:12 Build REFAPP-OMODDISTRO-DTMTS-13377 completed.
10-Jan-2023 00:18:12 Running on server: post build plugin 'Build Hanging Detection Configuration'
10-Jan-2023 00:18:12 Running on server: post build plugin 'NCover Results Collector'
10-Jan-2023 00:18:12 Running on server: post build plugin 'Build Labeller'
10-Jan-2023 00:18:12 Running on server: post build plugin 'Clover Delta Calculator'
10-Jan-2023 00:18:12 Running on server: post build plugin 'Maven Dependencies Postprocessor'
10-Jan-2023 00:18:12 All post build plugins have finished
10-Jan-2023 00:18:12 Generating build results summary...
10-Jan-2023 00:18:12 Saving build results to disk...
10-Jan-2023 00:18:12 Store variable context...
10-Jan-2023 00:18:12 Finished building REFAPP-OMODDISTRO-DTMTS-13377.