Deploys Reference Application SNAPSHOT to maven

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

23-Feb-2023 13:03:46 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13505 (REFAPP-OMODDISTRO-DTMTS-13505) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
23-Feb-2023 13:03:46 Remote agent on host yu.openmrs.org
23-Feb-2023 13:03:46 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Feb-2023 13:03:46 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13505 (REFAPP-OMODDISTRO-DTMTS-13505)
23-Feb-2023 13:03:46 Running pre-build action: Build Log Labeller Pre Build Action
23-Feb-2023 13:03:46 Running pre-build action: VCS Version Collector
23-Feb-2023 13:03:46 Running pre-build action: Run Predator
23-Feb-2023 13:03:46 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
23-Feb-2023 13:03:46 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
23-Feb-2023 13:03:46 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
23-Feb-2023 13:03:46 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
23-Feb-2023 13:03:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2974Mb  579Mb 00:19:00 /usr/lib/jvm/java-8-ope
23-Feb-2023 13:03:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    2Mb 00:04:59 /home/bamboo-agent/bamb
23-Feb-2023 13:03:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:00:42 /sbin/init             
23-Feb-2023 13:03:46 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
23-Feb-2023 13:03:46 [PredatorPreBuildAction] Initial free space: 3.4449387 GB
23-Feb-2023 13:03:46 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
23-Feb-2023 13:03:51 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
23-Feb-2023 13:03:51 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
23-Feb-2023 13:03:51 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
23-Feb-2023 13:03:51 [PredatorPreBuildAction] Maven stable disk freed: 0.5291418 GB, deleted 148 files
23-Feb-2023 13:03:51 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
23-Feb-2023 13:03:51 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
23-Feb-2023 13:03:51 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
23-Feb-2023 13:03:51 [PredatorPreBuildAction] Final free space: 3.4765968 GB
23-Feb-2023 13:03:51 [PredatorPreBuildAction] Done
23-Feb-2023 13:03:51
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
23-Feb-2023 13:03:51
Substituting password variable: ${bamboo.dockerhub.password}
23-Feb-2023 13:03:51
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:1e125b46ae370acddac5239a67553ebf8e3cdadcd9bd47829a8c2e4d8882ed63
23-Feb-2023 13:03:51
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:1e125b46ae370acddac5239a67553ebf8e3cdadcd9bd47829a8c2e4d8882ed63
23-Feb-2023 13:03:51
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Feb-2023 13:03:51
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Feb-2023 13:03:51 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
23-Feb-2023 13:03:51
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13505 (REFAPP-OMODDISTRO-DTMTS-13505)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13505-ScriptBuildTask-376968507028359974.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Feb-2023 13:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
23-Feb-2023 13:03:51 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
23-Feb-2023 13:03:51 Configure a credential helper to remove this warning. See
23-Feb-2023 13:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
23-Feb-2023 13:03:51
23-Feb-2023 13:03:51 Login Succeeded
23-Feb-2023 13:03:51 + docker pull openmrs/openmrs-reference-application@sha256:1e125b46ae370acddac5239a67553ebf8e3cdadcd9bd47829a8c2e4d8882ed63
23-Feb-2023 13:03:52 docker.io/openmrs/openmrs-reference-application@sha256:1e125b46ae370acddac5239a67553ebf8e3cdadcd9bd47829a8c2e4d8882ed63: Pulling from openmrs/openmrs-reference-application
23-Feb-2023 13:03:52 Digest: sha256:1e125b46ae370acddac5239a67553ebf8e3cdadcd9bd47829a8c2e4d8882ed63
23-Feb-2023 13:03:52 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:1e125b46ae370acddac5239a67553ebf8e3cdadcd9bd47829a8c2e4d8882ed63
23-Feb-2023 13:03:52 docker.io/openmrs/openmrs-reference-application@sha256:1e125b46ae370acddac5239a67553ebf8e3cdadcd9bd47829a8c2e4d8882ed63
23-Feb-2023 13:03:52 + docker tag openmrs/openmrs-reference-application@sha256:1e125b46ae370acddac5239a67553ebf8e3cdadcd9bd47829a8c2e4d8882ed63 openmrs/openmrs-reference-application:qa
23-Feb-2023 13:03:52 + docker push openmrs/openmrs-reference-application:qa
23-Feb-2023 13:03:52 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
23-Feb-2023 13:03:52 31e839ad5ab3: Preparing
23-Feb-2023 13:03:52 5d46acb098c2: Preparing
23-Feb-2023 13:03:52 93585d7c498e: Preparing
23-Feb-2023 13:03:52 b2f8ebedc34c: Preparing
23-Feb-2023 13:03:52 e4a92042edbd: Preparing
23-Feb-2023 13:03:52 60de0bbda0ed: Preparing
23-Feb-2023 13:03:52 5f70bf18a086: Preparing
23-Feb-2023 13:03:52 b34b6277c81b: Preparing
23-Feb-2023 13:03:52 d0a6a0df9123: Preparing
23-Feb-2023 13:03:52 63bbdb3574ed: Preparing
23-Feb-2023 13:03:52 118873527352: Preparing
23-Feb-2023 13:03:52 3353ee3d6876: Preparing
23-Feb-2023 13:03:52 ab5b3452b7ed: Preparing
23-Feb-2023 13:03:52 34f73756f7aa: Preparing
23-Feb-2023 13:03:52 93d6620f79bb: Preparing
23-Feb-2023 13:03:52 be417e78cadd: Preparing
23-Feb-2023 13:03:52 647dc4000019: Preparing
23-Feb-2023 13:03:52 8c5ff259ef50: Preparing
23-Feb-2023 13:03:52 60de0bbda0ed: Waiting
23-Feb-2023 13:03:52 5f70bf18a086: Waiting
23-Feb-2023 13:03:52 b34b6277c81b: Waiting
23-Feb-2023 13:03:52 d0a6a0df9123: Waiting
23-Feb-2023 13:03:52 63bbdb3574ed: Waiting
23-Feb-2023 13:03:52 118873527352: Waiting
23-Feb-2023 13:03:52 3353ee3d6876: Waiting
23-Feb-2023 13:03:52 ab5b3452b7ed: Waiting
23-Feb-2023 13:03:52 34f73756f7aa: Waiting
23-Feb-2023 13:03:52 93d6620f79bb: Waiting
23-Feb-2023 13:03:52 be417e78cadd: Waiting
23-Feb-2023 13:03:52 647dc4000019: Waiting
23-Feb-2023 13:03:52 8c5ff259ef50: Waiting
23-Feb-2023 13:03:52 e4a92042edbd: Layer already exists
23-Feb-2023 13:03:52 b2f8ebedc34c: Layer already exists
23-Feb-2023 13:03:52 31e839ad5ab3: Layer already exists
23-Feb-2023 13:03:52 5d46acb098c2: Layer already exists
23-Feb-2023 13:03:52 93585d7c498e: Layer already exists
23-Feb-2023 13:03:52 60de0bbda0ed: Layer already exists
23-Feb-2023 13:03:52 5f70bf18a086: Layer already exists
23-Feb-2023 13:03:52 b34b6277c81b: Layer already exists
23-Feb-2023 13:03:52 63bbdb3574ed: Layer already exists
23-Feb-2023 13:03:52 d0a6a0df9123: Layer already exists
23-Feb-2023 13:03:52 118873527352: Layer already exists
23-Feb-2023 13:03:52 ab5b3452b7ed: Layer already exists
23-Feb-2023 13:03:52 3353ee3d6876: Layer already exists
23-Feb-2023 13:03:52 34f73756f7aa: Layer already exists
23-Feb-2023 13:03:52 93d6620f79bb: Layer already exists
23-Feb-2023 13:03:52 be417e78cadd: Layer already exists
23-Feb-2023 13:03:52 647dc4000019: Layer already exists
23-Feb-2023 13:03:52 8c5ff259ef50: Layer already exists
23-Feb-2023 13:03:53 qa: digest: sha256:87779212144e262ee7001625cc1b9beb47530e890474639be3f7a5bf3c8a6611 size: 4088
23-Feb-2023 13:03:53 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
23-Feb-2023 13:03:53 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
23-Feb-2023 13:03:54 Removing unused images if any
23-Feb-2023 13:03:54 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Feb-2023 13:03:54 Pulling openmrs-referenceapplication-mysql ...
23-Feb-2023 13:03:54 Pulling openmrs-referenceapplication       ...
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication-mysql ... done
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... waiting
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (95.5%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (0.7%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (0.5%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (25.3%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (16.6%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (1.1%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (45.7%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (29.9%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (66.2%)
23-Feb-2023 13:03:55 Pulling openmrs-referenceapplication       ... downloading (45.1%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... downloading (90.8%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... downloading (63.2%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... downloading (78.9%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (0.7%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... downloading (94.1%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (18.3%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (36.7%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (55.7%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (74.1%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (92.4%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 13:03:56 Pulling openmrs-referenceapplication       ... extracting (0.5%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (12.2%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (26.8%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (41.5%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (59.3%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (73.4%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (89.6%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (3.0%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... digest: sha256:87779212144e262ee7...
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
23-Feb-2023 13:03:57 Pulling openmrs-referenceapplication       ... done
23-Feb-2023 13:03:57 Recreating all images and volumes
23-Feb-2023 13:03:58 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Feb-2023 13:03:58 Stopping qa-refapp_openmrs-referenceapplication_1       ...
23-Feb-2023 13:03:58 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Feb-2023 13:03:58 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
23-Feb-2023 13:04:00 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Feb-2023 13:04:00 Removing qa-refapp_openmrs-referenceapplication_1       ...
23-Feb-2023 13:04:00 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Feb-2023 13:04:00 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Feb-2023 13:04:00 Removing qa-refapp_openmrs-referenceapplication_1       ... done
23-Feb-2023 13:04:00 Removing network qa-refapp_default
23-Feb-2023 13:04:00 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
23-Feb-2023 13:04:01 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Feb-2023 13:04:01 Creating network "qa-refapp_default" with the default driver
23-Feb-2023 13:04:01 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
23-Feb-2023 13:04:01 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Feb-2023 13:04:01 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Feb-2023 13:04:01 Creating qa-refapp_openmrs-referenceapplication_1       ...
23-Feb-2023 13:04:02 Creating qa-refapp_openmrs-referenceapplication_1       ... done
23-Feb-2023 13:04:02 Verifying if docker containers 586b6af1b2bcbf902d0b2976c1298fbef9b3c4e43fea7ca2189c1c6159805edd
23-Feb-2023 13:04:02 e807a3ea150c6504088c52de08948ee64260c11cac7575054cb9de3c777ee53f are healthy
23-Feb-2023 13:04:02 Status found: "starting"
23-Feb-2023 13:04:02 Waiting 15s
23-Feb-2023 13:04:17 Verifying if docker containers 586b6af1b2bcbf902d0b2976c1298fbef9b3c4e43fea7ca2189c1c6159805edd
23-Feb-2023 13:04:17 e807a3ea150c6504088c52de08948ee64260c11cac7575054cb9de3c777ee53f are healthy
23-Feb-2023 13:04:17 Status found: "starting"
23-Feb-2023 13:04:17 Waiting 15s
23-Feb-2023 13:04:32 Verifying if docker containers 586b6af1b2bcbf902d0b2976c1298fbef9b3c4e43fea7ca2189c1c6159805edd
23-Feb-2023 13:04:32 e807a3ea150c6504088c52de08948ee64260c11cac7575054cb9de3c777ee53f are healthy
23-Feb-2023 13:04:32 Status found: "healthy"
23-Feb-2023 13:04:32 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
23-Feb-2023 13:04:32 Running post build plugin 'Docker Container Cleanup'
23-Feb-2023 13:04:32 Running post build plugin 'NCover Results Collector'
23-Feb-2023 13:04:32 Running post build plugin 'Build Results Label Collector'
23-Feb-2023 13:04:32 Running post build plugin 'Clover Results Collector'
23-Feb-2023 13:04:32 Running post build plugin 'npm Cache Cleanup'
23-Feb-2023 13:04:32 Running post build plugin 'Artifact Copier'
23-Feb-2023 13:04:32 Finalising the build...
23-Feb-2023 13:04:32 Stopping timer.
23-Feb-2023 13:04:32 Build REFAPP-OMODDISTRO-DTMTS-13505 completed.
23-Feb-2023 13:04:32 Running on server: post build plugin 'Build Hanging Detection Configuration'
23-Feb-2023 13:04:32 Running on server: post build plugin 'NCover Results Collector'
23-Feb-2023 13:04:32 Running on server: post build plugin 'Build Labeller'
23-Feb-2023 13:04:32 Running on server: post build plugin 'Clover Delta Calculator'
23-Feb-2023 13:04:32 Running on server: post build plugin 'Maven Dependencies Postprocessor'
23-Feb-2023 13:04:32 All post build plugins have finished
23-Feb-2023 13:04:32 Generating build results summary...
23-Feb-2023 13:04:32 Saving build results to disk...
23-Feb-2023 13:04:32 Store variable context...
23-Feb-2023 13:04:32 Finished building REFAPP-OMODDISTRO-DTMTS-13505.