Deploys Reference Application SNAPSHOT to maven

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

03-Mar-2023 14:17:16 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13530 (REFAPP-OMODDISTRO-DTMTS-13530) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
03-Mar-2023 14:17:16 Remote agent on host yu.openmrs.org
03-Mar-2023 14:17:16 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
03-Mar-2023 14:17:16 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13530 (REFAPP-OMODDISTRO-DTMTS-13530)
03-Mar-2023 14:17:16 Running pre-build action: Build Log Labeller Pre Build Action
03-Mar-2023 14:17:16 Running pre-build action: VCS Version Collector
03-Mar-2023 14:17:16 Running pre-build action: Run Predator
03-Mar-2023 14:17:16 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
03-Mar-2023 14:17:16 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
03-Mar-2023 14:17:16 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2978Mb  632Mb 00:34:15 /usr/lib/jvm/java-8-ope
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    3Mb 00:08:36 /home/bamboo-agent/bamb
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:01:38 /sbin/init             
03-Mar-2023 14:17:17 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Initial free space: 3.7489777 GB
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-JOB1
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Deleting 3 snapshot folders from /home/bamboo-agent/.m2/repository
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
03-Mar-2023 14:17:17 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
03-Mar-2023 14:17:17 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
03-Mar-2023 14:17:17 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
03-Mar-2023 14:17:17 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Final free space: 3.7857437 GB
03-Mar-2023 14:17:17 [PredatorPreBuildAction] Done
03-Mar-2023 14:17:17
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
03-Mar-2023 14:17:17
Substituting password variable: ${bamboo.dockerhub.password}
03-Mar-2023 14:17:17
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:5f114f59e441ff6a0fefc5e5d86fce24666d95779397870f0137cf0e7628220b
03-Mar-2023 14:17:17
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:5f114f59e441ff6a0fefc5e5d86fce24666d95779397870f0137cf0e7628220b
03-Mar-2023 14:17:17
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
03-Mar-2023 14:17:17
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
03-Mar-2023 14:17:17 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
03-Mar-2023 14:17:17
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13530 (REFAPP-OMODDISTRO-DTMTS-13530)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13530-ScriptBuildTask-2493865031849122934.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
03-Mar-2023 14:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03-Mar-2023 14:17:18 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
03-Mar-2023 14:17:18 Configure a credential helper to remove this warning. See
03-Mar-2023 14:17:18 Login Succeeded
03-Mar-2023 14:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
03-Mar-2023 14:17:18
03-Mar-2023 14:17:18 + docker pull openmrs/openmrs-reference-application@sha256:5f114f59e441ff6a0fefc5e5d86fce24666d95779397870f0137cf0e7628220b
03-Mar-2023 14:17:18 docker.io/openmrs/openmrs-reference-application@sha256:5f114f59e441ff6a0fefc5e5d86fce24666d95779397870f0137cf0e7628220b: Pulling from openmrs/openmrs-reference-application
03-Mar-2023 14:17:18 Digest: sha256:5f114f59e441ff6a0fefc5e5d86fce24666d95779397870f0137cf0e7628220b
03-Mar-2023 14:17:18 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:5f114f59e441ff6a0fefc5e5d86fce24666d95779397870f0137cf0e7628220b
03-Mar-2023 14:17:18 docker.io/openmrs/openmrs-reference-application@sha256:5f114f59e441ff6a0fefc5e5d86fce24666d95779397870f0137cf0e7628220b
03-Mar-2023 14:17:18 + docker tag openmrs/openmrs-reference-application@sha256:5f114f59e441ff6a0fefc5e5d86fce24666d95779397870f0137cf0e7628220b openmrs/openmrs-reference-application:qa
03-Mar-2023 14:17:18 + docker push openmrs/openmrs-reference-application:qa
03-Mar-2023 14:17:18 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
03-Mar-2023 14:17:18 93d0304b1d21: Preparing
03-Mar-2023 14:17:18 dafba5fc8aad: Preparing
03-Mar-2023 14:17:18 6a9215b65cf3: Preparing
03-Mar-2023 14:17:18 6bbfed5feca1: Preparing
03-Mar-2023 14:17:18 88f505b88277: Preparing
03-Mar-2023 14:17:18 fe0a129a302b: Preparing
03-Mar-2023 14:17:18 5f70bf18a086: Preparing
03-Mar-2023 14:17:18 42e97b588e77: Preparing
03-Mar-2023 14:17:18 3e4a0486d6ca: Preparing
03-Mar-2023 14:17:18 40751d985083: Preparing
03-Mar-2023 14:17:18 61df368fe53c: Preparing
03-Mar-2023 14:17:18 fbe4b3a5defc: Preparing
03-Mar-2023 14:17:18 d324e59194f4: Preparing
03-Mar-2023 14:17:18 ab306269340d: Preparing
03-Mar-2023 14:17:18 cca9d486fadb: Preparing
03-Mar-2023 14:17:18 ecf2ad663867: Preparing
03-Mar-2023 14:17:18 8942ec0edea2: Preparing
03-Mar-2023 14:17:18 941b8b0a5987: Preparing
03-Mar-2023 14:17:18 fe0a129a302b: Waiting
03-Mar-2023 14:17:18 5f70bf18a086: Waiting
03-Mar-2023 14:17:18 42e97b588e77: Waiting
03-Mar-2023 14:17:18 3e4a0486d6ca: Waiting
03-Mar-2023 14:17:18 40751d985083: Waiting
03-Mar-2023 14:17:18 61df368fe53c: Waiting
03-Mar-2023 14:17:18 fbe4b3a5defc: Waiting
03-Mar-2023 14:17:18 d324e59194f4: Waiting
03-Mar-2023 14:17:18 ab306269340d: Waiting
03-Mar-2023 14:17:18 cca9d486fadb: Waiting
03-Mar-2023 14:17:18 ecf2ad663867: Waiting
03-Mar-2023 14:17:18 8942ec0edea2: Waiting
03-Mar-2023 14:17:18 941b8b0a5987: Waiting
03-Mar-2023 14:17:18 6a9215b65cf3: Layer already exists
03-Mar-2023 14:17:18 93d0304b1d21: Layer already exists
03-Mar-2023 14:17:18 dafba5fc8aad: Layer already exists
03-Mar-2023 14:17:18 6bbfed5feca1: Layer already exists
03-Mar-2023 14:17:18 88f505b88277: Layer already exists
03-Mar-2023 14:17:18 fe0a129a302b: Layer already exists
03-Mar-2023 14:17:18 5f70bf18a086: Layer already exists
03-Mar-2023 14:17:18 40751d985083: Layer already exists
03-Mar-2023 14:17:18 3e4a0486d6ca: Layer already exists
03-Mar-2023 14:17:18 42e97b588e77: Layer already exists
03-Mar-2023 14:17:18 61df368fe53c: Layer already exists
03-Mar-2023 14:17:18 fbe4b3a5defc: Layer already exists
03-Mar-2023 14:17:18 d324e59194f4: Layer already exists
03-Mar-2023 14:17:18 ab306269340d: Layer already exists
03-Mar-2023 14:17:18 cca9d486fadb: Layer already exists
03-Mar-2023 14:17:19 ecf2ad663867: Layer already exists
03-Mar-2023 14:17:19 8942ec0edea2: Layer already exists
03-Mar-2023 14:17:19 941b8b0a5987: Layer already exists
03-Mar-2023 14:17:19 qa: digest: sha256:741f265cf8d60ba7fc52faf751b7225c65a69b3c5d8ebe57762d9d1d0cf5c8fa size: 4090
03-Mar-2023 14:17:19 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
03-Mar-2023 14:17:19 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
03-Mar-2023 14:17:20 Removing unused images if any
03-Mar-2023 14:17:21 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication-mysql ...
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ...
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication-mysql ... done
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... already exists
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... pulling fs layer
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... pulling fs layer
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... pulling fs layer
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... pulling fs layer
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... waiting
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... downloading (96.4%)
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... downloading (100.0%)
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... verifying checksum
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... download complete
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... downloading (0.7%)
03-Mar-2023 14:17:21 Pulling openmrs-referenceapplication       ... downloading (0.5%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (15.7%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (11.3%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (1.1%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (100.0%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... verifying checksum
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... download complete
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (23.5%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (31.4%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (49.1%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (36.3%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (69.6%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (51.5%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (87.4%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (65.6%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... verifying checksum
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... download complete
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (80.3%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... extracting (0.7%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... downloading (93.5%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... verifying checksum
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... download complete
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... extracting (23.3%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... extracting (53.6%)
03-Mar-2023 14:17:22 Pulling openmrs-referenceapplication       ... extracting (79.0%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (95.9%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... pull complete
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... pull complete
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (0.5%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (13.7%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (31.4%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (51.2%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (68.9%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (88.1%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... pull complete
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (3.0%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
03-Mar-2023 14:17:23 Pulling openmrs-referenceapplication       ... pull complete
03-Mar-2023 14:17:24 Pulling openmrs-referenceapplication       ... digest: sha256:741f265cf8d60ba7fc...
03-Mar-2023 14:17:24 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
03-Mar-2023 14:17:24 Pulling openmrs-referenceapplication       ... done
03-Mar-2023 14:17:24 Recreating all images and volumes
03-Mar-2023 14:17:24 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
03-Mar-2023 14:17:24 Stopping qa-refapp_openmrs-referenceapplication_1       ...
03-Mar-2023 14:17:24 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
03-Mar-2023 14:17:24 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
03-Mar-2023 14:17:26 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
03-Mar-2023 14:17:26 Removing qa-refapp_openmrs-referenceapplication_1       ...
03-Mar-2023 14:17:26 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
03-Mar-2023 14:17:26 Removing qa-refapp_openmrs-referenceapplication_1       ... done
03-Mar-2023 14:17:26 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
03-Mar-2023 14:17:26 Removing network qa-refapp_default
03-Mar-2023 14:17:26 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
03-Mar-2023 14:17:26 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
03-Mar-2023 14:17:26 Creating network "qa-refapp_default" with the default driver
03-Mar-2023 14:17:26 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
03-Mar-2023 14:17:26 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
03-Mar-2023 14:17:27 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
03-Mar-2023 14:17:27 Creating qa-refapp_openmrs-referenceapplication_1       ...
03-Mar-2023 14:17:28 Creating qa-refapp_openmrs-referenceapplication_1       ... done
03-Mar-2023 14:17:28 Verifying if docker containers 7875d664e72382604e49bee5a7ed0d2e0e865ebf08a768322b58924705bbaec2
03-Mar-2023 14:17:28 08ba29c14f2132893dfe152ac9f4d5c0ab1fd17fc15cb27a96997208ccb83c7c are healthy
03-Mar-2023 14:17:28 Status found: "starting"
03-Mar-2023 14:17:28 Waiting 15s
03-Mar-2023 14:17:43 Verifying if docker containers 7875d664e72382604e49bee5a7ed0d2e0e865ebf08a768322b58924705bbaec2
03-Mar-2023 14:17:43 08ba29c14f2132893dfe152ac9f4d5c0ab1fd17fc15cb27a96997208ccb83c7c are healthy
03-Mar-2023 14:17:43 Status found: "starting"
03-Mar-2023 14:17:43 Waiting 15s
03-Mar-2023 14:17:58 Verifying if docker containers 7875d664e72382604e49bee5a7ed0d2e0e865ebf08a768322b58924705bbaec2
03-Mar-2023 14:17:58 08ba29c14f2132893dfe152ac9f4d5c0ab1fd17fc15cb27a96997208ccb83c7c are healthy
03-Mar-2023 14:17:58 Status found: "healthy"
03-Mar-2023 14:17:58 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
03-Mar-2023 14:17:58 Running post build plugin 'Docker Container Cleanup'
03-Mar-2023 14:17:58 Running post build plugin 'NCover Results Collector'
03-Mar-2023 14:17:58 Running post build plugin 'Build Results Label Collector'
03-Mar-2023 14:17:58 Running post build plugin 'Clover Results Collector'
03-Mar-2023 14:17:58 Running post build plugin 'npm Cache Cleanup'
03-Mar-2023 14:17:58 Running post build plugin 'Artifact Copier'
03-Mar-2023 14:17:58 Finalising the build...
03-Mar-2023 14:17:58 Stopping timer.
03-Mar-2023 14:17:58 Build REFAPP-OMODDISTRO-DTMTS-13530 completed.
03-Mar-2023 14:17:58 Running on server: post build plugin 'Build Hanging Detection Configuration'
03-Mar-2023 14:17:58 Running on server: post build plugin 'NCover Results Collector'
03-Mar-2023 14:17:58 Running on server: post build plugin 'Build Labeller'
03-Mar-2023 14:17:58 Running on server: post build plugin 'Clover Delta Calculator'
03-Mar-2023 14:17:58 Running on server: post build plugin 'Maven Dependencies Postprocessor'
03-Mar-2023 14:17:58 All post build plugins have finished
03-Mar-2023 14:17:58 Generating build results summary...
03-Mar-2023 14:17:58 Saving build results to disk...
03-Mar-2023 14:17:58 Store variable context...
03-Mar-2023 14:17:58 Finished building REFAPP-OMODDISTRO-DTMTS-13530.