Deploys Reference Application SNAPSHOT to maven

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

23-Jan-2023 03:13:32 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13409 (REFAPP-OMODDISTRO-DTMTS-13409) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
23-Jan-2023 03:13:32 Remote agent on host xindi.openmrs.org
23-Jan-2023 03:13:32 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Jan-2023 03:13:32 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13409 (REFAPP-OMODDISTRO-DTMTS-13409)
23-Jan-2023 03:13:32 Running pre-build action: Build Log Labeller Pre Build Action
23-Jan-2023 03:13:32 Running pre-build action: VCS Version Collector
23-Jan-2023 03:13:32 Running pre-build action: Run Predator
23-Jan-2023 03:13:32 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
23-Jan-2023 03:13:32 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
23-Jan-2023 03:13:32 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
23-Jan-2023 03:13:32 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
23-Jan-2023 03:13:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2053 java        1484 bamboo-age 2967Mb  419Mb 00:12:03 /usr/lib/jvm/java-8-ope
23-Jan-2023 03:13:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    3Mb 00:03:29 /home/bamboo-agent/bamb
23-Jan-2023 03:13:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:02:45 /sbin/init             
23-Jan-2023 03:13:32 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
23-Jan-2023 03:13:32 [PredatorPreBuildAction] Initial free space: 3.6898918 GB
23-Jan-2023 03:13:32 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
23-Jan-2023 03:13:33 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
23-Jan-2023 03:13:33 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
23-Jan-2023 03:13:33 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
23-Jan-2023 03:13:33 [PredatorPreBuildAction] Maven stable disk freed: 0.0032256087 GB, deleted 271 files
23-Jan-2023 03:13:33 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
23-Jan-2023 03:13:33 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
23-Jan-2023 03:13:33 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
23-Jan-2023 03:13:33 [PredatorPreBuildAction] Final free space: 3.721527 GB
23-Jan-2023 03:13:33 [PredatorPreBuildAction] Done
23-Jan-2023 03:13:33
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
23-Jan-2023 03:13:33
Substituting password variable: ${bamboo.dockerhub.password}
23-Jan-2023 03:13:33
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:30c362f994d665a2e14eeed40b9a074cba9388eb4bd540a75fa0c705c89c5bcf
23-Jan-2023 03:13:33
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:30c362f994d665a2e14eeed40b9a074cba9388eb4bd540a75fa0c705c89c5bcf
23-Jan-2023 03:13:33
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Jan-2023 03:13:33
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Jan-2023 03:13:33 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
23-Jan-2023 03:13:33
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13409 (REFAPP-OMODDISTRO-DTMTS-13409)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13409-ScriptBuildTask-5502984974899936831.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Jan-2023 03:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
23-Jan-2023 03:13:34 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
23-Jan-2023 03:13:34 Configure a credential helper to remove this warning. See
23-Jan-2023 03:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
23-Jan-2023 03:13:34
23-Jan-2023 03:13:34 Login Succeeded
23-Jan-2023 03:13:34 + docker pull openmrs/openmrs-reference-application@sha256:30c362f994d665a2e14eeed40b9a074cba9388eb4bd540a75fa0c705c89c5bcf
23-Jan-2023 03:13:34 docker.io/openmrs/openmrs-reference-application@sha256:30c362f994d665a2e14eeed40b9a074cba9388eb4bd540a75fa0c705c89c5bcf: Pulling from openmrs/openmrs-reference-application
23-Jan-2023 03:13:34 Digest: sha256:30c362f994d665a2e14eeed40b9a074cba9388eb4bd540a75fa0c705c89c5bcf
23-Jan-2023 03:13:34 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:30c362f994d665a2e14eeed40b9a074cba9388eb4bd540a75fa0c705c89c5bcf
23-Jan-2023 03:13:34 docker.io/openmrs/openmrs-reference-application@sha256:30c362f994d665a2e14eeed40b9a074cba9388eb4bd540a75fa0c705c89c5bcf
23-Jan-2023 03:13:34 + docker tag openmrs/openmrs-reference-application@sha256:30c362f994d665a2e14eeed40b9a074cba9388eb4bd540a75fa0c705c89c5bcf openmrs/openmrs-reference-application:qa
23-Jan-2023 03:13:34 + docker push openmrs/openmrs-reference-application:qa
23-Jan-2023 03:13:34 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
23-Jan-2023 03:13:34 b75799af5955: Preparing
23-Jan-2023 03:13:34 d3db7fdaefb2: Preparing
23-Jan-2023 03:13:34 c6a7e5ad5fe5: Preparing
23-Jan-2023 03:13:34 7c00bb7b8b7e: Preparing
23-Jan-2023 03:13:34 e61322449ad0: Preparing
23-Jan-2023 03:13:34 6fdd21bc4a9b: Preparing
23-Jan-2023 03:13:34 5f70bf18a086: Preparing
23-Jan-2023 03:13:34 b7243530d918: Preparing
23-Jan-2023 03:13:34 23323df4fbd9: Preparing
23-Jan-2023 03:13:34 725ecc0c9d62: Preparing
23-Jan-2023 03:13:34 6c1f45cb6682: Preparing
23-Jan-2023 03:13:34 b8aa9430b356: Preparing
23-Jan-2023 03:13:34 b46e16032f56: Preparing
23-Jan-2023 03:13:34 91ac82815b04: Preparing
23-Jan-2023 03:13:34 24fcda5a8b17: Preparing
23-Jan-2023 03:13:34 a4a7e924299e: Preparing
23-Jan-2023 03:13:34 059c2d42be74: Preparing
23-Jan-2023 03:13:34 3f800aca2a44: Preparing
23-Jan-2023 03:13:34 6fdd21bc4a9b: Waiting
23-Jan-2023 03:13:34 5f70bf18a086: Waiting
23-Jan-2023 03:13:34 b7243530d918: Waiting
23-Jan-2023 03:13:34 23323df4fbd9: Waiting
23-Jan-2023 03:13:34 725ecc0c9d62: Waiting
23-Jan-2023 03:13:34 6c1f45cb6682: Waiting
23-Jan-2023 03:13:34 b8aa9430b356: Waiting
23-Jan-2023 03:13:34 b46e16032f56: Waiting
23-Jan-2023 03:13:34 91ac82815b04: Waiting
23-Jan-2023 03:13:34 24fcda5a8b17: Waiting
23-Jan-2023 03:13:34 a4a7e924299e: Waiting
23-Jan-2023 03:13:34 059c2d42be74: Waiting
23-Jan-2023 03:13:34 3f800aca2a44: Waiting
23-Jan-2023 03:13:34 e61322449ad0: Layer already exists
23-Jan-2023 03:13:34 d3db7fdaefb2: Layer already exists
23-Jan-2023 03:13:34 b75799af5955: Layer already exists
23-Jan-2023 03:13:34 c6a7e5ad5fe5: Layer already exists
23-Jan-2023 03:13:34 7c00bb7b8b7e: Layer already exists
23-Jan-2023 03:13:34 6fdd21bc4a9b: Layer already exists
23-Jan-2023 03:13:34 5f70bf18a086: Layer already exists
23-Jan-2023 03:13:34 b7243530d918: Layer already exists
23-Jan-2023 03:13:34 725ecc0c9d62: Layer already exists
23-Jan-2023 03:13:34 23323df4fbd9: Layer already exists
23-Jan-2023 03:13:34 6c1f45cb6682: Layer already exists
23-Jan-2023 03:13:35 b8aa9430b356: Layer already exists
23-Jan-2023 03:13:35 b46e16032f56: Layer already exists
23-Jan-2023 03:13:35 91ac82815b04: Layer already exists
23-Jan-2023 03:13:35 24fcda5a8b17: Layer already exists
23-Jan-2023 03:13:35 a4a7e924299e: Layer already exists
23-Jan-2023 03:13:35 059c2d42be74: Layer already exists
23-Jan-2023 03:13:35 3f800aca2a44: Layer already exists
23-Jan-2023 03:13:35 qa: digest: sha256:36f6875e0b2f9e11a8d057a11d1ad918e79a9d768dfcc84a3db11548ee4ab471 size: 4088
23-Jan-2023 03:13:35 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
23-Jan-2023 03:13:35 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
23-Jan-2023 03:13:36 Removing unused images if any
23-Jan-2023 03:13:36 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Jan-2023 03:13:36 Pulling openmrs-referenceapplication-mysql ...
23-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ...
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication-mysql ... done
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... waiting
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (0.7%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (0.5%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (16.1%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (1.1%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (11.8%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (30.9%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (25.5%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (47.7%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (35.8%)
23-Jan-2023 03:13:37 Pulling openmrs-referenceapplication       ... downloading (63.8%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (48.5%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (82.6%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (61.3%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (75.0%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (89.2%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (0.7%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (18.0%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (43.7%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (65.9%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (88.8%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 03:13:38 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (0.5%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (14.7%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (32.4%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (50.7%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (65.9%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (80.5%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (94.2%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (3.0%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... digest: sha256:36f6875e0b2f9e11a8...
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
23-Jan-2023 03:13:39 Pulling openmrs-referenceapplication       ... done
23-Jan-2023 03:13:39 Recreating all images and volumes
23-Jan-2023 03:13:40 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Jan-2023 03:13:40 Stopping qa-refapp_openmrs-referenceapplication_1       ...
23-Jan-2023 03:13:40 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Jan-2023 03:13:40 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
23-Jan-2023 03:13:42 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Jan-2023 03:13:42 Removing qa-refapp_openmrs-referenceapplication_1       ...
23-Jan-2023 03:13:42 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Jan-2023 03:13:42 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Jan-2023 03:13:42 Removing qa-refapp_openmrs-referenceapplication_1       ... done
23-Jan-2023 03:13:42 Removing network qa-refapp_default
23-Jan-2023 03:13:42 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
23-Jan-2023 03:13:43 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Jan-2023 03:13:43 Creating network "qa-refapp_default" with the default driver
23-Jan-2023 03:13:43 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
23-Jan-2023 03:13:43 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Jan-2023 03:13:43 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Jan-2023 03:13:43 Creating qa-refapp_openmrs-referenceapplication_1       ...
23-Jan-2023 03:13:44 Creating qa-refapp_openmrs-referenceapplication_1       ... done
23-Jan-2023 03:13:44 Verifying if docker containers 16429f8faebf876f1cb068d432ee84dba9a2d3cd3964024c99f00d7798a6920a
23-Jan-2023 03:13:44 9880b2327d971bee820599ca32d5f3925d081cf38d92c8615af7c90e2f55731e are healthy
23-Jan-2023 03:13:44 Status found: "starting"
23-Jan-2023 03:13:44 Waiting 15s
23-Jan-2023 03:13:59 Verifying if docker containers 16429f8faebf876f1cb068d432ee84dba9a2d3cd3964024c99f00d7798a6920a
23-Jan-2023 03:13:59 9880b2327d971bee820599ca32d5f3925d081cf38d92c8615af7c90e2f55731e are healthy
23-Jan-2023 03:13:59 Status found: "starting"
23-Jan-2023 03:13:59 Waiting 15s
23-Jan-2023 03:14:14 Verifying if docker containers 16429f8faebf876f1cb068d432ee84dba9a2d3cd3964024c99f00d7798a6920a
23-Jan-2023 03:14:14 9880b2327d971bee820599ca32d5f3925d081cf38d92c8615af7c90e2f55731e are healthy
23-Jan-2023 03:14:14 Status found: "healthy"
23-Jan-2023 03:14:14 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
23-Jan-2023 03:14:14 Running post build plugin 'Docker Container Cleanup'
23-Jan-2023 03:14:14 Running post build plugin 'NCover Results Collector'
23-Jan-2023 03:14:14 Running post build plugin 'Build Results Label Collector'
23-Jan-2023 03:14:14 Running post build plugin 'Clover Results Collector'
23-Jan-2023 03:14:14 Running post build plugin 'npm Cache Cleanup'
23-Jan-2023 03:14:14 Running post build plugin 'Artifact Copier'
23-Jan-2023 03:14:14 Finalising the build...
23-Jan-2023 03:14:14 Stopping timer.
23-Jan-2023 03:14:14 Build REFAPP-OMODDISTRO-DTMTS-13409 completed.
23-Jan-2023 03:14:14 Running on server: post build plugin 'Build Hanging Detection Configuration'
23-Jan-2023 03:14:14 Running on server: post build plugin 'NCover Results Collector'
23-Jan-2023 03:14:14 Running on server: post build plugin 'Build Labeller'
23-Jan-2023 03:14:14 Running on server: post build plugin 'Clover Delta Calculator'
23-Jan-2023 03:14:14 Running on server: post build plugin 'Maven Dependencies Postprocessor'
23-Jan-2023 03:14:14 All post build plugins have finished
23-Jan-2023 03:14:14 Generating build results summary...
23-Jan-2023 03:14:14 Saving build results to disk...
23-Jan-2023 03:14:14 Store variable context...
23-Jan-2023 03:14:14 Finished building REFAPP-OMODDISTRO-DTMTS-13409.