Deploys Reference Application SNAPSHOT to maven

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

21-Jan-2023 00:12:47 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13404 (REFAPP-OMODDISTRO-DTMTS-13404) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
21-Jan-2023 00:12:47 Remote agent on host xiao.openmrs.org
21-Jan-2023 00:12:47 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Jan-2023 00:12:47 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13404 (REFAPP-OMODDISTRO-DTMTS-13404)
21-Jan-2023 00:12:47 Running pre-build action: Build Log Labeller Pre Build Action
21-Jan-2023 00:12:47 Running pre-build action: VCS Version Collector
21-Jan-2023 00:12:47 Running pre-build action: Run Predator
21-Jan-2023 00:12:47 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
21-Jan-2023 00:12:47 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
21-Jan-2023 00:12:47 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
21-Jan-2023 00:12:47 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
21-Jan-2023 00:12:47 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1996 java        1476 bamboo-age 2967Mb  456Mb 00:09:33 /usr/lib/jvm/java-8-ope
21-Jan-2023 00:12:47 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:02:29 /home/bamboo-agent/bamb
21-Jan-2023 00:12:47 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:18 /sbin/init             
21-Jan-2023 00:12:47 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
21-Jan-2023 00:12:47 [PredatorPreBuildAction] Initial free space: 3.3472214 GB
21-Jan-2023 00:12:47 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
21-Jan-2023 00:12:49 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
21-Jan-2023 00:12:49 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
21-Jan-2023 00:12:49 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
21-Jan-2023 00:12:50 [PredatorPreBuildAction] Maven stable disk freed: 0.22834459 GB, deleted 2225 files
21-Jan-2023 00:12:50 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
21-Jan-2023 00:12:50 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
21-Jan-2023 00:12:50 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
21-Jan-2023 00:12:50 [PredatorPreBuildAction] Final free space: 3.3788643 GB
21-Jan-2023 00:12:50 [PredatorPreBuildAction] Done
21-Jan-2023 00:12:50
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
21-Jan-2023 00:12:50
Substituting password variable: ${bamboo.dockerhub.password}
21-Jan-2023 00:12:50
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0415ca9a350b2c2412645874d3199c59f693794ed45fc0b05b7bd365e35e0767
21-Jan-2023 00:12:50
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0415ca9a350b2c2412645874d3199c59f693794ed45fc0b05b7bd365e35e0767
21-Jan-2023 00:12:50
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Jan-2023 00:12:50
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Jan-2023 00:12:50 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
21-Jan-2023 00:12:50
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13404 (REFAPP-OMODDISTRO-DTMTS-13404)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13404-ScriptBuildTask-8926683533453673561.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Jan-2023 00:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
21-Jan-2023 00:12:50 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
21-Jan-2023 00:12:50 Configure a credential helper to remove this warning. See
21-Jan-2023 00:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
21-Jan-2023 00:12:50
21-Jan-2023 00:12:50 Login Succeeded
21-Jan-2023 00:12:50 + docker pull openmrs/openmrs-reference-application@sha256:0415ca9a350b2c2412645874d3199c59f693794ed45fc0b05b7bd365e35e0767
21-Jan-2023 00:12:50 docker.io/openmrs/openmrs-reference-application@sha256:0415ca9a350b2c2412645874d3199c59f693794ed45fc0b05b7bd365e35e0767: Pulling from openmrs/openmrs-reference-application
21-Jan-2023 00:12:50 Digest: sha256:0415ca9a350b2c2412645874d3199c59f693794ed45fc0b05b7bd365e35e0767
21-Jan-2023 00:12:50 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:0415ca9a350b2c2412645874d3199c59f693794ed45fc0b05b7bd365e35e0767
21-Jan-2023 00:12:50 docker.io/openmrs/openmrs-reference-application@sha256:0415ca9a350b2c2412645874d3199c59f693794ed45fc0b05b7bd365e35e0767
21-Jan-2023 00:12:50 + docker tag openmrs/openmrs-reference-application@sha256:0415ca9a350b2c2412645874d3199c59f693794ed45fc0b05b7bd365e35e0767 openmrs/openmrs-reference-application:qa
21-Jan-2023 00:12:50 + docker push openmrs/openmrs-reference-application:qa
21-Jan-2023 00:12:50 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
21-Jan-2023 00:12:50 ecc581fc1af4: Preparing
21-Jan-2023 00:12:50 83a4438b9e02: Preparing
21-Jan-2023 00:12:50 594c7c3c9aef: Preparing
21-Jan-2023 00:12:50 6c1dd48e1e95: Preparing
21-Jan-2023 00:12:50 e61322449ad0: Preparing
21-Jan-2023 00:12:50 6fdd21bc4a9b: Preparing
21-Jan-2023 00:12:50 5f70bf18a086: Preparing
21-Jan-2023 00:12:50 b7243530d918: Preparing
21-Jan-2023 00:12:50 23323df4fbd9: Preparing
21-Jan-2023 00:12:50 725ecc0c9d62: Preparing
21-Jan-2023 00:12:50 6c1f45cb6682: Preparing
21-Jan-2023 00:12:50 b8aa9430b356: Preparing
21-Jan-2023 00:12:50 b46e16032f56: Preparing
21-Jan-2023 00:12:50 91ac82815b04: Preparing
21-Jan-2023 00:12:50 24fcda5a8b17: Preparing
21-Jan-2023 00:12:50 a4a7e924299e: Preparing
21-Jan-2023 00:12:50 059c2d42be74: Preparing
21-Jan-2023 00:12:50 3f800aca2a44: Preparing
21-Jan-2023 00:12:50 6fdd21bc4a9b: Waiting
21-Jan-2023 00:12:50 5f70bf18a086: Waiting
21-Jan-2023 00:12:50 b7243530d918: Waiting
21-Jan-2023 00:12:50 23323df4fbd9: Waiting
21-Jan-2023 00:12:50 725ecc0c9d62: Waiting
21-Jan-2023 00:12:50 6c1f45cb6682: Waiting
21-Jan-2023 00:12:50 b8aa9430b356: Waiting
21-Jan-2023 00:12:50 b46e16032f56: Waiting
21-Jan-2023 00:12:50 91ac82815b04: Waiting
21-Jan-2023 00:12:50 24fcda5a8b17: Waiting
21-Jan-2023 00:12:50 a4a7e924299e: Waiting
21-Jan-2023 00:12:50 059c2d42be74: Waiting
21-Jan-2023 00:12:50 3f800aca2a44: Waiting
21-Jan-2023 00:12:50 e61322449ad0: Layer already exists
21-Jan-2023 00:12:50 6c1dd48e1e95: Layer already exists
21-Jan-2023 00:12:50 83a4438b9e02: Layer already exists
21-Jan-2023 00:12:50 594c7c3c9aef: Layer already exists
21-Jan-2023 00:12:50 ecc581fc1af4: Layer already exists
21-Jan-2023 00:12:51 6fdd21bc4a9b: Layer already exists
21-Jan-2023 00:12:51 b7243530d918: Layer already exists
21-Jan-2023 00:12:51 5f70bf18a086: Layer already exists
21-Jan-2023 00:12:51 23323df4fbd9: Layer already exists
21-Jan-2023 00:12:51 725ecc0c9d62: Layer already exists
21-Jan-2023 00:12:51 6c1f45cb6682: Layer already exists
21-Jan-2023 00:12:51 91ac82815b04: Layer already exists
21-Jan-2023 00:12:51 b8aa9430b356: Layer already exists
21-Jan-2023 00:12:51 b46e16032f56: Layer already exists
21-Jan-2023 00:12:51 24fcda5a8b17: Layer already exists
21-Jan-2023 00:12:51 a4a7e924299e: Layer already exists
21-Jan-2023 00:12:51 059c2d42be74: Layer already exists
21-Jan-2023 00:12:51 3f800aca2a44: Layer already exists
21-Jan-2023 00:12:51 qa: digest: sha256:24ebd8a6e5faf53fe8a449b4b60aa1038a75724a8cfdee66aee8f8a4e3826496 size: 4088
21-Jan-2023 00:12:51 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
21-Jan-2023 00:12:51 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
21-Jan-2023 00:12:52 Removing unused images if any
21-Jan-2023 00:12:53 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ...
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ...
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ... done
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... waiting
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (100.0%)
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... verifying checksum
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... download complete
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (0.5%)
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (0.7%)
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (20.9%)
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (1.1%)
21-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (10.3%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... verifying checksum
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... download complete
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (37.6%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (22.6%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (37.3%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (53.8%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (69.9%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (49.6%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (62.3%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (88.0%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... download complete
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (74.1%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (87.8%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... extracting (0.7%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... verifying checksum
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... download complete
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... extracting (20.1%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... extracting (42.3%)
21-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... extracting (63.8%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (86.0%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... pull complete
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... pull complete
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (0.5%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (15.2%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (31.4%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (47.6%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (63.3%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (78.5%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (93.2%)
21-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... pull complete
21-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... extracting (3.0%)
21-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... pull complete
21-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... digest: sha256:24ebd8a6e5faf53fe8...
21-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
21-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... done
21-Jan-2023 00:12:56 Recreating all images and volumes
21-Jan-2023 00:12:56 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Jan-2023 00:12:56 Stopping qa-refapp_openmrs-referenceapplication_1       ...
21-Jan-2023 00:12:56 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Jan-2023 00:12:57 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
21-Jan-2023 00:12:58 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Jan-2023 00:12:58 Removing qa-refapp_openmrs-referenceapplication_1       ...
21-Jan-2023 00:12:58 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Jan-2023 00:12:58 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Jan-2023 00:13:00 Removing qa-refapp_openmrs-referenceapplication_1       ... done
21-Jan-2023 00:13:00 Removing network qa-refapp_default
21-Jan-2023 00:13:00 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
21-Jan-2023 00:13:00 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Jan-2023 00:13:00 Creating network "qa-refapp_default" with the default driver
21-Jan-2023 00:13:00 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
21-Jan-2023 00:13:00 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Jan-2023 00:13:01 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Jan-2023 00:13:01 Creating qa-refapp_openmrs-referenceapplication_1       ...
21-Jan-2023 00:13:02 Creating qa-refapp_openmrs-referenceapplication_1       ... done
21-Jan-2023 00:13:02 Verifying if docker containers c68c3e621d07fbdea401e9fd0d166d2a963a95f6d2856f03ca1cb4743c18b3d6
21-Jan-2023 00:13:02 a5f72e952e447c552527a81c1785a69ee15fa47f0533fec76458e35e6417c7af are healthy
21-Jan-2023 00:13:02 Status found: "starting"
21-Jan-2023 00:13:02 Waiting 15s
21-Jan-2023 00:13:17 Verifying if docker containers c68c3e621d07fbdea401e9fd0d166d2a963a95f6d2856f03ca1cb4743c18b3d6
21-Jan-2023 00:13:17 a5f72e952e447c552527a81c1785a69ee15fa47f0533fec76458e35e6417c7af are healthy
21-Jan-2023 00:13:17 Status found: "starting"
21-Jan-2023 00:13:17 Waiting 15s
21-Jan-2023 00:13:32 Verifying if docker containers c68c3e621d07fbdea401e9fd0d166d2a963a95f6d2856f03ca1cb4743c18b3d6
21-Jan-2023 00:13:32 a5f72e952e447c552527a81c1785a69ee15fa47f0533fec76458e35e6417c7af are healthy
21-Jan-2023 00:13:32 Status found: "healthy"
21-Jan-2023 00:13:32 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
21-Jan-2023 00:13:32 Running post build plugin 'Docker Container Cleanup'
21-Jan-2023 00:13:32 Running post build plugin 'NCover Results Collector'
21-Jan-2023 00:13:32 Running post build plugin 'Build Results Label Collector'
21-Jan-2023 00:13:32 Running post build plugin 'Clover Results Collector'
21-Jan-2023 00:13:32 Running post build plugin 'npm Cache Cleanup'
21-Jan-2023 00:13:32 Running post build plugin 'Artifact Copier'
21-Jan-2023 00:13:32 Finalising the build...
21-Jan-2023 00:13:32 Stopping timer.
21-Jan-2023 00:13:32 Build REFAPP-OMODDISTRO-DTMTS-13404 completed.
21-Jan-2023 00:13:32 Running on server: post build plugin 'Build Hanging Detection Configuration'
21-Jan-2023 00:13:32 Running on server: post build plugin 'NCover Results Collector'
21-Jan-2023 00:13:32 Running on server: post build plugin 'Build Labeller'
21-Jan-2023 00:13:32 Running on server: post build plugin 'Clover Delta Calculator'
21-Jan-2023 00:13:32 Running on server: post build plugin 'Maven Dependencies Postprocessor'
21-Jan-2023 00:13:32 All post build plugins have finished
21-Jan-2023 00:13:32 Generating build results summary...
21-Jan-2023 00:13:32 Saving build results to disk...
21-Jan-2023 00:13:32 Store variable context...
21-Jan-2023 00:13:32 Finished building REFAPP-OMODDISTRO-DTMTS-13404.