cancel
Showing results for 
Search instead for 
Did you mean: 

application is visible in the SAP BTP cockpit space, but deployment is failed

0 Kudos

Dear Experts,

I am able to run the Continuous Integration and Delivery job in SAP BTP trial environment, but I am facing an issue in deployment phase while build is triggered in SAP Continuous Integration and Delivery(Cloud Foundry environment), where my application is getting pulled from github and is placed in cloud foundry space of SAP BTP cockpit , but deployment is unsuccessful.

The error is like, an error has occured in library step: cloudFoundryDeploy.

How can I resolve this issue.

Regards,

Harshitha P

Accepted Solutions (0)

Answers (1)

Answers (1)

krzys
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Harshitha P,

we'll need some more information. Please post the log of your deployment, remove sensitive parts if there's any.

Thanks,

Christoph

0 Kudos

Hi, Please find the log below.

Deploying in org "490edb2ftrial" and space "dev"
[2021-07-19T14:28:31.819Z] Detected MTA schema version: "3"
[2021-07-19T14:28:32.112Z] No deployed MTA detected - this is initial deployment
[2021-07-19T14:28:32.191Z] Detected new MTA version: "0.0.1"
[2021-07-19T14:28:32.204Z] Creating application "ui5app" from MTA module "ui5app"...
[2021-07-19T14:28:34.737Z] Uploading application "ui5app"...
[2021-07-19T14:28:38.025Z] Started async upload of application "ui5app"
[2021-07-19T14:28:47.994Z] Scaling application "ui5app" to "1" instances... 
[2021-07-19T14:28:48.008Z] Staging application "ui5app"...
[2021-07-19T14:29:26.683Z] Error staging application "ui5app": StagingError - Staging error: Start command not specified
[2021-07-19T14:29:26.715Z] Download the application logs via the dmol command and check them for more information.
[2021-07-19T14:29:26.729Z] A step of the process has failed. Retrying it may solve the issue.
[2021-07-19T14:29:26.740Z] Proceeding with automatic retry... (3 of 3 attempts left)
[2021-07-19T14:29:27.245Z] Staging application "ui5app"...
[2021-07-19T14:30:13.889Z] Error staging application "ui5app": StagingError - Staging error: Start command not specified
[2021-07-19T14:30:13.907Z] Download the application logs via the dmol command and check them for more information.
[2021-07-19T14:30:13.919Z] A step of the process has failed. Retrying it may solve the issue.
[2021-07-19T14:30:13.932Z] Proceeding with automatic retry... (2 of 3 attempts left)
[2021-07-19T14:30:13.943Z] Staging application "ui5app"...
[2021-07-19T14:30:52.617Z] Error staging application "ui5app": StagingError - Staging error: Start command not specified
[2021-07-19T14:30:52.631Z] Download the application logs via the dmol command and check them for more information.
[2021-07-19T14:30:52.641Z] A step of the process has failed. Retrying it may solve the issue.
[2021-07-19T14:30:52.652Z] Proceeding with automatic retry... (1 of 3 attempts left)
[2021-07-19T14:30:53.030Z] Staging application "ui5app"...
[2021-07-19T14:31:31.703Z] Error staging application "ui5app": StagingError - Staging error: Start command not specified
[2021-07-19T14:31:31.718Z] Download the application logs via the dmol command and check them for more information.
[2021-07-19T14:31:31.730Z] A step of the process has failed. Retrying it may solve the issue.
[2021-07-19T14:31:31.742Z] Process failed.
[2021-07-19T14:31:31.754Z] Use "cf deploy -i 95a04508-e89d-11eb-8944-eeee0a96a60e -a abort" to abort the process.
[2021-07-19T14:31:31.767Z] Use "cf deploy -i 95a04508-e89d-11eb-8944-eeee0a96a60e -a retry" to retry the process.
[2021-07-19T14:31:31.779Z] Use "cf dmol -i 95a04508-e89d-11eb-8944-eeee0a96a60e" to download the logs of the process.
[2021-07-19T14:31:31.918Z] ### START OF CF CLI TRACE OUTPUT ###
[2021-07-19T14:31:32.961Z] REQUEST: [2021-07-19T14:28:25Z]
[2021-07-19T14:31:32.974Z] GET / HTTP/1.1
[2021-07-19T14:31:32.984Z] Host: api.cf.eu10.hana.ondemand.com
[2021-07-19T14:31:32.994Z] Accept: application/json
[2021-07-19T14:31:33.004Z] User-Agent: cf/7.2.0+be4a5ce2b.2020-12-10 (go1.13.15; amd64 linux)

-----------------------------------------------------------------------------------------------------------------
 ### END OF CF CLI TRACE OUTPUT ###
