Question

11
Replies
331
Views
GladsonS3738 Member since 2017 9 posts
Commonwealth Bank of Australia
Posted: 2 years ago
Last activity: 2 years 8 months ago
Closed
Solved

Getting error while generating build in Devops pipeline

Hi

I'm getting below error when generating build for devops pipleine. Its publishing successfully to the artifactory but the pycallbackurl is invalid. How can I update the pycallbackurl from Pega?

2018-02-11 21:49:22,261 [ PegaRULES-Batch-4] [ STANDARD] [ ] [ EventFW:01.01.01] (apper.Pega_Int_Pipeline.Action) INFO deploymentmanager - Task execution completed for task : publish
Posting status to release manager system. Status object:
{
"pxObjClass":"Pega-Int-Pipeline"
,"pyApplicationName":"EventFW"
,"pyApplicationVersion":"01.01.01"
,"pyBuildArtifactName":"EventFW_010101_8.zip"
,"pyCallBackURL":"https://localhost:443/prweb/PRRestService/cicd/v1/task/publish/status?F…"
,"pyDoPackage":"true"
,"pyID":"PEGA-PIPELINE-CD EVE-14"
,"pyProductName":"EventFWProductRule"
,"pyProductVersion":"01-01-01"
,"pyRepositoryName":"DevArtifactory"
,"pyStatusMessage":"Artifact is successfully published to the repository."
,"pyStatusValue":"SUCCESS"
,"pyBuildArtifact":{
"pxObjClass":"Data-Artifact"
,"pyArchiveName":"EventFW_010101_8.zip"
,"pyArtifactName":"EventFW"
,"pyName":"EventFW_010101_8.zip"
,"pySize":"13848301"
,"pyTargetLocation":"/application/EventFW_01.01.01/EventFW_010101_8/EventFW_010101_8.zip"
,"pyType":"application"
}
}

