Deploys Reference Application SNAPSHOT to maven

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

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