Deploys Reference Application SNAPSHOT to maven

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

27-Jan-2023 03:13:27 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13424 (REFAPP-OMODDISTRO-DTMTS-13424) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
27-Jan-2023 03:13:27 Remote agent on host xiao.openmrs.org
27-Jan-2023 03:13:27 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Jan-2023 03:13:27 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13424 (REFAPP-OMODDISTRO-DTMTS-13424)
27-Jan-2023 03:13:27 Running pre-build action: Build Log Labeller Pre Build Action
27-Jan-2023 03:13:27 Running pre-build action: VCS Version Collector
27-Jan-2023 03:13:27 Running pre-build action: Run Predator
27-Jan-2023 03:13:27 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
27-Jan-2023 03:13:27 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
27-Jan-2023 03:13:27 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
27-Jan-2023 03:13:27 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
27-Jan-2023 03:13:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1996 java        1476 bamboo-age 2979Mb  584Mb 00:20:24 /usr/lib/jvm/java-8-ope
27-Jan-2023 03:13:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:05:12 /home/bamboo-agent/bamb
27-Jan-2023 03:13:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:49 /sbin/init             
27-Jan-2023 03:13:27 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
27-Jan-2023 03:13:27 [PredatorPreBuildAction] Initial free space: 2.7109604 GB
27-Jan-2023 03:13:27 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
27-Jan-2023 03:13:30 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
27-Jan-2023 03:13:30 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
27-Jan-2023 03:13:30 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
27-Jan-2023 03:13:30 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
27-Jan-2023 03:13:30 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
27-Jan-2023 03:13:30 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
27-Jan-2023 03:13:30 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
27-Jan-2023 03:13:30 [PredatorPreBuildAction] Final free space: 2.7426033 GB
27-Jan-2023 03:13:30 [PredatorPreBuildAction] Done
27-Jan-2023 03:13:30
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
27-Jan-2023 03:13:30
Substituting password variable: ${bamboo.dockerhub.password}
27-Jan-2023 03:13:30
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:dc47b2cf609bb92fcb4facef81ccb155654a19d510ea13d99038c5861285def4
27-Jan-2023 03:13:30
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:dc47b2cf609bb92fcb4facef81ccb155654a19d510ea13d99038c5861285def4
27-Jan-2023 03:13:30
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Jan-2023 03:13:30
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Jan-2023 03:13:30 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
27-Jan-2023 03:13:30
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13424 (REFAPP-OMODDISTRO-DTMTS-13424)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13424-ScriptBuildTask-3637002385282861962.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Jan-2023 03:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
27-Jan-2023 03:13:31 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
27-Jan-2023 03:13:31 Configure a credential helper to remove this warning. See
27-Jan-2023 03:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
27-Jan-2023 03:13:31
27-Jan-2023 03:13:31 Login Succeeded
27-Jan-2023 03:13:31 + docker pull openmrs/openmrs-reference-application@sha256:dc47b2cf609bb92fcb4facef81ccb155654a19d510ea13d99038c5861285def4
27-Jan-2023 03:13:31 docker.io/openmrs/openmrs-reference-application@sha256:dc47b2cf609bb92fcb4facef81ccb155654a19d510ea13d99038c5861285def4: Pulling from openmrs/openmrs-reference-application
27-Jan-2023 03:13:31 Digest: sha256:dc47b2cf609bb92fcb4facef81ccb155654a19d510ea13d99038c5861285def4
27-Jan-2023 03:13:31 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:dc47b2cf609bb92fcb4facef81ccb155654a19d510ea13d99038c5861285def4
27-Jan-2023 03:13:31 docker.io/openmrs/openmrs-reference-application@sha256:dc47b2cf609bb92fcb4facef81ccb155654a19d510ea13d99038c5861285def4
27-Jan-2023 03:13:31 + docker tag openmrs/openmrs-reference-application@sha256:dc47b2cf609bb92fcb4facef81ccb155654a19d510ea13d99038c5861285def4 openmrs/openmrs-reference-application:qa
27-Jan-2023 03:13:31 + docker push openmrs/openmrs-reference-application:qa
27-Jan-2023 03:13:31 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
27-Jan-2023 03:13:31 f61125f7f9bc: Preparing
27-Jan-2023 03:13:31 a439355775a3: Preparing
27-Jan-2023 03:13:31 af36252904ac: Preparing
27-Jan-2023 03:13:31 77a558e6cddf: Preparing
27-Jan-2023 03:13:31 649c77e9bd05: Preparing
27-Jan-2023 03:13:31 2ec6c750737f: Preparing
27-Jan-2023 03:13:31 5f70bf18a086: Preparing
27-Jan-2023 03:13:31 a68cbd9ca972: Preparing
27-Jan-2023 03:13:31 2ab24f51c5e7: Preparing
27-Jan-2023 03:13:31 9ad199278f60: Preparing
27-Jan-2023 03:13:31 e51bba17124f: Preparing
27-Jan-2023 03:13:31 1b590cb48856: Preparing
27-Jan-2023 03:13:31 a770a911f4d6: Preparing
27-Jan-2023 03:13:31 3849ed63b27b: Preparing
27-Jan-2023 03:13:31 79c8be4f139b: Preparing
27-Jan-2023 03:13:31 4dd9ecd71792: Preparing
27-Jan-2023 03:13:31 c0541c31ac17: Preparing
27-Jan-2023 03:13:31 3f800aca2a44: Preparing
27-Jan-2023 03:13:31 2ec6c750737f: Waiting
27-Jan-2023 03:13:31 5f70bf18a086: Waiting
27-Jan-2023 03:13:31 a68cbd9ca972: Waiting
27-Jan-2023 03:13:31 2ab24f51c5e7: Waiting
27-Jan-2023 03:13:31 9ad199278f60: Waiting
27-Jan-2023 03:13:31 e51bba17124f: Waiting
27-Jan-2023 03:13:31 1b590cb48856: Waiting
27-Jan-2023 03:13:31 a770a911f4d6: Waiting
27-Jan-2023 03:13:31 3849ed63b27b: Waiting
27-Jan-2023 03:13:31 79c8be4f139b: Waiting
27-Jan-2023 03:13:31 4dd9ecd71792: Waiting
27-Jan-2023 03:13:31 c0541c31ac17: Waiting
27-Jan-2023 03:13:31 3f800aca2a44: Waiting
27-Jan-2023 03:13:31 af36252904ac: Layer already exists
27-Jan-2023 03:13:31 f61125f7f9bc: Layer already exists
27-Jan-2023 03:13:31 649c77e9bd05: Layer already exists
27-Jan-2023 03:13:31 a439355775a3: Layer already exists
27-Jan-2023 03:13:31 77a558e6cddf: Layer already exists
27-Jan-2023 03:13:31 2ec6c750737f: Layer already exists
27-Jan-2023 03:13:31 5f70bf18a086: Layer already exists
27-Jan-2023 03:13:31 a68cbd9ca972: Layer already exists
27-Jan-2023 03:13:31 2ab24f51c5e7: Layer already exists
27-Jan-2023 03:13:31 9ad199278f60: Layer already exists
27-Jan-2023 03:13:31 e51bba17124f: Layer already exists
27-Jan-2023 03:13:31 1b590cb48856: Layer already exists
27-Jan-2023 03:13:31 a770a911f4d6: Layer already exists
27-Jan-2023 03:13:31 3849ed63b27b: Layer already exists
27-Jan-2023 03:13:32 79c8be4f139b: Layer already exists
27-Jan-2023 03:13:32 4dd9ecd71792: Layer already exists
27-Jan-2023 03:13:32 c0541c31ac17: Layer already exists
27-Jan-2023 03:13:32 3f800aca2a44: Layer already exists
27-Jan-2023 03:13:32 qa: digest: sha256:1d4cef96a360f763e0ce32c7bffb6397c3f9581671f4d5714719f121b0180cca size: 4088
27-Jan-2023 03:13:32 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
27-Jan-2023 03:13:32 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
27-Jan-2023 03:13:33 Removing unused images if any
27-Jan-2023 03:13:33 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication-mysql ...
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ...
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication-mysql ... done
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... waiting
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... downloading (100.0%)
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... downloading (0.5%)
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... downloading (0.7%)
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... downloading (15.2%)
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... downloading (19.5%)
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... downloading (1.1%)
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... downloading (100.0%)
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... downloading (29.5%)
27-Jan-2023 03:13:34 Pulling openmrs-referenceapplication       ... downloading (39.6%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... downloading (41.3%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... downloading (57.0%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... downloading (52.0%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... downloading (71.1%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... downloading (65.7%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... downloading (93.3%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... downloading (81.0%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... downloading (95.6%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... extracting (0.7%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... extracting (22.2%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... extracting (38.9%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... extracting (61.1%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... extracting (87.4%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 03:13:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (0.5%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (14.2%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (33.9%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (52.7%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (69.4%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (85.1%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (98.8%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (3.0%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... digest: sha256:1d4cef96a360f763e0...
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
27-Jan-2023 03:13:36 Pulling openmrs-referenceapplication       ... done
27-Jan-2023 03:13:36 Recreating all images and volumes
27-Jan-2023 03:13:37 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Jan-2023 03:13:37 Stopping qa-refapp_openmrs-referenceapplication_1       ...
27-Jan-2023 03:13:37 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Jan-2023 03:13:37 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
27-Jan-2023 03:13:39 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Jan-2023 03:13:39 Removing qa-refapp_openmrs-referenceapplication_1       ...
27-Jan-2023 03:13:39 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Jan-2023 03:13:39 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Jan-2023 03:13:40 Removing qa-refapp_openmrs-referenceapplication_1       ... done
27-Jan-2023 03:13:40 Removing network qa-refapp_default
27-Jan-2023 03:13:40 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
27-Jan-2023 03:13:40 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Jan-2023 03:13:40 Creating network "qa-refapp_default" with the default driver
27-Jan-2023 03:13:40 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
27-Jan-2023 03:13:40 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Jan-2023 03:13:41 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Jan-2023 03:13:41 Creating qa-refapp_openmrs-referenceapplication_1       ...
27-Jan-2023 03:13:41 Creating qa-refapp_openmrs-referenceapplication_1       ... done
27-Jan-2023 03:13:42 Verifying if docker containers 6761f62c862a2324f3f561d357cf47f5ffacc2b03e1e90c8e7c1e177d869b6da
27-Jan-2023 03:13:42 3840440b34a5139db2460689f59c60c6b535ba80f7bff18897f4f2c5e8ce47b6 are healthy
27-Jan-2023 03:13:42 Status found: "starting"
27-Jan-2023 03:13:42 Waiting 15s
27-Jan-2023 03:13:57 Verifying if docker containers 6761f62c862a2324f3f561d357cf47f5ffacc2b03e1e90c8e7c1e177d869b6da
27-Jan-2023 03:13:57 3840440b34a5139db2460689f59c60c6b535ba80f7bff18897f4f2c5e8ce47b6 are healthy
27-Jan-2023 03:13:57 Status found: "starting"
27-Jan-2023 03:13:57 Waiting 15s
27-Jan-2023 03:14:12 Verifying if docker containers 6761f62c862a2324f3f561d357cf47f5ffacc2b03e1e90c8e7c1e177d869b6da
27-Jan-2023 03:14:12 3840440b34a5139db2460689f59c60c6b535ba80f7bff18897f4f2c5e8ce47b6 are healthy
27-Jan-2023 03:14:12 Status found: "healthy"
27-Jan-2023 03:14:12 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
27-Jan-2023 03:14:12 Running post build plugin 'Docker Container Cleanup'
27-Jan-2023 03:14:12 Running post build plugin 'NCover Results Collector'
27-Jan-2023 03:14:12 Running post build plugin 'Build Results Label Collector'
27-Jan-2023 03:14:12 Running post build plugin 'Clover Results Collector'
27-Jan-2023 03:14:12 Running post build plugin 'npm Cache Cleanup'
27-Jan-2023 03:14:12 Running post build plugin 'Artifact Copier'
27-Jan-2023 03:14:12 Finalising the build...
27-Jan-2023 03:14:12 Stopping timer.
27-Jan-2023 03:14:12 Build REFAPP-OMODDISTRO-DTMTS-13424 completed.
27-Jan-2023 03:14:12 Running on server: post build plugin 'Build Hanging Detection Configuration'
27-Jan-2023 03:14:12 Running on server: post build plugin 'NCover Results Collector'
27-Jan-2023 03:14:12 Running on server: post build plugin 'Build Labeller'
27-Jan-2023 03:14:12 Running on server: post build plugin 'Clover Delta Calculator'
27-Jan-2023 03:14:12 Running on server: post build plugin 'Maven Dependencies Postprocessor'
27-Jan-2023 03:14:12 All post build plugins have finished
27-Jan-2023 03:14:12 Generating build results summary...
27-Jan-2023 03:14:12 Saving build results to disk...
27-Jan-2023 03:14:12 Store variable context...
27-Jan-2023 03:14:12 Finished building REFAPP-OMODDISTRO-DTMTS-13424.