DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

deployment from proxy ExitCode: -11 #325

Closed piyush94 closed 3 years ago

piyush94 commented 3 years ago

Deployments from proxy were working a while ago but suddenly I am seeing this error in the proxy logs. deployment stays stuck here, image

what could be the issue here?

piyush94 commented 3 years ago

The issue got resolved by deleting and recreating the component. What could be the reason?

sbtaylor15 commented 3 years ago

We would need to have a copy of the database to look at the information for that component. Let us know if you want us to debug this.

piyush94 commented 3 years ago

This issue is happening again. I am attaching deployhub and proxy logs. Let me know if more info is required. deployhub-comp-deploy-issue-12-29-2020.log deployhub-comp-deploy-issue-12-29-2020-proxy.log

piyush94 commented 3 years ago

The issue seems to be with versioning. Something is wrong with /API/application API endpoint. Jenkins library depends on the response from this API to get the correct latest version but that is not happening. And due to this, the versions are not getting created one below latest. Instead, version creation is random. This needs to be fixed.

After I removed the wrongly created application versions, deployment started working.

// Refetch parent to get version list
data = getApplication(url,userid,pw,appname,"");
def latest_appid = data[2];

The issue is present in this version as well.

Version | 8.0.1
Build | 20200918_1952
Database Schema: | 2020062401

When creating a new application version from UI this issue is not there. This issue also exists for new component versions when created from the Jenkins library.