Question
ATOS
IN
Last activity: 6 Mar 2018 5:30 EST
Devops pipeline getting aborted
Devops pipeline for my application is unable to move ahead in the next stages and getting aborted. I am getting the below error for my SOR url . Please help
Publish task failed. Reason:
Caught unhandled exception: java.lang.RuntimeException: org.apache.http.conn.HttpHostConnectException:
Connect to "my url" failed: Connection refused: connect
2017-12-06 05:56:03,583
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Is this failing in the build or further along? I assume you have followed "https://pdn.pega.com/deployment-manager-version-1/deployment-manager-version-1".
Can you provide logs?
ATOS
IN
Hi Paul,
Thanks for you reply!
Yes its failing in the build. I am using SOR and RM as the same system and given SOR url in the "dev URL" field in configuration of pipeline to connect. Yes I have followed the "deployment-manager-version-1" article for implementing devops. Below are the logs as you needed.
Also I am having doubt regarding repositories creation, I should have 1 repository for dev,1 for SOR, 2 for RM(de and prod) and 1 for Prod. From dev repository we need to connect to SOR, just to publish dev branches into SOR repository. Also on RM system, the prod repository should be with same name, but we can give different path for file-system. Please correct me on repositories concept if I am wrong. Also can we simulate this using same system as dev, SOR and RM?
Hi Paul,
Thanks for you reply!
Yes its failing in the build. I am using SOR and RM as the same system and given SOR url in the "dev URL" field in configuration of pipeline to connect. Yes I have followed the "deployment-manager-version-1" article for implementing devops. Below are the logs as you needed.
Also I am having doubt regarding repositories creation, I should have 1 repository for dev,1 for SOR, 2 for RM(de and prod) and 1 for Prod. From dev repository we need to connect to SOR, just to publish dev branches into SOR repository. Also on RM system, the prod repository should be with same name, but we can give different path for file-system. Please correct me on repositories concept if I am wrong. Also can we simulate this using same system as dev, SOR and RM?
Logs: 2017-12-08 05:54:50,764 [Jayesh Release Manager Devops] [CRMComplaintsDevOps01-01-01]
[CRMComplaintsDevOps_010101_7] INFO Logs of CICD build. BuildID: PEGA-PIPELINE-CD CR-8, Branch list:
Empty
2017-12-08 05:54:50,897 [Jayesh Release Manager Devops] [CRMComplaintsDevOps01-01-01]
[CRMComplaintsDevOps_010101_7] INFO Build NEW, Build ID:CR-8
2017-12-08 05:54:50,955
[Jayesh Release Manager Devops] [CRMComplaintsDevOps01-01-01] [CRMComplaintsDevOps_010101_7]
INFO Build is moved to new stage:Development
2017-12-08 05:54:51,018 [Jayesh Release Manager Devops]
[CRMComplaintsDevOps01-01-01] [CRMComplaintsDevOps_010101_7] INFO New task started.
Task name:Publish, in stage:Development
2017-12-08 05:54:52,061 [Jayesh Release Manager Devops]
[CRMComplaintsDevOps01-01-01] [CRMComplaintsDevOps_010101_7] ERROR Publish task failed. Reason:
Caught unhandled exception: java.lang.RuntimeException: org.apache.http.conn.HttpHostConnectException:
Connect to Proprietary information hidden:80 [/ Proprietary information hidden] failed: Connection refused: connect
2017-12-08 05:54:52,084
[Jayesh Release Manager Devops] [CRMComplaintsDevOps01-01-01] [CRMComplaintsDevOps_010101_7]
INFO Task Generating build got ERROR. Start time:2017-12-08 05:54:51, End time:2017-12-08 05:54:52,
Time taken:0.02 mins
2017-12-08 05:55:52,456 [Jayesh Release Manager Devops] [CRMComplaintsDevOps01-01-01]
[CRMComplaintsDevOps_010101_7] INFO Build ABORT, Build ID:CR-8
JPMorgan Chase & Company
US
Hi,
This exception usually occurs when there is no service listening on the IP/port you are trying to connect to. However, a number of things could be causing the error:
You are trying to connect to the wrong IP/port.
You have not started your server.
Your server is not listening for connections.
Your server has too many pending connections waiting to be accepted.
A firewall is blocking your connection before it reaches your server.
ATOS
IN
Hi Sudhakar/Paul,
I am all set and my pipeline is not getting aborted now. I have created 2 JFrog repository which I have configured in the pipeline. Now after everything is set up whenever I am starting my build its not moving to the next stage and its remaining in development stage only, basically its getting stuck in "Generate Build" step. Below are the logs which I am getting. Please help on this
Logs:
2017-12-22 06:31:52,136 [Jayesh Release Manager Devops] [DevOps01.01.01]
[DevOps_010101_1] INFO Logs of CICD build. BuildID: PEGA-PIPELINE-CD DE-3,
Branch list: Empty
2017-12-22 06:31:55,162 [Jayesh Release Manager Devops] [DevOps01.01.01]
[DevOps_010101_1] INFO Build NEW, Build ID:DE-3
2017-12-22 06:31:56,800 [Jayesh Release Manager Devops]
[DevOps01.01.01] [DevOps_010101_1] INFO Build is moved to new stage:Development
2017-12-22 06:31:58,672
[Jayesh Release Manager Devops] [DevOps01.01.01] [DevOps_010101_1] INFO New task started.
Task name:Publish, in stage:Development
Labb Consulting
GB
Hi Jayesh,
after publishing to repository(pzPublishRAP flow), it will route to "[email protected]" work basket, open assignment from work basket and click, submit, your pipeline will able to move forward.