Deploys Reference Application SNAPSHOT to maven

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

24-Jan-2023 03:13:33 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13413 (REFAPP-OMODDISTRO-DTMTS-13413) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
24-Jan-2023 03:13:33 Remote agent on host yu.openmrs.org
24-Jan-2023 03:13:33 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Jan-2023 03:13:33 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13413 (REFAPP-OMODDISTRO-DTMTS-13413)
24-Jan-2023 03:13:33 Running pre-build action: Build Log Labeller Pre Build Action
24-Jan-2023 03:13:33 Running pre-build action: VCS Version Collector
24-Jan-2023 03:13:33 Running pre-build action: Run Predator
24-Jan-2023 03:13:33 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
24-Jan-2023 03:13:33 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
24-Jan-2023 03:13:33 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
24-Jan-2023 03:13:33 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
24-Jan-2023 03:13:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2017 java        1476 bamboo-age 2977Mb  485Mb 00:14:24 /usr/lib/jvm/java-8-ope
24-Jan-2023 03:13:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:03:52 /home/bamboo-agent/bamb
24-Jan-2023 03:13:33 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:43 /sbin/init             
24-Jan-2023 03:13:33 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
24-Jan-2023 03:13:33 [PredatorPreBuildAction] Initial free space: 3.6308517 GB
24-Jan-2023 03:13:33 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
24-Jan-2023 03:13:37 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
24-Jan-2023 03:13:37 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
24-Jan-2023 03:13:37 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
24-Jan-2023 03:13:38 [PredatorPreBuildAction] Maven stable disk freed: 0.0028627068 GB, deleted 201 files
24-Jan-2023 03:13:38 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
24-Jan-2023 03:13:38 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
24-Jan-2023 03:13:38 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
24-Jan-2023 03:13:38 [PredatorPreBuildAction] Final free space: 3.662487 GB
24-Jan-2023 03:13:38 [PredatorPreBuildAction] Done
24-Jan-2023 03:13:38
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
24-Jan-2023 03:13:38
Substituting password variable: ${bamboo.dockerhub.password}
24-Jan-2023 03:13:38
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0c3c6e3ce71d14baf30c8ec88ed05c29a463d6bd57b5f804003aaf834ec1c9ee
24-Jan-2023 03:13:38
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0c3c6e3ce71d14baf30c8ec88ed05c29a463d6bd57b5f804003aaf834ec1c9ee
24-Jan-2023 03:13:38
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Jan-2023 03:13:38
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Jan-2023 03:13:38 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
24-Jan-2023 03:13:38
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13413 (REFAPP-OMODDISTRO-DTMTS-13413)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13413-ScriptBuildTask-1779777821916340582.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Jan-2023 03:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
24-Jan-2023 03:13:38 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
24-Jan-2023 03:13:38 Configure a credential helper to remove this warning. See
24-Jan-2023 03:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
24-Jan-2023 03:13:38
24-Jan-2023 03:13:38 Login Succeeded
24-Jan-2023 03:13:38 + docker pull openmrs/openmrs-reference-application@sha256:0c3c6e3ce71d14baf30c8ec88ed05c29a463d6bd57b5f804003aaf834ec1c9ee
24-Jan-2023 03:13:38 docker.io/openmrs/openmrs-reference-application@sha256:0c3c6e3ce71d14baf30c8ec88ed05c29a463d6bd57b5f804003aaf834ec1c9ee: Pulling from openmrs/openmrs-reference-application
24-Jan-2023 03:13:38 Digest: sha256:0c3c6e3ce71d14baf30c8ec88ed05c29a463d6bd57b5f804003aaf834ec1c9ee
24-Jan-2023 03:13:38 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:0c3c6e3ce71d14baf30c8ec88ed05c29a463d6bd57b5f804003aaf834ec1c9ee
24-Jan-2023 03:13:38 docker.io/openmrs/openmrs-reference-application@sha256:0c3c6e3ce71d14baf30c8ec88ed05c29a463d6bd57b5f804003aaf834ec1c9ee
24-Jan-2023 03:13:38 + docker tag openmrs/openmrs-reference-application@sha256:0c3c6e3ce71d14baf30c8ec88ed05c29a463d6bd57b5f804003aaf834ec1c9ee openmrs/openmrs-reference-application:qa
24-Jan-2023 03:13:38 + docker push openmrs/openmrs-reference-application:qa
24-Jan-2023 03:13:38 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
24-Jan-2023 03:13:38 e82ac03467cf: Preparing
24-Jan-2023 03:13:38 09ce9252491e: Preparing
24-Jan-2023 03:13:38 31d8396f1a21: Preparing
24-Jan-2023 03:13:38 28df178e12c6: Preparing
24-Jan-2023 03:13:38 5f00935c21a6: Preparing
24-Jan-2023 03:13:38 2ec6c750737f: Preparing
24-Jan-2023 03:13:38 5f70bf18a086: Preparing
24-Jan-2023 03:13:38 a68cbd9ca972: Preparing
24-Jan-2023 03:13:38 2ab24f51c5e7: Preparing
24-Jan-2023 03:13:38 9ad199278f60: Preparing
24-Jan-2023 03:13:38 e51bba17124f: Preparing
24-Jan-2023 03:13:38 1b590cb48856: Preparing
24-Jan-2023 03:13:38 a770a911f4d6: Preparing
24-Jan-2023 03:13:38 3849ed63b27b: Preparing
24-Jan-2023 03:13:38 79c8be4f139b: Preparing
24-Jan-2023 03:13:38 4dd9ecd71792: Preparing
24-Jan-2023 03:13:38 c0541c31ac17: Preparing
24-Jan-2023 03:13:38 2ec6c750737f: Waiting
24-Jan-2023 03:13:38 5f70bf18a086: Waiting
24-Jan-2023 03:13:38 a68cbd9ca972: Waiting
24-Jan-2023 03:13:38 2ab24f51c5e7: Waiting
24-Jan-2023 03:13:38 9ad199278f60: Waiting
24-Jan-2023 03:13:38 e51bba17124f: Waiting
24-Jan-2023 03:13:38 1b590cb48856: Waiting
24-Jan-2023 03:13:38 a770a911f4d6: Waiting
24-Jan-2023 03:13:38 3849ed63b27b: Waiting
24-Jan-2023 03:13:38 79c8be4f139b: Waiting
24-Jan-2023 03:13:38 4dd9ecd71792: Waiting
24-Jan-2023 03:13:38 3f800aca2a44: Preparing
24-Jan-2023 03:13:38 c0541c31ac17: Waiting
24-Jan-2023 03:13:38 3f800aca2a44: Waiting
24-Jan-2023 03:13:38 09ce9252491e: Layer already exists
24-Jan-2023 03:13:38 31d8396f1a21: Layer already exists
24-Jan-2023 03:13:38 5f00935c21a6: Layer already exists
24-Jan-2023 03:13:38 28df178e12c6: Layer already exists
24-Jan-2023 03:13:38 e82ac03467cf: Layer already exists
24-Jan-2023 03:13:39 5f70bf18a086: Layer already exists
24-Jan-2023 03:13:39 2ec6c750737f: Layer already exists
24-Jan-2023 03:13:39 a68cbd9ca972: Layer already exists
24-Jan-2023 03:13:39 2ab24f51c5e7: Layer already exists
24-Jan-2023 03:13:39 9ad199278f60: Layer already exists
24-Jan-2023 03:13:39 1b590cb48856: Layer already exists
24-Jan-2023 03:13:39 e51bba17124f: Layer already exists
24-Jan-2023 03:13:39 a770a911f4d6: Layer already exists
24-Jan-2023 03:13:39 3849ed63b27b: Layer already exists
24-Jan-2023 03:13:39 79c8be4f139b: Layer already exists
24-Jan-2023 03:13:39 4dd9ecd71792: Layer already exists
24-Jan-2023 03:13:39 3f800aca2a44: Layer already exists
24-Jan-2023 03:13:39 c0541c31ac17: Layer already exists
24-Jan-2023 03:13:39 qa: digest: sha256:2f1b99d07157d23feb36e2bf97974e48849b222998a60553dd3ae2fdc216c9be size: 4088
24-Jan-2023 03:13:39 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
24-Jan-2023 03:13:39 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
24-Jan-2023 03:13:40 Removing unused images if any
24-Jan-2023 03:13:41 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication-mysql ...
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ...
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication-mysql ... done
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... waiting
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (100.0%)
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... verifying checksum
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... download complete
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (0.5%)
24-Jan-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (0.7%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (1.1%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (11.8%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... verifying checksum
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... download complete
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (16.8%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (26.0%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (35.6%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (37.8%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (52.4%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (50.0%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (71.8%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (63.8%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (91.9%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... verifying checksum
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... download complete
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (77.1%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (91.8%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... verifying checksum
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... download complete
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (0.7%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (27.1%)
24-Jan-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (49.3%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (72.2%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (95.8%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... pull complete
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... pull complete
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (0.5%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (16.2%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (28.9%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (47.6%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (64.3%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (80.0%)
24-Jan-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (94.7%)
24-Jan-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 03:13:44 Pulling openmrs-referenceapplication       ... pull complete
24-Jan-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (3.0%)
24-Jan-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 03:13:44 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Jan-2023 03:13:44 Pulling openmrs-referenceapplication       ... pull complete
24-Jan-2023 03:13:44 Pulling openmrs-referenceapplication       ... digest: sha256:2f1b99d07157d23feb...
24-Jan-2023 03:13:44 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
24-Jan-2023 03:13:44 Pulling openmrs-referenceapplication       ... done
24-Jan-2023 03:13:44 Recreating all images and volumes
24-Jan-2023 03:13:44 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Jan-2023 03:13:44 Stopping qa-refapp_openmrs-referenceapplication_1       ...
24-Jan-2023 03:13:44 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Jan-2023 03:13:45 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
24-Jan-2023 03:13:46 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Jan-2023 03:13:46 Removing qa-refapp_openmrs-referenceapplication_1       ...
24-Jan-2023 03:13:46 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Jan-2023 03:13:46 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Jan-2023 03:13:46 Removing qa-refapp_openmrs-referenceapplication_1       ... done
24-Jan-2023 03:13:46 Removing network qa-refapp_default
24-Jan-2023 03:13:47 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
24-Jan-2023 03:13:47 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Jan-2023 03:13:47 Creating network "qa-refapp_default" with the default driver
24-Jan-2023 03:13:47 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
24-Jan-2023 03:13:47 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Jan-2023 03:13:47 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Jan-2023 03:13:47 Creating qa-refapp_openmrs-referenceapplication_1       ...
24-Jan-2023 03:13:48 Creating qa-refapp_openmrs-referenceapplication_1       ... done
24-Jan-2023 03:13:48 Verifying if docker containers 3ce6360f32bdf80f9d4a8890519625cbf59327eaf63c31c8d2ba3ffe08597213
24-Jan-2023 03:13:48 f6980061f00509d84699993eda0806b1fd8c65d1bb4a277ba94bf592ac575ffb are healthy
24-Jan-2023 03:13:48 Status found: "starting"
24-Jan-2023 03:13:48 Waiting 15s
24-Jan-2023 03:14:03 Verifying if docker containers 3ce6360f32bdf80f9d4a8890519625cbf59327eaf63c31c8d2ba3ffe08597213
24-Jan-2023 03:14:03 f6980061f00509d84699993eda0806b1fd8c65d1bb4a277ba94bf592ac575ffb are healthy
24-Jan-2023 03:14:04 Status found: "starting"
24-Jan-2023 03:14:04 Waiting 15s
24-Jan-2023 03:14:19 Verifying if docker containers 3ce6360f32bdf80f9d4a8890519625cbf59327eaf63c31c8d2ba3ffe08597213
24-Jan-2023 03:14:19 f6980061f00509d84699993eda0806b1fd8c65d1bb4a277ba94bf592ac575ffb are healthy
24-Jan-2023 03:14:19 Status found: "healthy"
24-Jan-2023 03:14:19 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
24-Jan-2023 03:14:19 Running post build plugin 'Docker Container Cleanup'
24-Jan-2023 03:14:19 Running post build plugin 'NCover Results Collector'
24-Jan-2023 03:14:19 Running post build plugin 'Build Results Label Collector'
24-Jan-2023 03:14:19 Running post build plugin 'Clover Results Collector'
24-Jan-2023 03:14:19 Running post build plugin 'npm Cache Cleanup'
24-Jan-2023 03:14:19 Running post build plugin 'Artifact Copier'
24-Jan-2023 03:14:19 Finalising the build...
24-Jan-2023 03:14:19 Stopping timer.
24-Jan-2023 03:14:19 Build REFAPP-OMODDISTRO-DTMTS-13413 completed.
24-Jan-2023 03:14:19 Running on server: post build plugin 'Build Hanging Detection Configuration'
24-Jan-2023 03:14:19 Running on server: post build plugin 'NCover Results Collector'
24-Jan-2023 03:14:19 Running on server: post build plugin 'Build Labeller'
24-Jan-2023 03:14:19 Running on server: post build plugin 'Clover Delta Calculator'
24-Jan-2023 03:14:19 Running on server: post build plugin 'Maven Dependencies Postprocessor'
24-Jan-2023 03:14:19 All post build plugins have finished
24-Jan-2023 03:14:19 Generating build results summary...
24-Jan-2023 03:14:19 Saving build results to disk...
24-Jan-2023 03:14:19 Store variable context...
24-Jan-2023 03:14:19 Finished building REFAPP-OMODDISTRO-DTMTS-13413.