Expand my Community achievements bar.

SOLVED

Unable to Deploy to Dev - Non-production pipeline in AEM as Cloud

Avatar

Level 1

Hi Team,

 

We have ran the AEM cloud pipeline with no commits and no code changes. Build and code scanning is getting complete and NON-PROD DEPLOYMENT getting failed and please find attached the logs and the sandbox information

samara271_0-1695190478333.png

 

 

please check below logs

 
  2023-09-18T14:34:48+00:00 [SkylineProxyJob] Patching: cm-p121280-e1187722
2023-09-18T14:34:49+00:00 [SkylineProxyJob] Patching: cm-p121280-e1187722-prev
2023-09-18T14:34:50+00:00 [SkylineProxyJob] Already updated; checking the job state.
2023-09-18T14:34:50+00:00 [SkylineProxyJob] Waiting 10s for job state Complete.
2023-09-18T14:34:51+00:00 [SkylineProxyJob] Failing state occurred: Failed
2023-09-18T14:34:51+00:00 [SkylineProxyJob] The wrapper job failed. The skylineenvironment/cm-p121280-e1187722 status is:
{
"conditions": [
{
"lastTransitionTime": "2023-09-18T12:08:13Z",
"message": "All deployments are up",
"status": "True",
"type": "DeploymentsCompleted"
},
{
"lastTransitionTime": "2023-09-18T12:06:05Z",
"message": "The Helm release is pending",
"status": "True",
"type": "HelmReleasePending"
},
{
"lastTransitionTime": "2023-09-08T02:37:07Z",
"message": "dispatcher.publish.config.url is missing in Helm values",
"status": "True",
"type": "HttpdConfigPending"
},
{
"lastTransitionTime": "2023-09-08T02:38:02Z",
"message": "All jobs has succeeded",
"status": "True",
"type": "IntraJobCompleted"
},
{
"lastTransitionTime": "2023-09-18T12:04:39Z",
"message": "All deployments are up",
"status": "True",
"type": "PersistenceCompleted"
},
{
"lastTransitionTime": "2023-09-08T02:43:54Z",
"message": "All jobs has succeeded",
"status": "True",
"type": "PostJobCompleted"
},
{
"lastTransitionTime": "2023-09-18T14:26:51Z",
"message": "Job cm-p121280-e1187722-aem-index-updates-szjs5 failed at reason.authorIndexing: CustomerIssueWhileGettingNewIndexDefinitions, reason.publishIndexing: CustomerIssueWhileGettingNewIndexDefinitions, state.authorIndexing: Fail, state.publishIndexing: Fail",
"status": "True",
"type": "PreJobFailed"
},
{
"lastTransitionTime": "2023-09-18T14:22:12Z",
"message": "Preview is failed",
"status": "True",
"type": "PreviewFailed"
},
{
"lastTransitionTime": "2023-09-08T02:37:04Z",
"message": "there are no SAS properties",
"status": "True",
"type": "SasRotateCompleted"
},
{
"lastTransitionTime": "2023-09-08T02:37:08Z",
"message": "SkylineEventPipeline operator successfully completed",
"status": "True",
"type": "SkylineEventPipelineCompleted"
},
{
"lastTransitionTime": "2023-09-08T02:37:04Z",
"message": "Transform job was not executed since it is not enabled",
"status": "True",
"type": "TransformCompleted"
}
],
"deploymentReferences": [
{
"deploymentName": "cm-p121280-e1187722-aem-author",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-aem-golden-publish",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-aem-invalidation",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-aem-lokiclient",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-aem-migration",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-aem-publish",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-aem-publish-farmer",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-prev-aem-golden-publish",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-prev-aem-lokiclient",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-prev-aem-publish",
"deploymentState": "Complete"
},
{
"deploymentName": "cm-p121280-e1187722-prev-aem-publish-farmer",
"deploymentState": "Complete"
}
],
"jobReferences": [
{
"jobChecksum": "3b437c9dd79192cec84734ad0c890384dcead8fca670e44005e1e19400878ab8",
"jobDescriptorName": "cm-p121280-e1187722-aem-install-mutable-content",
"jobState": "Complete",
"jobType": "MutableContentJob"
},
{
"jobChecksum": "11cb598d74bd0241784a373029bf613b133c2c5eac184554c82f2707fc9da86d",
"jobContainerConditions": [
{
"exitCode": "1",
"name": "add-index-author",
"reason": "Error",
"state": "Terminated"
},
{
"exitCode": "1",
"name": "add-index-publish",
"reason": "Error",
"state": "Terminated"
},
{
"exitCode": "0",
"name": "copy-author-seed-to-volume",
"reason": "Completed",
"state": "Terminated"
},
{
"exitCode": "0",
"name": "copy-publish-seed-to-volume",
"reason": "Completed",
"state": "Terminated"
}
],
"jobDescriptorName": "cm-p121280-e1187722-aem-index-updates",
"jobInternalState": "reason.authorIndexing: CustomerIssueWhileGettingNewIndexDefinitions, reason.publishIndexing: CustomerIssueWhileGettingNewIndexDefinitions, state.authorIndexing: Fail, state.publishIndexing: Fail",
"jobName": "cm-p121280-e1187722-aem-index-updates-szjs5",
"jobState": "Failed",
"jobType": "IndexingJob"
},
{
"jobChecksum": "45ea2bead26c2522bb30bf383a8dc58a0d8cc8d697c497c8e23be919836dde86",
"jobContainerConditions": [
{
"exitCode": "1",
"name": "add-index-publish",
"reason": "Error",
"state": "Terminated"
},
{
"exitCode": "0",
"name": "copy-publish-seed-to-volume",
"reason": "Completed",
"state": "Terminated"
}
],
"jobDescriptorName": "cm-p121280-e1187722-prev-aem-index-updates",
"jobInternalState": "reason.publishIndexing: CustomerIssueWhileGettingNewIndexDefinitions, state.publishIndexing: Fail",
"jobName": "cm-p121280-e1187722-prev-aem-index-updates-5b458",
"jobState": "Failed",
"jobType": "IndexingJob"
}
]
}
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @samara271,

 

