Deploys Reference Application SNAPSHOT to maven

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

12-Feb-2023 21:34:15 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13467 (REFAPP-OMODDISTRO-DTMTS-13467) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
12-Feb-2023 21:34:15 Remote agent on host xindi.openmrs.org
12-Feb-2023 21:34:15 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
12-Feb-2023 21:34:15 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13467 (REFAPP-OMODDISTRO-DTMTS-13467)
12-Feb-2023 21:34:15 Running pre-build action: Build Log Labeller Pre Build Action
12-Feb-2023 21:34:15 Running pre-build action: VCS Version Collector
12-Feb-2023 21:34:15 Running pre-build action: Run Predator
12-Feb-2023 21:34:15 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
12-Feb-2023 21:34:15 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
12-Feb-2023 21:34:15 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
12-Feb-2023 21:34:15 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
12-Feb-2023 21:34:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2951Mb  345Mb 00:01:16 /usr/lib/jvm/java-8-ope
12-Feb-2023 21:34:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    3Mb 00:00:17 /home/bamboo-agent/bamb
12-Feb-2023 21:34:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root         99Mb   11Mb 00:00:01 /sbin/init             
12-Feb-2023 21:34:15 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
12-Feb-2023 21:34:15 [PredatorPreBuildAction] Initial free space: 2.865345 GB
12-Feb-2023 21:34:15 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
12-Feb-2023 21:34:20 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
12-Feb-2023 21:34:20 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
12-Feb-2023 21:34:20 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
12-Feb-2023 21:34:21 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
12-Feb-2023 21:34:21 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
12-Feb-2023 21:34:21 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
12-Feb-2023 21:34:21 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
12-Feb-2023 21:34:21 [PredatorPreBuildAction] Final free space: 2.896984 GB
12-Feb-2023 21:34:21 [PredatorPreBuildAction] Done
12-Feb-2023 21:34:21
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
12-Feb-2023 21:34:21
Substituting password variable: ${bamboo.dockerhub.password}
12-Feb-2023 21:34:21
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0a94588432958ee177945f21a90a36f7421486ee7d7f32dd1e3a398c606129c7
12-Feb-2023 21:34:21
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0a94588432958ee177945f21a90a36f7421486ee7d7f32dd1e3a398c606129c7
12-Feb-2023 21:34:21
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
12-Feb-2023 21:34:21
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
12-Feb-2023 21:34:21 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
12-Feb-2023 21:34:21
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13467 (REFAPP-OMODDISTRO-DTMTS-13467)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13467-ScriptBuildTask-3021017817836955546.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
12-Feb-2023 21:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
12-Feb-2023 21:34:21 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
12-Feb-2023 21:34:21 Configure a credential helper to remove this warning. See
12-Feb-2023 21:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
12-Feb-2023 21:34:21
12-Feb-2023 21:34:21 Login Succeeded
12-Feb-2023 21:34:21 + docker pull openmrs/openmrs-reference-application@sha256:0a94588432958ee177945f21a90a36f7421486ee7d7f32dd1e3a398c606129c7
12-Feb-2023 21:34:21 docker.io/openmrs/openmrs-reference-application@sha256:0a94588432958ee177945f21a90a36f7421486ee7d7f32dd1e3a398c606129c7: Pulling from openmrs/openmrs-reference-application
12-Feb-2023 21:34:21 Digest: sha256:0a94588432958ee177945f21a90a36f7421486ee7d7f32dd1e3a398c606129c7
12-Feb-2023 21:34:21 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:0a94588432958ee177945f21a90a36f7421486ee7d7f32dd1e3a398c606129c7
12-Feb-2023 21:34:21 docker.io/openmrs/openmrs-reference-application@sha256:0a94588432958ee177945f21a90a36f7421486ee7d7f32dd1e3a398c606129c7
12-Feb-2023 21:34:21 + docker tag openmrs/openmrs-reference-application@sha256:0a94588432958ee177945f21a90a36f7421486ee7d7f32dd1e3a398c606129c7 openmrs/openmrs-reference-application:qa
12-Feb-2023 21:34:21 + docker push openmrs/openmrs-reference-application:qa
12-Feb-2023 21:34:21 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
12-Feb-2023 21:34:21 76fec5698271: Preparing
12-Feb-2023 21:34:21 c3b0e0b2a938: Preparing
12-Feb-2023 21:34:21 f7cd83329ff6: Preparing
12-Feb-2023 21:34:21 c9a331fad356: Preparing
12-Feb-2023 21:34:21 0889049fe275: Preparing
12-Feb-2023 21:34:21 60de0bbda0ed: Preparing
12-Feb-2023 21:34:21 5f70bf18a086: Preparing
12-Feb-2023 21:34:21 b34b6277c81b: Preparing
12-Feb-2023 21:34:21 d0a6a0df9123: Preparing
12-Feb-2023 21:34:21 63bbdb3574ed: Preparing
12-Feb-2023 21:34:21 118873527352: Preparing
12-Feb-2023 21:34:21 3353ee3d6876: Preparing
12-Feb-2023 21:34:21 ab5b3452b7ed: Preparing
12-Feb-2023 21:34:21 34f73756f7aa: Preparing
12-Feb-2023 21:34:21 93d6620f79bb: Preparing
12-Feb-2023 21:34:21 be417e78cadd: Preparing
12-Feb-2023 21:34:21 647dc4000019: Preparing
12-Feb-2023 21:34:21 8c5ff259ef50: Preparing
12-Feb-2023 21:34:21 63bbdb3574ed: Waiting
12-Feb-2023 21:34:21 118873527352: Waiting
12-Feb-2023 21:34:21 3353ee3d6876: Waiting
12-Feb-2023 21:34:21 ab5b3452b7ed: Waiting
12-Feb-2023 21:34:21 34f73756f7aa: Waiting
12-Feb-2023 21:34:21 93d6620f79bb: Waiting
12-Feb-2023 21:34:21 be417e78cadd: Waiting
12-Feb-2023 21:34:21 647dc4000019: Waiting
12-Feb-2023 21:34:21 8c5ff259ef50: Waiting
12-Feb-2023 21:34:21 60de0bbda0ed: Waiting
12-Feb-2023 21:34:21 5f70bf18a086: Waiting
12-Feb-2023 21:34:21 b34b6277c81b: Waiting
12-Feb-2023 21:34:21 d0a6a0df9123: Waiting
12-Feb-2023 21:34:21 0889049fe275: Layer already exists
12-Feb-2023 21:34:21 f7cd83329ff6: Layer already exists
12-Feb-2023 21:34:21 c9a331fad356: Layer already exists
12-Feb-2023 21:34:21 c3b0e0b2a938: Layer already exists
12-Feb-2023 21:34:21 76fec5698271: Layer already exists
12-Feb-2023 21:34:21 5f70bf18a086: Layer already exists
12-Feb-2023 21:34:22 60de0bbda0ed: Layer already exists
12-Feb-2023 21:34:22 b34b6277c81b: Layer already exists
12-Feb-2023 21:34:22 63bbdb3574ed: Layer already exists
12-Feb-2023 21:34:22 d0a6a0df9123: Layer already exists
12-Feb-2023 21:34:22 118873527352: Layer already exists
12-Feb-2023 21:34:22 3353ee3d6876: Layer already exists
12-Feb-2023 21:34:22 ab5b3452b7ed: Layer already exists
12-Feb-2023 21:34:22 34f73756f7aa: Layer already exists
12-Feb-2023 21:34:22 93d6620f79bb: Layer already exists
12-Feb-2023 21:34:22 be417e78cadd: Layer already exists
12-Feb-2023 21:34:22 647dc4000019: Layer already exists
12-Feb-2023 21:34:22 8c5ff259ef50: Layer already exists
12-Feb-2023 21:34:22 qa: digest: sha256:c178d315e27a124b0086d6fb19dca4032a059a2b7e1ff12ed11488f584710f64 size: 4088
12-Feb-2023 21:34:22 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
12-Feb-2023 21:34:22 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
12-Feb-2023 21:34:23 Removing unused images if any
12-Feb-2023 21:34:23 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
12-Feb-2023 21:34:23 Pulling openmrs-referenceapplication-mysql ...
12-Feb-2023 21:34:23 Pulling openmrs-referenceapplication       ...
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication-mysql ... done
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... waiting
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (100.0%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... verifying checksum
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... download complete
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (0.7%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (0.5%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (1.1%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (24.8%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (17.2%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... verifying checksum
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... download complete
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (49.0%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (36.3%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (74.6%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (53.5%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (96.8%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... downloading (69.2%)
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... verifying checksum
12-Feb-2023 21:34:24 Pulling openmrs-referenceapplication       ... download complete
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... downloading (82.0%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (0.7%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... downloading (93.7%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (12.5%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... verifying checksum
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... download complete
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (33.3%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (56.2%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (79.1%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... pull complete
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... pull complete
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (0.5%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (18.2%)
12-Feb-2023 21:34:25 Pulling openmrs-referenceapplication       ... extracting (39.5%)
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... extracting (58.8%)
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... extracting (72.4%)
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... extracting (85.6%)
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... pull complete
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... extracting (3.0%)
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... pull complete
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... digest: sha256:c178d315e27a124b00...
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
12-Feb-2023 21:34:26 Pulling openmrs-referenceapplication       ... done
12-Feb-2023 21:34:26 Recreating all images and volumes
12-Feb-2023 21:34:26 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
12-Feb-2023 21:34:26 Stopping qa-refapp_openmrs-referenceapplication_1       ...
12-Feb-2023 21:34:26 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
12-Feb-2023 21:34:27 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
12-Feb-2023 21:34:28 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
12-Feb-2023 21:34:28 Removing qa-refapp_openmrs-referenceapplication_1       ...
12-Feb-2023 21:34:28 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
12-Feb-2023 21:34:28 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
12-Feb-2023 21:34:29 Removing qa-refapp_openmrs-referenceapplication_1       ... done
12-Feb-2023 21:34:29 Removing network qa-refapp_default
12-Feb-2023 21:34:29 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
12-Feb-2023 21:34:29 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
12-Feb-2023 21:34:29 Creating network "qa-refapp_default" with the default driver
12-Feb-2023 21:34:29 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
12-Feb-2023 21:34:29 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
12-Feb-2023 21:34:30 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
12-Feb-2023 21:34:30 Creating qa-refapp_openmrs-referenceapplication_1       ...
12-Feb-2023 21:34:30 Creating qa-refapp_openmrs-referenceapplication_1       ... done
12-Feb-2023 21:34:31 Verifying if docker containers 538c6b7a237f9c69716ff70d96587df86aa33450ae8c54004b792d3008e9fea8
12-Feb-2023 21:34:31 6b76fdcfd1794b4fe54ad9cf7ab854a2d9b32e158802842d3e3116a64a7618d9 are healthy
12-Feb-2023 21:34:31 Status found: "starting"
12-Feb-2023 21:34:31 Waiting 15s
12-Feb-2023 21:34:46 Verifying if docker containers 538c6b7a237f9c69716ff70d96587df86aa33450ae8c54004b792d3008e9fea8
12-Feb-2023 21:34:46 6b76fdcfd1794b4fe54ad9cf7ab854a2d9b32e158802842d3e3116a64a7618d9 are healthy
12-Feb-2023 21:34:46 Status found: "starting"
12-Feb-2023 21:34:46 Waiting 15s
12-Feb-2023 21:35:01 Verifying if docker containers 538c6b7a237f9c69716ff70d96587df86aa33450ae8c54004b792d3008e9fea8
12-Feb-2023 21:35:01 6b76fdcfd1794b4fe54ad9cf7ab854a2d9b32e158802842d3e3116a64a7618d9 are healthy
12-Feb-2023 21:35:01 Status found: "healthy"
12-Feb-2023 21:35:01 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
12-Feb-2023 21:35:01 Running post build plugin 'Docker Container Cleanup'
12-Feb-2023 21:35:01 Running post build plugin 'NCover Results Collector'
12-Feb-2023 21:35:01 Running post build plugin 'Build Results Label Collector'
12-Feb-2023 21:35:01 Running post build plugin 'Clover Results Collector'
12-Feb-2023 21:35:01 Running post build plugin 'npm Cache Cleanup'
12-Feb-2023 21:35:01 Running post build plugin 'Artifact Copier'
12-Feb-2023 21:35:01 Finalising the build...
12-Feb-2023 21:35:01 Stopping timer.
12-Feb-2023 21:35:01 Build REFAPP-OMODDISTRO-DTMTS-13467 completed.
12-Feb-2023 21:35:01 Running on server: post build plugin 'Build Hanging Detection Configuration'
12-Feb-2023 21:35:01 Running on server: post build plugin 'NCover Results Collector'
12-Feb-2023 21:35:01 Running on server: post build plugin 'Build Labeller'
12-Feb-2023 21:35:01 Running on server: post build plugin 'Clover Delta Calculator'
12-Feb-2023 21:35:01 Running on server: post build plugin 'Maven Dependencies Postprocessor'
12-Feb-2023 21:35:01 All post build plugins have finished
12-Feb-2023 21:35:01 Generating build results summary...
12-Feb-2023 21:35:01 Saving build results to disk...
12-Feb-2023 21:35:01 Store variable context...
12-Feb-2023 21:35:01 Finished building REFAPP-OMODDISTRO-DTMTS-13467.