Deploys Reference Application SNAPSHOT to maven

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

12-Feb-2023 03:13:40 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13466 (REFAPP-OMODDISTRO-DTMTS-13466) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
12-Feb-2023 03:13:40 Remote agent on host yu.openmrs.org
12-Feb-2023 03:13:40 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
12-Feb-2023 03:13:40 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13466 (REFAPP-OMODDISTRO-DTMTS-13466)
12-Feb-2023 03:13:40 Running pre-build action: Build Log Labeller Pre Build Action
12-Feb-2023 03:13:40 Running pre-build action: VCS Version Collector
12-Feb-2023 03:13:40 Running pre-build action: Run Predator
12-Feb-2023 03:13:40 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
12-Feb-2023 03:13:40 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
12-Feb-2023 03:13:40 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
12-Feb-2023 03:13:40 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
12-Feb-2023 03:13:40 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 14138 java        1476 bamboo-age 2976Mb  537Mb 00:20:45 /usr/lib/jvm/java-8-ope
12-Feb-2023 03:13:40 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:13:22 /home/bamboo-agent/bamb
12-Feb-2023 03:13:40 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:04:09 /sbin/init             
12-Feb-2023 03:13:40 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
12-Feb-2023 03:13:40 [PredatorPreBuildAction] Initial free space: 3.0085258 GB
12-Feb-2023 03:13:40 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
12-Feb-2023 03:13:44 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
12-Feb-2023 03:13:44 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
12-Feb-2023 03:13:44 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
12-Feb-2023 03:13:44 [PredatorPreBuildAction] Maven stable disk freed: 0.3690821 GB, deleted 83 files
12-Feb-2023 03:13:44 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
12-Feb-2023 03:13:44 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
12-Feb-2023 03:13:44 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
12-Feb-2023 03:13:44 [PredatorPreBuildAction] Final free space: 3.040165 GB
12-Feb-2023 03:13:44 [PredatorPreBuildAction] Done
12-Feb-2023 03:13:44
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
12-Feb-2023 03:13:44
Substituting password variable: ${bamboo.dockerhub.password}
12-Feb-2023 03:13:44
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7288cd92b60dd98ac335750458e95109357d074f461bd3b521ebab4b64cca03c
12-Feb-2023 03:13:44
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7288cd92b60dd98ac335750458e95109357d074f461bd3b521ebab4b64cca03c
12-Feb-2023 03:13:44
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
12-Feb-2023 03:13:44
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
12-Feb-2023 03:13:44 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
12-Feb-2023 03:13:44
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13466 (REFAPP-OMODDISTRO-DTMTS-13466)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13466-ScriptBuildTask-4942386663155557008.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
12-Feb-2023 03:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
12-Feb-2023 03:13:45 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
12-Feb-2023 03:13:45 Configure a credential helper to remove this warning. See
12-Feb-2023 03:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
12-Feb-2023 03:13:45
12-Feb-2023 03:13:45 + docker pull openmrs/openmrs-reference-application@sha256:7288cd92b60dd98ac335750458e95109357d074f461bd3b521ebab4b64cca03c
12-Feb-2023 03:13:45 Login Succeeded
12-Feb-2023 03:13:45 docker.io/openmrs/openmrs-reference-application@sha256:7288cd92b60dd98ac335750458e95109357d074f461bd3b521ebab4b64cca03c: Pulling from openmrs/openmrs-reference-application
12-Feb-2023 03:13:45 Digest: sha256:7288cd92b60dd98ac335750458e95109357d074f461bd3b521ebab4b64cca03c
12-Feb-2023 03:13:45 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:7288cd92b60dd98ac335750458e95109357d074f461bd3b521ebab4b64cca03c
12-Feb-2023 03:13:45 docker.io/openmrs/openmrs-reference-application@sha256:7288cd92b60dd98ac335750458e95109357d074f461bd3b521ebab4b64cca03c
12-Feb-2023 03:13:45 + docker tag openmrs/openmrs-reference-application@sha256:7288cd92b60dd98ac335750458e95109357d074f461bd3b521ebab4b64cca03c openmrs/openmrs-reference-application:qa
12-Feb-2023 03:13:45 + docker push openmrs/openmrs-reference-application:qa
12-Feb-2023 03:13:45 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
12-Feb-2023 03:13:45 888cc2e364d3: Preparing
12-Feb-2023 03:13:45 056f753be5a2: Preparing
12-Feb-2023 03:13:45 deff950e1c7a: Preparing
12-Feb-2023 03:13:45 9daa456c623c: Preparing
12-Feb-2023 03:13:45 0889049fe275: Preparing
12-Feb-2023 03:13:45 60de0bbda0ed: Preparing
12-Feb-2023 03:13:45 5f70bf18a086: Preparing
12-Feb-2023 03:13:45 b34b6277c81b: Preparing
12-Feb-2023 03:13:45 d0a6a0df9123: Preparing
12-Feb-2023 03:13:45 63bbdb3574ed: Preparing
12-Feb-2023 03:13:45 118873527352: Preparing
12-Feb-2023 03:13:45 3353ee3d6876: Preparing
12-Feb-2023 03:13:45 ab5b3452b7ed: Preparing
12-Feb-2023 03:13:45 34f73756f7aa: Preparing
12-Feb-2023 03:13:45 93d6620f79bb: Preparing
12-Feb-2023 03:13:45 be417e78cadd: Preparing
12-Feb-2023 03:13:45 647dc4000019: Preparing
12-Feb-2023 03:13:45 8c5ff259ef50: Preparing
12-Feb-2023 03:13:45 60de0bbda0ed: Waiting
12-Feb-2023 03:13:45 5f70bf18a086: Waiting
12-Feb-2023 03:13:45 34f73756f7aa: Waiting
12-Feb-2023 03:13:45 b34b6277c81b: Waiting
12-Feb-2023 03:13:45 93d6620f79bb: Waiting
12-Feb-2023 03:13:45 be417e78cadd: Waiting
12-Feb-2023 03:13:45 d0a6a0df9123: Waiting
12-Feb-2023 03:13:45 647dc4000019: Waiting
12-Feb-2023 03:13:45 63bbdb3574ed: Waiting
12-Feb-2023 03:13:45 8c5ff259ef50: Waiting
12-Feb-2023 03:13:45 118873527352: Waiting
12-Feb-2023 03:13:45 ab5b3452b7ed: Waiting
12-Feb-2023 03:13:45 3353ee3d6876: Waiting
12-Feb-2023 03:13:45 0889049fe275: Layer already exists
12-Feb-2023 03:13:45 888cc2e364d3: Layer already exists
12-Feb-2023 03:13:45 056f753be5a2: Layer already exists
12-Feb-2023 03:13:45 deff950e1c7a: Layer already exists
12-Feb-2023 03:13:45 9daa456c623c: Layer already exists
12-Feb-2023 03:13:45 60de0bbda0ed: Layer already exists
12-Feb-2023 03:13:45 5f70bf18a086: Layer already exists
12-Feb-2023 03:13:45 b34b6277c81b: Layer already exists
12-Feb-2023 03:13:45 63bbdb3574ed: Layer already exists
12-Feb-2023 03:13:45 d0a6a0df9123: Layer already exists
12-Feb-2023 03:13:45 118873527352: Layer already exists
12-Feb-2023 03:13:45 3353ee3d6876: Layer already exists
12-Feb-2023 03:13:45 ab5b3452b7ed: Layer already exists
12-Feb-2023 03:13:45 34f73756f7aa: Layer already exists
12-Feb-2023 03:13:45 93d6620f79bb: Layer already exists
12-Feb-2023 03:13:45 be417e78cadd: Layer already exists
12-Feb-2023 03:13:45 647dc4000019: Layer already exists
12-Feb-2023 03:13:46 8c5ff259ef50: Layer already exists
12-Feb-2023 03:13:46 qa: digest: sha256:15702e6d03e55830106eff0c18ef7496c6298f8b32977ea9d17a5b6088bca413 size: 4088
12-Feb-2023 03:13:46 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
12-Feb-2023 03:13:46 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
12-Feb-2023 03:13:47 Removing unused images if any
12-Feb-2023 03:13:47 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
12-Feb-2023 03:13:47 Pulling openmrs-referenceapplication-mysql ...
12-Feb-2023 03:13:47 Pulling openmrs-referenceapplication       ...
12-Feb-2023 03:13:47 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
12-Feb-2023 03:13:47 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
12-Feb-2023 03:13:47 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
12-Feb-2023 03:13:47 Pulling openmrs-referenceapplication-mysql ... done
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... already exists
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... waiting
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (100.0%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... verifying checksum
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... download complete
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (0.5%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (0.7%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (8.8%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (1.1%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (16.1%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (100.0%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... verifying checksum
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... download complete
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (22.5%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (35.6%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (37.2%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (55.8%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (51.5%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (76.0%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (65.2%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (96.8%)
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... download complete
12-Feb-2023 03:13:48 Pulling openmrs-referenceapplication       ... downloading (79.9%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (0.7%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... downloading (92.2%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (20.1%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... verifying checksum
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... download complete
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (43.0%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (65.9%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (90.9%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... pull complete
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... pull complete
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (0.5%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (16.7%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (33.4%)
12-Feb-2023 03:13:49 Pulling openmrs-referenceapplication       ... extracting (52.2%)
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (68.9%)
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (85.6%)
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (98.8%)
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... pull complete
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (3.0%)
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... pull complete
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... digest: sha256:15702e6d03e5583010...
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
12-Feb-2023 03:13:50 Pulling openmrs-referenceapplication       ... done
12-Feb-2023 03:13:50 Recreating all images and volumes
12-Feb-2023 03:13:50 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
12-Feb-2023 03:13:50 Stopping qa-refapp_openmrs-referenceapplication_1       ...
12-Feb-2023 03:13:50 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
12-Feb-2023 03:13:51 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
12-Feb-2023 03:13:53 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
12-Feb-2023 03:13:53 Removing qa-refapp_openmrs-referenceapplication_1       ...
12-Feb-2023 03:13:53 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
12-Feb-2023 03:13:53 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
12-Feb-2023 03:13:54 Removing qa-refapp_openmrs-referenceapplication_1       ... done
12-Feb-2023 03:13:54 Removing network qa-refapp_default
12-Feb-2023 03:13:54 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
12-Feb-2023 03:13:54 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
12-Feb-2023 03:13:54 Creating network "qa-refapp_default" with the default driver
12-Feb-2023 03:13:54 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
12-Feb-2023 03:13:54 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
12-Feb-2023 03:13:55 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
12-Feb-2023 03:13:55 Creating qa-refapp_openmrs-referenceapplication_1       ...
12-Feb-2023 03:13:55 Creating qa-refapp_openmrs-referenceapplication_1       ... done
12-Feb-2023 03:13:56 Verifying if docker containers 3b5edb17537159f70b3da3f620d26df0ce4c6416c14d5dd4f2b673bfc85a2f39
12-Feb-2023 03:13:56 c457120d57bc5dc4fd827db99d6f7bcd5db6d3f135b663bbb10b686d4713e6bb are healthy
12-Feb-2023 03:13:56 Status found: "starting"
12-Feb-2023 03:13:56 Waiting 15s
12-Feb-2023 03:14:11 Verifying if docker containers 3b5edb17537159f70b3da3f620d26df0ce4c6416c14d5dd4f2b673bfc85a2f39
12-Feb-2023 03:14:11 c457120d57bc5dc4fd827db99d6f7bcd5db6d3f135b663bbb10b686d4713e6bb are healthy
12-Feb-2023 03:14:11 Status found: "starting"
12-Feb-2023 03:14:11 Waiting 15s
12-Feb-2023 03:14:26 Verifying if docker containers 3b5edb17537159f70b3da3f620d26df0ce4c6416c14d5dd4f2b673bfc85a2f39
12-Feb-2023 03:14:26 c457120d57bc5dc4fd827db99d6f7bcd5db6d3f135b663bbb10b686d4713e6bb are healthy
12-Feb-2023 03:14:26 Status found: "healthy"
12-Feb-2023 03:14:26 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
12-Feb-2023 03:14:26 Running post build plugin 'Docker Container Cleanup'
12-Feb-2023 03:14:26 Running post build plugin 'NCover Results Collector'
12-Feb-2023 03:14:26 Running post build plugin 'Build Results Label Collector'
12-Feb-2023 03:14:26 Running post build plugin 'Clover Results Collector'
12-Feb-2023 03:14:26 Running post build plugin 'npm Cache Cleanup'
12-Feb-2023 03:14:26 Running post build plugin 'Artifact Copier'
12-Feb-2023 03:14:26 Finalising the build...
12-Feb-2023 03:14:26 Stopping timer.
12-Feb-2023 03:14:26 Build REFAPP-OMODDISTRO-DTMTS-13466 completed.
12-Feb-2023 03:14:26 Running on server: post build plugin 'Build Hanging Detection Configuration'
12-Feb-2023 03:14:26 Running on server: post build plugin 'NCover Results Collector'
12-Feb-2023 03:14:26 Running on server: post build plugin 'Build Labeller'
12-Feb-2023 03:14:26 Running on server: post build plugin 'Clover Delta Calculator'
12-Feb-2023 03:14:26 Running on server: post build plugin 'Maven Dependencies Postprocessor'
12-Feb-2023 03:14:26 All post build plugins have finished
12-Feb-2023 03:14:26 Generating build results summary...
12-Feb-2023 03:14:26 Saving build results to disk...
12-Feb-2023 03:14:26 Store variable context...
12-Feb-2023 03:14:26 Finished building REFAPP-OMODDISTRO-DTMTS-13466.