Deploys Reference Application SNAPSHOT to maven

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

21-Feb-2023 19:21:28 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13496 (REFAPP-OMODDISTRO-DTMTS-13496) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
21-Feb-2023 19:21:28 Remote agent on host xiao.openmrs.org
21-Feb-2023 19:21:28 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Feb-2023 19:21:28 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13496 (REFAPP-OMODDISTRO-DTMTS-13496)
21-Feb-2023 19:21:28 Running pre-build action: Build Log Labeller Pre Build Action
21-Feb-2023 19:21:28 Running pre-build action: VCS Version Collector
21-Feb-2023 19:21:28 Running pre-build action: Run Predator
21-Feb-2023 19:21:28 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
21-Feb-2023 19:21:28 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
21-Feb-2023 19:21:28 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
21-Feb-2023 19:21:28 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
21-Feb-2023 19:21:28 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2034 java        1481 bamboo-age 2985Mb  589Mb 00:19:36 /usr/lib/jvm/java-8-ope
21-Feb-2023 19:21:28 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1481 wrapper        1 bamboo-age   16Mb    1Mb 00:04:51 /home/bamboo-agent/bamb
21-Feb-2023 19:21:28 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:46 /sbin/init             
21-Feb-2023 19:21:28 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
21-Feb-2023 19:21:28 [PredatorPreBuildAction] Initial free space: 1.9988594 GB
21-Feb-2023 19:21:28 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
21-Feb-2023 19:21:29 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
21-Feb-2023 19:21:29 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
21-Feb-2023 19:21:29 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
21-Feb-2023 19:21:29 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
21-Feb-2023 19:21:29 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
21-Feb-2023 19:21:29 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
21-Feb-2023 19:21:29 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
21-Feb-2023 19:21:29 [PredatorPreBuildAction] Final free space: 2.0305138 GB
21-Feb-2023 19:21:29 [PredatorPreBuildAction] Done
21-Feb-2023 19:21:29
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
21-Feb-2023 19:21:29
Substituting password variable: ${bamboo.dockerhub.password}
21-Feb-2023 19:21:29
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f
21-Feb-2023 19:21:29
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f
21-Feb-2023 19:21:29
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Feb-2023 19:21:29
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Feb-2023 19:21:29 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
21-Feb-2023 19:21:29
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13496 (REFAPP-OMODDISTRO-DTMTS-13496)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13496-ScriptBuildTask-304422158621679465.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Feb-2023 19:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
21-Feb-2023 19:21:29 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
21-Feb-2023 19:21:29 Configure a credential helper to remove this warning. See
21-Feb-2023 19:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
21-Feb-2023 19:21:29 Login Succeeded
21-Feb-2023 19:21:29
21-Feb-2023 19:21:29 + docker pull openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f
21-Feb-2023 19:21:29 docker.io/openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f: Pulling from openmrs/openmrs-reference-application
21-Feb-2023 19:21:29 Digest: sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f
21-Feb-2023 19:21:29 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f
21-Feb-2023 19:21:29 docker.io/openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f
21-Feb-2023 19:21:29 + docker tag openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f openmrs/openmrs-reference-application:qa
21-Feb-2023 19:21:29 + docker push openmrs/openmrs-reference-application:qa
21-Feb-2023 19:21:29 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
21-Feb-2023 19:21:29 8bdf50aba5c8: Preparing
21-Feb-2023 19:21:29 5ec2df53d8d5: Preparing
21-Feb-2023 19:21:29 8b61707dafa8: Preparing
21-Feb-2023 19:21:29 f7409e01a374: Preparing
21-Feb-2023 19:21:29 e4a92042edbd: Preparing
21-Feb-2023 19:21:29 60de0bbda0ed: Preparing
21-Feb-2023 19:21:29 5f70bf18a086: Preparing
21-Feb-2023 19:21:29 b34b6277c81b: Preparing
21-Feb-2023 19:21:29 d0a6a0df9123: Preparing
21-Feb-2023 19:21:29 63bbdb3574ed: Preparing
21-Feb-2023 19:21:29 118873527352: Preparing
21-Feb-2023 19:21:29 3353ee3d6876: Preparing
21-Feb-2023 19:21:29 ab5b3452b7ed: Preparing
21-Feb-2023 19:21:29 34f73756f7aa: Preparing
21-Feb-2023 19:21:29 93d6620f79bb: Preparing
21-Feb-2023 19:21:29 be417e78cadd: Preparing
21-Feb-2023 19:21:29 647dc4000019: Preparing
21-Feb-2023 19:21:29 8c5ff259ef50: Preparing
21-Feb-2023 19:21:29 60de0bbda0ed: Waiting
21-Feb-2023 19:21:29 5f70bf18a086: Waiting
21-Feb-2023 19:21:29 b34b6277c81b: Waiting
21-Feb-2023 19:21:29 d0a6a0df9123: Waiting
21-Feb-2023 19:21:29 63bbdb3574ed: Waiting
21-Feb-2023 19:21:29 118873527352: Waiting
21-Feb-2023 19:21:29 3353ee3d6876: Waiting
21-Feb-2023 19:21:29 ab5b3452b7ed: Waiting
21-Feb-2023 19:21:29 34f73756f7aa: Waiting
21-Feb-2023 19:21:29 93d6620f79bb: Waiting
21-Feb-2023 19:21:29 be417e78cadd: Waiting
21-Feb-2023 19:21:29 647dc4000019: Waiting
21-Feb-2023 19:21:29 8c5ff259ef50: Waiting
21-Feb-2023 19:21:30 e4a92042edbd: Layer already exists
21-Feb-2023 19:21:30 8bdf50aba5c8: Layer already exists
21-Feb-2023 19:21:30 5ec2df53d8d5: Layer already exists
21-Feb-2023 19:21:30 8b61707dafa8: Layer already exists
21-Feb-2023 19:21:30 f7409e01a374: Layer already exists
21-Feb-2023 19:21:30 60de0bbda0ed: Layer already exists
21-Feb-2023 19:21:30 5f70bf18a086: Layer already exists
21-Feb-2023 19:21:30 63bbdb3574ed: Layer already exists
21-Feb-2023 19:21:30 d0a6a0df9123: Layer already exists
21-Feb-2023 19:21:30 b34b6277c81b: Layer already exists
21-Feb-2023 19:21:30 118873527352: Layer already exists
21-Feb-2023 19:21:30 3353ee3d6876: Layer already exists
21-Feb-2023 19:21:30 ab5b3452b7ed: Layer already exists
21-Feb-2023 19:21:30 34f73756f7aa: Layer already exists
21-Feb-2023 19:21:30 93d6620f79bb: Layer already exists
21-Feb-2023 19:21:30 be417e78cadd: Layer already exists
21-Feb-2023 19:21:30 647dc4000019: Layer already exists
21-Feb-2023 19:21:30 8c5ff259ef50: Layer already exists
21-Feb-2023 19:21:30 qa: digest: sha256:6f38d09ff7843c4dd1c6b4e367bcc0088589c93568ef5121c4bfd9e27f46907f size: 4088
21-Feb-2023 19:21:30 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
21-Feb-2023 19:21:30 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
21-Feb-2023 19:21:31 Removing unused images if any
21-Feb-2023 19:21:32 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ...
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ...
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ... done
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... waiting
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (100.0%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (0.7%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (0.5%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (1.1%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (18.5%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (12.7%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (32.1%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (25.9%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (52.6%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (39.7%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (73.0%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (52.9%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (90.1%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (66.1%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (79.3%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... extracting (0.7%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... downloading (92.5%)
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication       ... extracting (23.3%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (45.8%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (67.0%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (87.5%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (0.5%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (17.7%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (36.0%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (54.7%)
21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication       ... extracting (72.4%)
21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication       ... extracting (88.6%)
21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication       ... extracting (3.0%)
21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication       ... digest: sha256:6f38d09ff7843c4dd1...
21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication       ... done
21-Feb-2023 19:21:35 Recreating all images and volumes
21-Feb-2023 19:21:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Feb-2023 19:21:35 Stopping qa-refapp_openmrs-referenceapplication_1       ...
21-Feb-2023 19:21:35 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Feb-2023 19:21:36 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
21-Feb-2023 19:21:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Feb-2023 19:21:38 Removing qa-refapp_openmrs-referenceapplication_1       ...
21-Feb-2023 19:21:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Feb-2023 19:21:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Feb-2023 19:21:38 Removing qa-refapp_openmrs-referenceapplication_1       ... done
21-Feb-2023 19:21:38 Removing network qa-refapp_default
21-Feb-2023 19:21:39 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
21-Feb-2023 19:21:39 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Feb-2023 19:21:39 Creating network "qa-refapp_default" with the default driver
21-Feb-2023 19:21:39 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
21-Feb-2023 19:21:39 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Feb-2023 19:21:40 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Feb-2023 19:21:40 Creating qa-refapp_openmrs-referenceapplication_1       ...
21-Feb-2023 19:21:40 Creating qa-refapp_openmrs-referenceapplication_1       ... done
21-Feb-2023 19:21:41 Verifying if docker containers 92573ea6cdc8b57bcdaf573f6f53b2e02253d2d248adaf1805d94eaa0dc3f845
21-Feb-2023 19:21:41 c92ae1c334398b3364a1e3f3365fdde1bbbd7593c7ba6aa8cad27ed62c838918 are healthy
21-Feb-2023 19:21:41 Status found: "starting"
21-Feb-2023 19:21:41 Waiting 15s
21-Feb-2023 19:21:56 Verifying if docker containers 92573ea6cdc8b57bcdaf573f6f53b2e02253d2d248adaf1805d94eaa0dc3f845
21-Feb-2023 19:21:56 c92ae1c334398b3364a1e3f3365fdde1bbbd7593c7ba6aa8cad27ed62c838918 are healthy
21-Feb-2023 19:21:56 Status found: "starting"
21-Feb-2023 19:21:56 Waiting 15s
21-Feb-2023 19:22:11 Verifying if docker containers 92573ea6cdc8b57bcdaf573f6f53b2e02253d2d248adaf1805d94eaa0dc3f845
21-Feb-2023 19:22:11 c92ae1c334398b3364a1e3f3365fdde1bbbd7593c7ba6aa8cad27ed62c838918 are healthy
21-Feb-2023 19:22:11 Status found: "healthy"
21-Feb-2023 19:22:11 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
21-Feb-2023 19:22:11 Running post build plugin 'Docker Container Cleanup'
21-Feb-2023 19:22:11 Running post build plugin 'NCover Results Collector'
21-Feb-2023 19:22:11 Running post build plugin 'Build Results Label Collector'
21-Feb-2023 19:22:11 Running post build plugin 'Clover Results Collector'
21-Feb-2023 19:22:11 Running post build plugin 'npm Cache Cleanup'
21-Feb-2023 19:22:11 Running post build plugin 'Artifact Copier'
21-Feb-2023 19:22:11 Finalising the build...
21-Feb-2023 19:22:11 Stopping timer.
21-Feb-2023 19:22:11 Build REFAPP-OMODDISTRO-DTMTS-13496 completed.
21-Feb-2023 19:22:11 Running on server: post build plugin 'Build Hanging Detection Configuration'
21-Feb-2023 19:22:11 Running on server: post build plugin 'NCover Results Collector'
21-Feb-2023 19:22:11 Running on server: post build plugin 'Build Labeller'
21-Feb-2023 19:22:11 Running on server: post build plugin 'Clover Delta Calculator'
21-Feb-2023 19:22:11 Running on server: post build plugin 'Maven Dependencies Postprocessor'
21-Feb-2023 19:22:11 All post build plugins have finished
21-Feb-2023 19:22:11 Generating build results summary...
21-Feb-2023 19:22:11 Saving build results to disk...
21-Feb-2023 19:22:11 Store variable context...
21-Feb-2023 19:22:11 Finished building REFAPP-OMODDISTRO-DTMTS-13496.