Deploys Reference Application SNAPSHOT to maven

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

20-Jan-2023 00:14:28 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13402 (REFAPP-OMODDISTRO-DTMTS-13402) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
20-Jan-2023 00:14:28 Remote agent on host yu.openmrs.org
20-Jan-2023 00:14:28 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Jan-2023 00:14:28 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13402 (REFAPP-OMODDISTRO-DTMTS-13402)
20-Jan-2023 00:14:28 Running pre-build action: Build Log Labeller Pre Build Action
20-Jan-2023 00:14:28 Running pre-build action: VCS Version Collector
20-Jan-2023 00:14:28 Running pre-build action: Run Predator
20-Jan-2023 00:14:28 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
20-Jan-2023 00:14:28 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
20-Jan-2023 00:14:28 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
20-Jan-2023 00:14:28 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
20-Jan-2023 00:14:28 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2017 java        1476 bamboo-age 2957Mb  385Mb 00:07:49 /usr/lib/jvm/java-8-ope
20-Jan-2023 00:14:28 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:02:04 /home/bamboo-agent/bamb
20-Jan-2023 00:14:28 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:15 /sbin/init             
20-Jan-2023 00:14:28 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
20-Jan-2023 00:14:28 [PredatorPreBuildAction] Initial free space: 3.7022324 GB
20-Jan-2023 00:14:28 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
20-Jan-2023 00:14:33 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
20-Jan-2023 00:14:33 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
20-Jan-2023 00:14:33 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
20-Jan-2023 00:14:33 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
20-Jan-2023 00:14:33 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
20-Jan-2023 00:14:33 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
20-Jan-2023 00:14:33 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
20-Jan-2023 00:14:33 [PredatorPreBuildAction] Final free space: 3.733879 GB
20-Jan-2023 00:14:33 [PredatorPreBuildAction] Done
20-Jan-2023 00:14:33
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
20-Jan-2023 00:14:33
Substituting password variable: ${bamboo.dockerhub.password}
20-Jan-2023 00:14:33
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:d3051b3da505ba5242c7c0e3b090145672d3958fdaf7e67e2dcfb4b105d4c24a
20-Jan-2023 00:14:33
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:d3051b3da505ba5242c7c0e3b090145672d3958fdaf7e67e2dcfb4b105d4c24a
20-Jan-2023 00:14:33
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Jan-2023 00:14:33
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Jan-2023 00:14:33 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Jan-2023 00:14:33
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13402 (REFAPP-OMODDISTRO-DTMTS-13402)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13402-ScriptBuildTask-2896272740883045484.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Jan-2023 00:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
20-Jan-2023 00:14:34 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
20-Jan-2023 00:14:34 Configure a credential helper to remove this warning. See
20-Jan-2023 00:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
20-Jan-2023 00:14:34
20-Jan-2023 00:14:34 Login Succeeded
20-Jan-2023 00:14:34 + docker pull openmrs/openmrs-reference-application@sha256:d3051b3da505ba5242c7c0e3b090145672d3958fdaf7e67e2dcfb4b105d4c24a
20-Jan-2023 00:14:34 docker.io/openmrs/openmrs-reference-application@sha256:d3051b3da505ba5242c7c0e3b090145672d3958fdaf7e67e2dcfb4b105d4c24a: Pulling from openmrs/openmrs-reference-application
20-Jan-2023 00:14:34 Digest: sha256:d3051b3da505ba5242c7c0e3b090145672d3958fdaf7e67e2dcfb4b105d4c24a
20-Jan-2023 00:14:34 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:d3051b3da505ba5242c7c0e3b090145672d3958fdaf7e67e2dcfb4b105d4c24a
20-Jan-2023 00:14:34 docker.io/openmrs/openmrs-reference-application@sha256:d3051b3da505ba5242c7c0e3b090145672d3958fdaf7e67e2dcfb4b105d4c24a
20-Jan-2023 00:14:34 + docker tag openmrs/openmrs-reference-application@sha256:d3051b3da505ba5242c7c0e3b090145672d3958fdaf7e67e2dcfb4b105d4c24a openmrs/openmrs-reference-application:qa
20-Jan-2023 00:14:34 + docker push openmrs/openmrs-reference-application:qa
20-Jan-2023 00:14:34 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
20-Jan-2023 00:14:34 e48df5fea970: Preparing
20-Jan-2023 00:14:34 2375b5201795: Preparing
20-Jan-2023 00:14:34 2470f31c827f: Preparing
20-Jan-2023 00:14:34 015d2088feb0: Preparing
20-Jan-2023 00:14:34 e61322449ad0: Preparing
20-Jan-2023 00:14:34 6fdd21bc4a9b: Preparing
20-Jan-2023 00:14:34 5f70bf18a086: Preparing
20-Jan-2023 00:14:34 b7243530d918: Preparing
20-Jan-2023 00:14:34 23323df4fbd9: Preparing
20-Jan-2023 00:14:34 725ecc0c9d62: Preparing
20-Jan-2023 00:14:34 6c1f45cb6682: Preparing
20-Jan-2023 00:14:34 b8aa9430b356: Preparing
20-Jan-2023 00:14:34 b46e16032f56: Preparing
20-Jan-2023 00:14:34 91ac82815b04: Preparing
20-Jan-2023 00:14:34 24fcda5a8b17: Preparing
20-Jan-2023 00:14:34 a4a7e924299e: Preparing
20-Jan-2023 00:14:34 059c2d42be74: Preparing
20-Jan-2023 00:14:34 3f800aca2a44: Preparing
20-Jan-2023 00:14:34 6fdd21bc4a9b: Waiting
20-Jan-2023 00:14:34 5f70bf18a086: Waiting
20-Jan-2023 00:14:34 b7243530d918: Waiting
20-Jan-2023 00:14:34 23323df4fbd9: Waiting
20-Jan-2023 00:14:34 725ecc0c9d62: Waiting
20-Jan-2023 00:14:34 6c1f45cb6682: Waiting
20-Jan-2023 00:14:34 b8aa9430b356: Waiting
20-Jan-2023 00:14:34 b46e16032f56: Waiting
20-Jan-2023 00:14:34 91ac82815b04: Waiting
20-Jan-2023 00:14:34 24fcda5a8b17: Waiting
20-Jan-2023 00:14:34 a4a7e924299e: Waiting
20-Jan-2023 00:14:34 059c2d42be74: Waiting
20-Jan-2023 00:14:34 3f800aca2a44: Waiting
20-Jan-2023 00:14:34 e61322449ad0: Layer already exists
20-Jan-2023 00:14:34 e48df5fea970: Layer already exists
20-Jan-2023 00:14:34 2375b5201795: Layer already exists
20-Jan-2023 00:14:34 2470f31c827f: Layer already exists
20-Jan-2023 00:14:34 015d2088feb0: Layer already exists
20-Jan-2023 00:14:34 6fdd21bc4a9b: Layer already exists
20-Jan-2023 00:14:34 5f70bf18a086: Layer already exists
20-Jan-2023 00:14:34 23323df4fbd9: Layer already exists
20-Jan-2023 00:14:34 b7243530d918: Layer already exists
20-Jan-2023 00:14:34 725ecc0c9d62: Layer already exists
20-Jan-2023 00:14:34 6c1f45cb6682: Layer already exists
20-Jan-2023 00:14:34 b8aa9430b356: Layer already exists
20-Jan-2023 00:14:34 b46e16032f56: Layer already exists
20-Jan-2023 00:14:34 91ac82815b04: Layer already exists
20-Jan-2023 00:14:34 24fcda5a8b17: Layer already exists
20-Jan-2023 00:14:34 a4a7e924299e: Layer already exists
20-Jan-2023 00:14:34 3f800aca2a44: Layer already exists
20-Jan-2023 00:14:34 059c2d42be74: Layer already exists
20-Jan-2023 00:14:35 qa: digest: sha256:ee2833af38e74b47ee47d429554ff11683976ce9913bdbfc1e410b9a8b534ba6 size: 4088
20-Jan-2023 00:14:35 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
20-Jan-2023 00:14:35 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
20-Jan-2023 00:14:36 Removing unused images if any
20-Jan-2023 00:14:36 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Jan-2023 00:14:36 Pulling openmrs-referenceapplication-mysql ...
20-Jan-2023 00:14:36 Pulling openmrs-referenceapplication       ...
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication-mysql ... done
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... already exists
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... waiting
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (100.0%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... verifying checksum
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... download complete
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (0.5%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (0.7%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (1.1%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (11.3%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (14.8%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... verifying checksum
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... download complete
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (24.6%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (34.3%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (38.8%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (55.8%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (54.0%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (77.3%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (70.7%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... downloading (98.1%)
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... verifying checksum
20-Jan-2023 00:14:37 Pulling openmrs-referenceapplication       ... download complete
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... downloading (86.9%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... verifying checksum
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... download complete
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (0.7%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (22.9%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (41.6%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (62.5%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (81.2%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... pull complete
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... pull complete
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (0.5%)
20-Jan-2023 00:14:38 Pulling openmrs-referenceapplication       ... extracting (15.7%)
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... extracting (31.4%)
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... extracting (47.1%)
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... extracting (62.3%)
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... extracting (77.0%)
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... extracting (95.2%)
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... pull complete
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... extracting (3.0%)
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... pull complete
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... digest: sha256:ee2833af38e74b47ee...
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
20-Jan-2023 00:14:39 Pulling openmrs-referenceapplication       ... done
20-Jan-2023 00:14:39 Recreating all images and volumes
20-Jan-2023 00:14:39 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Jan-2023 00:14:39 Stopping qa-refapp_openmrs-referenceapplication_1       ...
20-Jan-2023 00:14:39 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Jan-2023 00:14:40 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
20-Jan-2023 00:14:42 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Jan-2023 00:14:42 Removing qa-refapp_openmrs-referenceapplication_1       ...
20-Jan-2023 00:14:42 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Jan-2023 00:14:42 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Jan-2023 00:14:44 Removing qa-refapp_openmrs-referenceapplication_1       ... done
20-Jan-2023 00:14:44 Removing network qa-refapp_default
20-Jan-2023 00:14:45 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
20-Jan-2023 00:14:45 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Jan-2023 00:14:45 Creating network "qa-refapp_default" with the default driver
20-Jan-2023 00:14:45 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
20-Jan-2023 00:14:45 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Jan-2023 00:14:46 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Jan-2023 00:14:46 Creating qa-refapp_openmrs-referenceapplication_1       ...
20-Jan-2023 00:14:46 Creating qa-refapp_openmrs-referenceapplication_1       ... done
20-Jan-2023 00:14:47 Verifying if docker containers 484b6159b7850ac14de42c2a99ee89c6832cc0cf9948f354b3272cbef1aee598
20-Jan-2023 00:14:47 3670352cc5a6fec364c558f176656c66f1c2f851110789ea41c2387996d6dd96 are healthy
20-Jan-2023 00:14:47 Status found: "starting"
20-Jan-2023 00:14:47 Waiting 15s
20-Jan-2023 00:15:02 Verifying if docker containers 484b6159b7850ac14de42c2a99ee89c6832cc0cf9948f354b3272cbef1aee598
20-Jan-2023 00:15:02 3670352cc5a6fec364c558f176656c66f1c2f851110789ea41c2387996d6dd96 are healthy
20-Jan-2023 00:15:02 Status found: "starting"
20-Jan-2023 00:15:02 Waiting 15s
20-Jan-2023 00:15:17 Verifying if docker containers 484b6159b7850ac14de42c2a99ee89c6832cc0cf9948f354b3272cbef1aee598
20-Jan-2023 00:15:17 3670352cc5a6fec364c558f176656c66f1c2f851110789ea41c2387996d6dd96 are healthy
20-Jan-2023 00:15:17 Status found: "healthy"
20-Jan-2023 00:15:17 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
20-Jan-2023 00:15:17 Running post build plugin 'Docker Container Cleanup'
20-Jan-2023 00:15:17 Running post build plugin 'NCover Results Collector'
20-Jan-2023 00:15:17 Running post build plugin 'Build Results Label Collector'
20-Jan-2023 00:15:17 Running post build plugin 'Clover Results Collector'
20-Jan-2023 00:15:17 Running post build plugin 'npm Cache Cleanup'
20-Jan-2023 00:15:17 Running post build plugin 'Artifact Copier'
20-Jan-2023 00:15:17 Finalising the build...
20-Jan-2023 00:15:17 Stopping timer.
20-Jan-2023 00:15:17 Build REFAPP-OMODDISTRO-DTMTS-13402 completed.
20-Jan-2023 00:15:17 Running on server: post build plugin 'Build Hanging Detection Configuration'
20-Jan-2023 00:15:17 Running on server: post build plugin 'NCover Results Collector'
20-Jan-2023 00:15:17 Running on server: post build plugin 'Build Labeller'
20-Jan-2023 00:15:17 Running on server: post build plugin 'Clover Delta Calculator'
20-Jan-2023 00:15:17 Running on server: post build plugin 'Maven Dependencies Postprocessor'
20-Jan-2023 00:15:17 All post build plugins have finished
20-Jan-2023 00:15:17 Generating build results summary...
20-Jan-2023 00:15:17 Saving build results to disk...
20-Jan-2023 00:15:17 Store variable context...
20-Jan-2023 00:15:17 Finished building REFAPP-OMODDISTRO-DTMTS-13402.