Deploys Reference Application SNAPSHOT to maven

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

27-Jan-2023 20:57:25 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13426 (REFAPP-OMODDISTRO-DTMTS-13426) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
27-Jan-2023 20:57:25 Remote agent on host xiao.openmrs.org
27-Jan-2023 20:57:25 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Jan-2023 20:57:25 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13426 (REFAPP-OMODDISTRO-DTMTS-13426)
27-Jan-2023 20:57:25 Running pre-build action: Build Log Labeller Pre Build Action
27-Jan-2023 20:57:25 Running pre-build action: VCS Version Collector
27-Jan-2023 20:57:25 Running pre-build action: Run Predator
27-Jan-2023 20:57:25 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
27-Jan-2023 20:57:25 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
27-Jan-2023 20:57:25 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
27-Jan-2023 20:57:26 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
27-Jan-2023 20:57:26 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 25792 java        1476 bamboo-age 2952Mb  319Mb 00:01:28 /usr/lib/jvm/java-8-ope
27-Jan-2023 20:57:26 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:05:33 /home/bamboo-agent/bamb
27-Jan-2023 20:57:26 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:54 /sbin/init             
27-Jan-2023 20:57:26 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
27-Jan-2023 20:57:26 [PredatorPreBuildAction] Initial free space: 2.6753616 GB
27-Jan-2023 20:57:26 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
27-Jan-2023 20:57:29 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
27-Jan-2023 20:57:29 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
27-Jan-2023 20:57:29 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
27-Jan-2023 20:57:29 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
27-Jan-2023 20:57:29 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
27-Jan-2023 20:57:29 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
27-Jan-2023 20:57:29 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
27-Jan-2023 20:57:29 [PredatorPreBuildAction] Final free space: 2.7070045 GB
27-Jan-2023 20:57:29 [PredatorPreBuildAction] Done
27-Jan-2023 20:57:29
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
27-Jan-2023 20:57:29
Substituting password variable: ${bamboo.dockerhub.password}
27-Jan-2023 20:57:29
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:80d01ef5d02a6db699c160e285cd90be022fc2c53eeaa36968139ebe47c1ed72
27-Jan-2023 20:57:29
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:80d01ef5d02a6db699c160e285cd90be022fc2c53eeaa36968139ebe47c1ed72
27-Jan-2023 20:57:29
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Jan-2023 20:57:29
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Jan-2023 20:57:29 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
27-Jan-2023 20:57:29
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13426 (REFAPP-OMODDISTRO-DTMTS-13426)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13426-ScriptBuildTask-7086000904076931824.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Jan-2023 20:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
27-Jan-2023 20:57:30 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
27-Jan-2023 20:57:30 Configure a credential helper to remove this warning. See
27-Jan-2023 20:57:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
27-Jan-2023 20:57:30
27-Jan-2023 20:57:30 Login Succeeded
27-Jan-2023 20:57:30 + docker pull openmrs/openmrs-reference-application@sha256:80d01ef5d02a6db699c160e285cd90be022fc2c53eeaa36968139ebe47c1ed72
27-Jan-2023 20:57:30 docker.io/openmrs/openmrs-reference-application@sha256:80d01ef5d02a6db699c160e285cd90be022fc2c53eeaa36968139ebe47c1ed72: Pulling from openmrs/openmrs-reference-application
27-Jan-2023 20:57:30 Digest: sha256:80d01ef5d02a6db699c160e285cd90be022fc2c53eeaa36968139ebe47c1ed72
27-Jan-2023 20:57:30 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:80d01ef5d02a6db699c160e285cd90be022fc2c53eeaa36968139ebe47c1ed72
27-Jan-2023 20:57:30 docker.io/openmrs/openmrs-reference-application@sha256:80d01ef5d02a6db699c160e285cd90be022fc2c53eeaa36968139ebe47c1ed72
27-Jan-2023 20:57:30 + docker tag openmrs/openmrs-reference-application@sha256:80d01ef5d02a6db699c160e285cd90be022fc2c53eeaa36968139ebe47c1ed72 openmrs/openmrs-reference-application:qa
27-Jan-2023 20:57:30 + docker push openmrs/openmrs-reference-application:qa
27-Jan-2023 20:57:30 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
27-Jan-2023 20:57:30 e885026db974: Preparing
27-Jan-2023 20:57:30 659f2de4943a: Preparing
27-Jan-2023 20:57:30 eb1f7fda5054: Preparing
27-Jan-2023 20:57:30 af4c5e61ab91: Preparing
27-Jan-2023 20:57:30 649c77e9bd05: Preparing
27-Jan-2023 20:57:30 2ec6c750737f: Preparing
27-Jan-2023 20:57:30 5f70bf18a086: Preparing
27-Jan-2023 20:57:30 a68cbd9ca972: Preparing
27-Jan-2023 20:57:30 2ab24f51c5e7: Preparing
27-Jan-2023 20:57:30 9ad199278f60: Preparing
27-Jan-2023 20:57:30 e51bba17124f: Preparing
27-Jan-2023 20:57:30 1b590cb48856: Preparing
27-Jan-2023 20:57:30 a770a911f4d6: Preparing
27-Jan-2023 20:57:30 3849ed63b27b: Preparing
27-Jan-2023 20:57:30 79c8be4f139b: Preparing
27-Jan-2023 20:57:30 4dd9ecd71792: Preparing
27-Jan-2023 20:57:30 c0541c31ac17: Preparing
27-Jan-2023 20:57:30 3f800aca2a44: Preparing
27-Jan-2023 20:57:30 2ec6c750737f: Waiting
27-Jan-2023 20:57:30 5f70bf18a086: Waiting
27-Jan-2023 20:57:30 a68cbd9ca972: Waiting
27-Jan-2023 20:57:30 2ab24f51c5e7: Waiting
27-Jan-2023 20:57:30 9ad199278f60: Waiting
27-Jan-2023 20:57:30 e51bba17124f: Waiting
27-Jan-2023 20:57:30 1b590cb48856: Waiting
27-Jan-2023 20:57:30 a770a911f4d6: Waiting
27-Jan-2023 20:57:30 3849ed63b27b: Waiting
27-Jan-2023 20:57:30 79c8be4f139b: Waiting
27-Jan-2023 20:57:30 4dd9ecd71792: Waiting
27-Jan-2023 20:57:30 c0541c31ac17: Waiting
27-Jan-2023 20:57:30 3f800aca2a44: Waiting
27-Jan-2023 20:57:30 649c77e9bd05: Layer already exists
27-Jan-2023 20:57:30 e885026db974: Layer already exists
27-Jan-2023 20:57:30 af4c5e61ab91: Layer already exists
27-Jan-2023 20:57:30 eb1f7fda5054: Layer already exists
27-Jan-2023 20:57:30 659f2de4943a: Layer already exists
27-Jan-2023 20:57:30 2ec6c750737f: Layer already exists
27-Jan-2023 20:57:30 5f70bf18a086: Layer already exists
27-Jan-2023 20:57:30 a68cbd9ca972: Layer already exists
27-Jan-2023 20:57:30 2ab24f51c5e7: Layer already exists
27-Jan-2023 20:57:30 9ad199278f60: Layer already exists
27-Jan-2023 20:57:30 e51bba17124f: Layer already exists
27-Jan-2023 20:57:30 1b590cb48856: Layer already exists
27-Jan-2023 20:57:30 a770a911f4d6: Layer already exists
27-Jan-2023 20:57:30 3849ed63b27b: Layer already exists
27-Jan-2023 20:57:30 79c8be4f139b: Layer already exists
27-Jan-2023 20:57:30 4dd9ecd71792: Layer already exists
27-Jan-2023 20:57:30 c0541c31ac17: Layer already exists
27-Jan-2023 20:57:30 3f800aca2a44: Layer already exists
27-Jan-2023 20:57:31 qa: digest: sha256:4f75239c10d820d3a30cd03cf374ef2c0f7e0d4027eb1d2d62022da0192dd1f2 size: 4088
27-Jan-2023 20:57:31 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
27-Jan-2023 20:57:31 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
27-Jan-2023 20:57:32 Removing unused images if any
27-Jan-2023 20:57:32 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Jan-2023 20:57:32 Pulling openmrs-referenceapplication-mysql ...
27-Jan-2023 20:57:32 Pulling openmrs-referenceapplication       ...
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication-mysql ... done
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... waiting
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... downloading (100.0%)
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... downloading (0.7%)
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... downloading (0.5%)
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... downloading (1.1%)
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... downloading (20.1%)
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... downloading (13.2%)
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... downloading (38.2%)
27-Jan-2023 20:57:33 Pulling openmrs-referenceapplication       ... downloading (26.9%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... downloading (54.9%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... downloading (39.7%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... downloading (73.8%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... downloading (52.4%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... downloading (91.8%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... downloading (67.1%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... downloading (82.3%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... downloading (97.5%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... extracting (0.7%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... extracting (22.9%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... extracting (45.8%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... extracting (60.4%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... extracting (76.3%)
27-Jan-2023 20:57:34 Pulling openmrs-referenceapplication       ... extracting (95.8%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (0.5%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (13.2%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (31.9%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (51.2%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (69.4%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (87.6%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (3.0%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... digest: sha256:4f75239c10d820d3a3...
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
27-Jan-2023 20:57:35 Pulling openmrs-referenceapplication       ... done
27-Jan-2023 20:57:35 Recreating all images and volumes
27-Jan-2023 20:57:36 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Jan-2023 20:57:36 Stopping qa-refapp_openmrs-referenceapplication_1       ...
27-Jan-2023 20:57:36 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Jan-2023 20:57:36 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
27-Jan-2023 20:57:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Jan-2023 20:57:38 Removing qa-refapp_openmrs-referenceapplication_1       ...
27-Jan-2023 20:57:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Jan-2023 20:57:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Jan-2023 20:57:39 Removing qa-refapp_openmrs-referenceapplication_1       ... done
27-Jan-2023 20:57:39 Removing network qa-refapp_default
27-Jan-2023 20:57:39 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
27-Jan-2023 20:57:39 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Jan-2023 20:57:39 Creating network "qa-refapp_default" with the default driver
27-Jan-2023 20:57:39 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
27-Jan-2023 20:57:39 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Jan-2023 20:57:40 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Jan-2023 20:57:40 Creating qa-refapp_openmrs-referenceapplication_1       ...
27-Jan-2023 20:57:40 Creating qa-refapp_openmrs-referenceapplication_1       ... done
27-Jan-2023 20:57:41 Verifying if docker containers 0a83131f39e93923bfb0ff2f76598301e33db5643888d4292886a8569f8ba5bd
27-Jan-2023 20:57:41 aa064d727d2cf4de671f9f6420938fb198c56559db79cac68a2c26be63f87342 are healthy
27-Jan-2023 20:57:41 Status found: "starting"
27-Jan-2023 20:57:41 Waiting 15s
27-Jan-2023 20:57:56 Verifying if docker containers 0a83131f39e93923bfb0ff2f76598301e33db5643888d4292886a8569f8ba5bd
27-Jan-2023 20:57:56 aa064d727d2cf4de671f9f6420938fb198c56559db79cac68a2c26be63f87342 are healthy
27-Jan-2023 20:57:56 Status found: "starting"
27-Jan-2023 20:57:56 Waiting 15s
27-Jan-2023 20:58:11 Verifying if docker containers 0a83131f39e93923bfb0ff2f76598301e33db5643888d4292886a8569f8ba5bd
27-Jan-2023 20:58:11 aa064d727d2cf4de671f9f6420938fb198c56559db79cac68a2c26be63f87342 are healthy
27-Jan-2023 20:58:11 Status found: "healthy"
27-Jan-2023 20:58:11 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
27-Jan-2023 20:58:11 Running post build plugin 'Docker Container Cleanup'
27-Jan-2023 20:58:11 Running post build plugin 'NCover Results Collector'
27-Jan-2023 20:58:11 Running post build plugin 'Build Results Label Collector'
27-Jan-2023 20:58:11 Running post build plugin 'Clover Results Collector'
27-Jan-2023 20:58:11 Running post build plugin 'npm Cache Cleanup'
27-Jan-2023 20:58:11 Running post build plugin 'Artifact Copier'
27-Jan-2023 20:58:11 Finalising the build...
27-Jan-2023 20:58:11 Stopping timer.
27-Jan-2023 20:58:11 Build REFAPP-OMODDISTRO-DTMTS-13426 completed.
27-Jan-2023 20:58:11 Running on server: post build plugin 'Build Hanging Detection Configuration'
27-Jan-2023 20:58:11 Running on server: post build plugin 'NCover Results Collector'
27-Jan-2023 20:58:11 Running on server: post build plugin 'Build Labeller'
27-Jan-2023 20:58:11 Running on server: post build plugin 'Clover Delta Calculator'
27-Jan-2023 20:58:11 Running on server: post build plugin 'Maven Dependencies Postprocessor'
27-Jan-2023 20:58:11 All post build plugins have finished
27-Jan-2023 20:58:11 Generating build results summary...
27-Jan-2023 20:58:11 Saving build results to disk...
27-Jan-2023 20:58:11 Store variable context...
27-Jan-2023 20:58:11 Finished building REFAPP-OMODDISTRO-DTMTS-13426.