Deploys Reference Application SNAPSHOT to maven

Build: #13497 failed

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.

22-Feb-2023 00:13:53 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13497 (REFAPP-OMODDISTRO-DTMTS-13497) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
22-Feb-2023 00:13:53 Remote agent on host yu.openmrs.org
22-Feb-2023 00:13:53 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
22-Feb-2023 00:13:53 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13497 (REFAPP-OMODDISTRO-DTMTS-13497)
22-Feb-2023 00:13:53 Running pre-build action: Build Log Labeller Pre Build Action
22-Feb-2023 00:13:53 Running pre-build action: VCS Version Collector
22-Feb-2023 00:13:53 Running pre-build action: Run Predator
22-Feb-2023 00:13:53 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
22-Feb-2023 00:13:53 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
22-Feb-2023 00:13:53 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
22-Feb-2023 00:13:53 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
22-Feb-2023 00:13:53 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2972Mb  491Mb 00:16:09 /usr/lib/jvm/java-8-ope
22-Feb-2023 00:13:53 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    1Mb 00:04:18 /home/bamboo-agent/bamb
22-Feb-2023 00:13:53 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:00:37 /sbin/init             
22-Feb-2023 00:13:53 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
22-Feb-2023 00:13:53 [PredatorPreBuildAction] Initial free space: 4.185608 GB
22-Feb-2023 00:13:53 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
22-Feb-2023 00:13:54 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
22-Feb-2023 00:13:54 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
22-Feb-2023 00:13:55 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
22-Feb-2023 00:13:55 [PredatorPreBuildAction] Maven stable disk freed: 0.44616094 GB, deleted 118 files
22-Feb-2023 00:13:55 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
22-Feb-2023 00:13:55 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
22-Feb-2023 00:13:55 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
22-Feb-2023 00:13:55 [PredatorPreBuildAction] Final free space: 4.217251 GB
22-Feb-2023 00:13:55 [PredatorPreBuildAction] Done
22-Feb-2023 00:13:55
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
22-Feb-2023 00:13:55
Substituting password variable: ${bamboo.dockerhub.password}
22-Feb-2023 00:13:55
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:20e05f91cd6037d10c3617606e1c92af44c608722f9e8da7acfd6a45982cbc1f
22-Feb-2023 00:13:55
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:20e05f91cd6037d10c3617606e1c92af44c608722f9e8da7acfd6a45982cbc1f
22-Feb-2023 00:13:55
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
22-Feb-2023 00:13:55
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
22-Feb-2023 00:13:55 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
22-Feb-2023 00:13:55
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13497 (REFAPP-OMODDISTRO-DTMTS-13497)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13497-ScriptBuildTask-5139184430958439919.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
22-Feb-2023 00:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
22-Feb-2023 00:13:55 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
22-Feb-2023 00:13:55 Configure a credential helper to remove this warning. See
22-Feb-2023 00:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
22-Feb-2023 00:13:55
22-Feb-2023 00:13:55 Login Succeeded
22-Feb-2023 00:13:55 + docker pull openmrs/openmrs-reference-application@sha256:20e05f91cd6037d10c3617606e1c92af44c608722f9e8da7acfd6a45982cbc1f
22-Feb-2023 00:13:55 docker.io/openmrs/openmrs-reference-application@sha256:20e05f91cd6037d10c3617606e1c92af44c608722f9e8da7acfd6a45982cbc1f: Pulling from openmrs/openmrs-reference-application
22-Feb-2023 00:13:55 Digest: sha256:20e05f91cd6037d10c3617606e1c92af44c608722f9e8da7acfd6a45982cbc1f
22-Feb-2023 00:13:55 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:20e05f91cd6037d10c3617606e1c92af44c608722f9e8da7acfd6a45982cbc1f
22-Feb-2023 00:13:55 docker.io/openmrs/openmrs-reference-application@sha256:20e05f91cd6037d10c3617606e1c92af44c608722f9e8da7acfd6a45982cbc1f
22-Feb-2023 00:13:55 + docker tag openmrs/openmrs-reference-application@sha256:20e05f91cd6037d10c3617606e1c92af44c608722f9e8da7acfd6a45982cbc1f openmrs/openmrs-reference-application:qa
22-Feb-2023 00:13:55 + docker push openmrs/openmrs-reference-application:qa
22-Feb-2023 00:13:55 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
22-Feb-2023 00:13:55 d09975f72592: Preparing
22-Feb-2023 00:13:55 ca523e1ba04d: Preparing
22-Feb-2023 00:13:55 3b2b724ca57e: Preparing
22-Feb-2023 00:13:55 d85bfb698ecd: Preparing
22-Feb-2023 00:13:55 e4a92042edbd: Preparing
22-Feb-2023 00:13:55 60de0bbda0ed: Preparing
22-Feb-2023 00:13:55 5f70bf18a086: Preparing
22-Feb-2023 00:13:55 b34b6277c81b: Preparing
22-Feb-2023 00:13:55 d0a6a0df9123: Preparing
22-Feb-2023 00:13:55 63bbdb3574ed: Preparing
22-Feb-2023 00:13:55 118873527352: Preparing
22-Feb-2023 00:13:55 3353ee3d6876: Preparing
22-Feb-2023 00:13:55 ab5b3452b7ed: Preparing
22-Feb-2023 00:13:55 34f73756f7aa: Preparing
22-Feb-2023 00:13:55 93d6620f79bb: Preparing
22-Feb-2023 00:13:55 be417e78cadd: Preparing
22-Feb-2023 00:13:55 647dc4000019: Preparing
22-Feb-2023 00:13:55 8c5ff259ef50: Preparing
22-Feb-2023 00:13:55 60de0bbda0ed: Waiting
22-Feb-2023 00:13:55 5f70bf18a086: Waiting
22-Feb-2023 00:13:55 b34b6277c81b: Waiting
22-Feb-2023 00:13:55 d0a6a0df9123: Waiting
22-Feb-2023 00:13:55 63bbdb3574ed: Waiting
22-Feb-2023 00:13:55 118873527352: Waiting
22-Feb-2023 00:13:55 3353ee3d6876: Waiting
22-Feb-2023 00:13:55 ab5b3452b7ed: Waiting
22-Feb-2023 00:13:55 34f73756f7aa: Waiting
22-Feb-2023 00:13:55 93d6620f79bb: Waiting
22-Feb-2023 00:13:55 be417e78cadd: Waiting
22-Feb-2023 00:13:55 647dc4000019: Waiting
22-Feb-2023 00:13:55 8c5ff259ef50: Waiting
22-Feb-2023 00:13:56 e4a92042edbd: Layer already exists
22-Feb-2023 00:13:56 3b2b724ca57e: Layer already exists
22-Feb-2023 00:13:56 d85bfb698ecd: Layer already exists
22-Feb-2023 00:13:56 ca523e1ba04d: Layer already exists
22-Feb-2023 00:13:56 d09975f72592: Layer already exists
22-Feb-2023 00:13:56 60de0bbda0ed: Layer already exists
22-Feb-2023 00:13:56 5f70bf18a086: Layer already exists
22-Feb-2023 00:13:56 b34b6277c81b: Layer already exists
22-Feb-2023 00:13:56 d0a6a0df9123: Layer already exists
22-Feb-2023 00:13:56 63bbdb3574ed: Layer already exists
22-Feb-2023 00:13:56 3353ee3d6876: Layer already exists
22-Feb-2023 00:13:56 118873527352: Layer already exists
22-Feb-2023 00:13:56 ab5b3452b7ed: Layer already exists
22-Feb-2023 00:13:56 34f73756f7aa: Layer already exists
22-Feb-2023 00:13:56 93d6620f79bb: Layer already exists
22-Feb-2023 00:13:56 be417e78cadd: Layer already exists
22-Feb-2023 00:13:56 647dc4000019: Layer already exists
22-Feb-2023 00:13:56 8c5ff259ef50: Layer already exists
22-Feb-2023 00:13:56 qa: digest: sha256:28a53d0b92863a0d01d0babd0179a6b8ec2a4f2c77184a2eb27d4f0e3c5564d3 size: 4088
22-Feb-2023 00:13:56 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
22-Feb-2023 00:13:56 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
22-Feb-2023 00:13:57 Removing unused images if any
22-Feb-2023 00:13:58 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication-mysql ...
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ...
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication-mysql ... done
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... already exists
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... waiting
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... downloading (95.7%)
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... downloading (100.0%)
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... verifying checksum
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... download complete
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... downloading (0.5%)
22-Feb-2023 00:13:58 Pulling openmrs-referenceapplication       ... downloading (0.7%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (1.1%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (12.3%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (23.2%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (100.0%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... verifying checksum
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... download complete
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (27.0%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (43.0%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (41.2%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (62.9%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (55.4%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (79.3%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (69.2%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (97.7%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... download complete
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (84.4%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... extracting (0.7%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... downloading (96.1%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... verifying checksum
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... download complete
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... extracting (21.9%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... extracting (43.7%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... extracting (69.8%)
22-Feb-2023 00:13:59 Pulling openmrs-referenceapplication       ... extracting (94.5%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... pull complete
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... pull complete
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (0.5%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (18.7%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (36.5%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (51.7%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (69.9%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (87.1%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... pull complete
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (3.0%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... pull complete
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... digest: sha256:28a53d0b92863a0d01...
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
22-Feb-2023 00:14:00 Pulling openmrs-referenceapplication       ... done
22-Feb-2023 00:14:00 Recreating all images and volumes
22-Feb-2023 00:14:01 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Feb-2023 00:14:01 Stopping qa-refapp_openmrs-referenceapplication_1       ...
22-Feb-2023 00:14:01 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Feb-2023 00:14:02 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
22-Feb-2023 00:14:03 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Feb-2023 00:14:03 Removing qa-refapp_openmrs-referenceapplication_1       ...
22-Feb-2023 00:14:03 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Feb-2023 00:14:03 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Feb-2023 00:14:04 Removing qa-refapp_openmrs-referenceapplication_1       ... done
22-Feb-2023 00:14:04 Removing network qa-refapp_default
22-Feb-2023 00:14:04 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
22-Feb-2023 00:14:04 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Feb-2023 00:14:04 Creating network "qa-refapp_default" with the default driver
22-Feb-2023 00:14:04 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
22-Feb-2023 00:14:04 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Feb-2023 00:14:05 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Feb-2023 00:14:05 Creating qa-refapp_openmrs-referenceapplication_1       ...
22-Feb-2023 00:14:06 Creating qa-refapp_openmrs-referenceapplication_1       ... done
22-Feb-2023 00:14:06 Verifying if docker containers 131a5e761c2a9541b622cc55ad3c0003d0e781f0280289efe9327e3a30a00c80
22-Feb-2023 00:14:06 fc254a8cf14343d0ee0abbd0a61b56de34d1e65ee408147b328eadf1eb929579 are healthy
22-Feb-2023 00:14:06 Status found: "starting"
22-Feb-2023 00:14:06 Waiting 15s
22-Feb-2023 00:14:21 Verifying if docker containers 131a5e761c2a9541b622cc55ad3c0003d0e781f0280289efe9327e3a30a00c80
22-Feb-2023 00:14:21 fc254a8cf14343d0ee0abbd0a61b56de34d1e65ee408147b328eadf1eb929579 are healthy
22-Feb-2023 00:14:21 Status found: "starting"
22-Feb-2023 00:14:21 Waiting 15s
22-Feb-2023 00:14:36 Verifying if docker containers 131a5e761c2a9541b622cc55ad3c0003d0e781f0280289efe9327e3a30a00c80
22-Feb-2023 00:14:36 fc254a8cf14343d0ee0abbd0a61b56de34d1e65ee408147b328eadf1eb929579 are healthy
22-Feb-2023 00:14:36 Status found: "healthy"
22-Feb-2023 00:14:36 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
22-Feb-2023 00:14:36 Running post build plugin 'Docker Container Cleanup'
22-Feb-2023 00:14:36 Running post build plugin 'NCover Results Collector'
22-Feb-2023 00:14:36 Running post build plugin 'Build Results Label Collector'
22-Feb-2023 00:14:36 Running post build plugin 'Clover Results Collector'
22-Feb-2023 00:14:36 Running post build plugin 'npm Cache Cleanup'
22-Feb-2023 00:14:36 Running post build plugin 'Artifact Copier'
22-Feb-2023 00:14:36 Finalising the build...
22-Feb-2023 00:14:36 Stopping timer.
22-Feb-2023 00:14:36 Build REFAPP-OMODDISTRO-DTMTS-13497 completed.
22-Feb-2023 00:14:36 Running on server: post build plugin 'Build Hanging Detection Configuration'
22-Feb-2023 00:14:36 Running on server: post build plugin 'NCover Results Collector'
22-Feb-2023 00:14:36 Running on server: post build plugin 'Build Labeller'
22-Feb-2023 00:14:36 Running on server: post build plugin 'Clover Delta Calculator'
22-Feb-2023 00:14:36 Running on server: post build plugin 'Maven Dependencies Postprocessor'
22-Feb-2023 00:14:36 All post build plugins have finished
22-Feb-2023 00:14:36 Generating build results summary...
22-Feb-2023 00:14:36 Saving build results to disk...
22-Feb-2023 00:14:36 Store variable context...
22-Feb-2023 00:14:36 Finished building REFAPP-OMODDISTRO-DTMTS-13497.