Deploys Reference Application SNAPSHOT to maven

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

20-Feb-2023 22:50:15 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13491 (REFAPP-OMODDISTRO-DTMTS-13491) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
20-Feb-2023 22:50:15 Remote agent on host yu.openmrs.org
20-Feb-2023 22:50:15 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Feb-2023 22:50:15 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13491 (REFAPP-OMODDISTRO-DTMTS-13491)
20-Feb-2023 22:50:15 Running pre-build action: Build Log Labeller Pre Build Action
20-Feb-2023 22:50:15 Running pre-build action: VCS Version Collector
20-Feb-2023 22:50:15 Running pre-build action: Run Predator
20-Feb-2023 22:50:15 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
20-Feb-2023 22:50:15 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
20-Feb-2023 22:50:15 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
20-Feb-2023 22:50:15 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
20-Feb-2023 22:50:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2972Mb  435Mb 00:14:17 /usr/lib/jvm/java-8-ope
20-Feb-2023 22:50:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    2Mb 00:03:49 /home/bamboo-agent/bamb
20-Feb-2023 22:50:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:00:33 /sbin/init             
20-Feb-2023 22:50:15 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
20-Feb-2023 22:50:15 [PredatorPreBuildAction] Initial free space: 1.9724655 GB
20-Feb-2023 22:50:15 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
20-Feb-2023 22:50:19 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
20-Feb-2023 22:50:19 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
20-Feb-2023 22:50:19 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
20-Feb-2023 22:50:20 [PredatorPreBuildAction] Maven stable disk freed: 0.44616094 GB, deleted 118 files
20-Feb-2023 22:50:20 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
20-Feb-2023 22:50:20 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
20-Feb-2023 22:50:20 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
20-Feb-2023 22:50:20 [PredatorPreBuildAction] Final free space: 2.0041008 GB
20-Feb-2023 22:50:20 [PredatorPreBuildAction] Done
20-Feb-2023 22:50:20
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
20-Feb-2023 22:50:20
Substituting password variable: ${bamboo.dockerhub.password}
20-Feb-2023 22:50:20
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:4b9defb725cc905326742a6b8edae2c02c6e68a97c8432ec18b12418324472e9
20-Feb-2023 22:50:20
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:4b9defb725cc905326742a6b8edae2c02c6e68a97c8432ec18b12418324472e9
20-Feb-2023 22:50:20
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Feb-2023 22:50:20
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Feb-2023 22:50:20 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Feb-2023 22:50:20
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13491 (REFAPP-OMODDISTRO-DTMTS-13491)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13491-ScriptBuildTask-1783919778686036528.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Feb-2023 22:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
20-Feb-2023 22:50:20 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
20-Feb-2023 22:50:20 Configure a credential helper to remove this warning. See
20-Feb-2023 22:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
20-Feb-2023 22:50:20
20-Feb-2023 22:50:20 Login Succeeded
20-Feb-2023 22:50:20 + docker pull openmrs/openmrs-reference-application@sha256:4b9defb725cc905326742a6b8edae2c02c6e68a97c8432ec18b12418324472e9
20-Feb-2023 22:50:20 docker.io/openmrs/openmrs-reference-application@sha256:4b9defb725cc905326742a6b8edae2c02c6e68a97c8432ec18b12418324472e9: Pulling from openmrs/openmrs-reference-application
20-Feb-2023 22:50:20 Digest: sha256:4b9defb725cc905326742a6b8edae2c02c6e68a97c8432ec18b12418324472e9
20-Feb-2023 22:50:20 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:4b9defb725cc905326742a6b8edae2c02c6e68a97c8432ec18b12418324472e9
20-Feb-2023 22:50:20 docker.io/openmrs/openmrs-reference-application@sha256:4b9defb725cc905326742a6b8edae2c02c6e68a97c8432ec18b12418324472e9
20-Feb-2023 22:50:20 + docker tag openmrs/openmrs-reference-application@sha256:4b9defb725cc905326742a6b8edae2c02c6e68a97c8432ec18b12418324472e9 openmrs/openmrs-reference-application:qa
20-Feb-2023 22:50:20 + docker push openmrs/openmrs-reference-application:qa
20-Feb-2023 22:50:20 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
20-Feb-2023 22:50:20 4abd8347b1de: Preparing
20-Feb-2023 22:50:20 bb787db5f7aa: Preparing
20-Feb-2023 22:50:20 6dc8fd956148: Preparing
20-Feb-2023 22:50:20 a1369d75a898: Preparing
20-Feb-2023 22:50:20 e4a92042edbd: Preparing
20-Feb-2023 22:50:20 60de0bbda0ed: Preparing
20-Feb-2023 22:50:20 5f70bf18a086: Preparing
20-Feb-2023 22:50:20 b34b6277c81b: Preparing
20-Feb-2023 22:50:20 d0a6a0df9123: Preparing
20-Feb-2023 22:50:20 63bbdb3574ed: Preparing
20-Feb-2023 22:50:20 118873527352: Preparing
20-Feb-2023 22:50:20 3353ee3d6876: Preparing
20-Feb-2023 22:50:20 ab5b3452b7ed: Preparing
20-Feb-2023 22:50:20 34f73756f7aa: Preparing
20-Feb-2023 22:50:20 93d6620f79bb: Preparing
20-Feb-2023 22:50:20 be417e78cadd: Preparing
20-Feb-2023 22:50:20 647dc4000019: Preparing
20-Feb-2023 22:50:20 8c5ff259ef50: Preparing
20-Feb-2023 22:50:20 60de0bbda0ed: Waiting
20-Feb-2023 22:50:20 5f70bf18a086: Waiting
20-Feb-2023 22:50:20 b34b6277c81b: Waiting
20-Feb-2023 22:50:20 d0a6a0df9123: Waiting
20-Feb-2023 22:50:20 63bbdb3574ed: Waiting
20-Feb-2023 22:50:20 118873527352: Waiting
20-Feb-2023 22:50:20 3353ee3d6876: Waiting
20-Feb-2023 22:50:20 ab5b3452b7ed: Waiting
20-Feb-2023 22:50:20 34f73756f7aa: Waiting
20-Feb-2023 22:50:20 93d6620f79bb: Waiting
20-Feb-2023 22:50:20 be417e78cadd: Waiting
20-Feb-2023 22:50:20 647dc4000019: Waiting
20-Feb-2023 22:50:20 8c5ff259ef50: Waiting
20-Feb-2023 22:50:20 e4a92042edbd: Layer already exists
20-Feb-2023 22:50:20 6dc8fd956148: Layer already exists
20-Feb-2023 22:50:20 4abd8347b1de: Layer already exists
20-Feb-2023 22:50:21 a1369d75a898: Layer already exists
20-Feb-2023 22:50:21 bb787db5f7aa: Layer already exists
20-Feb-2023 22:50:21 60de0bbda0ed: Layer already exists
20-Feb-2023 22:50:21 5f70bf18a086: Layer already exists
20-Feb-2023 22:50:21 b34b6277c81b: Layer already exists
20-Feb-2023 22:50:21 63bbdb3574ed: Layer already exists
20-Feb-2023 22:50:21 d0a6a0df9123: Layer already exists
20-Feb-2023 22:50:21 118873527352: Layer already exists
20-Feb-2023 22:50:21 3353ee3d6876: Layer already exists
20-Feb-2023 22:50:21 34f73756f7aa: Layer already exists
20-Feb-2023 22:50:21 ab5b3452b7ed: Layer already exists
20-Feb-2023 22:50:21 93d6620f79bb: Layer already exists
20-Feb-2023 22:50:21 be417e78cadd: Layer already exists
20-Feb-2023 22:50:21 647dc4000019: Layer already exists
20-Feb-2023 22:50:21 8c5ff259ef50: Layer already exists
20-Feb-2023 22:50:21 qa: digest: sha256:0bf5168d8814df93ac490e15c9fa56fbf3d07e35f64f241414f91a1dc6c337a9 size: 4088
20-Feb-2023 22:50:21 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
20-Feb-2023 22:50:21 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
20-Feb-2023 22:50:22 Removing unused images if any
20-Feb-2023 22:50:23 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication-mysql ...
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ...
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication-mysql ... done
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 22:50:23 Pulling openmrs-referenceapplication       ... waiting
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (100.0%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (0.7%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (0.5%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (16.3%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (13.3%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (1.1%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (34.6%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (25.0%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (54.4%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (38.3%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (74.2%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (54.0%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (93.3%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (65.7%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (80.4%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... downloading (95.1%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... extracting (0.7%)
20-Feb-2023 22:50:24 Pulling openmrs-referenceapplication       ... extracting (21.2%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (45.1%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (66.3%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (83.2%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (0.5%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (15.2%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (34.4%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (51.2%)
20-Feb-2023 22:50:25 Pulling openmrs-referenceapplication       ... extracting (66.3%)
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... extracting (80.0%)
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... extracting (89.1%)
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... extracting (3.0%)
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... digest: sha256:0bf5168d8814df93ac...
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
20-Feb-2023 22:50:26 Pulling openmrs-referenceapplication       ... done
20-Feb-2023 22:50:26 Recreating all images and volumes
20-Feb-2023 22:50:26 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 22:50:26 Stopping qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 22:50:26 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 22:50:27 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 22:50:29 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 22:50:29 Removing qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 22:50:29 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 22:50:29 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 22:50:29 Removing qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 22:50:29 Removing network qa-refapp_default
20-Feb-2023 22:50:29 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
20-Feb-2023 22:50:30 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 22:50:30 Creating network "qa-refapp_default" with the default driver
20-Feb-2023 22:50:30 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
20-Feb-2023 22:50:30 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 22:50:30 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 22:50:30 Creating qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 22:50:31 Creating qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 22:50:31 Verifying if docker containers 637aa89195227c3c9f71eddc909c3f63576150491b01ad983e649f0336e8c420
20-Feb-2023 22:50:31 e6e88d632be1e03bf05400f4c61332744d3b9843721c40fab2a34d0b4fcb510e are healthy
20-Feb-2023 22:50:31 Status found: "starting"
20-Feb-2023 22:50:31 Waiting 15s
20-Feb-2023 22:50:46 Verifying if docker containers 637aa89195227c3c9f71eddc909c3f63576150491b01ad983e649f0336e8c420
20-Feb-2023 22:50:46 e6e88d632be1e03bf05400f4c61332744d3b9843721c40fab2a34d0b4fcb510e are healthy
20-Feb-2023 22:50:46 Status found: "starting"
20-Feb-2023 22:50:46 Waiting 15s
20-Feb-2023 22:51:01 Verifying if docker containers 637aa89195227c3c9f71eddc909c3f63576150491b01ad983e649f0336e8c420
20-Feb-2023 22:51:01 e6e88d632be1e03bf05400f4c61332744d3b9843721c40fab2a34d0b4fcb510e are healthy
20-Feb-2023 22:51:01 Status found: "healthy"
20-Feb-2023 22:51:01 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
20-Feb-2023 22:51:01 Running post build plugin 'Docker Container Cleanup'
20-Feb-2023 22:51:01 Running post build plugin 'NCover Results Collector'
20-Feb-2023 22:51:01 Running post build plugin 'Build Results Label Collector'
20-Feb-2023 22:51:01 Running post build plugin 'Clover Results Collector'
20-Feb-2023 22:51:01 Running post build plugin 'npm Cache Cleanup'
20-Feb-2023 22:51:01 Running post build plugin 'Artifact Copier'
20-Feb-2023 22:51:01 Finalising the build...
20-Feb-2023 22:51:01 Stopping timer.
20-Feb-2023 22:51:01 Build REFAPP-OMODDISTRO-DTMTS-13491 completed.
20-Feb-2023 22:51:01 Running on server: post build plugin 'Build Hanging Detection Configuration'
20-Feb-2023 22:51:01 Running on server: post build plugin 'NCover Results Collector'
20-Feb-2023 22:51:01 Running on server: post build plugin 'Build Labeller'
20-Feb-2023 22:51:01 Running on server: post build plugin 'Clover Delta Calculator'
20-Feb-2023 22:51:01 Running on server: post build plugin 'Maven Dependencies Postprocessor'
20-Feb-2023 22:51:01 All post build plugins have finished
20-Feb-2023 22:51:01 Generating build results summary...
20-Feb-2023 22:51:01 Saving build results to disk...
20-Feb-2023 22:51:01 Store variable context...
20-Feb-2023 22:51:01 Finished building REFAPP-OMODDISTRO-DTMTS-13491.