2018-02-11 21:49:24,494 [ PegaRULES-Batch-4] [ STANDARD] [ ] [ EventFW:01.01.01] (apper.Pega_Int_Pipeline.Action) ERROR deploymentmanager - Problem occurred while fetching log contents of CICD task.null
java.lang.NullPointerException
at com.pega.pegarules.priv.CICDLogHelper.getAppenderContent(CICDLogHelper.java:49) ~[prpublic.jar:?]
at com.pega.pegarules.priv.CICDLogHelper.getAppenderContentAndRemove(CICDLogHelper.java:59) ~[prpublic.jar:?]
at com.pegarules.generated.activity.ra_action_pzcreatetaskwrapper_0bece77cd6628dd684d383f4ac46d83f.step11_circum0(ra_action_pzcreatetaskwrapper_0bece77cd6628dd684d383f4ac46d83f.java:880) ~[?:?]
at com.pegarules.generated.activity.ra_action_pzcreatetaskwrapper_0bece77cd6628dd684d383f4ac46d83f.perform(ra_action_pzcreatetaskwrapper_0bece77cd6628dd684d383f4ac46d83f.java:264) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(ThreadRunner.java:572) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(PRThreadImpl.java:473) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.executeBatchTask(QueueProcessor.java:297) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:362) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1055) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1304) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1052) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:934) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:761) ~[prprivate.jar:?]
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991) ~[prjsr166java6-3.0.jar:?]
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532) ~[prjsr166java6-3.0.jar:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
2018-02-11 21:49:25,234 [ PegaRULES-Batch-4] [ STANDARD] [ ] [ EventFW:01.01.01] ( connect.rest.RESTConnector) ERROR Rule-Connect-REST.Pega-Int-Pipeline.pzPostTaskStatus deploymentmanager - HTTP connect execution failure: org.apache.http.conn.HttpHostConnectException: Connect to localhost:443 [localhost/127.0.0.1] failed: Connection refused
java.lang.RuntimeException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:443 [localhost/127.0.0.1] failed: Connection refused
at com.pega.pegarules.integration.engine.internal.client.rest.ComponentsRESTClient.invokeRESTClient(ComponentsRESTClient.java:206) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.connect.rest.RESTConnector.invokeREST(RESTConnector.java:1462) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.connect.rest.RESTConnector.executeRequest(RESTConnector.java:1876) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.connect.rest.RESTConnector.perform(RESTConnector.java:338) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.connect.rest.RESTConnector.invoke(RESTConnector.java:184) ~[printegrint.jar:?]
at com.pega.pegarules.integration.config.internal.connect.PRConnectorFactory.invokeConnector(PRConnectorFactory.java:82) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.util.PRConnectorUtilsPriv.invokeConnector(PRConnectorUtilsPriv.java:168) ~[printegrint.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.invokeConnector(Executable.java:11317) ~[prprivate.jar:?]
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_b52c161733c13a95270b391bad11b998.step1_circum0(ra_action_pyinvokerestconnector_b52c161733c13a95270b391bad11b998.java:164) ~[?:?]
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_b52c161733c13a95270b391bad11b998.perform(ra_action_pyinvokerestconnector_b52c161733c13a95270b391bad11b998.java:70) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?]
at com.pegarules.generated.activity.ra_action_invoke_adde9d91fce1256a22f0ed90194a2db1.step7_circum0(ra_action_invoke_adde9d91fce1256a22f0ed90194a2db1.java:1001) ~[?:?]
at com.pegarules.generated.activity.ra_action_invoke_adde9d91fce1256a22f0ed90194a2db1.perform(ra_action_invoke_adde9d91fce1256a22f0ed90194a2db1.java:173) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?]
at com.pegarules.generated.activity.ra_action_pzsendtaskstatus_3b04054e056e09a766344cb3aa28613c.step2_circum0(ra_action_pzsendtaskstatus_3b04054e056e09a766344cb3aa28613c.java:317) ~[?:?]
at com.pegarules.generated.activity.ra_action_pzsendtaskstatus_3b04054e056e09a766344cb3aa28613c.perform(ra_action_pzsendtaskstatus_3b04054e056e09a766344cb3aa28613c.java:88) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10770) ~[prprivate.jar:?]
at com.pegarules.generated.activity.ra_action_pzcreatetaskwrapper_0bece77cd6628dd684d383f4ac46d83f.step12_circum0(ra_action_pzcreatetaskwrapper_0bece77cd6628dd684d383f4ac46d83f.java:935) ~[?:?]
at com.pegarules.generated.activity.ra_action_pzcreatetaskwrapper_0bece77cd6628dd684d383f4ac46d83f.perform(ra_action_pzcreatetaskwrapper_0bece77cd6628dd684d383f4ac46d83f.java:284) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(ThreadRunner.java:572) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(PRThreadImpl.java:473) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.executeBatchTask(QueueProcessor.java:297) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:362) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1055) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1304) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1052) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:934) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:761) ~[prprivate.jar:?]
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991) ~[prjsr166java6-3.0.jar:?]
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532) ~[prjsr166java6-3.0.jar:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:443 [localhost/127.0.0.1] failed: Connection refused
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(BasicHttpClientConnectionManager.java:338) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) ~[httpclient-4.5.2.jar:?]
at com.pega.pegarules.integration.engine.internal.client.rest.ComponentsRESTClient.invokeRESTClient(ComponentsRESTClient.java:196) ~[printegrint.jar:?]
... 33 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_60]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_60]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_60]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_60]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_60]
at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_60]
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:337) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(BasicHttpClientConnectionManager.java:338) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ~[httpclient-4.5.2.jar:?]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) ~[httpclient-4.5.2.jar:?]
at com.pega.pegarules.integration.engine.internal.client.rest.ComponentsRESTClient.invokeRESTClient(ComponentsRESTClient.java:196) ~[printegrint.jar:?]
... 33 more

DevOps
Moderation Team has archived post
Share this page LinkedIn