Deploys Reference Application SNAPSHOT to maven

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

13-Jan-2023 00:12:57 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13387 (REFAPP-OMODDISTRO-DTMTS-13387) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
13-Jan-2023 00:12:57 Remote agent on host xiao.openmrs.org
13-Jan-2023 00:12:57 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
13-Jan-2023 00:12:57 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13387 (REFAPP-OMODDISTRO-DTMTS-13387)
13-Jan-2023 00:12:57 Running pre-build action: Build Log Labeller Pre Build Action
13-Jan-2023 00:12:57 Running pre-build action: VCS Version Collector
13-Jan-2023 00:12:57 Running pre-build action: Run Predator
13-Jan-2023 00:12:57 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
13-Jan-2023 00:12:57 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
13-Jan-2023 00:12:57 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
13-Jan-2023 00:12:57 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
13-Jan-2023 00:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 62078 java        1474 bamboo-age 2977Mb  487Mb 00:09:14 /usr/lib/jvm/java-8-ope
13-Jan-2023 00:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1474 wrapper        1 bamboo-age   16Mb    3Mb 00:17:50 /home/bamboo-agent/bamb
13-Jan-2023 00:12:57 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:13:27 /sbin/init             
13-Jan-2023 00:12:57 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
13-Jan-2023 00:12:57 [PredatorPreBuildAction] Initial free space: 2.7179222 GB
13-Jan-2023 00:12:57 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
13-Jan-2023 00:12:59 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
13-Jan-2023 00:12:59 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
13-Jan-2023 00:12:59 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
13-Jan-2023 00:13:00 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
13-Jan-2023 00:13:00 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
13-Jan-2023 00:13:00 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
13-Jan-2023 00:13:00 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
13-Jan-2023 00:13:00 [PredatorPreBuildAction] Final free space: 2.7495575 GB
13-Jan-2023 00:13:00 [PredatorPreBuildAction] Done
13-Jan-2023 00:13:00
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
13-Jan-2023 00:13:00
Substituting password variable: ${bamboo.dockerhub.password}
13-Jan-2023 00:13:00
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:61b63fc75b0d086960526cb8a834fd7d8a34dea8c47ceecb1c77f9b9f237cd08
13-Jan-2023 00:13:00
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:61b63fc75b0d086960526cb8a834fd7d8a34dea8c47ceecb1c77f9b9f237cd08
13-Jan-2023 00:13:00
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
13-Jan-2023 00:13:00
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
13-Jan-2023 00:13:00 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
13-Jan-2023 00:13:00
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13387 (REFAPP-OMODDISTRO-DTMTS-13387)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13387-ScriptBuildTask-6038367771038552528.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
13-Jan-2023 00:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
13-Jan-2023 00:13:00 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
13-Jan-2023 00:13:00 Configure a credential helper to remove this warning. See
13-Jan-2023 00:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
13-Jan-2023 00:13:00
13-Jan-2023 00:13:00 Login Succeeded
13-Jan-2023 00:13:00 + docker pull openmrs/openmrs-reference-application@sha256:61b63fc75b0d086960526cb8a834fd7d8a34dea8c47ceecb1c77f9b9f237cd08
13-Jan-2023 00:13:00 docker.io/openmrs/openmrs-reference-application@sha256:61b63fc75b0d086960526cb8a834fd7d8a34dea8c47ceecb1c77f9b9f237cd08: Pulling from openmrs/openmrs-reference-application
13-Jan-2023 00:13:00 Digest: sha256:61b63fc75b0d086960526cb8a834fd7d8a34dea8c47ceecb1c77f9b9f237cd08
13-Jan-2023 00:13:00 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:61b63fc75b0d086960526cb8a834fd7d8a34dea8c47ceecb1c77f9b9f237cd08
13-Jan-2023 00:13:00 docker.io/openmrs/openmrs-reference-application@sha256:61b63fc75b0d086960526cb8a834fd7d8a34dea8c47ceecb1c77f9b9f237cd08
13-Jan-2023 00:13:00 + docker tag openmrs/openmrs-reference-application@sha256:61b63fc75b0d086960526cb8a834fd7d8a34dea8c47ceecb1c77f9b9f237cd08 openmrs/openmrs-reference-application:qa
13-Jan-2023 00:13:00 + docker push openmrs/openmrs-reference-application:qa
13-Jan-2023 00:13:00 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
13-Jan-2023 00:13:00 f89264a73a05: Preparing
13-Jan-2023 00:13:00 63508b51069e: Preparing
13-Jan-2023 00:13:00 e895b2714abc: Preparing
13-Jan-2023 00:13:00 d6d3d7c3fe38: Preparing
13-Jan-2023 00:13:00 72d9ec969e5b: Preparing
13-Jan-2023 00:13:00 6fdd21bc4a9b: Preparing
13-Jan-2023 00:13:00 5f70bf18a086: Preparing
13-Jan-2023 00:13:00 b7243530d918: Preparing
13-Jan-2023 00:13:00 23323df4fbd9: Preparing
13-Jan-2023 00:13:00 725ecc0c9d62: Preparing
13-Jan-2023 00:13:00 6c1f45cb6682: Preparing
13-Jan-2023 00:13:00 b8aa9430b356: Preparing
13-Jan-2023 00:13:00 b46e16032f56: Preparing
13-Jan-2023 00:13:00 91ac82815b04: Preparing
13-Jan-2023 00:13:00 24fcda5a8b17: Preparing
13-Jan-2023 00:13:00 a4a7e924299e: Preparing
13-Jan-2023 00:13:00 059c2d42be74: Preparing
13-Jan-2023 00:13:00 3f800aca2a44: Preparing
13-Jan-2023 00:13:00 6fdd21bc4a9b: Waiting
13-Jan-2023 00:13:00 5f70bf18a086: Waiting
13-Jan-2023 00:13:00 b7243530d918: Waiting
13-Jan-2023 00:13:00 23323df4fbd9: Waiting
13-Jan-2023 00:13:00 725ecc0c9d62: Waiting
13-Jan-2023 00:13:00 6c1f45cb6682: Waiting
13-Jan-2023 00:13:00 b8aa9430b356: Waiting
13-Jan-2023 00:13:00 b46e16032f56: Waiting
13-Jan-2023 00:13:00 91ac82815b04: Waiting
13-Jan-2023 00:13:00 24fcda5a8b17: Waiting
13-Jan-2023 00:13:00 a4a7e924299e: Waiting
13-Jan-2023 00:13:00 059c2d42be74: Waiting
13-Jan-2023 00:13:00 3f800aca2a44: Waiting
13-Jan-2023 00:13:00 72d9ec969e5b: Layer already exists
13-Jan-2023 00:13:00 f89264a73a05: Layer already exists
13-Jan-2023 00:13:00 e895b2714abc: Layer already exists
13-Jan-2023 00:13:00 d6d3d7c3fe38: Layer already exists
13-Jan-2023 00:13:00 63508b51069e: Layer already exists
13-Jan-2023 00:13:01 6fdd21bc4a9b: Layer already exists
13-Jan-2023 00:13:01 5f70bf18a086: Layer already exists
13-Jan-2023 00:13:01 23323df4fbd9: Layer already exists
13-Jan-2023 00:13:01 725ecc0c9d62: Layer already exists
13-Jan-2023 00:13:01 b7243530d918: Layer already exists
13-Jan-2023 00:13:01 6c1f45cb6682: Layer already exists
13-Jan-2023 00:13:01 b8aa9430b356: Layer already exists
13-Jan-2023 00:13:01 91ac82815b04: Layer already exists
13-Jan-2023 00:13:01 b46e16032f56: Layer already exists
13-Jan-2023 00:13:01 24fcda5a8b17: Layer already exists
13-Jan-2023 00:13:01 a4a7e924299e: Layer already exists
13-Jan-2023 00:13:01 059c2d42be74: Layer already exists
13-Jan-2023 00:13:01 3f800aca2a44: Layer already exists
13-Jan-2023 00:13:01 qa: digest: sha256:cc0dd4e82964b05cf2f4bb093357ff32ffb599c2aefbeea9a54c69d61109322f size: 4088
13-Jan-2023 00:13:01 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
13-Jan-2023 00:13:01 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
13-Jan-2023 00:13:02 Removing unused images if any
13-Jan-2023 00:13:03 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication-mysql ...
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ...
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication-mysql ... done
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... already exists
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... waiting
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... downloading (100.0%)
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... verifying checksum
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... download complete
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... downloading (0.5%)
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... downloading (0.7%)
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... downloading (1.1%)
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... downloading (16.7%)
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... verifying checksum
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... download complete
13-Jan-2023 00:13:03 Pulling openmrs-referenceapplication       ... downloading (18.8%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... downloading (31.9%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... downloading (39.0%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... downloading (47.1%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... downloading (60.5%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... downloading (61.3%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... downloading (80.6%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... downloading (77.0%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... verifying checksum
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... download complete
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... downloading (91.8%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... extracting (0.7%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... verifying checksum
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... download complete
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... extracting (28.5%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... extracting (53.4%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... extracting (80.5%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... pull complete
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Jan-2023 00:13:04 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... pull complete
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (0.5%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (9.1%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (21.8%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (40.5%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (59.3%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (79.0%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (95.2%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... pull complete
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (3.0%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... pull complete
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... digest: sha256:cc0dd4e82964b05cf2...
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
13-Jan-2023 00:13:05 Pulling openmrs-referenceapplication       ... done
13-Jan-2023 00:13:05 Recreating all images and volumes
13-Jan-2023 00:13:06 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Jan-2023 00:13:06 Stopping qa-refapp_openmrs-referenceapplication_1       ...
13-Jan-2023 00:13:06 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Jan-2023 00:13:06 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
13-Jan-2023 00:13:08 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Jan-2023 00:13:08 Removing qa-refapp_openmrs-referenceapplication_1       ...
13-Jan-2023 00:13:08 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Jan-2023 00:13:08 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Jan-2023 00:13:09 Removing qa-refapp_openmrs-referenceapplication_1       ... done
13-Jan-2023 00:13:09 Removing network qa-refapp_default
13-Jan-2023 00:13:09 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
13-Jan-2023 00:13:09 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Jan-2023 00:13:09 Creating network "qa-refapp_default" with the default driver
13-Jan-2023 00:13:09 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
13-Jan-2023 00:13:09 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Jan-2023 00:13:10 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Jan-2023 00:13:10 Creating qa-refapp_openmrs-referenceapplication_1       ...
13-Jan-2023 00:13:10 Creating qa-refapp_openmrs-referenceapplication_1       ... done
13-Jan-2023 00:13:11 Verifying if docker containers 70c2d868acc832dc844c2ecfd4cbeab9d3bf7dfc6339594d4dedfceb3e519f37
13-Jan-2023 00:13:11 20fb46d810349e65615cb1d5946a217176ec4b58f874b2dbc73d388f2aa80a6a are healthy
13-Jan-2023 00:13:11 Status found: "starting"
13-Jan-2023 00:13:11 Waiting 15s
13-Jan-2023 00:13:26 Verifying if docker containers 70c2d868acc832dc844c2ecfd4cbeab9d3bf7dfc6339594d4dedfceb3e519f37
13-Jan-2023 00:13:26 20fb46d810349e65615cb1d5946a217176ec4b58f874b2dbc73d388f2aa80a6a are healthy
13-Jan-2023 00:13:26 Status found: "starting"
13-Jan-2023 00:13:26 Waiting 15s
13-Jan-2023 00:13:41 Verifying if docker containers 70c2d868acc832dc844c2ecfd4cbeab9d3bf7dfc6339594d4dedfceb3e519f37
13-Jan-2023 00:13:41 20fb46d810349e65615cb1d5946a217176ec4b58f874b2dbc73d388f2aa80a6a are healthy
13-Jan-2023 00:13:41 Status found: "healthy"
13-Jan-2023 00:13:41 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
13-Jan-2023 00:13:41 Running post build plugin 'Docker Container Cleanup'
13-Jan-2023 00:13:41 Running post build plugin 'NCover Results Collector'
13-Jan-2023 00:13:41 Running post build plugin 'Build Results Label Collector'
13-Jan-2023 00:13:41 Running post build plugin 'Clover Results Collector'
13-Jan-2023 00:13:41 Running post build plugin 'npm Cache Cleanup'
13-Jan-2023 00:13:41 Running post build plugin 'Artifact Copier'
13-Jan-2023 00:13:41 Finalising the build...
13-Jan-2023 00:13:41 Stopping timer.
13-Jan-2023 00:13:41 Build REFAPP-OMODDISTRO-DTMTS-13387 completed.
13-Jan-2023 00:13:41 Running on server: post build plugin 'Build Hanging Detection Configuration'
13-Jan-2023 00:13:41 Running on server: post build plugin 'NCover Results Collector'
13-Jan-2023 00:13:41 Running on server: post build plugin 'Build Labeller'
13-Jan-2023 00:13:41 Running on server: post build plugin 'Clover Delta Calculator'
13-Jan-2023 00:13:41 Running on server: post build plugin 'Maven Dependencies Postprocessor'
13-Jan-2023 00:13:41 All post build plugins have finished
13-Jan-2023 00:13:41 Generating build results summary...
13-Jan-2023 00:13:41 Saving build results to disk...
13-Jan-2023 00:13:41 Store variable context...
13-Jan-2023 00:13:41 Finished building REFAPP-OMODDISTRO-DTMTS-13387.