cancel
Showing results for 
Search instead for 
Did you mean: 

CI/CD Process Failed With Error

alixpel
Advisor
Advisor
0 Kudos
509

Hello 🙂

We have been using SAP CI/CD service for a while. Successfully, until recently, when we started getting fails every time. No change was made to the applications.

What setting could cause this ? Was there a recent update in the tool ?

This is the error we get at first :

Missing or empty 'version' attribute in package.json at /home/jenkins/agent/workspace/sij-room-cx_DEV

"sij-room-cx_DEV" is the name of the job.

And if we add a version attribute in the package.json :

Failed to create a UI5 project from module approuter at /home/jenkins/agent/workspace/sij-room-partnerexhidemo_DEV. Make sure the path is correct and a project configuration is present or supplied.

In attachment, the logs.

ol___r
Advisor
Advisor
0 Kudos

Hi,

Could it be that you have dependencies in your package.json that use the latest version and that is why it does not work as before. So if a dependency version has a ^ it will get the latest version of that dependency and that can change the behavior. Maybe the UI5 team would be a better address to get this analyzed. Does it show the same issues when running npm install locally?

ol___r
Advisor
Advisor
0 Kudos

Hi,

The log txt you uploaded is about the version, which you added like so, correct?

Could you also provide the logs of the subsequent run, after you have added the version field?

Thanks and regards,
Oliver

View Entire Topic
alixpel
Advisor
Advisor
0 Kudos

Hi 🙂

The build fails for any app (apps who used to go through CI/CD process with no issue before), UI5 app or any othe kind. In attachment, the logs of a basic node.js app.

It seems to be related to a Jenkins process, which is not my domain of expertise.

ol___r
Advisor
Advisor
0 Kudos

Hi :-),

In this log the npmExecuteScripts worked out just fine. Probably because there was no build script executed that does not work.

Instead it fails in the deployment with the following error:

[2024-07-15T11:58:08.581Z] info cloudFoundryDeploy - -----> Nodejs Buildpack version 1.8.25
[2024-07-15T11:58:08.581Z] warn cloudFoundryDeploy - **WARNING** buildpack version changed from 1.8.24 to 1.8.25
[2024-07-15T11:58:08.581Z] info cloudFoundryDeploy - -----> Bootstrapping python
[2024-07-15T11:58:08.581Z] info cloudFoundryDeploy - -----> Installing python 3.11.9
[2024-07-15T11:58:08.581Z] info cloudFoundryDeploy - Copy [/tmp/buildpacks/badd377bdd2a2a0d/dependencies/21946bb90387e2dbfa40b0d6ca474060/python_3.11.9_linux_x64_cflinuxfs4_dea1f79d.tgz]
[2024-07-15T11:58:11.108Z] info cloudFoundryDeploy - BuildpackCompileFailed - App staging failed in the buildpack compile phase
[2024-07-15T11:58:11.108Z] info cloudFoundryDeploy - FAILED

For that the BTP CF colleagues would be the right address. Maybe open a Service Now ticket for component BC-CP-CF providing the cloudFoundryDeploy specific log messages.

Cheers!
Oliver