[2021-07-19T14:31:50.749Z] Stashed 5 file(s)
[2021-07-19T14:31:51.068Z] invalidate stash container-6376ef74-057d-41d2-9962-6d49a06b8fdb
[2021-07-19T14:31:51.125Z] Warning: overwriting stash ‘container-6376ef74-057d-41d2-9962-6d49a06b8fdb’
[2021-07-19T14:31:51.139Z] Stashed 0 file(s)
[2021-07-19T14:31:51.546Z] ----------------------------------------------------------
[2021-07-19T14:31:51.559Z] --- An error occurred in the library step: dockerExecuteOnKubernetes
[2021-07-19T14:31:51.569Z] ----------------------------------------------------------
[2021-07-19T14:31:51.579Z] 
[2021-07-19T14:31:51.590Z] The following parameters were available to the step:
[2021-07-19T14:31:51.601Z] ***
[2021-07-19T14:31:51.610Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2021-07-19T14:31:51.644Z] *** WARNING: this may reveal sensitive information. ***
[2021-07-19T14:31:51.653Z] ***
[2021-07-19T14:31:51.664Z] 
[2021-07-19T14:31:51.673Z] The error was:
[2021-07-19T14:31:51.683Z] ***
[2021-07-19T14:31:51.693Z] hudson.AbortException: [cloudFoundryDeploy] ERROR: The execution of the deploy command failed, see the log for details.
[2021-07-19T14:31:51.702Z] ***
[2021-07-19T14:31:51.710Z] 
[2021-07-19T14:31:51.721Z] Further information:
[2021-07-19T14:31:51.731Z] * Documentation of library step dockerExecuteOnKubernetes: https://sap.github.io/jenkins-library/steps/dockerExecuteOnKubernetes/
[2021-07-19T14:31:51.741Z] * Source code of library step dockerExecuteOnKubernetes: https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecuteOnKubernetes.groovy
[2021-07-19T14:31:51.751Z] * Library documentation: https://sap.github.io/jenkins-library/
[2021-07-19T14:31:51.761Z] * Library repository: https://github.com/SAP/jenkins-library/
[2021-07-19T14:31:51.770Z] 
[2021-07-19T14:31:51.781Z] ----------------------------------------------------------
[2021-07-19T14:31:51.791Z] --- End library step of: dockerExecuteOnKubernetes ---
[2021-07-19T14:31:51.901Z] ----------------------------------------------------------
[2021-07-19T14:31:51.916Z] --- An error occurred in the library step: dockerExecute
[2021-07-19T14:31:51.929Z] ----------------------------------------------------------
[2021-07-19T14:31:51.955Z] 
[2021-07-19T14:31:51.967Z] The following parameters were available to the step:
[2021-07-19T14:31:51.985Z] ***
[2021-07-19T14:31:51.998Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2021-07-19T14:31:52.090Z] *** WARNING: this may reveal sensitive information. ***
[2021-07-19T14:31:52.103Z] ***
[2021-07-19T14:31:52.162Z] 
[2021-07-19T14:31:52.171Z] The error was:
[2021-07-19T14:31:52.181Z] ***
[2021-07-19T14:31:52.191Z] hudson.AbortException: [cloudFoundryDeploy] ERROR: The execution of the deploy command failed, see the log for details.
[2021-07-19T14:31:52.201Z] ***
[2021-07-19T14:31:52.211Z] 
[2021-07-19T14:31:52.220Z] Further information:
[2021-07-19T14:31:52.229Z] * Documentation of library step dockerExecute: https://sap.github.io/jenkins-library/steps/dockerExecute/
[2021-07-19T14:31:52.240Z] * Source code of library step dockerExecute: https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecute.groovy
[2021-07-19T14:31:52.249Z] * Library documentation: https://sap.github.io/jenkins-library/
[2021-07-19T14:31:52.258Z] * Library repository: https://github.com/SAP/jenkins-library/
[2021-07-19T14:31:52.273Z] 
[2021-07-19T14:31:52.285Z] ----------------------------------------------------------
[2021-07-19T14:31:52.294Z] --- End library step of: dockerExecute ---
[2021-07-19T14:31:52.363Z] Masking supported pattern matches of $username or $password
[2021-07-19T14:31:52.914Z] --- Begin library step of: influxWriteData ---
[2021-07-19T14:31:53.142Z] [influxWriteData] Sending telemetry data is disabled.
[2021-07-19T14:31:53.196Z] [influxWriteData] no artifact version available -> exiting writeInflux without writing data
[2021-07-19T14:31:53.253Z] --- End library step of: influxWriteData ---
[2021-07-19T14:31:53.370Z] ----------------------------------------------------------
[2021-07-19T14:31:53.382Z] --- An error occurred in the library step: cloudFoundryDeploy
[2021-07-19T14:31:53.392Z] ----------------------------------------------------------
[2021-07-19T14:31:53.403Z] 
[2021-07-19T14:31:53.414Z] The following parameters were available to the step:
[2021-07-19T14:31:53.423Z] ***
[2021-07-19T14:31:53.432Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2021-07-19T14:31:53.442Z] *** WARNING: this may reveal sensitive information. ***
[2021-07-19T14:31:53.452Z] ***
[2021-07-19T14:31:53.462Z] 
[2021-07-19T14:31:53.471Z] The error was:
[2021-07-19T14:31:53.481Z] ***
[2021-07-19T14:31:53.490Z] hudson.AbortException: [cloudFoundryDeploy] ERROR: The execution of the deploy command failed, see the log for details.
[2021-07-19T14:31:53.498Z] ***
[2021-07-19T14:31:53.508Z] 
[2021-07-19T14:31:53.518Z] Further information:
[2021-07-19T14:31:53.527Z] * Documentation of library step cloudFoundryDeploy: https://sap.github.io/jenkins-library/steps/cloudFoundryDeploy/
[2021-07-19T14:31:53.537Z] * Source code of library step cloudFoundryDeploy: https://github.com/SAP/jenkins-library/blob/master/vars/cloudFoundryDeploy.groovy
[2021-07-19T14:31:53.547Z] * Library documentation: https://sap.github.io/jenkins-library/
[2021-07-19T14:31:53.557Z] * Library repository: https://github.com/SAP/jenkins-library/
[2021-07-19T14:31:53.568Z] 
[2021-07-19T14:31:53.577Z] ----------------------------------------------------------
[2021-07-19T14:31:53.585Z] --- End library step of: cloudFoundryDeploy ---