Deploys Reference Application SNAPSHOT to maven

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

02-Feb-2023 03:13:41 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13439 (REFAPP-OMODDISTRO-DTMTS-13439) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
02-Feb-2023 03:13:41 Remote agent on host xiao.openmrs.org
02-Feb-2023 03:13:41 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
02-Feb-2023 03:13:41 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13439 (REFAPP-OMODDISTRO-DTMTS-13439)
02-Feb-2023 03:13:41 Running pre-build action: Build Log Labeller Pre Build Action
02-Feb-2023 03:13:41 Running pre-build action: VCS Version Collector
02-Feb-2023 03:13:41 Running pre-build action: Run Predator
02-Feb-2023 03:13:41 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
02-Feb-2023 03:13:41 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
02-Feb-2023 03:13:41 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
02-Feb-2023 03:13:42 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
02-Feb-2023 03:13:42 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 39819 java        1476 bamboo-age 2977Mb  561Mb 00:04:00 /usr/lib/jvm/java-8-ope
02-Feb-2023 03:13:42 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:08:09 /home/bamboo-agent/bamb
02-Feb-2023 03:13:42 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:23 /sbin/init             
02-Feb-2023 03:13:42 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
02-Feb-2023 03:13:42 [PredatorPreBuildAction] Initial free space: 3.311966 GB
02-Feb-2023 03:13:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
02-Feb-2023 03:13:45 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
02-Feb-2023 03:13:45 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
02-Feb-2023 03:13:46 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
02-Feb-2023 03:13:46 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
02-Feb-2023 03:13:46 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
02-Feb-2023 03:13:46 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
02-Feb-2023 03:13:46 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
02-Feb-2023 03:13:46 [PredatorPreBuildAction] Final free space: 3.3436089 GB
02-Feb-2023 03:13:46 [PredatorPreBuildAction] Done
02-Feb-2023 03:13:46
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
02-Feb-2023 03:13:46
Substituting password variable: ${bamboo.dockerhub.password}
02-Feb-2023 03:13:46
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:35f12180b5753a361728abce15fc73b4a8048d2d1b467d321d25a5e9b743cfc2
02-Feb-2023 03:13:46
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:35f12180b5753a361728abce15fc73b4a8048d2d1b467d321d25a5e9b743cfc2
02-Feb-2023 03:13:46
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
02-Feb-2023 03:13:46
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
02-Feb-2023 03:13:46 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
02-Feb-2023 03:13:46
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13439 (REFAPP-OMODDISTRO-DTMTS-13439)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13439-ScriptBuildTask-8859719931467752789.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
02-Feb-2023 03:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
02-Feb-2023 03:13:46 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
02-Feb-2023 03:13:46 Configure a credential helper to remove this warning. See
02-Feb-2023 03:13:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
02-Feb-2023 03:13:46
02-Feb-2023 03:13:46 Login Succeeded
02-Feb-2023 03:13:46 + docker pull openmrs/openmrs-reference-application@sha256:35f12180b5753a361728abce15fc73b4a8048d2d1b467d321d25a5e9b743cfc2
02-Feb-2023 03:13:46 docker.io/openmrs/openmrs-reference-application@sha256:35f12180b5753a361728abce15fc73b4a8048d2d1b467d321d25a5e9b743cfc2: Pulling from openmrs/openmrs-reference-application
02-Feb-2023 03:13:46 Digest: sha256:35f12180b5753a361728abce15fc73b4a8048d2d1b467d321d25a5e9b743cfc2
02-Feb-2023 03:13:46 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:35f12180b5753a361728abce15fc73b4a8048d2d1b467d321d25a5e9b743cfc2
02-Feb-2023 03:13:46 docker.io/openmrs/openmrs-reference-application@sha256:35f12180b5753a361728abce15fc73b4a8048d2d1b467d321d25a5e9b743cfc2
02-Feb-2023 03:13:46 + docker tag openmrs/openmrs-reference-application@sha256:35f12180b5753a361728abce15fc73b4a8048d2d1b467d321d25a5e9b743cfc2 openmrs/openmrs-reference-application:qa
02-Feb-2023 03:13:46 + docker push openmrs/openmrs-reference-application:qa
02-Feb-2023 03:13:46 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
02-Feb-2023 03:13:46 b1ee74b1a53d: Preparing
02-Feb-2023 03:13:46 72910453d7d7: Preparing
02-Feb-2023 03:13:46 a344641e95b2: Preparing
02-Feb-2023 03:13:46 5a03f8343e16: Preparing
02-Feb-2023 03:13:46 b781e920d918: Preparing
02-Feb-2023 03:13:46 60de0bbda0ed: Preparing
02-Feb-2023 03:13:46 5f70bf18a086: Preparing
02-Feb-2023 03:13:46 b34b6277c81b: Preparing
02-Feb-2023 03:13:46 d0a6a0df9123: Preparing
02-Feb-2023 03:13:46 63bbdb3574ed: Preparing
02-Feb-2023 03:13:46 118873527352: Preparing
02-Feb-2023 03:13:46 3353ee3d6876: Preparing
02-Feb-2023 03:13:46 ab5b3452b7ed: Preparing
02-Feb-2023 03:13:46 34f73756f7aa: Preparing
02-Feb-2023 03:13:46 93d6620f79bb: Preparing
02-Feb-2023 03:13:46 be417e78cadd: Preparing
02-Feb-2023 03:13:46 647dc4000019: Preparing
02-Feb-2023 03:13:46 8c5ff259ef50: Preparing
02-Feb-2023 03:13:46 60de0bbda0ed: Waiting
02-Feb-2023 03:13:46 5f70bf18a086: Waiting
02-Feb-2023 03:13:46 b34b6277c81b: Waiting
02-Feb-2023 03:13:46 d0a6a0df9123: Waiting
02-Feb-2023 03:13:46 63bbdb3574ed: Waiting
02-Feb-2023 03:13:46 118873527352: Waiting
02-Feb-2023 03:13:46 3353ee3d6876: Waiting
02-Feb-2023 03:13:46 ab5b3452b7ed: Waiting
02-Feb-2023 03:13:46 34f73756f7aa: Waiting
02-Feb-2023 03:13:46 93d6620f79bb: Waiting
02-Feb-2023 03:13:46 be417e78cadd: Waiting
02-Feb-2023 03:13:46 647dc4000019: Waiting
02-Feb-2023 03:13:46 8c5ff259ef50: Waiting
02-Feb-2023 03:13:47 b781e920d918: Layer already exists
02-Feb-2023 03:13:47 72910453d7d7: Layer already exists
02-Feb-2023 03:13:47 b1ee74b1a53d: Layer already exists
02-Feb-2023 03:13:47 5a03f8343e16: Layer already exists
02-Feb-2023 03:13:47 a344641e95b2: Layer already exists
02-Feb-2023 03:13:47 60de0bbda0ed: Layer already exists
02-Feb-2023 03:13:47 5f70bf18a086: Layer already exists
02-Feb-2023 03:13:47 b34b6277c81b: Layer already exists
02-Feb-2023 03:13:47 d0a6a0df9123: Layer already exists
02-Feb-2023 03:13:47 63bbdb3574ed: Layer already exists
02-Feb-2023 03:13:47 118873527352: Layer already exists
02-Feb-2023 03:13:47 3353ee3d6876: Layer already exists
02-Feb-2023 03:13:47 ab5b3452b7ed: Layer already exists
02-Feb-2023 03:13:47 34f73756f7aa: Layer already exists
02-Feb-2023 03:13:47 93d6620f79bb: Layer already exists
02-Feb-2023 03:13:47 be417e78cadd: Layer already exists
02-Feb-2023 03:13:47 647dc4000019: Layer already exists
02-Feb-2023 03:13:47 8c5ff259ef50: Layer already exists
02-Feb-2023 03:13:47 qa: digest: sha256:b39629bdb89bfdf845ecc94bd84a701eedebebfe64fbd2cd0af31db659543942 size: 4088
02-Feb-2023 03:13:47 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
02-Feb-2023 03:13:47 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
02-Feb-2023 03:13:48 Removing unused images if any
02-Feb-2023 03:13:49 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication-mysql ...
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ...
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication-mysql ... done
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... already exists
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... pulling fs layer
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... pulling fs layer
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... pulling fs layer
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... pulling fs layer
02-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... waiting
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (100.0%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... verifying checksum
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... download complete
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (0.5%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (0.7%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (1.1%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (13.7%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (16.1%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... verifying checksum
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... download complete
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (27.5%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (37.0%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (40.7%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (56.5%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (55.4%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (76.0%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (69.7%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (96.1%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... verifying checksum
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... download complete
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (84.9%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (0.7%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... downloading (99.1%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... verifying checksum
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... download complete
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (23.6%)
02-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (47.9%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (74.2%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (98.5%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... pull complete
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... pull complete
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (0.5%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (19.8%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (40.0%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (58.8%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (76.5%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (92.2%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... pull complete
02-Feb-2023 03:13:51 Pulling openmrs-referenceapplication       ... extracting (3.0%)
02-Feb-2023 03:13:52 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Feb-2023 03:13:52 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Feb-2023 03:13:52 Pulling openmrs-referenceapplication       ... pull complete
02-Feb-2023 03:13:52 Pulling openmrs-referenceapplication       ... digest: sha256:b39629bdb89bfdf845...
02-Feb-2023 03:13:52 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
02-Feb-2023 03:13:52 Pulling openmrs-referenceapplication       ... done
02-Feb-2023 03:13:52 Recreating all images and volumes
02-Feb-2023 03:13:52 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
02-Feb-2023 03:13:52 Stopping qa-refapp_openmrs-referenceapplication_1       ...
02-Feb-2023 03:13:52 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
02-Feb-2023 03:13:53 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
02-Feb-2023 03:13:55 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
02-Feb-2023 03:13:55 Removing qa-refapp_openmrs-referenceapplication_1       ...
02-Feb-2023 03:13:55 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
02-Feb-2023 03:13:55 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
02-Feb-2023 03:13:55 Removing qa-refapp_openmrs-referenceapplication_1       ... done
02-Feb-2023 03:13:55 Removing network qa-refapp_default
02-Feb-2023 03:13:55 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
02-Feb-2023 03:13:56 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
02-Feb-2023 03:13:56 Creating network "qa-refapp_default" with the default driver
02-Feb-2023 03:13:56 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
02-Feb-2023 03:13:56 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
02-Feb-2023 03:13:56 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
02-Feb-2023 03:13:56 Creating qa-refapp_openmrs-referenceapplication_1       ...
02-Feb-2023 03:13:57 Creating qa-refapp_openmrs-referenceapplication_1       ... done
02-Feb-2023 03:13:57 Verifying if docker containers 900737064b6a2ce6bf95c253b9af2ebd59b621ce7a5c1ee87517f096f403a9e3
02-Feb-2023 03:13:57 a747e347ec02cd0022d58a35531ee3c3402f735f98cf055832945bab6d7f250b are healthy
02-Feb-2023 03:13:57 Status found: "starting"
02-Feb-2023 03:13:57 Waiting 15s
02-Feb-2023 03:14:12 Verifying if docker containers 900737064b6a2ce6bf95c253b9af2ebd59b621ce7a5c1ee87517f096f403a9e3
02-Feb-2023 03:14:12 a747e347ec02cd0022d58a35531ee3c3402f735f98cf055832945bab6d7f250b are healthy
02-Feb-2023 03:14:12 Status found: "starting"
02-Feb-2023 03:14:12 Waiting 15s
02-Feb-2023 03:14:27 Verifying if docker containers 900737064b6a2ce6bf95c253b9af2ebd59b621ce7a5c1ee87517f096f403a9e3
02-Feb-2023 03:14:27 a747e347ec02cd0022d58a35531ee3c3402f735f98cf055832945bab6d7f250b are healthy
02-Feb-2023 03:14:27 Status found: "healthy"
02-Feb-2023 03:14:27 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
02-Feb-2023 03:14:27 Running post build plugin 'Docker Container Cleanup'
02-Feb-2023 03:14:27 Running post build plugin 'NCover Results Collector'
02-Feb-2023 03:14:27 Running post build plugin 'Build Results Label Collector'
02-Feb-2023 03:14:27 Running post build plugin 'Clover Results Collector'
02-Feb-2023 03:14:27 Running post build plugin 'npm Cache Cleanup'
02-Feb-2023 03:14:27 Running post build plugin 'Artifact Copier'
02-Feb-2023 03:14:27 Finalising the build...
02-Feb-2023 03:14:27 Stopping timer.
02-Feb-2023 03:14:27 Build REFAPP-OMODDISTRO-DTMTS-13439 completed.
02-Feb-2023 03:14:27 Running on server: post build plugin 'Build Hanging Detection Configuration'
02-Feb-2023 03:14:27 Running on server: post build plugin 'NCover Results Collector'
02-Feb-2023 03:14:27 Running on server: post build plugin 'Build Labeller'
02-Feb-2023 03:14:27 Running on server: post build plugin 'Clover Delta Calculator'
02-Feb-2023 03:14:27 Running on server: post build plugin 'Maven Dependencies Postprocessor'
02-Feb-2023 03:14:27 All post build plugins have finished
02-Feb-2023 03:14:27 Generating build results summary...
02-Feb-2023 03:14:27 Saving build results to disk...
02-Feb-2023 03:14:27 Store variable context...
02-Feb-2023 03:14:28 Finished building REFAPP-OMODDISTRO-DTMTS-13439.