Deploys Reference Application SNAPSHOT to maven

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

10-Feb-2023 03:13:34 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13461 (REFAPP-OMODDISTRO-DTMTS-13461) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
10-Feb-2023 03:13:34 Remote agent on host yu.openmrs.org
10-Feb-2023 03:13:34 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
10-Feb-2023 03:13:34 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13461 (REFAPP-OMODDISTRO-DTMTS-13461)
10-Feb-2023 03:13:34 Running pre-build action: Build Log Labeller Pre Build Action
10-Feb-2023 03:13:34 Running pre-build action: VCS Version Collector
10-Feb-2023 03:13:34 Running pre-build action: Run Predator
10-Feb-2023 03:13:34 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
10-Feb-2023 03:13:34 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
10-Feb-2023 03:13:34 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
10-Feb-2023 03:13:35 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
10-Feb-2023 03:13:35 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 14138 java        1476 bamboo-age 2976Mb  510Mb 00:17:33 /usr/lib/jvm/java-8-ope
10-Feb-2023 03:13:35 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:12:28 /home/bamboo-agent/bamb
10-Feb-2023 03:13:35 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:04:02 /sbin/init             
10-Feb-2023 03:13:35 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
10-Feb-2023 03:13:35 [PredatorPreBuildAction] Initial free space: 2.7515182 GB
10-Feb-2023 03:13:35 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
10-Feb-2023 03:13:39 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
10-Feb-2023 03:13:39 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
10-Feb-2023 03:13:39 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
10-Feb-2023 03:13:39 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
10-Feb-2023 03:13:39 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
10-Feb-2023 03:13:39 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
10-Feb-2023 03:13:39 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
10-Feb-2023 03:13:39 [PredatorPreBuildAction] Final free space: 2.783165 GB
10-Feb-2023 03:13:39 [PredatorPreBuildAction] Done
10-Feb-2023 03:13:39
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
10-Feb-2023 03:13:39
Substituting password variable: ${bamboo.dockerhub.password}
10-Feb-2023 03:13:39
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:370eae9db5c7b87d6593796b2852654ecb1942de002d3365514bb572b1563848
10-Feb-2023 03:13:39
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:370eae9db5c7b87d6593796b2852654ecb1942de002d3365514bb572b1563848
10-Feb-2023 03:13:39
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
10-Feb-2023 03:13:39
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
10-Feb-2023 03:13:39 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
10-Feb-2023 03:13:39
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13461 (REFAPP-OMODDISTRO-DTMTS-13461)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13461-ScriptBuildTask-4233625356666554348.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
10-Feb-2023 03:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
10-Feb-2023 03:13:40 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
10-Feb-2023 03:13:40 Configure a credential helper to remove this warning. See
10-Feb-2023 03:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
10-Feb-2023 03:13:40
10-Feb-2023 03:13:40 Login Succeeded
10-Feb-2023 03:13:40 + docker pull openmrs/openmrs-reference-application@sha256:370eae9db5c7b87d6593796b2852654ecb1942de002d3365514bb572b1563848
10-Feb-2023 03:13:40 docker.io/openmrs/openmrs-reference-application@sha256:370eae9db5c7b87d6593796b2852654ecb1942de002d3365514bb572b1563848: Pulling from openmrs/openmrs-reference-application
10-Feb-2023 03:13:40 Digest: sha256:370eae9db5c7b87d6593796b2852654ecb1942de002d3365514bb572b1563848
10-Feb-2023 03:13:40 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:370eae9db5c7b87d6593796b2852654ecb1942de002d3365514bb572b1563848
10-Feb-2023 03:13:40 docker.io/openmrs/openmrs-reference-application@sha256:370eae9db5c7b87d6593796b2852654ecb1942de002d3365514bb572b1563848
10-Feb-2023 03:13:40 + docker tag openmrs/openmrs-reference-application@sha256:370eae9db5c7b87d6593796b2852654ecb1942de002d3365514bb572b1563848 openmrs/openmrs-reference-application:qa
10-Feb-2023 03:13:40 + docker push openmrs/openmrs-reference-application:qa
10-Feb-2023 03:13:40 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
10-Feb-2023 03:13:40 d617822f453a: Preparing
10-Feb-2023 03:13:40 51ff1ae4c413: Preparing
10-Feb-2023 03:13:40 4b5effc75fb5: Preparing
10-Feb-2023 03:13:40 440c84454913: Preparing
10-Feb-2023 03:13:40 0889049fe275: Preparing
10-Feb-2023 03:13:40 60de0bbda0ed: Preparing
10-Feb-2023 03:13:40 5f70bf18a086: Preparing
10-Feb-2023 03:13:40 b34b6277c81b: Preparing
10-Feb-2023 03:13:40 d0a6a0df9123: Preparing
10-Feb-2023 03:13:40 63bbdb3574ed: Preparing
10-Feb-2023 03:13:40 118873527352: Preparing
10-Feb-2023 03:13:40 3353ee3d6876: Preparing
10-Feb-2023 03:13:40 ab5b3452b7ed: Preparing
10-Feb-2023 03:13:40 34f73756f7aa: Preparing
10-Feb-2023 03:13:40 93d6620f79bb: Preparing
10-Feb-2023 03:13:40 be417e78cadd: Preparing
10-Feb-2023 03:13:40 647dc4000019: Preparing
10-Feb-2023 03:13:40 8c5ff259ef50: Preparing
10-Feb-2023 03:13:40 60de0bbda0ed: Waiting
10-Feb-2023 03:13:40 5f70bf18a086: Waiting
10-Feb-2023 03:13:40 b34b6277c81b: Waiting
10-Feb-2023 03:13:40 d0a6a0df9123: Waiting
10-Feb-2023 03:13:40 63bbdb3574ed: Waiting
10-Feb-2023 03:13:40 118873527352: Waiting
10-Feb-2023 03:13:40 3353ee3d6876: Waiting
10-Feb-2023 03:13:40 ab5b3452b7ed: Waiting
10-Feb-2023 03:13:40 34f73756f7aa: Waiting
10-Feb-2023 03:13:40 93d6620f79bb: Waiting
10-Feb-2023 03:13:40 be417e78cadd: Waiting
10-Feb-2023 03:13:40 647dc4000019: Waiting
10-Feb-2023 03:13:40 8c5ff259ef50: Waiting
10-Feb-2023 03:13:40 d617822f453a: Layer already exists
10-Feb-2023 03:13:40 4b5effc75fb5: Layer already exists
10-Feb-2023 03:13:40 51ff1ae4c413: Layer already exists
10-Feb-2023 03:13:40 0889049fe275: Layer already exists
10-Feb-2023 03:13:40 440c84454913: Layer already exists
10-Feb-2023 03:13:40 60de0bbda0ed: Layer already exists
10-Feb-2023 03:13:40 5f70bf18a086: Layer already exists
10-Feb-2023 03:13:40 b34b6277c81b: Layer already exists
10-Feb-2023 03:13:40 d0a6a0df9123: Layer already exists
10-Feb-2023 03:13:40 63bbdb3574ed: Layer already exists
10-Feb-2023 03:13:40 118873527352: Layer already exists
10-Feb-2023 03:13:40 3353ee3d6876: Layer already exists
10-Feb-2023 03:13:40 34f73756f7aa: Layer already exists
10-Feb-2023 03:13:40 ab5b3452b7ed: Layer already exists
10-Feb-2023 03:13:40 93d6620f79bb: Layer already exists
10-Feb-2023 03:13:40 647dc4000019: Layer already exists
10-Feb-2023 03:13:40 8c5ff259ef50: Layer already exists
10-Feb-2023 03:13:40 be417e78cadd: Layer already exists
10-Feb-2023 03:13:41 qa: digest: sha256:4108ec1f9af30c8db559d9f98eabe6becb0c87f93a827030375074cb545c6334 size: 4088
10-Feb-2023 03:13:41 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
10-Feb-2023 03:13:41 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
10-Feb-2023 03:13:42 Removing unused images if any
10-Feb-2023 03:13:42 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Feb-2023 03:13:42 Pulling openmrs-referenceapplication-mysql ...
10-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ...
10-Feb-2023 03:13:42 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication-mysql ... done
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... waiting
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (100.0%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... verifying checksum
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... download complete
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (0.5%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (0.7%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (1.1%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (11.8%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... verifying checksum
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... download complete
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (17.5%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (26.5%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (37.7%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (39.8%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (57.8%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (54.0%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (77.9%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (67.7%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... downloading (98.1%)
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... verifying checksum
10-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... download complete
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... downloading (81.4%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... downloading (97.2%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (0.7%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... verifying checksum
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... download complete
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (28.4%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (54.1%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (76.3%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (97.1%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... pull complete
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... pull complete
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (0.5%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (19.8%)
10-Feb-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (39.0%)
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... extracting (56.7%)
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... extracting (72.9%)
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... extracting (86.1%)
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... pull complete
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... extracting (3.0%)
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... pull complete
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... digest: sha256:4108ec1f9af30c8db5...
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
10-Feb-2023 03:13:45 Pulling openmrs-referenceapplication       ... done
10-Feb-2023 03:13:45 Recreating all images and volumes
10-Feb-2023 03:13:45 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Feb-2023 03:13:45 Stopping qa-refapp_openmrs-referenceapplication_1       ...
10-Feb-2023 03:13:45 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Feb-2023 03:13:46 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
10-Feb-2023 03:13:48 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Feb-2023 03:13:48 Removing qa-refapp_openmrs-referenceapplication_1       ...
10-Feb-2023 03:13:48 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Feb-2023 03:13:48 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Feb-2023 03:13:48 Removing qa-refapp_openmrs-referenceapplication_1       ... done
10-Feb-2023 03:13:48 Removing network qa-refapp_default
10-Feb-2023 03:13:48 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
10-Feb-2023 03:13:49 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Feb-2023 03:13:49 Creating network "qa-refapp_default" with the default driver
10-Feb-2023 03:13:49 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
10-Feb-2023 03:13:49 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Feb-2023 03:13:49 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Feb-2023 03:13:49 Creating qa-refapp_openmrs-referenceapplication_1       ...
10-Feb-2023 03:13:50 Creating qa-refapp_openmrs-referenceapplication_1       ... done
10-Feb-2023 03:13:50 Verifying if docker containers 8f811bdc424c2d7179b73dff6ea6016fb23ff784ef44cc52b4a98cf9f8cfb08e
10-Feb-2023 03:13:50 fb60cc9abe5c195039b402a7acec4bf8a1a02b95df26e6e47c19fc0b7fd736a3 are healthy
10-Feb-2023 03:13:50 Status found: "starting"
10-Feb-2023 03:13:50 Waiting 15s
10-Feb-2023 03:14:05 Verifying if docker containers 8f811bdc424c2d7179b73dff6ea6016fb23ff784ef44cc52b4a98cf9f8cfb08e
10-Feb-2023 03:14:05 fb60cc9abe5c195039b402a7acec4bf8a1a02b95df26e6e47c19fc0b7fd736a3 are healthy
10-Feb-2023 03:14:05 Status found: "starting"
10-Feb-2023 03:14:05 Waiting 15s
10-Feb-2023 03:14:20 Verifying if docker containers 8f811bdc424c2d7179b73dff6ea6016fb23ff784ef44cc52b4a98cf9f8cfb08e
10-Feb-2023 03:14:20 fb60cc9abe5c195039b402a7acec4bf8a1a02b95df26e6e47c19fc0b7fd736a3 are healthy
10-Feb-2023 03:14:20 Status found: "healthy"
10-Feb-2023 03:14:20 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
10-Feb-2023 03:14:20 Running post build plugin 'Docker Container Cleanup'
10-Feb-2023 03:14:20 Running post build plugin 'NCover Results Collector'
10-Feb-2023 03:14:20 Running post build plugin 'Build Results Label Collector'
10-Feb-2023 03:14:20 Running post build plugin 'Clover Results Collector'
10-Feb-2023 03:14:20 Running post build plugin 'npm Cache Cleanup'
10-Feb-2023 03:14:20 Running post build plugin 'Artifact Copier'
10-Feb-2023 03:14:20 Finalising the build...
10-Feb-2023 03:14:20 Stopping timer.
10-Feb-2023 03:14:20 Build REFAPP-OMODDISTRO-DTMTS-13461 completed.
10-Feb-2023 03:14:20 Running on server: post build plugin 'Build Hanging Detection Configuration'
10-Feb-2023 03:14:20 Running on server: post build plugin 'NCover Results Collector'
10-Feb-2023 03:14:20 Running on server: post build plugin 'Build Labeller'
10-Feb-2023 03:14:20 Running on server: post build plugin 'Clover Delta Calculator'
10-Feb-2023 03:14:21 Running on server: post build plugin 'Maven Dependencies Postprocessor'
10-Feb-2023 03:14:21 All post build plugins have finished
10-Feb-2023 03:14:21 Generating build results summary...
10-Feb-2023 03:14:21 Saving build results to disk...
10-Feb-2023 03:14:21 Store variable context...
10-Feb-2023 03:14:21 Finished building REFAPP-OMODDISTRO-DTMTS-13461.