cloudfoundry / cloudfoundry/cli

Support Request – Deployment Build Failure (Cloud Foundry Deploy) – Job #5049

Open
#3,722 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.9k
Forks
990
Avg merge
1d 7h
Merged PRs (30d)
8

Description

I need your support to resolve a deployment failure occurring in our Deploy_from_Nexus Jenkins pipeline.Job & Repository Details

Pipeline Job:
Deploy_from_Nexus – Build #5049
https://excisetax.jaas-gcp.cloud.sap.corp/job/Deploy_from_Nexus/5049/console

Repository:
https://github.wdf.sap.corp/EXCISETAX/ExciseTax/tree/ifs_cap4_springboot
Branch:
ifs_cap4_springboot`

Attached Log File: console_log_5049.txt
Recent Technical Changes

As part of our ongoing upgrade, we recently upgraded all CDS/CAP dependencies to CDS 9.x, specifically:

"@sap/cds": "9.6.4",
"@sap/cds-dk": "9.6.1",
"@sap/cds-mtxs": "3.6.2"

Summary of Deployment Failure

The pipeline consistently fails during the Cloud Foundry deploy step:
[cloudFoundryDeploy] Step execution failed.
Error: running command 'cf' failed: exit status 1
This happens even after 3 automatic retries of:

cf deploy target/Excise_Tax.mtar -f --version-rule ALL -e assembly/mta_extensions/canary.mtaext

Critical Issues Identified in the Log**

  1. xs-security.json Parsing Error – UAA Update Fails**

The deployment fails while updating the service Excise_Tax-admin-uaa:

Error parsing xs-security.json:
Unrecognized field "grant-as-authority-to-apps"

This field appears to be unsupported by SAP Cloud Foundry UAA and causes:

  • Failure to update the admin UAA instance
  • Potential cascading failures in dependent applications
  1. Application Startup Failure – mtx-sidecar

The mtx-sidecar application fails to start during deployment:
Error starting application "mtx-sidecar": Some instances have crashed.

failure console log: console_log5049.txt

versions:

https://github.com/<your/repo>
@sap/cds 9.6.4
@sap/cds-compiler 6.7.3
@sap/cds-dk 9.6.1
@sap/cds-dk (global) 9.6.1
@sap/cds-fiori 2.2.0
@sap/cds-mtxs 3.6.1
@cap-js/asyncapi 1.0.3
@cap-js/openapi 1.3.1
Node.js v20.19.5
home C:\Users\C5406001\testcap\source\ExciseTax\node_modules@sap\cds
CAP Java SDK 4.6.0
cds4j 4.6.0
Spring Boot 3.5.7
Maven 3.9.8, home: C:\Users\C5406001\apache-maven-3.9.8
Java 17.0.18, home: C:\Program Files\SapMachine\JDK\17
OS Windows 11, 10.0, arch: amd64

I kindly request your support to help resolve this issue. Please let us know if any additional information or configuration is required.
Thank you for your support.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided Build #5049 console log and the cf deploy target/Excise_Tax.mtar command, focusing on the xs-security.json parsing error and the mtx-sidecar crash. No repository file or test is named; done would require determining whether the failure is in the Cloud Foundry CLI and providing a reproducible, actionable diagnosis.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, node.js, spring-boot
Domain
cli, cloud, devops
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.