Deploys Reference Application SNAPSHOT to maven

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

17-Oct-2022 19:49:59 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13129 (REFAPP-OMODDISTRO-DTMTS-13129) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
17-Oct-2022 19:49:59 Remote agent on host yu.openmrs.org
17-Oct-2022 19:49:59 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
17-Oct-2022 19:49:59 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13129 (REFAPP-OMODDISTRO-DTMTS-13129)
17-Oct-2022 19:49:59 Running pre-build action: Build Log Labeller Pre Build Action
17-Oct-2022 19:49:59 Running pre-build action: VCS Version Collector
17-Oct-2022 19:49:59 Running pre-build action: Run Predator
17-Oct-2022 19:49:59 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
17-Oct-2022 19:49:59 [PredatorPreBuildAction] Running these commands: docker ps -q| xargs docker kill; docker ps -qa | xargs docker rm -f; docker system prune -af --filter until=48h; docker volume prune -f;
17-Oct-2022 19:49:59 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1757 java        1192 bamboo-age 2953Mb  334Mb 00:03:03 /usr/lib/jvm/java-8-ope
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1192 wrapper        1 bamboo-age   16Mb    2Mb 00:00:40 /home/bamboo-agent/bamb
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   11Mb 00:00:05 /sbin/init             
17-Oct-2022 19:50:00 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Initial free space: 6.3196754 GB
17-Oct-2022 19:50:00 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
17-Oct-2022 19:50:01 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
17-Oct-2022 19:50:01 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
17-Oct-2022 19:50:01 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
17-Oct-2022 19:50:01 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
17-Oct-2022 19:50:01 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
17-Oct-2022 19:50:01 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
17-Oct-2022 19:50:01 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
17-Oct-2022 19:50:01 [PredatorPreBuildAction] Final free space: 6.3512955 GB
17-Oct-2022 19:50:01 [PredatorPreBuildAction] Done
17-Oct-2022 19:50:01
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
17-Oct-2022 19:50:01
Substituting password variable: ${bamboo.dockerhub.password}
17-Oct-2022 19:50:01
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:548470e06bfbaacf6375ffeacd441cdd4a89fefa247838d7673ad4c7b411e521
17-Oct-2022 19:50:01
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:548470e06bfbaacf6375ffeacd441cdd4a89fefa247838d7673ad4c7b411e521
17-Oct-2022 19:50:01
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
17-Oct-2022 19:50:01
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
17-Oct-2022 19:50:01 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
17-Oct-2022 19:50:01
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13129 (REFAPP-OMODDISTRO-DTMTS-13129)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13129-ScriptBuildTask-3906453005154173092.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
17-Oct-2022 19:50:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
17-Oct-2022 19:50:02 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
17-Oct-2022 19:50:02 Configure a credential helper to remove this warning. See
17-Oct-2022 19:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
17-Oct-2022 19:50:02
17-Oct-2022 19:50:02 Login Succeeded
17-Oct-2022 19:50:02 + docker pull openmrs/openmrs-reference-application@sha256:548470e06bfbaacf6375ffeacd441cdd4a89fefa247838d7673ad4c7b411e521
17-Oct-2022 19:50:02 docker.io/openmrs/openmrs-reference-application@sha256:548470e06bfbaacf6375ffeacd441cdd4a89fefa247838d7673ad4c7b411e521: Pulling from openmrs/openmrs-reference-application
17-Oct-2022 19:50:02 Digest: sha256:548470e06bfbaacf6375ffeacd441cdd4a89fefa247838d7673ad4c7b411e521
17-Oct-2022 19:50:02 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:548470e06bfbaacf6375ffeacd441cdd4a89fefa247838d7673ad4c7b411e521
17-Oct-2022 19:50:02 docker.io/openmrs/openmrs-reference-application@sha256:548470e06bfbaacf6375ffeacd441cdd4a89fefa247838d7673ad4c7b411e521
17-Oct-2022 19:50:02 + docker tag openmrs/openmrs-reference-application@sha256:548470e06bfbaacf6375ffeacd441cdd4a89fefa247838d7673ad4c7b411e521 openmrs/openmrs-reference-application:qa
17-Oct-2022 19:50:02 + docker push openmrs/openmrs-reference-application:qa
17-Oct-2022 19:50:02 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
17-Oct-2022 19:50:02 c1eaa3a20c2d: Preparing
17-Oct-2022 19:50:02 c4bf31b01ca7: Preparing
17-Oct-2022 19:50:02 c53d9513436b: Preparing
17-Oct-2022 19:50:02 1318886b7e9c: Preparing
17-Oct-2022 19:50:02 c4d7d9344c94: Preparing
17-Oct-2022 19:50:02 3115f92dfde0: Preparing
17-Oct-2022 19:50:02 40662c443880: Preparing
17-Oct-2022 19:50:02 5f70bf18a086: Preparing
17-Oct-2022 19:50:02 e391162dac5a: Preparing
17-Oct-2022 19:50:02 a608f56d61bb: Preparing
17-Oct-2022 19:50:02 50c17e52d63c: Preparing
17-Oct-2022 19:50:02 1c08af3c999d: Preparing
17-Oct-2022 19:50:02 f9e3c74ded34: Preparing
17-Oct-2022 19:50:02 e802af8d4506: Preparing
17-Oct-2022 19:50:02 678542a60d0e: Preparing
17-Oct-2022 19:50:02 6edf69746447: Preparing
17-Oct-2022 19:50:02 2601b5eb4f37: Preparing
17-Oct-2022 19:50:02 4942a1abcbfa: Preparing
17-Oct-2022 19:50:02 3115f92dfde0: Waiting
17-Oct-2022 19:50:02 40662c443880: Waiting
17-Oct-2022 19:50:02 5f70bf18a086: Waiting
17-Oct-2022 19:50:02 e391162dac5a: Waiting
17-Oct-2022 19:50:02 a608f56d61bb: Waiting
17-Oct-2022 19:50:02 50c17e52d63c: Waiting
17-Oct-2022 19:50:02 1c08af3c999d: Waiting
17-Oct-2022 19:50:02 f9e3c74ded34: Waiting
17-Oct-2022 19:50:02 e802af8d4506: Waiting
17-Oct-2022 19:50:02 678542a60d0e: Waiting
17-Oct-2022 19:50:02 6edf69746447: Waiting
17-Oct-2022 19:50:02 2601b5eb4f37: Waiting
17-Oct-2022 19:50:02 4942a1abcbfa: Waiting
17-Oct-2022 19:50:02 c4d7d9344c94: Layer already exists
17-Oct-2022 19:50:02 1318886b7e9c: Layer already exists
17-Oct-2022 19:50:02 c53d9513436b: Layer already exists
17-Oct-2022 19:50:02 c1eaa3a20c2d: Layer already exists
17-Oct-2022 19:50:02 c4bf31b01ca7: Layer already exists
17-Oct-2022 19:50:03 40662c443880: Layer already exists
17-Oct-2022 19:50:03 5f70bf18a086: Layer already exists
17-Oct-2022 19:50:03 3115f92dfde0: Layer already exists
17-Oct-2022 19:50:03 a608f56d61bb: Layer already exists
17-Oct-2022 19:50:03 e391162dac5a: Layer already exists
17-Oct-2022 19:50:03 1c08af3c999d: Layer already exists
17-Oct-2022 19:50:03 50c17e52d63c: Layer already exists
17-Oct-2022 19:50:03 f9e3c74ded34: Layer already exists
17-Oct-2022 19:50:03 e802af8d4506: Layer already exists
17-Oct-2022 19:50:03 678542a60d0e: Layer already exists
17-Oct-2022 19:50:03 2601b5eb4f37: Layer already exists
17-Oct-2022 19:50:03 4942a1abcbfa: Layer already exists
17-Oct-2022 19:50:03 6edf69746447: Layer already exists
17-Oct-2022 19:50:03 qa: digest: sha256:1e70dcf014e5d87e6e8942e17b45f093e2c6faf0351105ec5a0aacc2977e59fa size: 4096
17-Oct-2022 19:50:03 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
17-Oct-2022 19:50:03 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
17-Oct-2022 19:50:04 Removing unused images if any
17-Oct-2022 19:50:05 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication-mysql ...
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ...
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication-mysql ... done
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... already exists
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Oct-2022 19:50:05 Pulling openmrs-referenceapplication       ... waiting
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (95.9%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (100.0%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... verifying checksum
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... download complete
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (0.5%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (0.7%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (16.7%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (23.6%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (1.1%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (100.0%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... verifying checksum
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... download complete
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (33.4%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (48.6%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (51.1%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (72.3%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (68.2%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (91.9%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... download complete
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (84.5%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... extracting (0.7%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... downloading (99.2%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... verifying checksum
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... download complete
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... extracting (26.6%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... extracting (53.1%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... extracting (78.3%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Oct-2022 19:50:06 Pulling openmrs-referenceapplication       ... pull complete
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... pull complete
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (0.5%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (19.8%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (40.1%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (58.9%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (77.7%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (95.5%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... pull complete
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (3.0%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... pull complete
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... digest: sha256:1e70dcf014e5d87e6e...
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
17-Oct-2022 19:50:07 Pulling openmrs-referenceapplication       ... done
17-Oct-2022 19:50:07 Recreating all images and volumes
17-Oct-2022 19:50:08 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
17-Oct-2022 19:50:08 Stopping qa-refapp_openmrs-referenceapplication_1       ...
17-Oct-2022 19:50:08 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
17-Oct-2022 19:50:08 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
17-Oct-2022 19:50:10 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
17-Oct-2022 19:50:10 Removing qa-refapp_openmrs-referenceapplication_1       ...
17-Oct-2022 19:50:10 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
17-Oct-2022 19:50:10 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
17-Oct-2022 19:50:11 Removing qa-refapp_openmrs-referenceapplication_1       ... done
17-Oct-2022 19:50:11 Removing network qa-refapp_default
17-Oct-2022 19:50:11 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
17-Oct-2022 19:50:11 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
17-Oct-2022 19:50:11 Creating network "qa-refapp_default" with the default driver
17-Oct-2022 19:50:11 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
17-Oct-2022 19:50:11 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
17-Oct-2022 19:50:12 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
17-Oct-2022 19:50:12 Creating qa-refapp_openmrs-referenceapplication_1       ...
17-Oct-2022 19:50:12 Creating qa-refapp_openmrs-referenceapplication_1       ... done
17-Oct-2022 19:50:13 Verifying if docker containers 6861dd33d0b2d67288507c93a765cf5d4088280bd058eb8c363f94964402644c
17-Oct-2022 19:50:13 4716ae6d53a03883d212fb40ca38de8554fdfa52f96f5eb261bb0090a78239b9 are healthy
17-Oct-2022 19:50:13 Status found: "starting"
17-Oct-2022 19:50:13 Waiting 15s
17-Oct-2022 19:50:28 Verifying if docker containers 6861dd33d0b2d67288507c93a765cf5d4088280bd058eb8c363f94964402644c
17-Oct-2022 19:50:28 4716ae6d53a03883d212fb40ca38de8554fdfa52f96f5eb261bb0090a78239b9 are healthy
17-Oct-2022 19:50:28 Status found: "starting"
17-Oct-2022 19:50:28 Waiting 15s
17-Oct-2022 19:50:43 Verifying if docker containers 6861dd33d0b2d67288507c93a765cf5d4088280bd058eb8c363f94964402644c
17-Oct-2022 19:50:43 4716ae6d53a03883d212fb40ca38de8554fdfa52f96f5eb261bb0090a78239b9 are healthy
17-Oct-2022 19:50:43 Status found: "healthy"
17-Oct-2022 19:50:43 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
17-Oct-2022 19:50:43 Running post build plugin 'Docker Container Cleanup'
17-Oct-2022 19:50:43 Running post build plugin 'NCover Results Collector'
17-Oct-2022 19:50:43 Running post build plugin 'Build Results Label Collector'
17-Oct-2022 19:50:43 Running post build plugin 'Clover Results Collector'
17-Oct-2022 19:50:43 Running post build plugin 'npm Cache Cleanup'
17-Oct-2022 19:50:43 Running post build plugin 'Artifact Copier'
17-Oct-2022 19:50:43 Finalising the build...
17-Oct-2022 19:50:43 Stopping timer.
17-Oct-2022 19:50:43 Build REFAPP-OMODDISTRO-DTMTS-13129 completed.
17-Oct-2022 19:50:43 Running on server: post build plugin 'Build Hanging Detection Configuration'
17-Oct-2022 19:50:43 Running on server: post build plugin 'NCover Results Collector'
17-Oct-2022 19:50:43 Running on server: post build plugin 'Build Labeller'
17-Oct-2022 19:50:43 Running on server: post build plugin 'Clover Delta Calculator'
17-Oct-2022 19:50:43 Running on server: post build plugin 'Maven Dependencies Postprocessor'
17-Oct-2022 19:50:43 All post build plugins have finished
17-Oct-2022 19:50:43 Generating build results summary...
17-Oct-2022 19:50:43 Saving build results to disk...
17-Oct-2022 19:50:43 Store variable context...
17-Oct-2022 19:50:43 Finished building REFAPP-OMODDISTRO-DTMTS-13129.