Deploys Reference Application SNAPSHOT to maven

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

19-Feb-2023 03:13:48 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13487 (REFAPP-OMODDISTRO-DTMTS-13487) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
19-Feb-2023 03:13:48 Remote agent on host xindi.openmrs.org
19-Feb-2023 03:13:48 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
19-Feb-2023 03:13:48 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13487 (REFAPP-OMODDISTRO-DTMTS-13487)
19-Feb-2023 03:13:48 Running pre-build action: Build Log Labeller Pre Build Action
19-Feb-2023 03:13:48 Running pre-build action: VCS Version Collector
19-Feb-2023 03:13:48 Running pre-build action: Run Predator
19-Feb-2023 03:13:48 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
19-Feb-2023 03:13:48 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
19-Feb-2023 03:13:48 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
19-Feb-2023 03:13:48 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
19-Feb-2023 03:13:48 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2976Mb  447Mb 00:13:54 /usr/lib/jvm/java-8-ope
19-Feb-2023 03:13:48 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    1Mb 00:03:26 /home/bamboo-agent/bamb
19-Feb-2023 03:13:48 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:59 /sbin/init             
19-Feb-2023 03:13:48 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
19-Feb-2023 03:13:48 [PredatorPreBuildAction] Initial free space: 1.9957275 GB
19-Feb-2023 03:13:48 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
19-Feb-2023 03:13:53 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
19-Feb-2023 03:13:53 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
19-Feb-2023 03:13:53 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
19-Feb-2023 03:13:53 [PredatorPreBuildAction] Maven stable disk freed: 0.00217692 GB, deleted 232 files
19-Feb-2023 03:13:53 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
19-Feb-2023 03:13:53 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
19-Feb-2023 03:13:53 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
19-Feb-2023 03:13:53 [PredatorPreBuildAction] Final free space: 2.0273705 GB
19-Feb-2023 03:13:53 [PredatorPreBuildAction] Done
19-Feb-2023 03:13:53
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
19-Feb-2023 03:13:53
Substituting password variable: ${bamboo.dockerhub.password}
19-Feb-2023 03:13:53
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0494e571f9300b9eca77408a62e51d2680af1d9c237cd5b84c240b589ff3c711
19-Feb-2023 03:13:53
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:0494e571f9300b9eca77408a62e51d2680af1d9c237cd5b84c240b589ff3c711
19-Feb-2023 03:13:53
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
19-Feb-2023 03:13:53
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
19-Feb-2023 03:13:53 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
19-Feb-2023 03:13:53
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13487 (REFAPP-OMODDISTRO-DTMTS-13487)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13487-ScriptBuildTask-6416778470271015346.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
19-Feb-2023 03:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
19-Feb-2023 03:13:53 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
19-Feb-2023 03:13:53 Configure a credential helper to remove this warning. See
19-Feb-2023 03:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
19-Feb-2023 03:13:53
19-Feb-2023 03:13:53 Login Succeeded
19-Feb-2023 03:13:53 + docker pull openmrs/openmrs-reference-application@sha256:0494e571f9300b9eca77408a62e51d2680af1d9c237cd5b84c240b589ff3c711
19-Feb-2023 03:13:54 docker.io/openmrs/openmrs-reference-application@sha256:0494e571f9300b9eca77408a62e51d2680af1d9c237cd5b84c240b589ff3c711: Pulling from openmrs/openmrs-reference-application
19-Feb-2023 03:13:54 Digest: sha256:0494e571f9300b9eca77408a62e51d2680af1d9c237cd5b84c240b589ff3c711
19-Feb-2023 03:13:54 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:0494e571f9300b9eca77408a62e51d2680af1d9c237cd5b84c240b589ff3c711
19-Feb-2023 03:13:54 docker.io/openmrs/openmrs-reference-application@sha256:0494e571f9300b9eca77408a62e51d2680af1d9c237cd5b84c240b589ff3c711
19-Feb-2023 03:13:54 + docker tag openmrs/openmrs-reference-application@sha256:0494e571f9300b9eca77408a62e51d2680af1d9c237cd5b84c240b589ff3c711 openmrs/openmrs-reference-application:qa
19-Feb-2023 03:13:54 + docker push openmrs/openmrs-reference-application:qa
19-Feb-2023 03:13:54 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
19-Feb-2023 03:13:54 f0a5e153cc69: Preparing
19-Feb-2023 03:13:54 456532591b7b: Preparing
19-Feb-2023 03:13:54 f089d9d9bcb4: Preparing
19-Feb-2023 03:13:54 b960942fa2e2: Preparing
19-Feb-2023 03:13:54 e4a92042edbd: Preparing
19-Feb-2023 03:13:54 60de0bbda0ed: Preparing
19-Feb-2023 03:13:54 5f70bf18a086: Preparing
19-Feb-2023 03:13:54 b34b6277c81b: Preparing
19-Feb-2023 03:13:54 d0a6a0df9123: Preparing
19-Feb-2023 03:13:54 63bbdb3574ed: Preparing
19-Feb-2023 03:13:54 118873527352: Preparing
19-Feb-2023 03:13:54 3353ee3d6876: Preparing
19-Feb-2023 03:13:54 ab5b3452b7ed: Preparing
19-Feb-2023 03:13:54 34f73756f7aa: Preparing
19-Feb-2023 03:13:54 93d6620f79bb: Preparing
19-Feb-2023 03:13:54 be417e78cadd: Preparing
19-Feb-2023 03:13:54 647dc4000019: Preparing
19-Feb-2023 03:13:54 8c5ff259ef50: Preparing
19-Feb-2023 03:13:54 60de0bbda0ed: Waiting
19-Feb-2023 03:13:54 5f70bf18a086: Waiting
19-Feb-2023 03:13:54 b34b6277c81b: Waiting
19-Feb-2023 03:13:54 d0a6a0df9123: Waiting
19-Feb-2023 03:13:54 63bbdb3574ed: Waiting
19-Feb-2023 03:13:54 118873527352: Waiting
19-Feb-2023 03:13:54 3353ee3d6876: Waiting
19-Feb-2023 03:13:54 ab5b3452b7ed: Waiting
19-Feb-2023 03:13:54 34f73756f7aa: Waiting
19-Feb-2023 03:13:54 93d6620f79bb: Waiting
19-Feb-2023 03:13:54 be417e78cadd: Waiting
19-Feb-2023 03:13:54 647dc4000019: Waiting
19-Feb-2023 03:13:54 8c5ff259ef50: Waiting
19-Feb-2023 03:13:54 e4a92042edbd: Layer already exists
19-Feb-2023 03:13:54 b960942fa2e2: Layer already exists
19-Feb-2023 03:13:54 456532591b7b: Layer already exists
19-Feb-2023 03:13:54 f0a5e153cc69: Layer already exists
19-Feb-2023 03:13:54 f089d9d9bcb4: Layer already exists
19-Feb-2023 03:13:54 60de0bbda0ed: Layer already exists
19-Feb-2023 03:13:54 d0a6a0df9123: Layer already exists
19-Feb-2023 03:13:54 5f70bf18a086: Layer already exists
19-Feb-2023 03:13:54 63bbdb3574ed: Layer already exists
19-Feb-2023 03:13:54 b34b6277c81b: Layer already exists
19-Feb-2023 03:13:54 118873527352: Layer already exists
19-Feb-2023 03:13:54 ab5b3452b7ed: Layer already exists
19-Feb-2023 03:13:54 3353ee3d6876: Layer already exists
19-Feb-2023 03:13:54 34f73756f7aa: Layer already exists
19-Feb-2023 03:13:54 93d6620f79bb: Layer already exists
19-Feb-2023 03:13:54 8c5ff259ef50: Layer already exists
19-Feb-2023 03:13:54 647dc4000019: Layer already exists
19-Feb-2023 03:13:54 be417e78cadd: Layer already exists
19-Feb-2023 03:13:55 qa: digest: sha256:1250fa060ecaf9c4554dc15083613e7f9ccbcf571cd85bbae90e3088118bf10c size: 4088
19-Feb-2023 03:13:55 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
19-Feb-2023 03:13:55 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
19-Feb-2023 03:13:56 Removing unused images if any
19-Feb-2023 03:13:56 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
19-Feb-2023 03:13:56 Pulling openmrs-referenceapplication-mysql ...
19-Feb-2023 03:13:56 Pulling openmrs-referenceapplication       ...
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication-mysql ... done
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... already exists
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... waiting
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (100.0%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... verifying checksum
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... download complete
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (0.7%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (0.5%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (1.1%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (22.9%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (15.7%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... verifying checksum
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... download complete
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (31.4%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (45.8%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (46.6%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (67.3%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (62.3%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (88.8%)
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... verifying checksum
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... download complete
19-Feb-2023 03:13:57 Pulling openmrs-referenceapplication       ... downloading (77.5%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... downloading (92.2%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (0.7%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... verifying checksum
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... download complete
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (16.0%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (38.2%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (63.1%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (84.7%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... pull complete
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... pull complete
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (0.5%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (16.2%)
19-Feb-2023 03:13:58 Pulling openmrs-referenceapplication       ... extracting (34.4%)
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... extracting (53.7%)
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... extracting (70.4%)
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... extracting (86.6%)
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... pull complete
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... extracting (3.0%)
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... pull complete
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... digest: sha256:1250fa060ecaf9c455...
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
19-Feb-2023 03:13:59 Pulling openmrs-referenceapplication       ... done
19-Feb-2023 03:13:59 Recreating all images and volumes
19-Feb-2023 03:13:59 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
19-Feb-2023 03:13:59 Stopping qa-refapp_openmrs-referenceapplication_1       ...
19-Feb-2023 03:13:59 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
19-Feb-2023 03:14:00 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
19-Feb-2023 03:14:01 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
19-Feb-2023 03:14:01 Removing qa-refapp_openmrs-referenceapplication_1       ...
19-Feb-2023 03:14:01 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
19-Feb-2023 03:14:01 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
19-Feb-2023 03:14:02 Removing qa-refapp_openmrs-referenceapplication_1       ... done
19-Feb-2023 03:14:02 Removing network qa-refapp_default
19-Feb-2023 03:14:02 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
19-Feb-2023 03:14:02 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
19-Feb-2023 03:14:02 Creating network "qa-refapp_default" with the default driver
19-Feb-2023 03:14:02 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
19-Feb-2023 03:14:02 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
19-Feb-2023 03:14:03 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
19-Feb-2023 03:14:03 Creating qa-refapp_openmrs-referenceapplication_1       ...
19-Feb-2023 03:14:04 Creating qa-refapp_openmrs-referenceapplication_1       ... done
19-Feb-2023 03:14:04 Verifying if docker containers 032d9706e639de2c17dfc29b117e84288f68ceb83dfb2026b859d48b1614d1be
19-Feb-2023 03:14:04 a95c05212ee359a96fc11fd399c35a65ba5a8db2b1c16976d36df0c197060e68 are healthy
19-Feb-2023 03:14:04 Status found: "starting"
19-Feb-2023 03:14:04 Waiting 15s
19-Feb-2023 03:14:19 Verifying if docker containers 032d9706e639de2c17dfc29b117e84288f68ceb83dfb2026b859d48b1614d1be
19-Feb-2023 03:14:19 a95c05212ee359a96fc11fd399c35a65ba5a8db2b1c16976d36df0c197060e68 are healthy
19-Feb-2023 03:14:19 Status found: "starting"
19-Feb-2023 03:14:19 Waiting 15s
19-Feb-2023 03:14:34 Verifying if docker containers 032d9706e639de2c17dfc29b117e84288f68ceb83dfb2026b859d48b1614d1be
19-Feb-2023 03:14:34 a95c05212ee359a96fc11fd399c35a65ba5a8db2b1c16976d36df0c197060e68 are healthy
19-Feb-2023 03:14:34 Status found: "healthy"
19-Feb-2023 03:14:34 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
19-Feb-2023 03:14:34 Running post build plugin 'Docker Container Cleanup'
19-Feb-2023 03:14:34 Running post build plugin 'NCover Results Collector'
19-Feb-2023 03:14:34 Running post build plugin 'Build Results Label Collector'
19-Feb-2023 03:14:34 Running post build plugin 'Clover Results Collector'
19-Feb-2023 03:14:34 Running post build plugin 'npm Cache Cleanup'
19-Feb-2023 03:14:34 Running post build plugin 'Artifact Copier'
19-Feb-2023 03:14:34 Finalising the build...
19-Feb-2023 03:14:34 Stopping timer.
19-Feb-2023 03:14:34 Build REFAPP-OMODDISTRO-DTMTS-13487 completed.
19-Feb-2023 03:14:34 Running on server: post build plugin 'Build Hanging Detection Configuration'
19-Feb-2023 03:14:34 Running on server: post build plugin 'NCover Results Collector'
19-Feb-2023 03:14:34 Running on server: post build plugin 'Build Labeller'
19-Feb-2023 03:14:34 Running on server: post build plugin 'Clover Delta Calculator'
19-Feb-2023 03:14:34 Running on server: post build plugin 'Maven Dependencies Postprocessor'
19-Feb-2023 03:14:34 All post build plugins have finished
19-Feb-2023 03:14:34 Generating build results summary...
19-Feb-2023 03:14:34 Saving build results to disk...
19-Feb-2023 03:14:34 Store variable context...
19-Feb-2023 03:14:34 Finished building REFAPP-OMODDISTRO-DTMTS-13487.