Deploys Reference Application SNAPSHOT to maven

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

04-Feb-2023 00:13:03 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13442 (REFAPP-OMODDISTRO-DTMTS-13442) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
04-Feb-2023 00:13:03 Remote agent on host xindi.openmrs.org
04-Feb-2023 00:13:03 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
04-Feb-2023 00:13:03 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13442 (REFAPP-OMODDISTRO-DTMTS-13442)
04-Feb-2023 00:13:03 Running pre-build action: Build Log Labeller Pre Build Action
04-Feb-2023 00:13:03 Running pre-build action: VCS Version Collector
04-Feb-2023 00:13:03 Running pre-build action: Run Predator
04-Feb-2023 00:13:03 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
04-Feb-2023 00:13:03 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
04-Feb-2023 00:13:03 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
04-Feb-2023 00:13:03 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
04-Feb-2023 00:13:03 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 11218 java        1484 bamboo-age 2976Mb  476Mb 00:07:52 /usr/lib/jvm/java-8-ope
04-Feb-2023 00:13:03 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    2Mb 00:09:10 /home/bamboo-agent/bamb
04-Feb-2023 00:13:03 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:04:24 /sbin/init             
04-Feb-2023 00:13:03 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
04-Feb-2023 00:13:03 [PredatorPreBuildAction] Initial free space: 3.1848946 GB
04-Feb-2023 00:13:03 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
04-Feb-2023 00:13:05 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
04-Feb-2023 00:13:05 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
04-Feb-2023 00:13:05 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
04-Feb-2023 00:13:05 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
04-Feb-2023 00:13:05 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
04-Feb-2023 00:13:05 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
04-Feb-2023 00:13:05 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
04-Feb-2023 00:13:05 [PredatorPreBuildAction] Final free space: 3.2165375 GB
04-Feb-2023 00:13:05 [PredatorPreBuildAction] Done
04-Feb-2023 00:13:05
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
04-Feb-2023 00:13:05
Substituting password variable: ${bamboo.dockerhub.password}
04-Feb-2023 00:13:05
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:5c4a522f517e1f7a6c315e8e1bc4c2de9e3addb4e4f6beda3a058dabec82769a
04-Feb-2023 00:13:05
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:5c4a522f517e1f7a6c315e8e1bc4c2de9e3addb4e4f6beda3a058dabec82769a
04-Feb-2023 00:13:05
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
04-Feb-2023 00:13:05
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
04-Feb-2023 00:13:05 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
04-Feb-2023 00:13:05
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13442 (REFAPP-OMODDISTRO-DTMTS-13442)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13442-ScriptBuildTask-1357360416806885880.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
04-Feb-2023 00:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
04-Feb-2023 00:13:06 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
04-Feb-2023 00:13:06 Configure a credential helper to remove this warning. See
04-Feb-2023 00:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
04-Feb-2023 00:13:06
04-Feb-2023 00:13:06 Login Succeeded
04-Feb-2023 00:13:06 + docker pull openmrs/openmrs-reference-application@sha256:5c4a522f517e1f7a6c315e8e1bc4c2de9e3addb4e4f6beda3a058dabec82769a
04-Feb-2023 00:13:06 docker.io/openmrs/openmrs-reference-application@sha256:5c4a522f517e1f7a6c315e8e1bc4c2de9e3addb4e4f6beda3a058dabec82769a: Pulling from openmrs/openmrs-reference-application
04-Feb-2023 00:13:06 Digest: sha256:5c4a522f517e1f7a6c315e8e1bc4c2de9e3addb4e4f6beda3a058dabec82769a
04-Feb-2023 00:13:06 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:5c4a522f517e1f7a6c315e8e1bc4c2de9e3addb4e4f6beda3a058dabec82769a
04-Feb-2023 00:13:06 docker.io/openmrs/openmrs-reference-application@sha256:5c4a522f517e1f7a6c315e8e1bc4c2de9e3addb4e4f6beda3a058dabec82769a
04-Feb-2023 00:13:06 + docker tag openmrs/openmrs-reference-application@sha256:5c4a522f517e1f7a6c315e8e1bc4c2de9e3addb4e4f6beda3a058dabec82769a openmrs/openmrs-reference-application:qa
04-Feb-2023 00:13:06 + docker push openmrs/openmrs-reference-application:qa
04-Feb-2023 00:13:06 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
04-Feb-2023 00:13:06 86d6256f13ed: Preparing
04-Feb-2023 00:13:06 291a5efe6468: Preparing
04-Feb-2023 00:13:06 81cac44d85d0: Preparing
04-Feb-2023 00:13:06 97617859ab09: Preparing
04-Feb-2023 00:13:06 b781e920d918: Preparing
04-Feb-2023 00:13:06 60de0bbda0ed: Preparing
04-Feb-2023 00:13:06 5f70bf18a086: Preparing
04-Feb-2023 00:13:06 b34b6277c81b: Preparing
04-Feb-2023 00:13:06 d0a6a0df9123: Preparing
04-Feb-2023 00:13:06 63bbdb3574ed: Preparing
04-Feb-2023 00:13:06 118873527352: Preparing
04-Feb-2023 00:13:06 3353ee3d6876: Preparing
04-Feb-2023 00:13:06 ab5b3452b7ed: Preparing
04-Feb-2023 00:13:06 34f73756f7aa: Preparing
04-Feb-2023 00:13:06 93d6620f79bb: Preparing
04-Feb-2023 00:13:06 be417e78cadd: Preparing
04-Feb-2023 00:13:06 647dc4000019: Preparing
04-Feb-2023 00:13:06 8c5ff259ef50: Preparing
04-Feb-2023 00:13:06 60de0bbda0ed: Waiting
04-Feb-2023 00:13:06 5f70bf18a086: Waiting
04-Feb-2023 00:13:06 b34b6277c81b: Waiting
04-Feb-2023 00:13:06 d0a6a0df9123: Waiting
04-Feb-2023 00:13:06 63bbdb3574ed: Waiting
04-Feb-2023 00:13:06 118873527352: Waiting
04-Feb-2023 00:13:06 3353ee3d6876: Waiting
04-Feb-2023 00:13:06 ab5b3452b7ed: Waiting
04-Feb-2023 00:13:06 34f73756f7aa: Waiting
04-Feb-2023 00:13:06 93d6620f79bb: Waiting
04-Feb-2023 00:13:06 be417e78cadd: Waiting
04-Feb-2023 00:13:06 647dc4000019: Waiting
04-Feb-2023 00:13:06 8c5ff259ef50: Waiting
04-Feb-2023 00:13:06 81cac44d85d0: Layer already exists
04-Feb-2023 00:13:06 b781e920d918: Layer already exists
04-Feb-2023 00:13:06 97617859ab09: Layer already exists
04-Feb-2023 00:13:06 291a5efe6468: Layer already exists
04-Feb-2023 00:13:06 86d6256f13ed: Layer already exists
04-Feb-2023 00:13:06 5f70bf18a086: Layer already exists
04-Feb-2023 00:13:06 60de0bbda0ed: Layer already exists
04-Feb-2023 00:13:06 b34b6277c81b: Layer already exists
04-Feb-2023 00:13:06 d0a6a0df9123: Layer already exists
04-Feb-2023 00:13:06 63bbdb3574ed: Layer already exists
04-Feb-2023 00:13:07 118873527352: Layer already exists
04-Feb-2023 00:13:07 3353ee3d6876: Layer already exists
04-Feb-2023 00:13:07 ab5b3452b7ed: Layer already exists
04-Feb-2023 00:13:07 93d6620f79bb: Layer already exists
04-Feb-2023 00:13:07 34f73756f7aa: Layer already exists
04-Feb-2023 00:13:07 8c5ff259ef50: Layer already exists
04-Feb-2023 00:13:07 647dc4000019: Layer already exists
04-Feb-2023 00:13:07 be417e78cadd: Layer already exists
04-Feb-2023 00:13:07 qa: digest: sha256:d480f071422584af9c72f07bbbbea6c8ad980b18de49cbcd996e7a83f37a288b size: 4088
04-Feb-2023 00:13:07 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
04-Feb-2023 00:13:07 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
04-Feb-2023 00:13:08 Removing unused images if any
04-Feb-2023 00:13:08 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
04-Feb-2023 00:13:08 Pulling openmrs-referenceapplication-mysql ...
04-Feb-2023 00:13:08 Pulling openmrs-referenceapplication       ...
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication-mysql ... done
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... waiting
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... verifying checksum
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... download complete
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (0.7%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (0.5%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (15.5%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (13.2%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (1.1%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... verifying checksum
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... download complete
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (34.3%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (27.4%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (52.4%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (41.6%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (71.2%)
04-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (56.4%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (91.3%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (68.6%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... verifying checksum
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... download complete
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (79.4%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (87.8%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (0.7%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (95.1%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (7.6%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... verifying checksum
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... download complete
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (27.8%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (43.0%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (60.4%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (74.9%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (92.3%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... pull complete
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... pull complete
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (0.5%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (18.7%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (40.0%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (57.2%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (71.9%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (85.1%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (95.7%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... pull complete
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (3.0%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... pull complete
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... digest: sha256:d480f071422584af9c...
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
04-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... done
04-Feb-2023 00:13:11 Recreating all images and volumes
04-Feb-2023 00:13:12 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
04-Feb-2023 00:13:12 Stopping qa-refapp_openmrs-referenceapplication_1       ...
04-Feb-2023 00:13:12 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
04-Feb-2023 00:13:13 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
04-Feb-2023 00:13:14 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
04-Feb-2023 00:13:14 Removing qa-refapp_openmrs-referenceapplication_1       ...
04-Feb-2023 00:13:14 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
04-Feb-2023 00:13:14 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
04-Feb-2023 00:13:16 Removing qa-refapp_openmrs-referenceapplication_1       ... done
04-Feb-2023 00:13:16 Removing network qa-refapp_default
04-Feb-2023 00:13:16 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
04-Feb-2023 00:13:17 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
04-Feb-2023 00:13:17 Creating network "qa-refapp_default" with the default driver
04-Feb-2023 00:13:17 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
04-Feb-2023 00:13:17 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
04-Feb-2023 00:13:17 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
04-Feb-2023 00:13:17 Creating qa-refapp_openmrs-referenceapplication_1       ...
04-Feb-2023 00:13:18 Creating qa-refapp_openmrs-referenceapplication_1       ... done
04-Feb-2023 00:13:18 Verifying if docker containers f063a47aea77474837b61da0e55399f4a11afbfbd1f358b76da78cd7666887a5
04-Feb-2023 00:13:18 972398e8cc7439aac572b22481c84754cf152c92266b2f7b1c732f3fd7ead65a are healthy
04-Feb-2023 00:13:18 Status found: "starting"
04-Feb-2023 00:13:18 Waiting 15s
04-Feb-2023 00:13:33 Verifying if docker containers f063a47aea77474837b61da0e55399f4a11afbfbd1f358b76da78cd7666887a5
04-Feb-2023 00:13:33 972398e8cc7439aac572b22481c84754cf152c92266b2f7b1c732f3fd7ead65a are healthy
04-Feb-2023 00:13:33 Status found: "starting"
04-Feb-2023 00:13:33 Waiting 15s
04-Feb-2023 00:13:48 Verifying if docker containers f063a47aea77474837b61da0e55399f4a11afbfbd1f358b76da78cd7666887a5
04-Feb-2023 00:13:48 972398e8cc7439aac572b22481c84754cf152c92266b2f7b1c732f3fd7ead65a are healthy
04-Feb-2023 00:13:48 Status found: "healthy"
04-Feb-2023 00:13:48 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
04-Feb-2023 00:13:48 Running post build plugin 'Docker Container Cleanup'
04-Feb-2023 00:13:48 Running post build plugin 'NCover Results Collector'
04-Feb-2023 00:13:48 Running post build plugin 'Build Results Label Collector'
04-Feb-2023 00:13:48 Running post build plugin 'Clover Results Collector'
04-Feb-2023 00:13:48 Running post build plugin 'npm Cache Cleanup'
04-Feb-2023 00:13:48 Running post build plugin 'Artifact Copier'
04-Feb-2023 00:13:48 Finalising the build...
04-Feb-2023 00:13:48 Stopping timer.
04-Feb-2023 00:13:48 Build REFAPP-OMODDISTRO-DTMTS-13442 completed.
04-Feb-2023 00:13:48 Running on server: post build plugin 'Build Hanging Detection Configuration'
04-Feb-2023 00:13:48 Running on server: post build plugin 'NCover Results Collector'
04-Feb-2023 00:13:48 Running on server: post build plugin 'Build Labeller'
04-Feb-2023 00:13:48 Running on server: post build plugin 'Clover Delta Calculator'
04-Feb-2023 00:13:49 Running on server: post build plugin 'Maven Dependencies Postprocessor'
04-Feb-2023 00:13:49 All post build plugins have finished
04-Feb-2023 00:13:49 Generating build results summary...
04-Feb-2023 00:13:49 Saving build results to disk...
04-Feb-2023 00:13:49 Store variable context...
04-Feb-2023 00:13:49 Finished building REFAPP-OMODDISTRO-DTMTS-13442.