From your explanation, I assume a previous build (and deployment) was successful on the same code base and no config change has been made after that. In such case you can do that following:

-  you can raise support ticket to ask Adobe to look into it 

-  for future, you can keep an eye on https://status.adobe.com/#/ just to be aware of any planned maintenance in advance

 

Thanks

 

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hello @samara271,

 

From your explanation, I assume a previous build (and deployment) was successful on the same code base and no config change has been made after that. In such case you can do that following:

-  you can raise support ticket to ask Adobe to look into it 

-  for future, you can keep an eye on https://status.adobe.com/#/ just to be aware of any planned maintenance in advance

 

Thanks

 

Avatar

Community Advisor

You can raise a ticket with Adobe.



Arun Patidar

Avatar

Community Advisor

@samara271 

 

From the logs shared, it appears to be an issue around indexing

"message": "Job cm-p121280-e1187722-aem-index-updates-szjs5 failed at reason.authorIndexing: CustomerIssueWhileGettingNewIndexDefinitions, reason.publishIndexing: CustomerIssueWhileGettingNewIndexDefinitions, state.authorIndexing: Fail, state.publishIndexing: Fail",
"status": "True",
"type": "PreJobFailed"

Can you please verify following ?

- Has there been an AEM update on the environment? Or is it trying to update the env with the build?

- Are the logs saying anything specific about which index has issue?

- Do you have any custom index? If yes, does the env have higher index from the custom one?

- Please assure replication queues are clear

 

 

 


Aanchal Sikka

Avatar

Level 3

Hello @samara271 ,

 

Please try and uncheck the "AEM Guides" checkbox while building and deploying the pipeline. You can find the "AEM Guides" checkbox inside "Edit Program" section under "My programs" of your sandbox.

 

If you haven't done any customize changes and commit, then this issue may be happening due to an internal issue in Adobe with "AEM Guides". I am adding a screenshot just to show where the checkbox is. After unchecking the checkbox, build the environment, it should build and deploy without a trouble.

Screenshot 2023-10-16 at 08.12.19.png

 

Thanks,