Accenture / sfmc-devtools-copado

SFMC DevTools made easy using Copado Multi-Cloud's webinterface
MIT License
8 stars 2 forks source link

[BUG] Error in mass back promote for import file #236

Closed DannyCastroVentura closed 2 years ago

DannyCastroVentura commented 2 years ago

Current Behavior

Did the commit without errors and deploy gone nicely as well, but on the mass back promote, one of the target folders on the git was not updated.

However the target1 and target2 bu's have been updated with the most recent data.

Passed back-promotion: https://copadonull71743980.lightning.force.com/lightning/r/copado__Result__c/a0z09000003Fas9AAC/view

Failed back-promotion: https://copadonull71743980.lightning.force.com/lightning/r/copado__Result__c/a0z09000003FasAAAS/view

Expected Behavior

Not retrieving an error and updating all target's folder.

Additional comments

The failed back-promotion used more than 5 minutes, so this can be because of the timeout ass well. Need to test this after the merge with the docker branch.

DannyCastroVentura commented 2 years ago

After merge with the docker branch it worked,: https://copadonull71743980.lightning.force.com/lightning/r/copado__Result__c/a0z09000003FawmAAC/view https://copadonull71743980.lightning.force.com/lightning/r/copado__Result__c/a0z09000003FawnAAC/view

So probably was because of timeout.

This test was on deploying only an importFile, Ill test now the deploy of an importFile as well as other activities at the same time

DannyCastroVentura commented 2 years ago

Didn't work:

On commit all went well, but when deploying the importFile file wasn't deployed to target as we can see in the log excerpt I put in this message

Results link: https://copadonull71743980.lightning.force.com/lightning/r/copado__Result__c/a0z09000003Fax1AAC/view

Errors in log ... 11:41:45 : ☇ skipping importFile copado-import / copado-import: Dependent dataExtension with CustomerKey='undefined' was not found on your BU ... 11:41:45 ❌ Deploy failed: Deployment of BU Copado-MarkClDevOps/MCDEV_Training_Pre-Target failed. Please check the SFMC DevTools logs for more details. 11:41:47 CopadoFunction INFO setting status 'Error' error='Deploy failed: Deployment of BU Copado-MarkClDevOps/MCDEV_Training_Pre-Target failed. Please check the SFMC DevTools logs for more details.' ... 11:41:56 CopadoFunction INFO setting status 'Attached mcdev logs' 11:41:56 /tmp/cf_function.sh:1081 11:41:56 throw new Error( 11:41:56 ^ 11:41:56 Error: Deployment of BU Copado-MarkClDevOps/MCDEV_Training_Pre-Target failed. Please check the SFMC DevTools logs for more details. 11:41:56 at Function.deployBU (/tmp/cf_function.sh:1081:19) 11:41:56 at async run (/tmp/cf_function.sh:250:13)

Showing which data were deployed in log 11:41:42 : Deploying: script 11:41:43 : - updated script: copado-script / copado-script 11:41:43 : script upsert: 0 of 0 created / 1 of 1 updated 11:41:43 : Deploying: dataExtension 11:41:43 : - Caching dependent Metadata: dataExtensionField 11:41:43 : - Please note that Data Retention Policies can only be set during creation, not during update. 11:41:44 : - updated dataExtension: Daniel Ventura / Daniel Ventura 11:41:44 : dataExtension upsert: 0 of 0 created / 1 of 1 updated 11:41:44 : Deploying: dataExtract 11:41:45 : - updated dataExtract: copado-extract / copado-extract 11:41:45 : dataExtract upsert: 0 of 0 created / 1 of 1 updated 11:41:45 : Deploying: fileTransfer 11:41:45 : - updated fileTransfer: copado-filetransfer / copado-filetransfer 11:41:45 : fileTransfer upsert: 0 of 0 created / 1 of 1 updated 11:41:45 : Deploying: importFile 11:41:45 : ☇ skipping importFile copado-import / copado-import: Dependent dataExtension with CustomerKey='undefined' was not found on your BU 11:41:45 : importFile upsert: 0 of 0 created / 0 of 1 updated 11:41:45 : Deploying: automation 11:41:45 : - updated automation: Barcelona Automation / Barcelona Automation 11:41:45 : automation upsert: 0 of 0 created / 1 of 1 updated 11:41:45 : - scheduled automation 'Barcelona Automation' deployed Paused

DannyCastroVentura commented 2 years ago

Will close this issue and open another one, since the problem is no longer the same one