Deploys Reference Application SNAPSHOT to maven

Build: #13502 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.

23-Feb-2023 00:13:44 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13502 (REFAPP-OMODDISTRO-DTMTS-13502) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
23-Feb-2023 00:13:44 Remote agent on host xindi.openmrs.org
23-Feb-2023 00:13:44 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Feb-2023 00:13:44 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13502 (REFAPP-OMODDISTRO-DTMTS-13502)
23-Feb-2023 00:13:44 Running pre-build action: Build Log Labeller Pre Build Action
23-Feb-2023 00:13:44 Running pre-build action: VCS Version Collector
23-Feb-2023 00:13:44 Running pre-build action: Run Predator
23-Feb-2023 00:13:44 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
23-Feb-2023 00:13:44 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
23-Feb-2023 00:13:44 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
23-Feb-2023 00:13:44 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
23-Feb-2023 00:13:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2978Mb  578Mb 00:19:19 /usr/lib/jvm/java-8-ope
23-Feb-2023 00:13:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    2Mb 00:05:11 /home/bamboo-agent/bamb
23-Feb-2023 00:13:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:20 /sbin/init             
23-Feb-2023 00:13:44 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
23-Feb-2023 00:13:44 [PredatorPreBuildAction] Initial free space: 0.92666626 GB
23-Feb-2023 00:13:44 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
23-Feb-2023 00:13:49 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
23-Feb-2023 00:13:49 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
23-Feb-2023 00:13:49 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
23-Feb-2023 00:13:49 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
23-Feb-2023 00:13:49 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
23-Feb-2023 00:13:49 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
23-Feb-2023 00:13:49 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
23-Feb-2023 00:13:49 [PredatorPreBuildAction] Final free space: 0.95832443 GB
23-Feb-2023 00:13:49 [PredatorPreBuildAction] Done
23-Feb-2023 00:13:49
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
23-Feb-2023 00:13:49
Substituting password variable: ${bamboo.dockerhub.password}
23-Feb-2023 00:13:49
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:ad93492a2ce43111bc8bcb2e1bc0e562431203997246f3d1e3ca7fc7146a88e0
23-Feb-2023 00:13:49
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:ad93492a2ce43111bc8bcb2e1bc0e562431203997246f3d1e3ca7fc7146a88e0
23-Feb-2023 00:13:49
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Feb-2023 00:13:49
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Feb-2023 00:13:49 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
23-Feb-2023 00:13:49
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13502 (REFAPP-OMODDISTRO-DTMTS-13502)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13502-ScriptBuildTask-5659647748935224673.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Feb-2023 00:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
23-Feb-2023 00:13:49 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
23-Feb-2023 00:13:49 Configure a credential helper to remove this warning. See
23-Feb-2023 00:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
23-Feb-2023 00:13:49
23-Feb-2023 00:13:49 Login Succeeded
23-Feb-2023 00:13:49 + docker pull openmrs/openmrs-reference-application@sha256:ad93492a2ce43111bc8bcb2e1bc0e562431203997246f3d1e3ca7fc7146a88e0
23-Feb-2023 00:13:49 docker.io/openmrs/openmrs-reference-application@sha256:ad93492a2ce43111bc8bcb2e1bc0e562431203997246f3d1e3ca7fc7146a88e0: Pulling from openmrs/openmrs-reference-application
23-Feb-2023 00:13:49 Digest: sha256:ad93492a2ce43111bc8bcb2e1bc0e562431203997246f3d1e3ca7fc7146a88e0
23-Feb-2023 00:13:49 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:ad93492a2ce43111bc8bcb2e1bc0e562431203997246f3d1e3ca7fc7146a88e0
23-Feb-2023 00:13:49 docker.io/openmrs/openmrs-reference-application@sha256:ad93492a2ce43111bc8bcb2e1bc0e562431203997246f3d1e3ca7fc7146a88e0
23-Feb-2023 00:13:49 + docker tag openmrs/openmrs-reference-application@sha256:ad93492a2ce43111bc8bcb2e1bc0e562431203997246f3d1e3ca7fc7146a88e0 openmrs/openmrs-reference-application:qa
23-Feb-2023 00:13:50 + docker push openmrs/openmrs-reference-application:qa
23-Feb-2023 00:13:50 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
23-Feb-2023 00:13:50 254fbb55a9e5: Preparing
23-Feb-2023 00:13:50 432ee8303c46: Preparing
23-Feb-2023 00:13:50 6e96d0891d79: Preparing
23-Feb-2023 00:13:50 3834df0a3556: Preparing
23-Feb-2023 00:13:50 e4a92042edbd: Preparing
23-Feb-2023 00:13:50 60de0bbda0ed: Preparing
23-Feb-2023 00:13:50 5f70bf18a086: Preparing
23-Feb-2023 00:13:50 b34b6277c81b: Preparing
23-Feb-2023 00:13:50 d0a6a0df9123: Preparing
23-Feb-2023 00:13:50 63bbdb3574ed: Preparing
23-Feb-2023 00:13:50 118873527352: Preparing
23-Feb-2023 00:13:50 3353ee3d6876: Preparing
23-Feb-2023 00:13:50 ab5b3452b7ed: Preparing
23-Feb-2023 00:13:50 34f73756f7aa: Preparing
23-Feb-2023 00:13:50 93d6620f79bb: Preparing
23-Feb-2023 00:13:50 be417e78cadd: Preparing
23-Feb-2023 00:13:50 647dc4000019: Preparing
23-Feb-2023 00:13:50 8c5ff259ef50: Preparing
23-Feb-2023 00:13:50 63bbdb3574ed: Waiting
23-Feb-2023 00:13:50 118873527352: Waiting
23-Feb-2023 00:13:50 3353ee3d6876: Waiting
23-Feb-2023 00:13:50 ab5b3452b7ed: Waiting
23-Feb-2023 00:13:50 34f73756f7aa: Waiting
23-Feb-2023 00:13:50 93d6620f79bb: Waiting
23-Feb-2023 00:13:50 be417e78cadd: Waiting
23-Feb-2023 00:13:50 647dc4000019: Waiting
23-Feb-2023 00:13:50 8c5ff259ef50: Waiting
23-Feb-2023 00:13:50 60de0bbda0ed: Waiting
23-Feb-2023 00:13:50 5f70bf18a086: Waiting
23-Feb-2023 00:13:50 d0a6a0df9123: Waiting
23-Feb-2023 00:13:50 e4a92042edbd: Layer already exists
23-Feb-2023 00:13:50 60de0bbda0ed: Layer already exists
23-Feb-2023 00:13:50 3834df0a3556: Layer already exists
23-Feb-2023 00:13:50 432ee8303c46: Layer already exists
23-Feb-2023 00:13:50 b34b6277c81b: Layer already exists
23-Feb-2023 00:13:50 5f70bf18a086: Layer already exists
23-Feb-2023 00:13:50 6e96d0891d79: Layer already exists
23-Feb-2023 00:13:50 254fbb55a9e5: Layer already exists
23-Feb-2023 00:13:50 d0a6a0df9123: Layer already exists
23-Feb-2023 00:13:50 63bbdb3574ed: Layer already exists
23-Feb-2023 00:13:50 3353ee3d6876: Layer already exists
23-Feb-2023 00:13:50 118873527352: Layer already exists
23-Feb-2023 00:13:50 ab5b3452b7ed: Layer already exists
23-Feb-2023 00:13:50 34f73756f7aa: Layer already exists
23-Feb-2023 00:13:50 93d6620f79bb: Layer already exists
23-Feb-2023 00:13:50 647dc4000019: Layer already exists
23-Feb-2023 00:13:50 be417e78cadd: Layer already exists
23-Feb-2023 00:13:50 8c5ff259ef50: Layer already exists
23-Feb-2023 00:13:51 qa: digest: sha256:0f202380400866f63f76bfbc27cc70982d563d923b6f167d52eaaefbf42c7624 size: 4088
23-Feb-2023 00:13:51 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
23-Feb-2023 00:13:51 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
23-Feb-2023 00:13:52 Removing unused images if any
23-Feb-2023 00:13:52 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication-mysql ...
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication       ...
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication-mysql ... done
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:52 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... waiting
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (94.2%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (0.7%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (0.5%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (21.8%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (15.2%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (1.1%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (38.9%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (29.0%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (52.6%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (39.2%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (68.3%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (51.0%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (85.4%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (63.8%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (77.5%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... downloading (89.7%)
23-Feb-2023 00:13:53 Pulling openmrs-referenceapplication       ... extracting (0.7%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (19.0%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (40.9%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (61.4%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (79.0%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (94.5%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (0.5%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (13.7%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (30.9%)
23-Feb-2023 00:13:54 Pulling openmrs-referenceapplication       ... extracting (47.6%)
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... extracting (64.3%)
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... extracting (80.5%)
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... extracting (94.2%)
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... extracting (3.0%)
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... digest: sha256:0f202380400866f63f...
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
23-Feb-2023 00:13:55 Pulling openmrs-referenceapplication       ... done
23-Feb-2023 00:13:55 Recreating all images and volumes
23-Feb-2023 00:13:55 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Feb-2023 00:13:55 Stopping qa-refapp_openmrs-referenceapplication_1       ...
23-Feb-2023 00:13:55 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Feb-2023 00:13:56 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
23-Feb-2023 00:13:58 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Feb-2023 00:13:58 Removing qa-refapp_openmrs-referenceapplication_1       ...
23-Feb-2023 00:13:58 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Feb-2023 00:13:58 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Feb-2023 00:13:58 Removing qa-refapp_openmrs-referenceapplication_1       ... done
23-Feb-2023 00:13:58 Removing network qa-refapp_default
23-Feb-2023 00:13:58 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
23-Feb-2023 00:13:59 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Feb-2023 00:13:59 Creating network "qa-refapp_default" with the default driver
23-Feb-2023 00:13:59 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
23-Feb-2023 00:13:59 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Feb-2023 00:13:59 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Feb-2023 00:13:59 Creating qa-refapp_openmrs-referenceapplication_1       ...
23-Feb-2023 00:14:00 Creating qa-refapp_openmrs-referenceapplication_1       ... done
23-Feb-2023 00:14:00 Verifying if docker containers 7699ced1de5fe2a94efa464eb5fa23d4e90c44d210c1cb6b2c47ef19987700fa
23-Feb-2023 00:14:00 2b975d48b517f4c495b8ddbaaf4f1c058b34d718501ca92e513ec7ec17ff3fa5 are healthy
23-Feb-2023 00:14:00 Status found: "starting"
23-Feb-2023 00:14:00 Waiting 15s
23-Feb-2023 00:14:15 Verifying if docker containers 7699ced1de5fe2a94efa464eb5fa23d4e90c44d210c1cb6b2c47ef19987700fa
23-Feb-2023 00:14:15 2b975d48b517f4c495b8ddbaaf4f1c058b34d718501ca92e513ec7ec17ff3fa5 are healthy
23-Feb-2023 00:14:15 Status found: "starting"
23-Feb-2023 00:14:15 Waiting 15s
23-Feb-2023 00:14:30 Verifying if docker containers 7699ced1de5fe2a94efa464eb5fa23d4e90c44d210c1cb6b2c47ef19987700fa
23-Feb-2023 00:14:30 2b975d48b517f4c495b8ddbaaf4f1c058b34d718501ca92e513ec7ec17ff3fa5 are healthy
23-Feb-2023 00:14:30 Status found: "healthy"
23-Feb-2023 00:14:30 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
23-Feb-2023 00:14:30 Running post build plugin 'Docker Container Cleanup'
23-Feb-2023 00:14:30 Running post build plugin 'NCover Results Collector'
23-Feb-2023 00:14:30 Running post build plugin 'Build Results Label Collector'
23-Feb-2023 00:14:30 Running post build plugin 'Clover Results Collector'
23-Feb-2023 00:14:30 Running post build plugin 'npm Cache Cleanup'
23-Feb-2023 00:14:30 Running post build plugin 'Artifact Copier'
23-Feb-2023 00:14:30 Finalising the build...
23-Feb-2023 00:14:30 Stopping timer.
23-Feb-2023 00:14:30 Build REFAPP-OMODDISTRO-DTMTS-13502 completed.
23-Feb-2023 00:14:30 Running on server: post build plugin 'Build Hanging Detection Configuration'
23-Feb-2023 00:14:30 Running on server: post build plugin 'NCover Results Collector'
23-Feb-2023 00:14:30 Running on server: post build plugin 'Build Labeller'
23-Feb-2023 00:14:30 Running on server: post build plugin 'Clover Delta Calculator'
23-Feb-2023 00:14:31 Running on server: post build plugin 'Maven Dependencies Postprocessor'
23-Feb-2023 00:14:31 All post build plugins have finished
23-Feb-2023 00:14:31 Generating build results summary...
23-Feb-2023 00:14:31 Saving build results to disk...
23-Feb-2023 00:14:31 Store variable context...
23-Feb-2023 00:14:31 Finished building REFAPP-OMODDISTRO-DTMTS-13502.