Deploys Reference Application SNAPSHOT to maven

Build: #13500 failed

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.

22-Feb-2023 17:43:17 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13500 (REFAPP-OMODDISTRO-DTMTS-13500) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
22-Feb-2023 17:43:17 Remote agent on host xindi.openmrs.org
22-Feb-2023 17:43:17 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
22-Feb-2023 17:43:17 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13500 (REFAPP-OMODDISTRO-DTMTS-13500)
22-Feb-2023 17:43:17 Running pre-build action: Build Log Labeller Pre Build Action
22-Feb-2023 17:43:17 Running pre-build action: VCS Version Collector
22-Feb-2023 17:43:17 Running pre-build action: Run Predator
22-Feb-2023 17:43:17 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
22-Feb-2023 17:43:17 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
22-Feb-2023 17:43:17 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
22-Feb-2023 17:43:17 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
22-Feb-2023 17:43:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2978Mb  568Mb 00:18:43 /usr/lib/jvm/java-8-ope
22-Feb-2023 17:43:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    2Mb 00:05:03 /home/bamboo-agent/bamb
22-Feb-2023 17:43:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:19 /sbin/init             
22-Feb-2023 17:43:17 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
22-Feb-2023 17:43:17 [PredatorPreBuildAction] Initial free space: 0.8359909 GB
22-Feb-2023 17:43:17 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
22-Feb-2023 17:43:22 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
22-Feb-2023 17:43:22 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
22-Feb-2023 17:43:22 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
22-Feb-2023 17:43:22 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
22-Feb-2023 17:43:22 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
22-Feb-2023 17:43:22 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
22-Feb-2023 17:43:22 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
22-Feb-2023 17:43:22 [PredatorPreBuildAction] Final free space: 0.86764145 GB
22-Feb-2023 17:43:22 [PredatorPreBuildAction] Done
22-Feb-2023 17:43:22
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
22-Feb-2023 17:43:22
Substituting password variable: ${bamboo.dockerhub.password}
22-Feb-2023 17:43:22
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:6696a35d297b55ab88ca16978eb727a1f5bb531b88b49297aeb3dc4127ebbf60
22-Feb-2023 17:43:22
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:6696a35d297b55ab88ca16978eb727a1f5bb531b88b49297aeb3dc4127ebbf60
22-Feb-2023 17:43:22
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
22-Feb-2023 17:43:22
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
22-Feb-2023 17:43:22 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
22-Feb-2023 17:43:22
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13500 (REFAPP-OMODDISTRO-DTMTS-13500)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13500-ScriptBuildTask-4960061566333540281.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
22-Feb-2023 17:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
22-Feb-2023 17:43:22 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
22-Feb-2023 17:43:22 Configure a credential helper to remove this warning. See
22-Feb-2023 17:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
22-Feb-2023 17:43:22
22-Feb-2023 17:43:22 Login Succeeded
22-Feb-2023 17:43:22 + docker pull openmrs/openmrs-reference-application@sha256:6696a35d297b55ab88ca16978eb727a1f5bb531b88b49297aeb3dc4127ebbf60
22-Feb-2023 17:43:22 docker.io/openmrs/openmrs-reference-application@sha256:6696a35d297b55ab88ca16978eb727a1f5bb531b88b49297aeb3dc4127ebbf60: Pulling from openmrs/openmrs-reference-application
22-Feb-2023 17:43:22 Digest: sha256:6696a35d297b55ab88ca16978eb727a1f5bb531b88b49297aeb3dc4127ebbf60
22-Feb-2023 17:43:22 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:6696a35d297b55ab88ca16978eb727a1f5bb531b88b49297aeb3dc4127ebbf60
22-Feb-2023 17:43:22 docker.io/openmrs/openmrs-reference-application@sha256:6696a35d297b55ab88ca16978eb727a1f5bb531b88b49297aeb3dc4127ebbf60
22-Feb-2023 17:43:22 + docker tag openmrs/openmrs-reference-application@sha256:6696a35d297b55ab88ca16978eb727a1f5bb531b88b49297aeb3dc4127ebbf60 openmrs/openmrs-reference-application:qa
22-Feb-2023 17:43:22 + docker push openmrs/openmrs-reference-application:qa
22-Feb-2023 17:43:22 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
22-Feb-2023 17:43:22 295ced3e4dd1: Preparing
22-Feb-2023 17:43:22 6f03f3b99683: Preparing
22-Feb-2023 17:43:22 75a28fdf139c: Preparing
22-Feb-2023 17:43:22 07c8b286f83b: Preparing
22-Feb-2023 17:43:22 e4a92042edbd: Preparing
22-Feb-2023 17:43:22 60de0bbda0ed: Preparing
22-Feb-2023 17:43:22 5f70bf18a086: Preparing
22-Feb-2023 17:43:22 b34b6277c81b: Preparing
22-Feb-2023 17:43:22 d0a6a0df9123: Preparing
22-Feb-2023 17:43:22 63bbdb3574ed: Preparing
22-Feb-2023 17:43:22 118873527352: Preparing
22-Feb-2023 17:43:22 3353ee3d6876: Preparing
22-Feb-2023 17:43:22 60de0bbda0ed: Waiting
22-Feb-2023 17:43:22 5f70bf18a086: Waiting
22-Feb-2023 17:43:22 b34b6277c81b: Waiting
22-Feb-2023 17:43:22 d0a6a0df9123: Waiting
22-Feb-2023 17:43:22 63bbdb3574ed: Waiting
22-Feb-2023 17:43:22 118873527352: Waiting
22-Feb-2023 17:43:22 3353ee3d6876: Waiting
22-Feb-2023 17:43:22 ab5b3452b7ed: Preparing
22-Feb-2023 17:43:22 34f73756f7aa: Preparing
22-Feb-2023 17:43:22 93d6620f79bb: Preparing
22-Feb-2023 17:43:22 be417e78cadd: Preparing
22-Feb-2023 17:43:22 647dc4000019: Preparing
22-Feb-2023 17:43:22 8c5ff259ef50: Preparing
22-Feb-2023 17:43:22 ab5b3452b7ed: Waiting
22-Feb-2023 17:43:22 34f73756f7aa: Waiting
22-Feb-2023 17:43:22 93d6620f79bb: Waiting
22-Feb-2023 17:43:22 be417e78cadd: Waiting
22-Feb-2023 17:43:22 647dc4000019: Waiting
22-Feb-2023 17:43:22 8c5ff259ef50: Waiting
22-Feb-2023 17:43:23 e4a92042edbd: Layer already exists
22-Feb-2023 17:43:23 75a28fdf139c: Layer already exists
22-Feb-2023 17:43:23 6f03f3b99683: Layer already exists
22-Feb-2023 17:43:23 295ced3e4dd1: Layer already exists
22-Feb-2023 17:43:23 07c8b286f83b: Layer already exists
22-Feb-2023 17:43:23 60de0bbda0ed: Layer already exists
22-Feb-2023 17:43:23 b34b6277c81b: Layer already exists
22-Feb-2023 17:43:23 5f70bf18a086: Layer already exists
22-Feb-2023 17:43:23 63bbdb3574ed: Layer already exists
22-Feb-2023 17:43:23 d0a6a0df9123: Layer already exists
22-Feb-2023 17:43:23 118873527352: Layer already exists
22-Feb-2023 17:43:23 3353ee3d6876: Layer already exists
22-Feb-2023 17:43:23 ab5b3452b7ed: Layer already exists
22-Feb-2023 17:43:23 34f73756f7aa: Layer already exists
22-Feb-2023 17:43:23 93d6620f79bb: Layer already exists
22-Feb-2023 17:43:23 be417e78cadd: Layer already exists
22-Feb-2023 17:43:23 647dc4000019: Layer already exists
22-Feb-2023 17:43:23 8c5ff259ef50: Layer already exists
22-Feb-2023 17:43:23 qa: digest: sha256:fef97e66cb3df61e3b5290ab6930fb1fafc4edf5e7e22de1fbeef3deeb1c0bc2 size: 4088
22-Feb-2023 17:43:23 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
22-Feb-2023 17:43:24 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
22-Feb-2023 17:43:25 Removing unused images if any
22-Feb-2023 17:43:25 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Feb-2023 17:43:25 Pulling openmrs-referenceapplication-mysql ...
22-Feb-2023 17:43:25 Pulling openmrs-referenceapplication       ...
22-Feb-2023 17:43:25 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
22-Feb-2023 17:43:25 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
22-Feb-2023 17:43:25 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
22-Feb-2023 17:43:25 Pulling openmrs-referenceapplication-mysql ... done
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... waiting
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (95.4%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (100.0%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... verifying checksum
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... download complete
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (0.7%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (0.5%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (19.8%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (15.7%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (1.1%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... download complete
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (38.8%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (29.4%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (57.2%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (45.1%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (78.2%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (59.3%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (96.0%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (73.0%)
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... verifying checksum
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... download complete
22-Feb-2023 17:43:26 Pulling openmrs-referenceapplication       ... downloading (89.2%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (0.7%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... verifying checksum
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... download complete
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (20.5%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (37.4%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (57.8%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (79.7%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (98.7%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... pull complete
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... pull complete
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (0.5%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (14.7%)
22-Feb-2023 17:43:27 Pulling openmrs-referenceapplication       ... extracting (29.9%)
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... extracting (47.1%)
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... extracting (63.8%)
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... extracting (79.5%)
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... extracting (92.7%)
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... pull complete
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... extracting (3.0%)
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... pull complete
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... digest: sha256:fef97e66cb3df61e3b...
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
22-Feb-2023 17:43:28 Pulling openmrs-referenceapplication       ... done
22-Feb-2023 17:43:28 Recreating all images and volumes
22-Feb-2023 17:43:28 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Feb-2023 17:43:28 Stopping qa-refapp_openmrs-referenceapplication_1       ...
22-Feb-2023 17:43:28 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Feb-2023 17:43:29 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
22-Feb-2023 17:43:31 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Feb-2023 17:43:31 Removing qa-refapp_openmrs-referenceapplication_1       ...
22-Feb-2023 17:43:31 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Feb-2023 17:43:31 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Feb-2023 17:43:32 Removing qa-refapp_openmrs-referenceapplication_1       ... done
22-Feb-2023 17:43:32 Removing network qa-refapp_default
22-Feb-2023 17:43:33 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
22-Feb-2023 17:43:33 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Feb-2023 17:43:33 Creating network "qa-refapp_default" with the default driver
22-Feb-2023 17:43:33 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
22-Feb-2023 17:43:33 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Feb-2023 17:43:34 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Feb-2023 17:43:34 Creating qa-refapp_openmrs-referenceapplication_1       ...
22-Feb-2023 17:43:34 Creating qa-refapp_openmrs-referenceapplication_1       ... done
22-Feb-2023 17:43:34 Verifying if docker containers 6928f2184c7670f1835ec6981369a88d1f39d5ab8f3e7230c808bd99d0e0a9f4
22-Feb-2023 17:43:34 d03f0ad302b944e02cf3bbb550a8e7180fb816de90e2ee67c3f3723fe887ebc6 are healthy
22-Feb-2023 17:43:34 Status found: "starting"
22-Feb-2023 17:43:34 Waiting 15s
22-Feb-2023 17:43:49 Verifying if docker containers 6928f2184c7670f1835ec6981369a88d1f39d5ab8f3e7230c808bd99d0e0a9f4
22-Feb-2023 17:43:49 d03f0ad302b944e02cf3bbb550a8e7180fb816de90e2ee67c3f3723fe887ebc6 are healthy
22-Feb-2023 17:43:50 Status found: "starting"
22-Feb-2023 17:43:50 Waiting 15s
22-Feb-2023 17:44:05 Verifying if docker containers 6928f2184c7670f1835ec6981369a88d1f39d5ab8f3e7230c808bd99d0e0a9f4
22-Feb-2023 17:44:05 d03f0ad302b944e02cf3bbb550a8e7180fb816de90e2ee67c3f3723fe887ebc6 are healthy
22-Feb-2023 17:44:05 Status found: "healthy"
22-Feb-2023 17:44:05 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
22-Feb-2023 17:44:05 Running post build plugin 'Docker Container Cleanup'
22-Feb-2023 17:44:05 Running post build plugin 'NCover Results Collector'
22-Feb-2023 17:44:05 Running post build plugin 'Build Results Label Collector'
22-Feb-2023 17:44:05 Running post build plugin 'Clover Results Collector'
22-Feb-2023 17:44:05 Running post build plugin 'npm Cache Cleanup'
22-Feb-2023 17:44:05 Running post build plugin 'Artifact Copier'
22-Feb-2023 17:44:05 Finalising the build...
22-Feb-2023 17:44:05 Stopping timer.
22-Feb-2023 17:44:05 Build REFAPP-OMODDISTRO-DTMTS-13500 completed.
22-Feb-2023 17:44:05 Running on server: post build plugin 'Build Hanging Detection Configuration'
22-Feb-2023 17:44:05 Running on server: post build plugin 'NCover Results Collector'
22-Feb-2023 17:44:05 Running on server: post build plugin 'Build Labeller'
22-Feb-2023 17:44:05 Running on server: post build plugin 'Clover Delta Calculator'
22-Feb-2023 17:44:05 Running on server: post build plugin 'Maven Dependencies Postprocessor'
22-Feb-2023 17:44:05 All post build plugins have finished
22-Feb-2023 17:44:05 Generating build results summary...
22-Feb-2023 17:44:05 Saving build results to disk...
22-Feb-2023 17:44:05 Store variable context...
22-Feb-2023 17:44:05 Finished building REFAPP-OMODDISTRO-DTMTS-13500.