Deploys Reference Application SNAPSHOT to maven

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

17-Jan-2023 00:12:43 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13396 (REFAPP-OMODDISTRO-DTMTS-13396) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
17-Jan-2023 00:12:43 Remote agent on host xindi.openmrs.org
17-Jan-2023 00:12:43 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
17-Jan-2023 00:12:43 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13396 (REFAPP-OMODDISTRO-DTMTS-13396)
17-Jan-2023 00:12:43 Running pre-build action: Build Log Labeller Pre Build Action
17-Jan-2023 00:12:43 Running pre-build action: VCS Version Collector
17-Jan-2023 00:12:43 Running pre-build action: Run Predator
17-Jan-2023 00:12:43 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
17-Jan-2023 00:12:43 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
17-Jan-2023 00:12:43 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
17-Jan-2023 00:12:44 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
17-Jan-2023 00:12:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2053 java        1484 bamboo-age 2960Mb  341Mb 00:03:02 /usr/lib/jvm/java-8-ope
17-Jan-2023 00:12:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    3Mb 00:00:46 /home/bamboo-agent/bamb
17-Jan-2023 00:12:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:14 /sbin/init             
17-Jan-2023 00:12:44 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
17-Jan-2023 00:12:44 [PredatorPreBuildAction] Initial free space: 3.4956093 GB
17-Jan-2023 00:12:44 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
17-Jan-2023 00:12:45 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
17-Jan-2023 00:12:45 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
17-Jan-2023 00:12:45 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
17-Jan-2023 00:12:45 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
17-Jan-2023 00:12:45 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
17-Jan-2023 00:12:45 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
17-Jan-2023 00:12:45 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
17-Jan-2023 00:12:45 [PredatorPreBuildAction] Final free space: 3.5272484 GB
17-Jan-2023 00:12:45 [PredatorPreBuildAction] Done
17-Jan-2023 00:12:45
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
17-Jan-2023 00:12:45
Substituting password variable: ${bamboo.dockerhub.password}
17-Jan-2023 00:12:45
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c5f5abd34ad81395e3d67788e79f1a50eef5ea2fb61f4fe678c7e62567594e07
17-Jan-2023 00:12:45
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c5f5abd34ad81395e3d67788e79f1a50eef5ea2fb61f4fe678c7e62567594e07
17-Jan-2023 00:12:45
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
17-Jan-2023 00:12:45
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
17-Jan-2023 00:12:45 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
17-Jan-2023 00:12:45
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13396 (REFAPP-OMODDISTRO-DTMTS-13396)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13396-ScriptBuildTask-7668665446198522787.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
17-Jan-2023 00:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
17-Jan-2023 00:12:45 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
17-Jan-2023 00:12:45 Configure a credential helper to remove this warning. See
17-Jan-2023 00:12:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
17-Jan-2023 00:12:45
17-Jan-2023 00:12:45 Login Succeeded
17-Jan-2023 00:12:45 + docker pull openmrs/openmrs-reference-application@sha256:c5f5abd34ad81395e3d67788e79f1a50eef5ea2fb61f4fe678c7e62567594e07
17-Jan-2023 00:12:46 docker.io/openmrs/openmrs-reference-application@sha256:c5f5abd34ad81395e3d67788e79f1a50eef5ea2fb61f4fe678c7e62567594e07: Pulling from openmrs/openmrs-reference-application
17-Jan-2023 00:12:46 Digest: sha256:c5f5abd34ad81395e3d67788e79f1a50eef5ea2fb61f4fe678c7e62567594e07
17-Jan-2023 00:12:46 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:c5f5abd34ad81395e3d67788e79f1a50eef5ea2fb61f4fe678c7e62567594e07
17-Jan-2023 00:12:46 docker.io/openmrs/openmrs-reference-application@sha256:c5f5abd34ad81395e3d67788e79f1a50eef5ea2fb61f4fe678c7e62567594e07
17-Jan-2023 00:12:46 + docker tag openmrs/openmrs-reference-application@sha256:c5f5abd34ad81395e3d67788e79f1a50eef5ea2fb61f4fe678c7e62567594e07 openmrs/openmrs-reference-application:qa
17-Jan-2023 00:12:46 + docker push openmrs/openmrs-reference-application:qa
17-Jan-2023 00:12:46 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
17-Jan-2023 00:12:46 e95cac587c14: Preparing
17-Jan-2023 00:12:46 a4eb3e62c45e: Preparing
17-Jan-2023 00:12:46 f1352c982542: Preparing
17-Jan-2023 00:12:46 5ba16416ba90: Preparing
17-Jan-2023 00:12:46 e61322449ad0: Preparing
17-Jan-2023 00:12:46 6fdd21bc4a9b: Preparing
17-Jan-2023 00:12:46 5f70bf18a086: Preparing
17-Jan-2023 00:12:46 b7243530d918: Preparing
17-Jan-2023 00:12:46 23323df4fbd9: Preparing
17-Jan-2023 00:12:46 725ecc0c9d62: Preparing
17-Jan-2023 00:12:46 6c1f45cb6682: Preparing
17-Jan-2023 00:12:46 b8aa9430b356: Preparing
17-Jan-2023 00:12:46 b46e16032f56: Preparing
17-Jan-2023 00:12:46 91ac82815b04: Preparing
17-Jan-2023 00:12:46 24fcda5a8b17: Preparing
17-Jan-2023 00:12:46 a4a7e924299e: Preparing
17-Jan-2023 00:12:46 059c2d42be74: Preparing
17-Jan-2023 00:12:46 3f800aca2a44: Preparing
17-Jan-2023 00:12:46 6fdd21bc4a9b: Waiting
17-Jan-2023 00:12:46 5f70bf18a086: Waiting
17-Jan-2023 00:12:46 b7243530d918: Waiting
17-Jan-2023 00:12:46 23323df4fbd9: Waiting
17-Jan-2023 00:12:46 725ecc0c9d62: Waiting
17-Jan-2023 00:12:46 6c1f45cb6682: Waiting
17-Jan-2023 00:12:46 b8aa9430b356: Waiting
17-Jan-2023 00:12:46 b46e16032f56: Waiting
17-Jan-2023 00:12:46 91ac82815b04: Waiting
17-Jan-2023 00:12:46 24fcda5a8b17: Waiting
17-Jan-2023 00:12:46 a4a7e924299e: Waiting
17-Jan-2023 00:12:46 059c2d42be74: Waiting
17-Jan-2023 00:12:46 3f800aca2a44: Waiting
17-Jan-2023 00:12:46 e61322449ad0: Layer already exists
17-Jan-2023 00:12:46 a4eb3e62c45e: Layer already exists
17-Jan-2023 00:12:46 f1352c982542: Layer already exists
17-Jan-2023 00:12:46 e95cac587c14: Layer already exists
17-Jan-2023 00:12:46 5ba16416ba90: Layer already exists
17-Jan-2023 00:12:46 6fdd21bc4a9b: Layer already exists
17-Jan-2023 00:12:46 5f70bf18a086: Layer already exists
17-Jan-2023 00:12:46 b7243530d918: Layer already exists
17-Jan-2023 00:12:46 23323df4fbd9: Layer already exists
17-Jan-2023 00:12:46 725ecc0c9d62: Layer already exists
17-Jan-2023 00:12:46 6c1f45cb6682: Layer already exists
17-Jan-2023 00:12:46 b8aa9430b356: Layer already exists
17-Jan-2023 00:12:46 91ac82815b04: Layer already exists
17-Jan-2023 00:12:46 b46e16032f56: Layer already exists
17-Jan-2023 00:12:46 24fcda5a8b17: Layer already exists
17-Jan-2023 00:12:46 059c2d42be74: Layer already exists
17-Jan-2023 00:12:46 a4a7e924299e: Layer already exists
17-Jan-2023 00:12:46 3f800aca2a44: Layer already exists
17-Jan-2023 00:12:47 qa: digest: sha256:3c02813f56eee8d31e94ad088a6b9d738295780e671e5d2d03cba7786d46f81e size: 4088
17-Jan-2023 00:12:47 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
17-Jan-2023 00:12:47 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
17-Jan-2023 00:12:48 Removing unused images if any
17-Jan-2023 00:12:48 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication-mysql ...
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ...
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication-mysql ... done
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:48 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... waiting
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (100.0%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... download complete
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (0.7%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (0.5%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (1.1%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (17.5%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (11.3%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... verifying checksum
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... download complete
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (22.6%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (35.0%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (53.1%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (34.8%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (69.2%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (46.1%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (86.0%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (57.4%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... download complete
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (70.1%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... extracting (0.7%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (80.5%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... extracting (16.7%)
17-Jan-2023 00:12:49 Pulling openmrs-referenceapplication       ... downloading (90.8%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... verifying checksum
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... download complete
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (34.0%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (55.5%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (77.0%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (99.9%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... pull complete
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... pull complete
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (0.5%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (17.2%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (35.5%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (53.7%)
17-Jan-2023 00:12:50 Pulling openmrs-referenceapplication       ... extracting (72.4%)
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... extracting (89.7%)
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... pull complete
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... extracting (3.0%)
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... pull complete
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... digest: sha256:3c02813f56eee8d31e...
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
17-Jan-2023 00:12:51 Pulling openmrs-referenceapplication       ... done
17-Jan-2023 00:12:51 Recreating all images and volumes
17-Jan-2023 00:12:51 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
17-Jan-2023 00:12:51 Stopping qa-refapp_openmrs-referenceapplication_1       ...
17-Jan-2023 00:12:51 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
17-Jan-2023 00:12:52 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
17-Jan-2023 00:12:54 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
17-Jan-2023 00:12:54 Removing qa-refapp_openmrs-referenceapplication_1       ...
17-Jan-2023 00:12:54 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
17-Jan-2023 00:12:54 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
17-Jan-2023 00:12:56 Removing qa-refapp_openmrs-referenceapplication_1       ... done
17-Jan-2023 00:12:56 Removing network qa-refapp_default
17-Jan-2023 00:12:56 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
17-Jan-2023 00:12:56 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
17-Jan-2023 00:12:56 Creating network "qa-refapp_default" with the default driver
17-Jan-2023 00:12:56 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
17-Jan-2023 00:12:56 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
17-Jan-2023 00:12:57 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
17-Jan-2023 00:12:57 Creating qa-refapp_openmrs-referenceapplication_1       ...
17-Jan-2023 00:12:57 Creating qa-refapp_openmrs-referenceapplication_1       ... done
17-Jan-2023 00:12:58 Verifying if docker containers 7a05da921775ac38baf6b8553ce4b729a6c150bb400f1de6c888dfb2733f665f
17-Jan-2023 00:12:58 55fdf3305b260b6967bf725b009e80db88bd640f30d479d7bc32e3ccd44e188c are healthy
17-Jan-2023 00:12:58 Status found: "starting"
17-Jan-2023 00:12:58 Waiting 15s
17-Jan-2023 00:13:13 Verifying if docker containers 7a05da921775ac38baf6b8553ce4b729a6c150bb400f1de6c888dfb2733f665f
17-Jan-2023 00:13:13 55fdf3305b260b6967bf725b009e80db88bd640f30d479d7bc32e3ccd44e188c are healthy
17-Jan-2023 00:13:13 Status found: "starting"
17-Jan-2023 00:13:13 Waiting 15s
17-Jan-2023 00:13:28 Verifying if docker containers 7a05da921775ac38baf6b8553ce4b729a6c150bb400f1de6c888dfb2733f665f
17-Jan-2023 00:13:28 55fdf3305b260b6967bf725b009e80db88bd640f30d479d7bc32e3ccd44e188c are healthy
17-Jan-2023 00:13:28 Status found: "healthy"
17-Jan-2023 00:13:28 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
17-Jan-2023 00:13:28 Running post build plugin 'Docker Container Cleanup'
17-Jan-2023 00:13:28 Running post build plugin 'NCover Results Collector'
17-Jan-2023 00:13:28 Running post build plugin 'Build Results Label Collector'
17-Jan-2023 00:13:28 Running post build plugin 'Clover Results Collector'
17-Jan-2023 00:13:28 Running post build plugin 'npm Cache Cleanup'
17-Jan-2023 00:13:28 Running post build plugin 'Artifact Copier'
17-Jan-2023 00:13:28 Finalising the build...
17-Jan-2023 00:13:28 Stopping timer.
17-Jan-2023 00:13:28 Build REFAPP-OMODDISTRO-DTMTS-13396 completed.
17-Jan-2023 00:13:28 Running on server: post build plugin 'Build Hanging Detection Configuration'
17-Jan-2023 00:13:28 Running on server: post build plugin 'NCover Results Collector'
17-Jan-2023 00:13:28 Running on server: post build plugin 'Build Labeller'
17-Jan-2023 00:13:28 Running on server: post build plugin 'Clover Delta Calculator'
17-Jan-2023 00:13:28 Running on server: post build plugin 'Maven Dependencies Postprocessor'
17-Jan-2023 00:13:28 All post build plugins have finished
17-Jan-2023 00:13:28 Generating build results summary...
17-Jan-2023 00:13:28 Saving build results to disk...
17-Jan-2023 00:13:28 Store variable context...
17-Jan-2023 00:13:28 Finished building REFAPP-OMODDISTRO-DTMTS-13396.