Deploys Reference Application SNAPSHOT to maven

Build: #13425 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 20:43:49 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13425 (REFAPP-OMODDISTRO-DTMTS-13425) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
27-Jan-2023 20:43:49 Remote agent on host xiao.openmrs.org
27-Jan-2023 20:43:49 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Jan-2023 20:43:49 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13425 (REFAPP-OMODDISTRO-DTMTS-13425)
27-Jan-2023 20:43:49 Running pre-build action: Build Log Labeller Pre Build Action
27-Jan-2023 20:43:49 Running pre-build action: VCS Version Collector
27-Jan-2023 20:43:49 Running pre-build action: Run Predator
27-Jan-2023 20:43:49 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
27-Jan-2023 20:43:49 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
27-Jan-2023 20:43:49 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
27-Jan-2023 20:43:49 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
27-Jan-2023 20:43:49 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 25792 java        1476 bamboo-age 2952Mb  317Mb 00:01:23 /usr/lib/jvm/java-8-ope
27-Jan-2023 20:43:49 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:05:32 /home/bamboo-agent/bamb
27-Jan-2023 20:43:49 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:54 /sbin/init             
27-Jan-2023 20:43:49 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
27-Jan-2023 20:43:49 [PredatorPreBuildAction] Initial free space: 2.675621 GB
27-Jan-2023 20:43:49 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
27-Jan-2023 20:43:52 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
27-Jan-2023 20:43:52 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
27-Jan-2023 20:43:52 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
27-Jan-2023 20:43:53 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
27-Jan-2023 20:43:53 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
27-Jan-2023 20:43:53 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
27-Jan-2023 20:43:53 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
27-Jan-2023 20:43:53 [PredatorPreBuildAction] Final free space: 2.7072525 GB
27-Jan-2023 20:43:53 [PredatorPreBuildAction] Done
27-Jan-2023 20:43:53
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
27-Jan-2023 20:43:53
Substituting password variable: ${bamboo.dockerhub.password}
27-Jan-2023 20:43:53
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:914c4268be0c5023db40de6577f9f44eb66825af980340b8b3fe7706c5028fbf
27-Jan-2023 20:43:53
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:914c4268be0c5023db40de6577f9f44eb66825af980340b8b3fe7706c5028fbf
27-Jan-2023 20:43:53
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Jan-2023 20:43:53
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Jan-2023 20:43:53 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
27-Jan-2023 20:43:53
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13425 (REFAPP-OMODDISTRO-DTMTS-13425)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13425-ScriptBuildTask-7833349351232328782.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Jan-2023 20:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
27-Jan-2023 20:43:53 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
27-Jan-2023 20:43:53 Configure a credential helper to remove this warning. See
27-Jan-2023 20:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
27-Jan-2023 20:43:53
27-Jan-2023 20:43:53 Login Succeeded
27-Jan-2023 20:43:53 + docker pull openmrs/openmrs-reference-application@sha256:914c4268be0c5023db40de6577f9f44eb66825af980340b8b3fe7706c5028fbf
27-Jan-2023 20:43:53 docker.io/openmrs/openmrs-reference-application@sha256:914c4268be0c5023db40de6577f9f44eb66825af980340b8b3fe7706c5028fbf: Pulling from openmrs/openmrs-reference-application
27-Jan-2023 20:43:53 Digest: sha256:914c4268be0c5023db40de6577f9f44eb66825af980340b8b3fe7706c5028fbf
27-Jan-2023 20:43:53 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:914c4268be0c5023db40de6577f9f44eb66825af980340b8b3fe7706c5028fbf
27-Jan-2023 20:43:53 docker.io/openmrs/openmrs-reference-application@sha256:914c4268be0c5023db40de6577f9f44eb66825af980340b8b3fe7706c5028fbf
27-Jan-2023 20:43:53 + docker tag openmrs/openmrs-reference-application@sha256:914c4268be0c5023db40de6577f9f44eb66825af980340b8b3fe7706c5028fbf openmrs/openmrs-reference-application:qa
27-Jan-2023 20:43:53 + docker push openmrs/openmrs-reference-application:qa
27-Jan-2023 20:43:53 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
27-Jan-2023 20:43:53 791c76ea22b6: Preparing
27-Jan-2023 20:43:53 50225b26e72e: Preparing
27-Jan-2023 20:43:53 3a276082d806: Preparing
27-Jan-2023 20:43:53 755b4a116d43: Preparing
27-Jan-2023 20:43:53 649c77e9bd05: Preparing
27-Jan-2023 20:43:53 2ec6c750737f: Preparing
27-Jan-2023 20:43:53 5f70bf18a086: Preparing
27-Jan-2023 20:43:53 a68cbd9ca972: Preparing
27-Jan-2023 20:43:53 2ab24f51c5e7: Preparing
27-Jan-2023 20:43:53 9ad199278f60: Preparing
27-Jan-2023 20:43:53 e51bba17124f: Preparing
27-Jan-2023 20:43:53 1b590cb48856: Preparing
27-Jan-2023 20:43:53 a770a911f4d6: Preparing
27-Jan-2023 20:43:53 3849ed63b27b: Preparing
27-Jan-2023 20:43:53 79c8be4f139b: Preparing
27-Jan-2023 20:43:53 4dd9ecd71792: Preparing
27-Jan-2023 20:43:53 c0541c31ac17: Preparing
27-Jan-2023 20:43:53 3f800aca2a44: Preparing
27-Jan-2023 20:43:53 9ad199278f60: Waiting
27-Jan-2023 20:43:53 e51bba17124f: Waiting
27-Jan-2023 20:43:53 1b590cb48856: Waiting
27-Jan-2023 20:43:53 a770a911f4d6: Waiting
27-Jan-2023 20:43:53 3849ed63b27b: Waiting
27-Jan-2023 20:43:53 79c8be4f139b: Waiting
27-Jan-2023 20:43:53 4dd9ecd71792: Waiting
27-Jan-2023 20:43:53 c0541c31ac17: Waiting
27-Jan-2023 20:43:53 3f800aca2a44: Waiting
27-Jan-2023 20:43:53 2ec6c750737f: Waiting
27-Jan-2023 20:43:53 5f70bf18a086: Waiting
27-Jan-2023 20:43:53 a68cbd9ca972: Waiting
27-Jan-2023 20:43:53 2ab24f51c5e7: Waiting
27-Jan-2023 20:43:53 649c77e9bd05: Layer already exists
27-Jan-2023 20:43:53 791c76ea22b6: Layer already exists
27-Jan-2023 20:43:53 50225b26e72e: Layer already exists
27-Jan-2023 20:43:53 755b4a116d43: Layer already exists
27-Jan-2023 20:43:53 3a276082d806: Layer already exists
27-Jan-2023 20:43:54 2ec6c750737f: Layer already exists
27-Jan-2023 20:43:54 5f70bf18a086: Layer already exists
27-Jan-2023 20:43:54 a68cbd9ca972: Layer already exists
27-Jan-2023 20:43:54 2ab24f51c5e7: Layer already exists
27-Jan-2023 20:43:54 9ad199278f60: Layer already exists
27-Jan-2023 20:43:54 1b590cb48856: Layer already exists
27-Jan-2023 20:43:54 e51bba17124f: Layer already exists
27-Jan-2023 20:43:54 3849ed63b27b: Layer already exists
27-Jan-2023 20:43:54 a770a911f4d6: Layer already exists
27-Jan-2023 20:43:54 79c8be4f139b: Layer already exists
27-Jan-2023 20:43:54 4dd9ecd71792: Layer already exists
27-Jan-2023 20:43:54 c0541c31ac17: Layer already exists
27-Jan-2023 20:43:54 3f800aca2a44: Layer already exists
27-Jan-2023 20:43:54 qa: digest: sha256:e9f288acd9e33beca3a32438c5db703e6b442cffe55286218602475d4c0ab223 size: 4088
27-Jan-2023 20:43:54 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
27-Jan-2023 20:43:54 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
27-Jan-2023 20:43:55 Removing unused images if any
27-Jan-2023 20:43:56 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication-mysql ...
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ...
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication-mysql ... done
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... already exists
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... waiting
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... downloading (100.0%)
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... downloading (0.7%)
27-Jan-2023 20:43:56 Pulling openmrs-referenceapplication       ... downloading (0.5%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (20.2%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (14.2%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (1.1%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (36.3%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (27.0%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (51.0%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (38.3%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (67.1%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (48.0%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (83.3%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (59.3%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (99.4%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (72.0%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (84.3%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... extracting (0.7%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... downloading (96.1%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... extracting (19.4%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... verifying checksum
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... download complete
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... extracting (41.6%)
27-Jan-2023 20:43:57 Pulling openmrs-referenceapplication       ... extracting (60.4%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (81.2%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (0.5%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (19.2%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (36.5%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (55.7%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (74.0%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (90.7%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (3.0%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:43:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Jan-2023 20:43:59 Pulling openmrs-referenceapplication       ... pull complete
27-Jan-2023 20:43:59 Pulling openmrs-referenceapplication       ... digest: sha256:e9f288acd9e33beca3...
27-Jan-2023 20:43:59 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
27-Jan-2023 20:43:59 Pulling openmrs-referenceapplication       ... done
27-Jan-2023 20:43:59 Recreating all images and volumes
27-Jan-2023 20:43:59 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Jan-2023 20:43:59 Stopping qa-refapp_openmrs-referenceapplication_1       ...
27-Jan-2023 20:43:59 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Jan-2023 20:43:59 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
27-Jan-2023 20:44:01 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Jan-2023 20:44:01 Removing qa-refapp_openmrs-referenceapplication_1       ...
27-Jan-2023 20:44:01 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Jan-2023 20:44:01 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Jan-2023 20:44:02 Removing qa-refapp_openmrs-referenceapplication_1       ... done
27-Jan-2023 20:44:02 Removing network qa-refapp_default
27-Jan-2023 20:44:02 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
27-Jan-2023 20:44:02 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Jan-2023 20:44:02 Creating network "qa-refapp_default" with the default driver
27-Jan-2023 20:44:02 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
27-Jan-2023 20:44:02 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Jan-2023 20:44:03 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Jan-2023 20:44:03 Creating qa-refapp_openmrs-referenceapplication_1       ...
27-Jan-2023 20:44:04 Creating qa-refapp_openmrs-referenceapplication_1       ... done
27-Jan-2023 20:44:04 Verifying if docker containers 757711f5e829a4848697954fdba4123c6c3d395fb8af46c8f5165afda68c1d6e
27-Jan-2023 20:44:04 ad4c3922cf0a4aec7fe1ea5dc25812f538f020b773ba3935f8ea3a4bd8f72c1e are healthy
27-Jan-2023 20:44:04 Status found: "starting"
27-Jan-2023 20:44:04 Waiting 15s
27-Jan-2023 20:44:19 Verifying if docker containers 757711f5e829a4848697954fdba4123c6c3d395fb8af46c8f5165afda68c1d6e
27-Jan-2023 20:44:19 ad4c3922cf0a4aec7fe1ea5dc25812f538f020b773ba3935f8ea3a4bd8f72c1e are healthy
27-Jan-2023 20:44:19 Status found: "starting"
27-Jan-2023 20:44:19 Waiting 15s
27-Jan-2023 20:44:34 Verifying if docker containers 757711f5e829a4848697954fdba4123c6c3d395fb8af46c8f5165afda68c1d6e
27-Jan-2023 20:44:34 ad4c3922cf0a4aec7fe1ea5dc25812f538f020b773ba3935f8ea3a4bd8f72c1e are healthy
27-Jan-2023 20:44:34 Status found: "healthy"
27-Jan-2023 20:44:34 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
27-Jan-2023 20:44:34 Running post build plugin 'Docker Container Cleanup'
27-Jan-2023 20:44:34 Running post build plugin 'NCover Results Collector'
27-Jan-2023 20:44:34 Running post build plugin 'Build Results Label Collector'
27-Jan-2023 20:44:34 Running post build plugin 'Clover Results Collector'
27-Jan-2023 20:44:34 Running post build plugin 'npm Cache Cleanup'
27-Jan-2023 20:44:34 Running post build plugin 'Artifact Copier'
27-Jan-2023 20:44:34 Finalising the build...
27-Jan-2023 20:44:34 Stopping timer.
27-Jan-2023 20:44:34 Build REFAPP-OMODDISTRO-DTMTS-13425 completed.
27-Jan-2023 20:44:34 Running on server: post build plugin 'Build Hanging Detection Configuration'
27-Jan-2023 20:44:34 Running on server: post build plugin 'NCover Results Collector'
27-Jan-2023 20:44:34 Running on server: post build plugin 'Build Labeller'
27-Jan-2023 20:44:34 Running on server: post build plugin 'Clover Delta Calculator'
27-Jan-2023 20:44:34 Running on server: post build plugin 'Maven Dependencies Postprocessor'
27-Jan-2023 20:44:34 All post build plugins have finished
27-Jan-2023 20:44:34 Generating build results summary...
27-Jan-2023 20:44:34 Saving build results to disk...
27-Jan-2023 20:44:34 Store variable context...
27-Jan-2023 20:44:34 Finished building REFAPP-OMODDISTRO-DTMTS-13425.