Deploys Reference Application SNAPSHOT to maven

Build: #13376 failed

Job: Deploy to qa-refapp failed

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 215 lines of output. Download or view full build log.

09-Jan-2023 15:00:00 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13376 (REFAPP-OMODDISTRO-DTMTS-13376) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
09-Jan-2023 15:00:00 Remote agent on host yu.openmrs.org
09-Jan-2023 15:00:00 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
09-Jan-2023 15:00:00 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13376 (REFAPP-OMODDISTRO-DTMTS-13376)
09-Jan-2023 15:00:00 Running pre-build action: Build Log Labeller Pre Build Action
09-Jan-2023 15:00:00 Running pre-build action: VCS Version Collector
09-Jan-2023 15:00:00 Running pre-build action: Run Predator
09-Jan-2023 15:00:00 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
09-Jan-2023 15:00:00 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
09-Jan-2023 15:00:00 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
09-Jan-2023 15:00:00 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 123
09-Jan-2023 15:00:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 31687 java        1463 bamboo-age 2961Mb  347Mb 00:03:10 /usr/lib/jvm/java-8-ope
09-Jan-2023 15:00:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1463 wrapper        1 bamboo-age   16Mb    3Mb 00:16:35 /home/bamboo-agent/bamb
09-Jan-2023 15:00:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:09:31 /sbin/init             
09-Jan-2023 15:00:00 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
09-Jan-2023 15:00:00 [PredatorPreBuildAction] Initial free space: 3.6495743 GB
09-Jan-2023 15:00:00 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
09-Jan-2023 15:00:03 [PredatorPreBuildAction] Deleting 21 snapshot folders from /home/bamboo-agent/.m2/repository
09-Jan-2023 15:00:03 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
09-Jan-2023 15:00:03 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
09-Jan-2023 15:00:03 [PredatorPreBuildAction] Maven stable disk freed: 0.92192525 GB, deleted 156 files
09-Jan-2023 15:00:03 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
09-Jan-2023 15:00:03 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
09-Jan-2023 15:00:03 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
09-Jan-2023 15:00:03 [PredatorPreBuildAction] Final free space: 3.681202 GB
09-Jan-2023 15:00:03 [PredatorPreBuildAction] Done
09-Jan-2023 15:00:03
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
09-Jan-2023 15:00:03
Substituting password variable: ${bamboo.dockerhub.password}
09-Jan-2023 15:00:03
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:02cab190bb9e4a2bf817b7a5c1e9dcca00c7980f10ae6cd5353d14f18ddc45f8
09-Jan-2023 15:00:03
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:02cab190bb9e4a2bf817b7a5c1e9dcca00c7980f10ae6cd5353d14f18ddc45f8
09-Jan-2023 15:00:03
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
09-Jan-2023 15:00:03
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
09-Jan-2023 15:00:03 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
09-Jan-2023 15:00:03
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13376 (REFAPP-OMODDISTRO-DTMTS-13376)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13376-ScriptBuildTask-3369351120366499312.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
09-Jan-2023 15:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
09-Jan-2023 15:00:06 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
09-Jan-2023 15:00:06 Configure a credential helper to remove this warning. See
09-Jan-2023 15:00:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
09-Jan-2023 15:00:06
09-Jan-2023 15:00:06 Login Succeeded
09-Jan-2023 15:00:06 + docker pull openmrs/openmrs-reference-application@sha256:02cab190bb9e4a2bf817b7a5c1e9dcca00c7980f10ae6cd5353d14f18ddc45f8
09-Jan-2023 15:00:06 docker.io/openmrs/openmrs-reference-application@sha256:02cab190bb9e4a2bf817b7a5c1e9dcca00c7980f10ae6cd5353d14f18ddc45f8: Pulling from openmrs/openmrs-reference-application
09-Jan-2023 15:00:06 Digest: sha256:02cab190bb9e4a2bf817b7a5c1e9dcca00c7980f10ae6cd5353d14f18ddc45f8
09-Jan-2023 15:00:06 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:02cab190bb9e4a2bf817b7a5c1e9dcca00c7980f10ae6cd5353d14f18ddc45f8
09-Jan-2023 15:00:06 docker.io/openmrs/openmrs-reference-application@sha256:02cab190bb9e4a2bf817b7a5c1e9dcca00c7980f10ae6cd5353d14f18ddc45f8
09-Jan-2023 15:00:06 + docker tag openmrs/openmrs-reference-application@sha256:02cab190bb9e4a2bf817b7a5c1e9dcca00c7980f10ae6cd5353d14f18ddc45f8 openmrs/openmrs-reference-application:qa
09-Jan-2023 15:00:06 + docker push openmrs/openmrs-reference-application:qa
09-Jan-2023 15:00:06 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
09-Jan-2023 15:00:06 c090b84ffd84: Preparing
09-Jan-2023 15:00:06 ca0b8af1f584: Preparing
09-Jan-2023 15:00:06 511f314535a7: Preparing
09-Jan-2023 15:00:06 407f058871b1: Preparing
09-Jan-2023 15:00:06 37f994ef76e7: Preparing
09-Jan-2023 15:00:06 6fdd21bc4a9b: Preparing
09-Jan-2023 15:00:06 5f70bf18a086: Preparing
09-Jan-2023 15:00:06 b7243530d918: Preparing
09-Jan-2023 15:00:06 23323df4fbd9: Preparing
09-Jan-2023 15:00:06 725ecc0c9d62: Preparing
09-Jan-2023 15:00:06 6c1f45cb6682: Preparing
09-Jan-2023 15:00:06 b8aa9430b356: Preparing
09-Jan-2023 15:00:06 b46e16032f56: Preparing
09-Jan-2023 15:00:06 91ac82815b04: Preparing
09-Jan-2023 15:00:06 24fcda5a8b17: Preparing
09-Jan-2023 15:00:06 a4a7e924299e: Preparing
09-Jan-2023 15:00:06 059c2d42be74: Preparing
09-Jan-2023 15:00:06 3f800aca2a44: Preparing
09-Jan-2023 15:00:06 725ecc0c9d62: Waiting
09-Jan-2023 15:00:06 6c1f45cb6682: Waiting
09-Jan-2023 15:00:06 b8aa9430b356: Waiting
09-Jan-2023 15:00:06 b46e16032f56: Waiting
09-Jan-2023 15:00:06 91ac82815b04: Waiting
09-Jan-2023 15:00:06 24fcda5a8b17: Waiting
09-Jan-2023 15:00:06 a4a7e924299e: Waiting
09-Jan-2023 15:00:06 059c2d42be74: Waiting
09-Jan-2023 15:00:06 3f800aca2a44: Waiting
09-Jan-2023 15:00:06 6fdd21bc4a9b: Waiting
09-Jan-2023 15:00:06 5f70bf18a086: Waiting
09-Jan-2023 15:00:06 b7243530d918: Waiting
09-Jan-2023 15:00:06 23323df4fbd9: Waiting
09-Jan-2023 15:00:07 37f994ef76e7: Layer already exists
09-Jan-2023 15:00:07 511f314535a7: Layer already exists
09-Jan-2023 15:00:07 ca0b8af1f584: Layer already exists
09-Jan-2023 15:00:07 c090b84ffd84: Layer already exists
09-Jan-2023 15:00:07 407f058871b1: Layer already exists
09-Jan-2023 15:00:07 6fdd21bc4a9b: Layer already exists
09-Jan-2023 15:00:07 5f70bf18a086: Layer already exists
09-Jan-2023 15:00:07 b7243530d918: Layer already exists
09-Jan-2023 15:00:07 725ecc0c9d62: Layer already exists
09-Jan-2023 15:00:07 23323df4fbd9: Layer already exists
09-Jan-2023 15:00:07 6c1f45cb6682: Layer already exists
09-Jan-2023 15:00:07 b46e16032f56: Layer already exists
09-Jan-2023 15:00:07 91ac82815b04: Layer already exists
09-Jan-2023 15:00:07 24fcda5a8b17: Layer already exists
09-Jan-2023 15:00:07 b8aa9430b356: Layer already exists
09-Jan-2023 15:00:07 a4a7e924299e: Layer already exists
09-Jan-2023 15:00:07 059c2d42be74: Layer already exists
09-Jan-2023 15:00:07 3f800aca2a44: Layer already exists
09-Jan-2023 15:00:07 qa: digest: sha256:159fddee556dd294361e234c5ad914a441de4e1a2c08255f8e45783e90d94e49 size: 4088
09-Jan-2023 15:00:07 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
09-Jan-2023 15:00:07 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
09-Jan-2023 15:00:08 Removing unused images if any
09-Jan-2023 15:00:09 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
09-Jan-2023 15:00:09 Pulling openmrs-referenceapplication-mysql ...
09-Jan-2023 15:00:09 Pulling openmrs-referenceapplication       ...
09-Jan-2023 15:00:09 Pulling openmrs-referenceapplication-mysql ... error
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... already exists
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... waiting
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... waiting
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (100.0%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... download complete
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (0.7%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (0.7%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (20.5%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (18.8%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (0.5%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (36.9%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (14.2%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (38.9%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (56.0%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (57.0%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (27.9%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (75.1%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (41.0%)
09-Jan-2023 15:00:10 Pulling openmrs-referenceapplication       ... downloading (75.2%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... downloading (54.7%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... downloading (95.9%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... downloading (94.2%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... verifying checksum
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... download complete
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... verifying checksum
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... download complete
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... downloading (67.4%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... downloading (1.1%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... verifying checksum
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... download complete
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... downloading (77.7%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... extracting (0.7%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... downloading (91.4%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... extracting (19.4%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... verifying checksum
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... download complete
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... extracting (43.7%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... extracting (70.1%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... extracting (91.6%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... pull complete
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... extracting (0.7%)
09-Jan-2023 15:00:11 Pulling openmrs-referenceapplication       ... extracting (27.5%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (50.1%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (76.9%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... pull complete
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... pull complete
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (0.5%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (12.7%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (26.3%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (46.1%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (59.8%)
09-Jan-2023 15:00:12 Pulling openmrs-referenceapplication       ... extracting (69.4%)
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... extracting (80.5%)
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... extracting (91.7%)
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... pull complete
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... extracting (3.0%)
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... extracting (44.8%)
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... pull complete
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... digest: sha256:159fddee556dd29436...
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
09-Jan-2023 15:00:13 Pulling openmrs-referenceapplication       ... done
09-Jan-2023 15:00:13
09-Jan-2023 15:00:13 ERROR: for openmrs-referenceapplication-mysql  Head "https://registry-1.docker.io/v2/library/mysql/manifests/5.6": error parsing HTTP 429 response body: invalid character 'S' looking for beginning of value: "Server capacity exceeded.\n"
09-Jan-2023 15:00:13 Head "https://registry-1.docker.io/v2/library/mysql/manifests/5.6": error parsing HTTP 429 response body: invalid character 'S' looking for beginning of value: "Server capacity exceeded.\n"
09-Jan-2023 15:00:13 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13376-ScriptBuildTask-3369351120366499312.sh] was 1 while expected 0
09-Jan-2023 15:00:13 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Failed
09-Jan-2023 15:00:13 Running post build plugin 'Docker Container Cleanup'
09-Jan-2023 15:00:13 Running post build plugin 'NCover Results Collector'
09-Jan-2023 15:00:13 Running post build plugin 'Build Results Label Collector'
09-Jan-2023 15:00:13 Running post build plugin 'Clover Results Collector'
09-Jan-2023 15:00:13 Running post build plugin 'npm Cache Cleanup'
09-Jan-2023 15:00:13 Running post build plugin 'Artifact Copier'
09-Jan-2023 15:00:13 Finalising the build...
09-Jan-2023 15:00:13 Stopping timer.
09-Jan-2023 15:00:13 Build REFAPP-OMODDISTRO-DTMTS-13376 completed.
09-Jan-2023 15:00:13 Running on server: post build plugin 'Build Hanging Detection Configuration'
09-Jan-2023 15:00:13 Running on server: post build plugin 'NCover Results Collector'
09-Jan-2023 15:00:13 Running on server: post build plugin 'Build Labeller'
09-Jan-2023 15:00:13 Running on server: post build plugin 'Clover Delta Calculator'
09-Jan-2023 15:00:13 Running on server: post build plugin 'Maven Dependencies Postprocessor'
09-Jan-2023 15:00:13 All post build plugins have finished
09-Jan-2023 15:00:13 Generating build results summary...
09-Jan-2023 15:00:13 Saving build results to disk...
09-Jan-2023 15:00:13 Store variable context...
09-Jan-2023 15:00:13 Finished building REFAPP-OMODDISTRO-DTMTS-13376.