Deploys Reference Application SNAPSHOT to maven

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

27-Feb-2023 00:13:25 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13517 (REFAPP-OMODDISTRO-DTMTS-13517) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
27-Feb-2023 00:13:25 Remote agent on host yu.openmrs.org
27-Feb-2023 00:13:25 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Feb-2023 00:13:25 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13517 (REFAPP-OMODDISTRO-DTMTS-13517)
27-Feb-2023 00:13:25 Running pre-build action: Build Log Labeller Pre Build Action
27-Feb-2023 00:13:25 Running pre-build action: VCS Version Collector
27-Feb-2023 00:13:25 Running pre-build action: Run Predator
27-Feb-2023 00:13:25 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
27-Feb-2023 00:13:25 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
27-Feb-2023 00:13:25 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
27-Feb-2023 00:13:25 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
27-Feb-2023 00:13:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2977Mb  582Mb 00:24:25 /usr/lib/jvm/java-8-ope
27-Feb-2023 00:13:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    1Mb 00:06:31 /home/bamboo-agent/bamb
27-Feb-2023 00:13:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:00:56 /sbin/init             
27-Feb-2023 00:13:25 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
27-Feb-2023 00:13:25 [PredatorPreBuildAction] Initial free space: 4.799225 GB
27-Feb-2023 00:13:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
27-Feb-2023 00:13:30 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
27-Feb-2023 00:13:30 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
27-Feb-2023 00:13:30 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
27-Feb-2023 00:13:30 [PredatorPreBuildAction] Maven stable disk freed: 0.5291418 GB, deleted 148 files
27-Feb-2023 00:13:30 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
27-Feb-2023 00:13:30 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
27-Feb-2023 00:13:30 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
27-Feb-2023 00:13:30 [PredatorPreBuildAction] Final free space: 4.830883 GB
27-Feb-2023 00:13:30 [PredatorPreBuildAction] Done
27-Feb-2023 00:13:30
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
27-Feb-2023 00:13:30
Substituting password variable: ${bamboo.dockerhub.password}
27-Feb-2023 00:13:30
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:24649facacb984803e61ac8fc0a545f56d7e0c67660c35d89ca40c5a4838b12b
27-Feb-2023 00:13:30
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:24649facacb984803e61ac8fc0a545f56d7e0c67660c35d89ca40c5a4838b12b
27-Feb-2023 00:13:30
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Feb-2023 00:13:30
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
27-Feb-2023 00:13:30 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
27-Feb-2023 00:13:30
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13517 (REFAPP-OMODDISTRO-DTMTS-13517)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13517-ScriptBuildTask-7576100376885012147.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
27-Feb-2023 00:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
27-Feb-2023 00:13:31 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
27-Feb-2023 00:13:31 Configure a credential helper to remove this warning. See
27-Feb-2023 00:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
27-Feb-2023 00:13:31
27-Feb-2023 00:13:31 Login Succeeded
27-Feb-2023 00:13:31 + docker pull openmrs/openmrs-reference-application@sha256:24649facacb984803e61ac8fc0a545f56d7e0c67660c35d89ca40c5a4838b12b
27-Feb-2023 00:13:31 docker.io/openmrs/openmrs-reference-application@sha256:24649facacb984803e61ac8fc0a545f56d7e0c67660c35d89ca40c5a4838b12b: Pulling from openmrs/openmrs-reference-application
27-Feb-2023 00:13:31 Digest: sha256:24649facacb984803e61ac8fc0a545f56d7e0c67660c35d89ca40c5a4838b12b
27-Feb-2023 00:13:31 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:24649facacb984803e61ac8fc0a545f56d7e0c67660c35d89ca40c5a4838b12b
27-Feb-2023 00:13:31 docker.io/openmrs/openmrs-reference-application@sha256:24649facacb984803e61ac8fc0a545f56d7e0c67660c35d89ca40c5a4838b12b
27-Feb-2023 00:13:31 + docker tag openmrs/openmrs-reference-application@sha256:24649facacb984803e61ac8fc0a545f56d7e0c67660c35d89ca40c5a4838b12b openmrs/openmrs-reference-application:qa
27-Feb-2023 00:13:31 + docker push openmrs/openmrs-reference-application:qa
27-Feb-2023 00:13:31 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
27-Feb-2023 00:13:31 e30e64399edb: Preparing
27-Feb-2023 00:13:31 64371e893071: Preparing
27-Feb-2023 00:13:31 130ebb413ec4: Preparing
27-Feb-2023 00:13:31 c9f7cf2323a0: Preparing
27-Feb-2023 00:13:31 94320e494a71: Preparing
27-Feb-2023 00:13:31 83487e6b4d35: Preparing
27-Feb-2023 00:13:31 5f70bf18a086: Preparing
27-Feb-2023 00:13:31 3a0a712f14cd: Preparing
27-Feb-2023 00:13:31 ec12c383224a: Preparing
27-Feb-2023 00:13:31 972fd81d4522: Preparing
27-Feb-2023 00:13:31 acdca9f9d8c6: Preparing
27-Feb-2023 00:13:31 e495071bc744: Preparing
27-Feb-2023 00:13:31 490c7563a936: Preparing
27-Feb-2023 00:13:31 a1398fefb962: Preparing
27-Feb-2023 00:13:31 cea396b9c0a2: Preparing
27-Feb-2023 00:13:31 1ea74e906b64: Preparing
27-Feb-2023 00:13:31 ef7c5fe2cbbc: Preparing
27-Feb-2023 00:13:31 c895c159af86: Preparing
27-Feb-2023 00:13:31 83487e6b4d35: Waiting
27-Feb-2023 00:13:31 5f70bf18a086: Waiting
27-Feb-2023 00:13:31 3a0a712f14cd: Waiting
27-Feb-2023 00:13:31 ec12c383224a: Waiting
27-Feb-2023 00:13:31 972fd81d4522: Waiting
27-Feb-2023 00:13:31 acdca9f9d8c6: Waiting
27-Feb-2023 00:13:31 e495071bc744: Waiting
27-Feb-2023 00:13:31 490c7563a936: Waiting
27-Feb-2023 00:13:31 a1398fefb962: Waiting
27-Feb-2023 00:13:31 cea396b9c0a2: Waiting
27-Feb-2023 00:13:31 1ea74e906b64: Waiting
27-Feb-2023 00:13:31 ef7c5fe2cbbc: Waiting
27-Feb-2023 00:13:31 c895c159af86: Waiting
27-Feb-2023 00:13:31 130ebb413ec4: Layer already exists
27-Feb-2023 00:13:31 94320e494a71: Layer already exists
27-Feb-2023 00:13:31 64371e893071: Layer already exists
27-Feb-2023 00:13:31 e30e64399edb: Layer already exists
27-Feb-2023 00:13:31 c9f7cf2323a0: Layer already exists
27-Feb-2023 00:13:31 83487e6b4d35: Layer already exists
27-Feb-2023 00:13:31 5f70bf18a086: Layer already exists
27-Feb-2023 00:13:31 3a0a712f14cd: Layer already exists
27-Feb-2023 00:13:31 ec12c383224a: Layer already exists
27-Feb-2023 00:13:31 972fd81d4522: Layer already exists
27-Feb-2023 00:13:31 acdca9f9d8c6: Layer already exists
27-Feb-2023 00:13:32 e495071bc744: Layer already exists
27-Feb-2023 00:13:32 490c7563a936: Layer already exists
27-Feb-2023 00:13:32 a1398fefb962: Layer already exists
27-Feb-2023 00:13:32 cea396b9c0a2: Layer already exists
27-Feb-2023 00:13:32 1ea74e906b64: Layer already exists
27-Feb-2023 00:13:32 ef7c5fe2cbbc: Layer already exists
27-Feb-2023 00:13:32 c895c159af86: Layer already exists
27-Feb-2023 00:13:32 qa: digest: sha256:3c7752391cb98b06989f96af6d507e2344208b181f85d2d6e284f876495c0ac0 size: 4088
27-Feb-2023 00:13:32 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
27-Feb-2023 00:13:32 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
27-Feb-2023 00:13:33 Removing unused images if any
27-Feb-2023 00:13:33 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication-mysql ...
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ...
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication-mysql ... done
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... already exists
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... pulling fs layer
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... waiting
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... downloading (95.4%)
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... download complete
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... downloading (0.5%)
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... downloading (0.7%)
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... downloading (14.2%)
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... downloading (1.1%)
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... verifying checksum
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... download complete
27-Feb-2023 00:13:34 Pulling openmrs-referenceapplication       ... downloading (14.4%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (26.0%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (32.1%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (38.7%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (49.2%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (51.0%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (68.4%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (62.7%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (86.1%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (75.0%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... verifying checksum
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... download complete
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (86.8%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... downloading (97.5%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... extracting (0.7%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... download complete
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... extracting (20.5%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... extracting (41.6%)
27-Feb-2023 00:13:35 Pulling openmrs-referenceapplication       ... extracting (59.2%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (81.1%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... pull complete
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... pull complete
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (0.5%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (17.7%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (39.0%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (56.2%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (73.4%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (89.6%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... pull complete
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (3.0%)
27-Feb-2023 00:13:36 Pulling openmrs-referenceapplication       ... extracting (100.0%)
27-Feb-2023 00:13:37 Pulling openmrs-referenceapplication       ... pull complete
27-Feb-2023 00:13:37 Pulling openmrs-referenceapplication       ... digest: sha256:3c7752391cb98b0698...
27-Feb-2023 00:13:37 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
27-Feb-2023 00:13:37 Pulling openmrs-referenceapplication       ... done
27-Feb-2023 00:13:37 Recreating all images and volumes
27-Feb-2023 00:13:37 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Feb-2023 00:13:37 Stopping qa-refapp_openmrs-referenceapplication_1       ...
27-Feb-2023 00:13:37 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Feb-2023 00:13:38 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
27-Feb-2023 00:13:40 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Feb-2023 00:13:40 Removing qa-refapp_openmrs-referenceapplication_1       ...
27-Feb-2023 00:13:40 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Feb-2023 00:13:40 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Feb-2023 00:13:40 Removing qa-refapp_openmrs-referenceapplication_1       ... done
27-Feb-2023 00:13:40 Removing network qa-refapp_default
27-Feb-2023 00:13:41 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
27-Feb-2023 00:13:41 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
27-Feb-2023 00:13:41 Creating network "qa-refapp_default" with the default driver
27-Feb-2023 00:13:41 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
27-Feb-2023 00:13:41 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
27-Feb-2023 00:13:42 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
27-Feb-2023 00:13:42 Creating qa-refapp_openmrs-referenceapplication_1       ...
27-Feb-2023 00:13:42 Creating qa-refapp_openmrs-referenceapplication_1       ... done
27-Feb-2023 00:13:43 Verifying if docker containers faf00a4bcb10e72d3be1950873b67c641fabba3c99c021628fcae6b956097ffe
27-Feb-2023 00:13:43 9552594d802fbe135465055d935d6d9a230a37751376ba5926c2344dfce61b96 are healthy
27-Feb-2023 00:13:43 Status found: "starting"
27-Feb-2023 00:13:43 Waiting 15s
27-Feb-2023 00:13:58 Verifying if docker containers faf00a4bcb10e72d3be1950873b67c641fabba3c99c021628fcae6b956097ffe
27-Feb-2023 00:13:58 9552594d802fbe135465055d935d6d9a230a37751376ba5926c2344dfce61b96 are healthy
27-Feb-2023 00:13:58 Status found: "starting"
27-Feb-2023 00:13:58 Waiting 15s
27-Feb-2023 00:14:13 Verifying if docker containers faf00a4bcb10e72d3be1950873b67c641fabba3c99c021628fcae6b956097ffe
27-Feb-2023 00:14:13 9552594d802fbe135465055d935d6d9a230a37751376ba5926c2344dfce61b96 are healthy
27-Feb-2023 00:14:13 Status found: "healthy"
27-Feb-2023 00:14:13 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
27-Feb-2023 00:14:13 Running post build plugin 'Docker Container Cleanup'
27-Feb-2023 00:14:13 Running post build plugin 'NCover Results Collector'
27-Feb-2023 00:14:13 Running post build plugin 'Build Results Label Collector'
27-Feb-2023 00:14:13 Running post build plugin 'Clover Results Collector'
27-Feb-2023 00:14:13 Running post build plugin 'npm Cache Cleanup'
27-Feb-2023 00:14:13 Running post build plugin 'Artifact Copier'
27-Feb-2023 00:14:13 Finalising the build...
27-Feb-2023 00:14:13 Stopping timer.
27-Feb-2023 00:14:13 Build REFAPP-OMODDISTRO-DTMTS-13517 completed.
27-Feb-2023 00:14:13 Running on server: post build plugin 'Build Hanging Detection Configuration'
27-Feb-2023 00:14:13 Running on server: post build plugin 'NCover Results Collector'
27-Feb-2023 00:14:13 Running on server: post build plugin 'Build Labeller'
27-Feb-2023 00:14:13 Running on server: post build plugin 'Clover Delta Calculator'
27-Feb-2023 00:14:13 Running on server: post build plugin 'Maven Dependencies Postprocessor'
27-Feb-2023 00:14:13 All post build plugins have finished
27-Feb-2023 00:14:13 Generating build results summary...
27-Feb-2023 00:14:13 Saving build results to disk...
27-Feb-2023 00:14:13 Store variable context...
27-Feb-2023 00:14:13 Finished building REFAPP-OMODDISTRO-DTMTS-13517.