Deploys Reference Application SNAPSHOT to maven

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

13-Feb-2023 06:43:31 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13470 (REFAPP-OMODDISTRO-DTMTS-13470) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
13-Feb-2023 06:43:31 Remote agent on host yu.openmrs.org
13-Feb-2023 06:43:31 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
13-Feb-2023 06:43:31 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13470 (REFAPP-OMODDISTRO-DTMTS-13470)
13-Feb-2023 06:43:31 Running pre-build action: Build Log Labeller Pre Build Action
13-Feb-2023 06:43:31 Running pre-build action: VCS Version Collector
13-Feb-2023 06:43:31 Running pre-build action: Run Predator
13-Feb-2023 06:43:31 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
13-Feb-2023 06:43:31 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
13-Feb-2023 06:43:31 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2955Mb  345Mb 00:01:57 /usr/lib/jvm/java-8-ope
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    3Mb 00:00:25 /home/bamboo-agent/bamb
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb   10Mb 00:00:03 /sbin/init             
13-Feb-2023 06:43:32 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Initial free space: 2.98283 GB
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
13-Feb-2023 06:43:32 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Maven stable disk freed: 0.3690821 GB, deleted 83 files
13-Feb-2023 06:43:32 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
13-Feb-2023 06:43:32 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Final free space: 3.014473 GB
13-Feb-2023 06:43:32 [PredatorPreBuildAction] Done
13-Feb-2023 06:43:32
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
13-Feb-2023 06:43:32
Substituting password variable: ${bamboo.dockerhub.password}
13-Feb-2023 06:43:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:6152377e36a6e8f5bf5b13a08f4ce9f8ccc8abf5d94f4243a4cf11a2b8f8c4a4
13-Feb-2023 06:43:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:6152377e36a6e8f5bf5b13a08f4ce9f8ccc8abf5d94f4243a4cf11a2b8f8c4a4
13-Feb-2023 06:43:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
13-Feb-2023 06:43:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
13-Feb-2023 06:43:32 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
13-Feb-2023 06:43:32
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13470 (REFAPP-OMODDISTRO-DTMTS-13470)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13470-ScriptBuildTask-7190000646092094549.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
13-Feb-2023 06:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
13-Feb-2023 06:43:32 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
13-Feb-2023 06:43:32 Configure a credential helper to remove this warning. See
13-Feb-2023 06:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
13-Feb-2023 06:43:32
13-Feb-2023 06:43:32 Login Succeeded
13-Feb-2023 06:43:32 + docker pull openmrs/openmrs-reference-application@sha256:6152377e36a6e8f5bf5b13a08f4ce9f8ccc8abf5d94f4243a4cf11a2b8f8c4a4
13-Feb-2023 06:43:33 docker.io/openmrs/openmrs-reference-application@sha256:6152377e36a6e8f5bf5b13a08f4ce9f8ccc8abf5d94f4243a4cf11a2b8f8c4a4: Pulling from openmrs/openmrs-reference-application
13-Feb-2023 06:43:33 Digest: sha256:6152377e36a6e8f5bf5b13a08f4ce9f8ccc8abf5d94f4243a4cf11a2b8f8c4a4
13-Feb-2023 06:43:33 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:6152377e36a6e8f5bf5b13a08f4ce9f8ccc8abf5d94f4243a4cf11a2b8f8c4a4
13-Feb-2023 06:43:33 docker.io/openmrs/openmrs-reference-application@sha256:6152377e36a6e8f5bf5b13a08f4ce9f8ccc8abf5d94f4243a4cf11a2b8f8c4a4
13-Feb-2023 06:43:33 + docker tag openmrs/openmrs-reference-application@sha256:6152377e36a6e8f5bf5b13a08f4ce9f8ccc8abf5d94f4243a4cf11a2b8f8c4a4 openmrs/openmrs-reference-application:qa
13-Feb-2023 06:43:33 + docker push openmrs/openmrs-reference-application:qa
13-Feb-2023 06:43:33 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
13-Feb-2023 06:43:33 edf3bb287f6a: Preparing
13-Feb-2023 06:43:33 a0045b12126d: Preparing
13-Feb-2023 06:43:33 969330a1dde0: Preparing
13-Feb-2023 06:43:33 63cb2d1d6fd5: Preparing
13-Feb-2023 06:43:33 0889049fe275: Preparing
13-Feb-2023 06:43:33 60de0bbda0ed: Preparing
13-Feb-2023 06:43:33 5f70bf18a086: Preparing
13-Feb-2023 06:43:33 b34b6277c81b: Preparing
13-Feb-2023 06:43:33 d0a6a0df9123: Preparing
13-Feb-2023 06:43:33 63bbdb3574ed: Preparing
13-Feb-2023 06:43:33 118873527352: Preparing
13-Feb-2023 06:43:33 3353ee3d6876: Preparing
13-Feb-2023 06:43:33 ab5b3452b7ed: Preparing
13-Feb-2023 06:43:33 34f73756f7aa: Preparing
13-Feb-2023 06:43:33 93d6620f79bb: Preparing
13-Feb-2023 06:43:33 be417e78cadd: Preparing
13-Feb-2023 06:43:33 647dc4000019: Preparing
13-Feb-2023 06:43:33 8c5ff259ef50: Preparing
13-Feb-2023 06:43:33 60de0bbda0ed: Waiting
13-Feb-2023 06:43:33 5f70bf18a086: Waiting
13-Feb-2023 06:43:33 b34b6277c81b: Waiting
13-Feb-2023 06:43:33 d0a6a0df9123: Waiting
13-Feb-2023 06:43:33 63bbdb3574ed: Waiting
13-Feb-2023 06:43:33 118873527352: Waiting
13-Feb-2023 06:43:33 3353ee3d6876: Waiting
13-Feb-2023 06:43:33 ab5b3452b7ed: Waiting
13-Feb-2023 06:43:33 34f73756f7aa: Waiting
13-Feb-2023 06:43:33 93d6620f79bb: Waiting
13-Feb-2023 06:43:33 be417e78cadd: Waiting
13-Feb-2023 06:43:33 647dc4000019: Waiting
13-Feb-2023 06:43:33 8c5ff259ef50: Waiting
13-Feb-2023 06:43:33 0889049fe275: Layer already exists
13-Feb-2023 06:43:33 a0045b12126d: Layer already exists
13-Feb-2023 06:43:33 969330a1dde0: Layer already exists
13-Feb-2023 06:43:33 edf3bb287f6a: Layer already exists
13-Feb-2023 06:43:33 63cb2d1d6fd5: Layer already exists
13-Feb-2023 06:43:33 60de0bbda0ed: Layer already exists
13-Feb-2023 06:43:33 5f70bf18a086: Layer already exists
13-Feb-2023 06:43:33 b34b6277c81b: Layer already exists
13-Feb-2023 06:43:33 d0a6a0df9123: Layer already exists
13-Feb-2023 06:43:33 63bbdb3574ed: Layer already exists
13-Feb-2023 06:43:33 118873527352: Layer already exists
13-Feb-2023 06:43:33 3353ee3d6876: Layer already exists
13-Feb-2023 06:43:33 ab5b3452b7ed: Layer already exists
13-Feb-2023 06:43:33 34f73756f7aa: Layer already exists
13-Feb-2023 06:43:33 93d6620f79bb: Layer already exists
13-Feb-2023 06:43:33 647dc4000019: Layer already exists
13-Feb-2023 06:43:33 be417e78cadd: Layer already exists
13-Feb-2023 06:43:33 8c5ff259ef50: Layer already exists
13-Feb-2023 06:43:34 qa: digest: sha256:c3829c8893ab87d1fc35f30fe0a992ae0295f6aabb01089fbdf4a09d5250bf80 size: 4088
13-Feb-2023 06:43:34 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
13-Feb-2023 06:43:34 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
13-Feb-2023 06:43:34 Removing unused images if any
13-Feb-2023 06:43:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication-mysql ...
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ...
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication-mysql ... done
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... waiting
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... downloading (100.0%)
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... verifying checksum
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... download complete
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... downloading (0.7%)
13-Feb-2023 06:43:35 Pulling openmrs-referenceapplication       ... downloading (0.5%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (1.1%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (17.5%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (15.2%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... verifying checksum
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... download complete
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (35.0%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (28.5%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (48.4%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (40.3%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (67.3%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (53.0%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (84.7%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (65.3%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... verifying checksum
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... download complete
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (79.5%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... extracting (0.7%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... downloading (92.8%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... extracting (21.5%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... verifying checksum
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... download complete
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... extracting (40.2%)
13-Feb-2023 06:43:36 Pulling openmrs-referenceapplication       ... extracting (57.6%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (79.8%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... pull complete
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... pull complete
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (0.5%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (20.8%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (40.0%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (58.8%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (76.0%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (92.2%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... pull complete
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (3.0%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 06:43:37 Pulling openmrs-referenceapplication       ... pull complete
13-Feb-2023 06:43:38 Pulling openmrs-referenceapplication       ... digest: sha256:c3829c8893ab87d1fc...
13-Feb-2023 06:43:38 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
13-Feb-2023 06:43:38 Pulling openmrs-referenceapplication       ... done
13-Feb-2023 06:43:38 Recreating all images and volumes
13-Feb-2023 06:43:38 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Feb-2023 06:43:38 Stopping qa-refapp_openmrs-referenceapplication_1       ...
13-Feb-2023 06:43:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Feb-2023 06:43:38 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
13-Feb-2023 06:43:40 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Feb-2023 06:43:40 Removing qa-refapp_openmrs-referenceapplication_1       ...
13-Feb-2023 06:43:40 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Feb-2023 06:43:40 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Feb-2023 06:43:41 Removing qa-refapp_openmrs-referenceapplication_1       ... done
13-Feb-2023 06:43:41 Removing network qa-refapp_default
13-Feb-2023 06:43:41 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
13-Feb-2023 06:43:41 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Feb-2023 06:43:41 Creating network "qa-refapp_default" with the default driver
13-Feb-2023 06:43:41 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
13-Feb-2023 06:43:41 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Feb-2023 06:43:42 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Feb-2023 06:43:42 Creating qa-refapp_openmrs-referenceapplication_1       ...
13-Feb-2023 06:43:42 Creating qa-refapp_openmrs-referenceapplication_1       ... done
13-Feb-2023 06:43:43 Verifying if docker containers ad60405fd1747bedd8caf47167005e3d3b904663742815ee38da58bdf895394d
13-Feb-2023 06:43:43 36ffb9d20619597a70757f822abcd6ad73e9f49e02ebf94cb26c783adbd59533 are healthy
13-Feb-2023 06:43:43 Status found: "starting"
13-Feb-2023 06:43:43 Waiting 15s
13-Feb-2023 06:43:58 Verifying if docker containers ad60405fd1747bedd8caf47167005e3d3b904663742815ee38da58bdf895394d
13-Feb-2023 06:43:58 36ffb9d20619597a70757f822abcd6ad73e9f49e02ebf94cb26c783adbd59533 are healthy
13-Feb-2023 06:43:58 Status found: "starting"
13-Feb-2023 06:43:58 Waiting 15s
13-Feb-2023 06:44:13 Verifying if docker containers ad60405fd1747bedd8caf47167005e3d3b904663742815ee38da58bdf895394d
13-Feb-2023 06:44:13 36ffb9d20619597a70757f822abcd6ad73e9f49e02ebf94cb26c783adbd59533 are healthy
13-Feb-2023 06:44:13 Status found: "healthy"
13-Feb-2023 06:44:13 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
13-Feb-2023 06:44:13 Running post build plugin 'Docker Container Cleanup'
13-Feb-2023 06:44:13 Running post build plugin 'NCover Results Collector'
13-Feb-2023 06:44:13 Running post build plugin 'Build Results Label Collector'
13-Feb-2023 06:44:13 Running post build plugin 'Clover Results Collector'
13-Feb-2023 06:44:13 Running post build plugin 'npm Cache Cleanup'
13-Feb-2023 06:44:13 Running post build plugin 'Artifact Copier'
13-Feb-2023 06:44:13 Finalising the build...
13-Feb-2023 06:44:13 Stopping timer.
13-Feb-2023 06:44:13 Build REFAPP-OMODDISTRO-DTMTS-13470 completed.
13-Feb-2023 06:44:13 Running on server: post build plugin 'Build Hanging Detection Configuration'
13-Feb-2023 06:44:13 Running on server: post build plugin 'NCover Results Collector'
13-Feb-2023 06:44:13 Running on server: post build plugin 'Build Labeller'
13-Feb-2023 06:44:13 Running on server: post build plugin 'Clover Delta Calculator'
13-Feb-2023 06:44:13 Running on server: post build plugin 'Maven Dependencies Postprocessor'
13-Feb-2023 06:44:13 All post build plugins have finished
13-Feb-2023 06:44:13 Generating build results summary...
13-Feb-2023 06:44:13 Saving build results to disk...
13-Feb-2023 06:44:13 Store variable context...
13-Feb-2023 06:44:13 Finished building REFAPP-OMODDISTRO-DTMTS-13470.