Deploys Reference Application SNAPSHOT to maven

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

24-Jan-2023 00:12:44 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13412 (REFAPP-OMODDISTRO-DTMTS-13412) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
24-Jan-2023 00:12:44 Remote agent on host xindi.openmrs.org
24-Jan-2023 00:12:44 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Jan-2023 00:12:44 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13412 (REFAPP-OMODDISTRO-DTMTS-13412)
24-Jan-2023 00:12:44 Running pre-build action: Build Log Labeller Pre Build Action
24-Jan-2023 00:12:44 Running pre-build action: VCS Version Collector
24-Jan-2023 00:12:44 Running pre-build action: Run Predator
24-Jan-2023 00:12:44 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
24-Jan-2023 00:12:44 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
24-Jan-2023 00:12:44 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
24-Jan-2023 00:12:44 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
24-Jan-2023 00:12:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2053 java        1484 bamboo-age 2972Mb  464Mb 00:13:53 /usr/lib/jvm/java-8-ope
24-Jan-2023 00:12:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    3Mb 00:03:53 /home/bamboo-agent/bamb
24-Jan-2023 00:12:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:02:51 /sbin/init             
24-Jan-2023 00:12:44 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
24-Jan-2023 00:12:44 [PredatorPreBuildAction] Initial free space: 3.6269112 GB
24-Jan-2023 00:12:44 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
24-Jan-2023 00:12:49 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
24-Jan-2023 00:12:49 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
24-Jan-2023 00:12:49 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
24-Jan-2023 00:12:49 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
24-Jan-2023 00:12:49 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
24-Jan-2023 00:12:49 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
24-Jan-2023 00:12:49 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
24-Jan-2023 00:12:49 [PredatorPreBuildAction] Final free space: 3.6585503 GB
24-Jan-2023 00:12:49 [PredatorPreBuildAction] Done
24-Jan-2023 00:12:49
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
24-Jan-2023 00:12:49
Substituting password variable: ${bamboo.dockerhub.password}
24-Jan-2023 00:12:49
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:18322faf9366eecec86dd438363d37ed87f5ae1e32ecef8f7c9db191d5d600d0
24-Jan-2023 00:12:49
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:18322faf9366eecec86dd438363d37ed87f5ae1e32ecef8f7c9db191d5d600d0
24-Jan-2023 00:12:49
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Jan-2023 00:12:49
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Jan-2023 00:12:49 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
24-Jan-2023 00:12:50
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13412 (REFAPP-OMODDISTRO-DTMTS-13412)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13412-ScriptBuildTask-8016716947926273687.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Jan-2023 00:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
24-Jan-2023 00:12:50 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
24-Jan-2023 00:12:50 Configure a credential helper to remove this warning. See
24-Jan-2023 00:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
24-Jan-2023 00:12:50
24-Jan-2023 00:12:50 Login Succeeded
24-Jan-2023 00:12:50 + docker pull openmrs/openmrs-reference-application@sha256:18322faf9366eecec86dd438363d37ed87f5ae1e32ecef8f7c9db191d5d600d0
24-Jan-2023 00:12:50 docker.io/openmrs/openmrs-reference-application@sha256:18322faf9366eecec86dd438363d37ed87f5ae1e32ecef8f7c9db191d5d600d0: Pulling from openmrs/openmrs-reference-application
24-Jan-2023 00:12:50 Digest: sha256:18322faf9366eecec86dd438363d37ed87f5ae1e32ecef8f7c9db191d5d600d0
24-Jan-2023 00:12:50 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:18322faf9366eecec86dd438363d37ed87f5ae1e32ecef8f7c9db191d5d600d0
24-Jan-2023 00:12:50 docker.io/openmrs/openmrs-reference-application@sha256:18322faf9366eecec86dd438363d37ed87f5ae1e32ecef8f7c9db191d5d600d0
24-Jan-2023 00:12:50 + docker tag openmrs/openmrs-reference-application@sha256:18322faf9366eecec86dd438363d37ed87f5ae1e32ecef8f7c9db191d5d600d0 openmrs/openmrs-reference-application:qa
24-Jan-2023 00:12:50 + docker push openmrs/openmrs-reference-application:qa
24-Jan-2023 00:12:50 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
24-Jan-2023 00:12:50 a6845ca78c78: Preparing
24-Jan-2023 00:12:50 9024d237e707: Preparing
24-Jan-2023 00:12:50 a7e1ae906dac: Preparing
24-Jan-2023 00:12:50 2d4ee48abd09: Preparing
24-Jan-2023 00:12:50 5f00935c21a6: Preparing
24-Jan-2023 00:12:50 2ec6c750737f: Preparing
24-Jan-2023 00:12:50 5f70bf18a086: Preparing
24-Jan-2023 00:12:50 a68cbd9ca972: Preparing
24-Jan-2023 00:12:50 2ab24f51c5e7: Preparing
24-Jan-2023 00:12:50 9ad199278f60: Preparing
24-Jan-2023 00:12:50 e51bba17124f: Preparing
24-Jan-2023 00:12:50 1b590cb48856: Preparing
24-Jan-2023 00:12:50 a770a911f4d6: Preparing
24-Jan-2023 00:12:50 3849ed63b27b: Preparing
24-Jan-2023 00:12:50 79c8be4f139b: Preparing
24-Jan-2023 00:12:50 4dd9ecd71792: Preparing
24-Jan-2023 00:12:50 c0541c31ac17: Preparing
24-Jan-2023 00:12:50 3f800aca2a44: Preparing
24-Jan-2023 00:12:50 2ec6c750737f: Waiting
24-Jan-2023 00:12:50 5f70bf18a086: Waiting
24-Jan-2023 00:12:50 a68cbd9ca972: Waiting
24-Jan-2023 00:12:50 2ab24f51c5e7: Waiting
24-Jan-2023 00:12:50 9ad199278f60: Waiting
24-Jan-2023 00:12:50 1b590cb48856: Waiting
24-Jan-2023 00:12:50 4dd9ecd71792: Waiting
24-Jan-2023 00:12:50 c0541c31ac17: Waiting
24-Jan-2023 00:12:50 3f800aca2a44: Waiting
24-Jan-2023 00:12:50 a770a911f4d6: Waiting
24-Jan-2023 00:12:50 3849ed63b27b: Waiting
24-Jan-2023 00:12:50 79c8be4f139b: Waiting
24-Jan-2023 00:12:50 5f00935c21a6: Layer already exists
24-Jan-2023 00:12:50 a6845ca78c78: Layer already exists
24-Jan-2023 00:12:50 2d4ee48abd09: Layer already exists
24-Jan-2023 00:12:50 a7e1ae906dac: Layer already exists
24-Jan-2023 00:12:50 9024d237e707: Layer already exists
24-Jan-2023 00:12:50 2ec6c750737f: Layer already exists
24-Jan-2023 00:12:50 5f70bf18a086: Layer already exists
24-Jan-2023 00:12:50 a68cbd9ca972: Layer already exists
24-Jan-2023 00:12:51 2ab24f51c5e7: Layer already exists
24-Jan-2023 00:12:51 9ad199278f60: Layer already exists
24-Jan-2023 00:12:51 e51bba17124f: Layer already exists
24-Jan-2023 00:12:51 a770a911f4d6: Layer already exists
24-Jan-2023 00:12:51 1b590cb48856: Layer already exists
24-Jan-2023 00:12:51 3849ed63b27b: Layer already exists
24-Jan-2023 00:12:51 79c8be4f139b: Layer already exists
24-Jan-2023 00:12:51 4dd9ecd71792: Layer already exists
24-Jan-2023 00:12:51 c0541c31ac17: Layer already exists
24-Jan-2023 00:12:51 3f800aca2a44: Layer already exists
24-Jan-2023 00:12:51 qa: digest: sha256:cec2903dff660975112ca8433fabf8f7f3748a1c84b9b85b11b27eb629dee4dd size: 4088
24-Jan-2023 00:12:51 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
24-Jan-2023 00:12:51 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
24-Jan-2023 00:12:52 Removing unused images if any
24-Jan-2023 00:12:53 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ...
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ...
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication-mysql ... done
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... waiting
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... download complete
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (0.5%)
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (0.7%)
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (1.1%)
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (14.2%)
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (14.8%)
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... downloading (100.0%)
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... verifying checksum
24-Jan-2023 00:12:53 Pulling openmrs-referenceapplication       ... download complete
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (28.0%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (30.9%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (42.2%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (46.3%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (53.9%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (65.2%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (66.7%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (82.7%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... verifying checksum
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... download complete
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (80.4%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... downloading (92.7%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... verifying checksum
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... download complete
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... extracting (0.7%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... extracting (18.0%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... extracting (36.8%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... extracting (62.5%)
24-Jan-2023 00:12:54 Pulling openmrs-referenceapplication       ... extracting (86.7%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... pull complete
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... pull complete
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (0.5%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (14.7%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (30.4%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (48.6%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (63.8%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (79.0%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (92.2%)
24-Jan-2023 00:12:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... pull complete
24-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... extracting (3.0%)
24-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... pull complete
24-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... digest: sha256:cec2903dff66097511...
24-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
24-Jan-2023 00:12:56 Pulling openmrs-referenceapplication       ... done
24-Jan-2023 00:12:56 Recreating all images and volumes
24-Jan-2023 00:12:56 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Jan-2023 00:12:56 Stopping qa-refapp_openmrs-referenceapplication_1       ...
24-Jan-2023 00:12:56 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Jan-2023 00:12:57 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
24-Jan-2023 00:12:58 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Jan-2023 00:12:58 Removing qa-refapp_openmrs-referenceapplication_1       ...
24-Jan-2023 00:12:58 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Jan-2023 00:12:58 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Jan-2023 00:12:59 Removing qa-refapp_openmrs-referenceapplication_1       ... done
24-Jan-2023 00:12:59 Removing network qa-refapp_default
24-Jan-2023 00:12:59 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
24-Jan-2023 00:12:59 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Jan-2023 00:12:59 Creating network "qa-refapp_default" with the default driver
24-Jan-2023 00:12:59 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
24-Jan-2023 00:12:59 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Jan-2023 00:13:00 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Jan-2023 00:13:00 Creating qa-refapp_openmrs-referenceapplication_1       ...
24-Jan-2023 00:13:00 Creating qa-refapp_openmrs-referenceapplication_1       ... done
24-Jan-2023 00:13:01 Verifying if docker containers d049fcaddb52e4c100dc8404a89c2c5ed784f00693625d71694508a70f75adc2
24-Jan-2023 00:13:01 7a3c5594f1dd0588246e605b674ae1c45f6fa362ad0e24431381b61d1076b7aa are healthy
24-Jan-2023 00:13:01 Status found: "starting"
24-Jan-2023 00:13:01 Waiting 15s
24-Jan-2023 00:13:16 Verifying if docker containers d049fcaddb52e4c100dc8404a89c2c5ed784f00693625d71694508a70f75adc2
24-Jan-2023 00:13:16 7a3c5594f1dd0588246e605b674ae1c45f6fa362ad0e24431381b61d1076b7aa are healthy
24-Jan-2023 00:13:16 Status found: "starting"
24-Jan-2023 00:13:16 Waiting 15s
24-Jan-2023 00:13:31 Verifying if docker containers d049fcaddb52e4c100dc8404a89c2c5ed784f00693625d71694508a70f75adc2
24-Jan-2023 00:13:31 7a3c5594f1dd0588246e605b674ae1c45f6fa362ad0e24431381b61d1076b7aa are healthy
24-Jan-2023 00:13:31 Status found: "healthy"
24-Jan-2023 00:13:31 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
24-Jan-2023 00:13:31 Running post build plugin 'Docker Container Cleanup'
24-Jan-2023 00:13:31 Running post build plugin 'NCover Results Collector'
24-Jan-2023 00:13:31 Running post build plugin 'Build Results Label Collector'
24-Jan-2023 00:13:31 Running post build plugin 'Clover Results Collector'
24-Jan-2023 00:13:31 Running post build plugin 'npm Cache Cleanup'
24-Jan-2023 00:13:31 Running post build plugin 'Artifact Copier'
24-Jan-2023 00:13:31 Finalising the build...
24-Jan-2023 00:13:31 Stopping timer.
24-Jan-2023 00:13:31 Build REFAPP-OMODDISTRO-DTMTS-13412 completed.
24-Jan-2023 00:13:31 Running on server: post build plugin 'Build Hanging Detection Configuration'
24-Jan-2023 00:13:31 Running on server: post build plugin 'NCover Results Collector'
24-Jan-2023 00:13:31 Running on server: post build plugin 'Build Labeller'
24-Jan-2023 00:13:31 Running on server: post build plugin 'Clover Delta Calculator'
24-Jan-2023 00:13:31 Running on server: post build plugin 'Maven Dependencies Postprocessor'
24-Jan-2023 00:13:31 All post build plugins have finished
24-Jan-2023 00:13:31 Generating build results summary...
24-Jan-2023 00:13:31 Saving build results to disk...
24-Jan-2023 00:13:31 Store variable context...
24-Jan-2023 00:13:31 Finished building REFAPP-OMODDISTRO-DTMTS-13412.