Deploys Reference Application SNAPSHOT to maven

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

26-Feb-2023 00:13:21 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13515 (REFAPP-OMODDISTRO-DTMTS-13515) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
26-Feb-2023 00:13:21 Remote agent on host xiao.openmrs.org
26-Feb-2023 00:13:21 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Feb-2023 00:13:21 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13515 (REFAPP-OMODDISTRO-DTMTS-13515)
26-Feb-2023 00:13:21 Running pre-build action: Build Log Labeller Pre Build Action
26-Feb-2023 00:13:21 Running pre-build action: VCS Version Collector
26-Feb-2023 00:13:21 Running pre-build action: Run Predator
26-Feb-2023 00:13:21 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-Feb-2023 00:13:21 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
26-Feb-2023 00:13:21 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
26-Feb-2023 00:13:21 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
26-Feb-2023 00:13:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2034 java        1481 bamboo-age 2985Mb  594Mb 00:26:32 /usr/lib/jvm/java-8-ope
26-Feb-2023 00:13:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1481 wrapper        1 bamboo-age   16Mb    1Mb 00:06:45 /home/bamboo-agent/bamb
26-Feb-2023 00:13:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:02:11 /sbin/init             
26-Feb-2023 00:13:21 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
26-Feb-2023 00:13:21 [PredatorPreBuildAction] Initial free space: 2.2780418 GB
26-Feb-2023 00:13:21 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
26-Feb-2023 00:13:24 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
26-Feb-2023 00:13:24 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
26-Feb-2023 00:13:24 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
26-Feb-2023 00:13:25 [PredatorPreBuildAction] Maven stable disk freed: 0.027948381 GB, deleted 458 files
26-Feb-2023 00:13:25 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
26-Feb-2023 00:13:25 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
26-Feb-2023 00:13:25 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
26-Feb-2023 00:13:25 [PredatorPreBuildAction] Final free space: 2.3097076 GB
26-Feb-2023 00:13:25 [PredatorPreBuildAction] Done
26-Feb-2023 00:13:25
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
26-Feb-2023 00:13:25
Substituting password variable: ${bamboo.dockerhub.password}
26-Feb-2023 00:13:25
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:361e3e166aaaf21570ebf9b83cee617b3854de752b9ee8ee5cd6b1716ee0e9f8
26-Feb-2023 00:13:25
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:361e3e166aaaf21570ebf9b83cee617b3854de752b9ee8ee5cd6b1716ee0e9f8
26-Feb-2023 00:13:25
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Feb-2023 00:13:25
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Feb-2023 00:13:25 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
26-Feb-2023 00:13:25
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13515 (REFAPP-OMODDISTRO-DTMTS-13515)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13515-ScriptBuildTask-70249374964970063.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Feb-2023 00:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
26-Feb-2023 00:13:25 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
26-Feb-2023 00:13:25 Configure a credential helper to remove this warning. See
26-Feb-2023 00:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
26-Feb-2023 00:13:25
26-Feb-2023 00:13:25 Login Succeeded
26-Feb-2023 00:13:25 + docker pull openmrs/openmrs-reference-application@sha256:361e3e166aaaf21570ebf9b83cee617b3854de752b9ee8ee5cd6b1716ee0e9f8
26-Feb-2023 00:13:25 docker.io/openmrs/openmrs-reference-application@sha256:361e3e166aaaf21570ebf9b83cee617b3854de752b9ee8ee5cd6b1716ee0e9f8: Pulling from openmrs/openmrs-reference-application
26-Feb-2023 00:13:25 Digest: sha256:361e3e166aaaf21570ebf9b83cee617b3854de752b9ee8ee5cd6b1716ee0e9f8
26-Feb-2023 00:13:25 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:361e3e166aaaf21570ebf9b83cee617b3854de752b9ee8ee5cd6b1716ee0e9f8
26-Feb-2023 00:13:25 docker.io/openmrs/openmrs-reference-application@sha256:361e3e166aaaf21570ebf9b83cee617b3854de752b9ee8ee5cd6b1716ee0e9f8
26-Feb-2023 00:13:25 + docker tag openmrs/openmrs-reference-application@sha256:361e3e166aaaf21570ebf9b83cee617b3854de752b9ee8ee5cd6b1716ee0e9f8 openmrs/openmrs-reference-application:qa
26-Feb-2023 00:13:25 + docker push openmrs/openmrs-reference-application:qa
26-Feb-2023 00:13:25 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
26-Feb-2023 00:13:25 594f62f6d660: Preparing
26-Feb-2023 00:13:25 39dde6902022: Preparing
26-Feb-2023 00:13:25 cf9c3bc75f7c: Preparing
26-Feb-2023 00:13:25 53bf8aa97a66: Preparing
26-Feb-2023 00:13:25 94320e494a71: Preparing
26-Feb-2023 00:13:25 83487e6b4d35: Preparing
26-Feb-2023 00:13:25 5f70bf18a086: Preparing
26-Feb-2023 00:13:25 3a0a712f14cd: Preparing
26-Feb-2023 00:13:25 ec12c383224a: Preparing
26-Feb-2023 00:13:25 972fd81d4522: Preparing
26-Feb-2023 00:13:25 acdca9f9d8c6: Preparing
26-Feb-2023 00:13:25 83487e6b4d35: Waiting
26-Feb-2023 00:13:25 5f70bf18a086: Waiting
26-Feb-2023 00:13:25 3a0a712f14cd: Waiting
26-Feb-2023 00:13:25 ec12c383224a: Waiting
26-Feb-2023 00:13:25 972fd81d4522: Waiting
26-Feb-2023 00:13:25 e495071bc744: Preparing
26-Feb-2023 00:13:25 490c7563a936: Preparing
26-Feb-2023 00:13:25 a1398fefb962: Preparing
26-Feb-2023 00:13:25 cea396b9c0a2: Preparing
26-Feb-2023 00:13:25 1ea74e906b64: Preparing
26-Feb-2023 00:13:25 ef7c5fe2cbbc: Preparing
26-Feb-2023 00:13:25 c895c159af86: Preparing
26-Feb-2023 00:13:25 acdca9f9d8c6: Waiting
26-Feb-2023 00:13:25 e495071bc744: Waiting
26-Feb-2023 00:13:25 490c7563a936: Waiting
26-Feb-2023 00:13:25 a1398fefb962: Waiting
26-Feb-2023 00:13:25 cea396b9c0a2: Waiting
26-Feb-2023 00:13:25 1ea74e906b64: Waiting
26-Feb-2023 00:13:25 ef7c5fe2cbbc: Waiting
26-Feb-2023 00:13:25 c895c159af86: Waiting
26-Feb-2023 00:13:25 94320e494a71: Layer already exists
26-Feb-2023 00:13:25 cf9c3bc75f7c: Layer already exists
26-Feb-2023 00:13:25 39dde6902022: Layer already exists
26-Feb-2023 00:13:25 53bf8aa97a66: Layer already exists
26-Feb-2023 00:13:25 594f62f6d660: Layer already exists
26-Feb-2023 00:13:25 83487e6b4d35: Layer already exists
26-Feb-2023 00:13:25 5f70bf18a086: Layer already exists
26-Feb-2023 00:13:25 3a0a712f14cd: Layer already exists
26-Feb-2023 00:13:26 972fd81d4522: Layer already exists
26-Feb-2023 00:13:26 ec12c383224a: Layer already exists
26-Feb-2023 00:13:26 490c7563a936: Layer already exists
26-Feb-2023 00:13:26 acdca9f9d8c6: Layer already exists
26-Feb-2023 00:13:26 e495071bc744: Layer already exists
26-Feb-2023 00:13:26 a1398fefb962: Layer already exists
26-Feb-2023 00:13:26 cea396b9c0a2: Layer already exists
26-Feb-2023 00:13:26 1ea74e906b64: Layer already exists
26-Feb-2023 00:13:26 ef7c5fe2cbbc: Layer already exists
26-Feb-2023 00:13:26 c895c159af86: Layer already exists
26-Feb-2023 00:13:26 qa: digest: sha256:de71d863b11bb5e1b3a743a732f3ef9d9ba9bfbf9d4f53c819b78bfca6134525 size: 4088
26-Feb-2023 00:13:26 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
26-Feb-2023 00:13:26 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
26-Feb-2023 00:13:27 Removing unused images if any
26-Feb-2023 00:13:28 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication-mysql ...
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ...
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication-mysql ... done
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... waiting
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (95.6%)
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... download complete
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (0.7%)
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (0.5%)
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (21.9%)
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (15.7%)
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (1.1%)
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (100.0%)
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... verifying checksum
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... download complete
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (47.2%)
26-Feb-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (32.9%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... downloading (72.5%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... downloading (50.5%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... verifying checksum
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... download complete
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... downloading (70.1%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... downloading (88.8%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (0.7%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... verifying checksum
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... download complete
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (25.4%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (50.8%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (78.3%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... pull complete
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... pull complete
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (0.5%)
26-Feb-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (18.7%)
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (40.5%)
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (60.3%)
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (77.0%)
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (93.7%)
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... pull complete
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (3.0%)
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... pull complete
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... digest: sha256:de71d863b11bb5e1b3...
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
26-Feb-2023 00:13:30 Pulling openmrs-referenceapplication       ... done
26-Feb-2023 00:13:30 Recreating all images and volumes
26-Feb-2023 00:13:30 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Feb-2023 00:13:30 Stopping qa-refapp_openmrs-referenceapplication_1       ...
26-Feb-2023 00:13:30 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Feb-2023 00:13:31 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
26-Feb-2023 00:13:33 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Feb-2023 00:13:33 Removing qa-refapp_openmrs-referenceapplication_1       ...
26-Feb-2023 00:13:33 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Feb-2023 00:13:33 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Feb-2023 00:13:34 Removing qa-refapp_openmrs-referenceapplication_1       ... done
26-Feb-2023 00:13:34 Removing network qa-refapp_default
26-Feb-2023 00:13:34 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
26-Feb-2023 00:13:34 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Feb-2023 00:13:34 Creating network "qa-refapp_default" with the default driver
26-Feb-2023 00:13:34 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
26-Feb-2023 00:13:34 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Feb-2023 00:13:35 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Feb-2023 00:13:35 Creating qa-refapp_openmrs-referenceapplication_1       ...
26-Feb-2023 00:13:35 Creating qa-refapp_openmrs-referenceapplication_1       ... done
26-Feb-2023 00:13:36 Verifying if docker containers 1d1e682afc7b3b5e875df8b05546dace4b82eac3beecf0e7cff2ee4f23e25339
26-Feb-2023 00:13:36 83dfe4d58c68ea200711e75112c2c97f9c490be706fdbda6bf6ff4856676c639 are healthy
26-Feb-2023 00:13:36 Status found: "starting"
26-Feb-2023 00:13:36 Waiting 15s
26-Feb-2023 00:13:51 Verifying if docker containers 1d1e682afc7b3b5e875df8b05546dace4b82eac3beecf0e7cff2ee4f23e25339
26-Feb-2023 00:13:51 83dfe4d58c68ea200711e75112c2c97f9c490be706fdbda6bf6ff4856676c639 are healthy
26-Feb-2023 00:13:51 Status found: "starting"
26-Feb-2023 00:13:51 Waiting 15s
26-Feb-2023 00:14:06 Verifying if docker containers 1d1e682afc7b3b5e875df8b05546dace4b82eac3beecf0e7cff2ee4f23e25339
26-Feb-2023 00:14:06 83dfe4d58c68ea200711e75112c2c97f9c490be706fdbda6bf6ff4856676c639 are healthy
26-Feb-2023 00:14:06 Status found: "healthy"
26-Feb-2023 00:14:06 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
26-Feb-2023 00:14:06 Running post build plugin 'Docker Container Cleanup'
26-Feb-2023 00:14:06 Running post build plugin 'NCover Results Collector'
26-Feb-2023 00:14:06 Running post build plugin 'Build Results Label Collector'
26-Feb-2023 00:14:06 Running post build plugin 'Clover Results Collector'
26-Feb-2023 00:14:06 Running post build plugin 'npm Cache Cleanup'
26-Feb-2023 00:14:06 Running post build plugin 'Artifact Copier'
26-Feb-2023 00:14:06 Finalising the build...
26-Feb-2023 00:14:06 Stopping timer.
26-Feb-2023 00:14:06 Build REFAPP-OMODDISTRO-DTMTS-13515 completed.
26-Feb-2023 00:14:06 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-Feb-2023 00:14:06 Running on server: post build plugin 'NCover Results Collector'
26-Feb-2023 00:14:06 Running on server: post build plugin 'Build Labeller'
26-Feb-2023 00:14:06 Running on server: post build plugin 'Clover Delta Calculator'
26-Feb-2023 00:14:06 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-Feb-2023 00:14:06 All post build plugins have finished
26-Feb-2023 00:14:06 Generating build results summary...
26-Feb-2023 00:14:06 Saving build results to disk...
26-Feb-2023 00:14:06 Store variable context...
26-Feb-2023 00:14:06 Finished building REFAPP-OMODDISTRO-DTMTS-13515.