Deploys Reference Application SNAPSHOT to maven

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

01-Feb-2023 14:51:17 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13435 (REFAPP-OMODDISTRO-DTMTS-13435) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
01-Feb-2023 14:51:17 Remote agent on host yu.openmrs.org
01-Feb-2023 14:51:17 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
01-Feb-2023 14:51:17 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13435 (REFAPP-OMODDISTRO-DTMTS-13435)
01-Feb-2023 14:51:17 Running pre-build action: Build Log Labeller Pre Build Action
01-Feb-2023 14:51:17 Running pre-build action: VCS Version Collector
01-Feb-2023 14:51:17 Running pre-build action: Run Predator
01-Feb-2023 14:51:17 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
01-Feb-2023 14:51:17 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
01-Feb-2023 14:51:17 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
01-Feb-2023 14:51:17 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
01-Feb-2023 14:51:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 14138 java        1476 bamboo-age 2973Mb  388Mb 00:01:38 /usr/lib/jvm/java-8-ope
01-Feb-2023 14:51:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:08:30 /home/bamboo-agent/bamb
01-Feb-2023 14:51:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:03:18 /sbin/init             
01-Feb-2023 14:51:17 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
01-Feb-2023 14:51:17 [PredatorPreBuildAction] Initial free space: 3.6941223 GB
01-Feb-2023 14:51:17 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
01-Feb-2023 14:51:21 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
01-Feb-2023 14:51:21 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
01-Feb-2023 14:51:21 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
01-Feb-2023 14:51:21 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
01-Feb-2023 14:51:21 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
01-Feb-2023 14:51:21 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
01-Feb-2023 14:51:21 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
01-Feb-2023 14:51:21 [PredatorPreBuildAction] Final free space: 3.7257652 GB
01-Feb-2023 14:51:21 [PredatorPreBuildAction] Done
01-Feb-2023 14:51:21
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
01-Feb-2023 14:51:21
Substituting password variable: ${bamboo.dockerhub.password}
01-Feb-2023 14:51:21
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:af2fb55e770a503fabe4b6415826a33572d719163e548a6f71066706845423d4
01-Feb-2023 14:51:21
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:af2fb55e770a503fabe4b6415826a33572d719163e548a6f71066706845423d4
01-Feb-2023 14:51:21
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
01-Feb-2023 14:51:21
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
01-Feb-2023 14:51:21 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
01-Feb-2023 14:51:21
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13435 (REFAPP-OMODDISTRO-DTMTS-13435)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13435-ScriptBuildTask-2413583745931893777.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
01-Feb-2023 14:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
01-Feb-2023 14:51:21 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
01-Feb-2023 14:51:21 Configure a credential helper to remove this warning. See
01-Feb-2023 14:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
01-Feb-2023 14:51:21
01-Feb-2023 14:51:21 Login Succeeded
01-Feb-2023 14:51:21 + docker pull openmrs/openmrs-reference-application@sha256:af2fb55e770a503fabe4b6415826a33572d719163e548a6f71066706845423d4
01-Feb-2023 14:51:21 docker.io/openmrs/openmrs-reference-application@sha256:af2fb55e770a503fabe4b6415826a33572d719163e548a6f71066706845423d4: Pulling from openmrs/openmrs-reference-application
01-Feb-2023 14:51:21 Digest: sha256:af2fb55e770a503fabe4b6415826a33572d719163e548a6f71066706845423d4
01-Feb-2023 14:51:21 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:af2fb55e770a503fabe4b6415826a33572d719163e548a6f71066706845423d4
01-Feb-2023 14:51:21 docker.io/openmrs/openmrs-reference-application@sha256:af2fb55e770a503fabe4b6415826a33572d719163e548a6f71066706845423d4
01-Feb-2023 14:51:21 + docker tag openmrs/openmrs-reference-application@sha256:af2fb55e770a503fabe4b6415826a33572d719163e548a6f71066706845423d4 openmrs/openmrs-reference-application:qa
01-Feb-2023 14:51:21 + docker push openmrs/openmrs-reference-application:qa
01-Feb-2023 14:51:21 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
01-Feb-2023 14:51:22 bcf602e7e0ae: Preparing
01-Feb-2023 14:51:22 5e28f6d58e2a: Preparing
01-Feb-2023 14:51:22 ccfbf187b935: Preparing
01-Feb-2023 14:51:22 227feba0a5d9: Preparing
01-Feb-2023 14:51:22 a7523177b4f8: Preparing
01-Feb-2023 14:51:22 60de0bbda0ed: Preparing
01-Feb-2023 14:51:22 5f70bf18a086: Preparing
01-Feb-2023 14:51:22 b34b6277c81b: Preparing
01-Feb-2023 14:51:22 d0a6a0df9123: Preparing
01-Feb-2023 14:51:22 63bbdb3574ed: Preparing
01-Feb-2023 14:51:22 118873527352: Preparing
01-Feb-2023 14:51:22 3353ee3d6876: Preparing
01-Feb-2023 14:51:22 ab5b3452b7ed: Preparing
01-Feb-2023 14:51:22 34f73756f7aa: Preparing
01-Feb-2023 14:51:22 93d6620f79bb: Preparing
01-Feb-2023 14:51:22 be417e78cadd: Preparing
01-Feb-2023 14:51:22 647dc4000019: Preparing
01-Feb-2023 14:51:22 8c5ff259ef50: Preparing
01-Feb-2023 14:51:22 60de0bbda0ed: Waiting
01-Feb-2023 14:51:22 5f70bf18a086: Waiting
01-Feb-2023 14:51:22 b34b6277c81b: Waiting
01-Feb-2023 14:51:22 d0a6a0df9123: Waiting
01-Feb-2023 14:51:22 63bbdb3574ed: Waiting
01-Feb-2023 14:51:22 118873527352: Waiting
01-Feb-2023 14:51:22 3353ee3d6876: Waiting
01-Feb-2023 14:51:22 ab5b3452b7ed: Waiting
01-Feb-2023 14:51:22 34f73756f7aa: Waiting
01-Feb-2023 14:51:22 93d6620f79bb: Waiting
01-Feb-2023 14:51:22 be417e78cadd: Waiting
01-Feb-2023 14:51:22 647dc4000019: Waiting
01-Feb-2023 14:51:22 8c5ff259ef50: Waiting
01-Feb-2023 14:51:22 ccfbf187b935: Layer already exists
01-Feb-2023 14:51:22 227feba0a5d9: Layer already exists
01-Feb-2023 14:51:22 a7523177b4f8: Layer already exists
01-Feb-2023 14:51:22 5e28f6d58e2a: Layer already exists
01-Feb-2023 14:51:22 bcf602e7e0ae: Layer already exists
01-Feb-2023 14:51:22 60de0bbda0ed: Layer already exists
01-Feb-2023 14:51:22 5f70bf18a086: Layer already exists
01-Feb-2023 14:51:22 b34b6277c81b: Layer already exists
01-Feb-2023 14:51:22 63bbdb3574ed: Layer already exists
01-Feb-2023 14:51:22 d0a6a0df9123: Layer already exists
01-Feb-2023 14:51:22 118873527352: Layer already exists
01-Feb-2023 14:51:22 ab5b3452b7ed: Layer already exists
01-Feb-2023 14:51:22 3353ee3d6876: Layer already exists
01-Feb-2023 14:51:22 34f73756f7aa: Layer already exists
01-Feb-2023 14:51:22 93d6620f79bb: Layer already exists
01-Feb-2023 14:51:22 be417e78cadd: Layer already exists
01-Feb-2023 14:51:22 647dc4000019: Layer already exists
01-Feb-2023 14:51:22 8c5ff259ef50: Layer already exists
01-Feb-2023 14:51:23 qa: digest: sha256:6cb57bf2d6845186d1f7daecbea6e643ab713a1f54f63fd3e9a806e1edcbd7ac size: 4088
01-Feb-2023 14:51:23 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
01-Feb-2023 14:51:23 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
01-Feb-2023 14:51:24 Removing unused images if any
01-Feb-2023 14:51:24 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
01-Feb-2023 14:51:24 Pulling openmrs-referenceapplication-mysql ...
01-Feb-2023 14:51:24 Pulling openmrs-referenceapplication       ...
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication-mysql ... done
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... already exists
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... waiting
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (100.0%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... download complete
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (0.5%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (0.7%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (15.4%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (14.2%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (1.1%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (100.0%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... verifying checksum
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... download complete
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (32.2%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (25.5%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (50.3%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (38.7%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (67.8%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (51.5%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (87.3%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (64.3%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... downloading (100.0%)
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... verifying checksum
01-Feb-2023 14:51:25 Pulling openmrs-referenceapplication       ... download complete
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... downloading (78.4%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... downloading (91.2%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (0.7%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... verifying checksum
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... download complete
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (22.9%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (44.4%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (63.1%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (90.2%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... pull complete
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... pull complete
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (0.5%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (20.3%)
01-Feb-2023 14:51:26 Pulling openmrs-referenceapplication       ... extracting (42.0%)
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... extracting (58.8%)
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... extracting (74.0%)
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... extracting (88.1%)
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... pull complete
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... extracting (3.0%)
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... pull complete
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... digest: sha256:6cb57bf2d6845186d1...
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
01-Feb-2023 14:51:27 Pulling openmrs-referenceapplication       ... done
01-Feb-2023 14:51:27 Recreating all images and volumes
01-Feb-2023 14:51:27 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
01-Feb-2023 14:51:27 Stopping qa-refapp_openmrs-referenceapplication_1       ...
01-Feb-2023 14:51:27 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
01-Feb-2023 14:51:28 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
01-Feb-2023 14:51:30 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
01-Feb-2023 14:51:30 Removing qa-refapp_openmrs-referenceapplication_1       ...
01-Feb-2023 14:51:30 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
01-Feb-2023 14:51:30 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
01-Feb-2023 14:51:31 Removing qa-refapp_openmrs-referenceapplication_1       ... done
01-Feb-2023 14:51:31 Removing network qa-refapp_default
01-Feb-2023 14:51:31 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
01-Feb-2023 14:51:32 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
01-Feb-2023 14:51:32 Creating network "qa-refapp_default" with the default driver
01-Feb-2023 14:51:32 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
01-Feb-2023 14:51:32 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
01-Feb-2023 14:51:32 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
01-Feb-2023 14:51:32 Creating qa-refapp_openmrs-referenceapplication_1       ...
01-Feb-2023 14:51:33 Creating qa-refapp_openmrs-referenceapplication_1       ... done
01-Feb-2023 14:51:33 Verifying if docker containers 22f96fc59a147928a4652a483a8f79f54c42be4b250f2a83f4aa7bfb5d24c2f5
01-Feb-2023 14:51:33 f9e36e559a2a4eb92f8dd1c092e733e408a7a55824444e91dc1aa06a3b1f08dd are healthy
01-Feb-2023 14:51:33 Status found: "starting"
01-Feb-2023 14:51:33 Waiting 15s
01-Feb-2023 14:51:48 Verifying if docker containers 22f96fc59a147928a4652a483a8f79f54c42be4b250f2a83f4aa7bfb5d24c2f5
01-Feb-2023 14:51:48 f9e36e559a2a4eb92f8dd1c092e733e408a7a55824444e91dc1aa06a3b1f08dd are healthy
01-Feb-2023 14:51:48 Status found: "starting"
01-Feb-2023 14:51:48 Waiting 15s
01-Feb-2023 14:52:03 Verifying if docker containers 22f96fc59a147928a4652a483a8f79f54c42be4b250f2a83f4aa7bfb5d24c2f5
01-Feb-2023 14:52:03 f9e36e559a2a4eb92f8dd1c092e733e408a7a55824444e91dc1aa06a3b1f08dd are healthy
01-Feb-2023 14:52:04 Status found: "healthy"
01-Feb-2023 14:52:04 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
01-Feb-2023 14:52:04 Running post build plugin 'Docker Container Cleanup'
01-Feb-2023 14:52:04 Running post build plugin 'NCover Results Collector'
01-Feb-2023 14:52:04 Running post build plugin 'Build Results Label Collector'
01-Feb-2023 14:52:04 Running post build plugin 'Clover Results Collector'
01-Feb-2023 14:52:04 Running post build plugin 'npm Cache Cleanup'
01-Feb-2023 14:52:04 Running post build plugin 'Artifact Copier'
01-Feb-2023 14:52:04 Finalising the build...
01-Feb-2023 14:52:04 Stopping timer.
01-Feb-2023 14:52:04 Build REFAPP-OMODDISTRO-DTMTS-13435 completed.
01-Feb-2023 14:52:04 Running on server: post build plugin 'Build Hanging Detection Configuration'
01-Feb-2023 14:52:04 Running on server: post build plugin 'NCover Results Collector'
01-Feb-2023 14:52:04 Running on server: post build plugin 'Build Labeller'
01-Feb-2023 14:52:04 Running on server: post build plugin 'Clover Delta Calculator'
01-Feb-2023 14:52:04 Running on server: post build plugin 'Maven Dependencies Postprocessor'
01-Feb-2023 14:52:04 All post build plugins have finished
01-Feb-2023 14:52:04 Generating build results summary...
01-Feb-2023 14:52:04 Saving build results to disk...
01-Feb-2023 14:52:04 Store variable context...
01-Feb-2023 14:52:04 Finished building REFAPP-OMODDISTRO-DTMTS-13435.