The EntryPoint setup.bat is not found -Deploy Service Fabric Application - debugging

Angular project azure pipeline build is successful , while doing release there is error.
AZURE CI - OK
AZURE CD - FAIL (The EntryPoint setup.bat is not found.)
LOGDETAILS
[![2023-02-16T06:34:23.2807130Z ##\[debug\]Evaluating condition for step: 'Deploy Service Fabric Application'
==============================================================================
2023-02-16T06:34:23.3540814Z Task : Service Fabric application deployment
2023-02-16T06:34:23.3541277Z Description : Deploy an Azure Service Fabric application to a cluster
2023-02-16T06:34:23.3541644Z Version : 1.205.0
2023-02-16T06:34:23.3541964Z Author : Microsoft Corporation
2023-02-16T06:34:23.3542438Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/service-fabric-deploy
2023-02-16T06:34:23.3543016Z ==============================================================================
2023-02-16T06:34:25.1957417Z ##[debug]VstsTaskSdk 0.11.0 commit 7ff27a3e0bdd6f7b06690ae5f5b63cb84d0f23f4
2023-02-16T06:34:25.5129968Z ##[debug]Entering C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\deploy.ps1.
2023-02-16T06:34:25.5282938Z ##[debug]Loading resource strings from: C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\task.json
2023-02-16T06:34:25.7973463Z ##[debug]Loaded 83 strings.
2023-02-16T06:34:25.8023935Z ##[debug]SYSTEM_CULTURE: 'en-US'
2023-02-16T06:34:25.8057304Z ##[debug]Loading resource strings from: C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\Strings\resources.resjson\en-US\resources.resjson
2023-02-16T06:34:25.9847337Z ##[debug]Loaded 83 strings.
2023-02-16T06:34:26.0041645Z ##[debug]Loading module from path 'C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\ServiceFabricHelpers\ServiceFabricHelpers.psm1'.
2023-02-16T06:34:26.0293333Z ##[debug]Loading resource strings from: C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\ServiceFabricHelpers\module.json
2023-02-16T06:34:26.0696198Z ##[debug]Loaded 18 strings.
2023-02-16T06:34:26.0723633Z ##[debug]SYSTEM_CULTURE: 'en-US'
2023-02-16T06:34:26.0746620Z ##[debug]Loading resource strings from: C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\ServiceFabricHelpers\Strings\resources.resjson\en-US\resources.resjson
2023-02-16T06:34:26.1275766Z ##[debug]Loaded 18 strings.
2023-02-16T06:34:26.1914865Z ##[debug]Entering Find-VstsFiles.
2023-02-16T06:34:26.2026748Z ##[debug] LiteralDirectory: 'C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\ServiceFabricHelpers'
2023-02-16T06:34:26.2043250Z ##[debug] LegacyPattern: '.ps1'
2023-02-16T06:34:26.2458016Z ##[debug]Entering Get-MatchingItems.
2023-02-16T06:34:26.2487195Z ##[debug] IncludePatterns: 'C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\ServiceFabricHelpers*.ps1'
2023-02-16T06:34:26.2537018Z ##[debug] ExcludePatterns: ''
2023-02-16T06:34:26.2573874Z ##[debug] IncludeFiles: 'True'
2023-02-16T06:34:26.2592344Z ##[debug] IncludeDirectories: 'False'
2023-02-16T06:34:26.2608466Z ##[debug] Force: 'False'
2023-02-16T06:34:26.4271099Z ##[debug]Paths: C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\ServiceFabricHelpers
2023-02-16T06:34:26.4310374Z ##[debug] CommonHelpers.ps1
2023-02-16T06:34:26.4326154Z ##[debug] Connect-ServiceFabricClusterFromServiceEndpoint.ps1
2023-02-16T06:34:26.4342019Z ##[debug] Get-ServiceFabricEncryptedText.ps1
2023-02-16T06:34:26.4357753Z ##[debug] SFOperations.ps1
2023-02-16T06:34:26.4378359Z ##[debug]Leaving Get-MatchingItems.
2023-02-16T06:34:26.5122541Z ##[debug]Total found: 4
2023-02-16T06:34:26.5143271Z ##[debug]Leaving Find-VstsFiles.
2023-02-16T06:34:26.5160094Z ##[debug]Exporting function 'Connect-ServiceFabricClusterFromServiceEndpoint'.
2023-02-16T06:34:26.5176598Z ##[debug]Exporting function 'Remove-ClientCertificate'.
2023-02-16T06:34:26.5683416Z ##[debug]Exporting function 'Get-ServiceFabricEncryptedText'.
2023-02-16T06:34:26.5684780Z ##[debug]Exporting variable 'SF_Operations'.
2023-02-16T06:34:26.5893602Z ##[debug]Exporting function 'Publish-Telemetry'.
2023-02-16T06:34:26.6036943Z ##[debug]Exporting function 'Get-SfSdkVersion'.
2023-02-16T06:34:26.6080008Z ##[debug]Exporting function 'Trace-WarningIfCertificateNotPresentInLocalCertStore'.
2023-02-16T06:34:26.6148604Z ##[debug]Importing function 'Connect-ServiceFabricClusterFromServiceEndpoint'.
2023-02-16T06:34:26.6230291Z ##[debug]Importing function 'Get-ServiceFabricEncryptedText'.
2023-02-16T06:34:26.6280133Z ##[debug]Importing function 'Get-SfSdkVersion'.
2023-02-16T06:34:26.6322248Z ##[debug]Importing function 'Publish-Telemetry'.
2023-02-16T06:34:26.6374576Z ##[debug]Importing function 'Remove-ClientCertificate'.
2023-02-16T06:34:26.6397996Z ##[debug]Importing function 'Trace-WarningIfCertificateNotPresentInLocalCertStore'.
2023-02-16T06:34:26.6430201Z ##[debug]Importing variable 'SF_Operations'.
2023-02-16T06:34:26.6526506Z ##[debug]Loading module from path 'C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\PowershellHelpers\PowershellHelpers.psm1'.
2023-02-16T06:34:26.6877730Z ##[debug]Loading resource strings from: C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\PowershellHelpers\module.json
2023-02-16T06:34:26.7028256Z ##[debug]Loaded 3 strings.
2023-02-16T06:34:26.7062567Z ##[debug]SYSTEM_CULTURE: 'en-US'
2023-02-16T06:34:26.7089459Z ##[debug]Loading resource strings from: C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\PowershellHelpers\Strings\resources.resjson\en-US\resources.resjson
2023-02-16T06:34:26.7246420Z ##[debug]Loaded 3 strings.
2023-02-16T06:34:26.7460307Z ##[debug]Exporting function 'Invoke-ActionWithRetries'.
2023-02-16T06:34:26.7478679Z ##[debug]Exporting function 'Get-TempDirectoryPath'.
2023-02-16T06:34:26.7499849Z ##[debug]Importing function 'Get-TempDirectoryPath'.
2023-02-16T06:34:26.7520353Z ##[debug]Importing function 'Invoke-ActionWithRetries'.
2023-02-16T06:34:26.7785991Z ##[debug]INPUT_PUBLISHPROFILEPATH: 'C:\BA\vsts-agent_work\r1\a*\drop\projectartifacts*\PublishProfiles\Cloud.xml'
2023-02-16T06:34:26.7876521Z Searching for path: C:\BA\vsts-agent_work\r1\a*\drop\projectartifacts*\PublishProfiles\Cloud.xml
2023-02-16T06:34:26.7901060Z ##[debug]Entering Find-VstsFiles.
2023-02-16T06:34:26.7921975Z ##[debug] LegacyPattern: 'C:\BA\vsts-agent_work\r1\a*\drop\projectartifacts*\PublishProfiles\Cloud.xml'
2023-02-16T06:34:26.7954374Z ##[debug]Entering Get-MatchingItems.
2023-02-16T06:34:26.7976246Z ##[debug] IncludePatterns: 'C:\BA\vsts-agent_work\r1\a*\drop\projectartifacts**\PublishProfiles\Cloud.xml'
2023-02-16T06:34:26.7995775Z ##[debug] ExcludePatterns: ''
2023-02-16T06:34:26.8017147Z ##[debug] IncludeFiles: 'True'
2023-02-16T06:34:26.8038028Z ##[debug] IncludeDirectories: 'False'
2023-02-16T06:34:26.8059320Z ##[debug] Force: 'False'
2023-02-16T06:34:27.4825264Z ##[debug]Path: C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\projectartifacts\METalUISFService\METal.UI\PublishProfiles\Cloud.xml
2023-02-16T06:34:27.4874819Z ##[debug]Leaving Get-MatchingItems.
2023-02-16T06:34:27.4896994Z ##[debug]Total found: 1
2023-02-16T06:34:27.4922115Z ##[debug]Leaving Find-VstsFiles.
2023-02-16T06:34:27.5100785Z ##[debug]Asserting leaf path exists: 'C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\projectartifacts\METalUISFService\METal.UI\PublishProfiles\Cloud.xml'
2023-02-16T06:34:27.5114805Z Found path: C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\projectartifacts\METalUISFService\METal.UI\PublishProfiles\Cloud.xml
2023-02-16T06:34:27.6704378Z ##[debug]INPUT_APPLICATIONPACKAGEPATH: 'C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\applicationpackage'
2023-02-16T06:34:27.6715597Z Searching for path: C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\applicationpackage
2023-02-16T06:34:27.6954333Z ##[debug]Entering Find-VstsFiles.
2023-02-16T06:34:27.6977019Z ##[debug] LegacyPattern: 'C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\applicationpackage'
2023-02-16T06:34:27.6997296Z ##[debug] IncludeDirectories: 'True'
2023-02-16T06:34:27.7034444Z ##[debug]Entering Get-MatchingItems.
2023-02-16T06:34:27.7059530Z ##[debug] IncludePatterns: 'C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\applicationpackage'
2023-02-16T06:34:27.7084865Z ##[debug] ExcludePatterns: ''
2023-02-16T06:34:27.7104710Z ##[debug] IncludeFiles: 'False'
2023-02-16T06:34:27.7129481Z ##[debug] IncludeDirectories: 'True'
2023-02-16T06:34:27.7154737Z ##[debug] Force: 'False'
2023-02-16T06:34:27.8997196Z ##[debug]Path: C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\applicationpackage
2023-02-16T06:34:27.9013786Z ##[debug]Leaving Get-MatchingItems.
2023-02-16T06:34:27.9028693Z ##[debug]Total found: 1
2023-02-16T06:34:27.9044096Z ##[debug]Leaving Find-VstsFiles.
2023-02-16T06:34:27.9059960Z ##[debug]Asserting container path exists: 'C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\applicationpackage'
2023-02-16T06:34:27.9070615Z Found path: C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\applicationpackage
2023-02-16T06:34:27.9089593Z ##[debug]INPUT_SERVICECONNECTIONNAME: '61b960bd-64f6-42e9-b8d3-fa799c0d99fc'
2023-02-16T06:34:27.9189445Z ##[debug]ENDPOINT_URL_61b960bd-64f6-42e9-b8d3-fa799c0d99fc: 'tcp://sfmetaldev.eastus.cloudapp.azure.com:19000/'
2023-02-16T06:34:27.9215189Z ##[debug]ENDPOINT_AUTH_61b960bd-64f6-42e9-b8d3-fa799c0d99fc: '*****'
2023-02-16T06:34:27.9236666Z ##[debug]ENDPOINT_DATA_61b960bd-64f6-42e9-b8d3-fa799c0d99fc: '{}'
2023-02-16T06:34:27.9260749Z ##[debug]INPUT_COPYPACKAGETIMEOUTSEC (empty)
2023-02-16T06:34:27.9297096Z ##[debug]INPUT_REGISTERPACKAGETIMEOUTSEC (empty)
2023-02-16T06:34:27.9316155Z ##[debug]INPUT_COMPRESSPACKAGE: 'true'
2023-02-16T06:34:27.9350002Z ##[debug]INPUT_SKIPUPGRADESAMETYPEANDVERSION: 'true'
2023-02-16T06:34:27.9368446Z ##[debug]INPUT_SKIPPACKAGEVALIDATION: 'false'
2023-02-16T06:34:27.9387016Z ##[debug]INPUT_UNREGISTERUNUSEDVERSIONS: 'true'
2023-02-16T06:34:27.9405377Z ##[debug]INPUT_CONFIGUREDOCKERSETTINGS: 'false'
2023-02-16T06:34:27.9423687Z ##[debug]INPUT_OVERRIDEAPPLICATIONPARAMETER: 'false'
2023-02-16T06:34:27.9537832Z ##[debug]Entering Connect-ServiceFabricClusterFromServiceEndpoint.
2023-02-16T06:34:27.9566062Z ##[debug] ClusterConnectionParameters: 'System.Collections.Hashtable'
2023-02-16T06:34:27.9592514Z ##[debug] ConnectedServiceEndpoint: '#{Url=tcp://sfmetaldev.eastus.cloudapp.azure.com:19000/; Data=; Auth=}'
2023-02-16T06:34:27.9614091Z ##[debug]Loading module from path 'C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\TlsHelper_\TlsHelper_.psm1'.
2023-02-16T06:34:27.9844537Z ##[debug]Loading resource strings from: C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\TlsHelper_/module.json
2023-02-16T06:34:27.9951667Z ##[debug]Loaded 3 strings.
2023-02-16T06:34:27.9974296Z ##[debug]SYSTEM_CULTURE: 'en-US'
2023-02-16T06:34:27.9993679Z ##[debug]Loading resource strings from: C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\ps_modules\TlsHelper_\Strings\resources.resjson\en-US\resources.resjson
2023-02-16T06:34:28.0106268Z ##[debug]Loaded 3 strings.
2023-02-16T06:34:28.0121361Z ##[debug]Exporting function 'Add-Tls12InSession'.
2023-02-16T06:34:28.0135831Z ##[debug]Exporting function 'Assert-TlsError'.
2023-02-16T06:34:28.0151754Z ##[debug]Importing function 'Add-Tls12InSession'.
2023-02-16T06:34:28.0168455Z ##[debug]Importing function 'Assert-TlsError'.
2023-02-16T06:34:28.0190517Z ##[debug]Importing function 'Get-TempDirectoryPath'.
2023-02-16T06:34:28.0205027Z ##[debug]Importing function 'Invoke-ActionWithRetries'.
2023-02-16T06:34:28.0785987Z Added TLS 1.2 in session.
2023-02-16T06:34:28.2683150Z Imported cluster client certificate with thumbprint ''.
2023-02-16T06:34:29.2994740Z Successfully connected to cluster.
2023-02-16T06:34:29.3062565Z ##[debug]Leaving Connect-ServiceFabricClusterFromServiceEndpoint.
2023-02-16T06:34:29.4339705Z ##[debug]INPUT_APPLICATIONPARAMETERPATH: 'C:\BA\vsts-agent_work\r1\a'
2023-02-16T06:34:29.4656894Z Searching for path: C:\BA\vsts-agent_work\r1\a
2023-02-16T06:34:29.5182852Z ##[debug]Entering Find-VstsFiles.
2023-02-16T06:34:29.5185451Z ##[debug] LegacyPattern: 'C:\BA\vsts-agent_work\r1\a'
2023-02-16T06:34:29.5187054Z ##[debug]Entering Get-MatchingItems.
2023-02-16T06:34:29.5188928Z ##[debug] IncludePatterns: 'C:\BA\vsts-agent_work\r1\a'
2023-02-16T06:34:29.5190662Z ##[debug] ExcludePatterns: ''
2023-02-16T06:34:29.5192321Z ##[debug] IncludeFiles: 'True'
2023-02-16T06:34:29.5193733Z ##[debug] IncludeDirectories: 'False'
2023-02-16T06:34:29.5195127Z ##[debug] Force: 'False'
2023-02-16T06:34:29.6231110Z ##[debug]No paths.
2023-02-16T06:34:29.6253746Z ##[debug]Leaving Get-MatchingItems.
2023-02-16T06:34:29.6269325Z ##[debug]Total found: 0
2023-02-16T06:34:29.6284931Z ##[debug]Leaving Find-VstsFiles.
2023-02-16T06:34:29.6310243Z No items were found with search pattern C:\BA\vsts-agent_work\r1\a.
2023-02-16T06:34:29.6358086Z ##[debug]Asserting leaf path exists: 'C:\BA\vsts-agent_work\r1\a_METal Development UI-CI\drop\projectartifacts\METalUISFService\METal.UI\PublishProfiles..\ApplicationParameters\Cloud.xml'
2023-02-16T06:34:29.6381864Z ##[debug]INPUT_OVERRIDEPUBLISHPROFILESETTINGS: 'true'
2023-02-16T06:34:29.6390471Z Overriding upgrade settings specified in publish profile with the settings specified in the Azure Pipelines task.
2023-02-16T06:34:29.6408951Z ##[debug]INPUT_ISUPGRADE: 'true'
2023-02-16T06:34:29.6452721Z ##[debug]INPUT_UPGRADEMODE: 'Monitored'
2023-02-16T06:34:29.6487858Z ##[debug]INPUT_UPGRADEREPLICASETCHECKTIMEOUTSEC (empty)
2023-02-16T06:34:29.6506804Z ##[debug]INPUT_REPLICAQUORUMTIMEOUTSEC (empty)
2023-02-16T06:34:29.6538632Z ##[debug]INPUT_TIMEOUTSEC (empty)
2023-02-16T06:34:29.6558080Z ##[debug]INPUT_FORCERESTART: 'false'
2023-02-16T06:34:29.6576850Z ##[debug]INPUT_FAILUREACTION: 'Rollback'
2023-02-16T06:34:29.6608550Z ##[debug]INPUT_HEALTHCHECKRETRYTIMEOUTSEC (empty)
2023-02-16T06:34:29.6627393Z ##[debug]INPUT_HEALTHCHECKWAITDURATIONSEC (empty)
2023-02-16T06:34:29.6645708Z ##[debug]INPUT_HEALTHCHECKSTABLEDURATIONSEC (empty)
2023-02-16T06:34:29.6664068Z ##[debug]INPUT_UPGRADEDOMAINTIMEOUTSEC (empty)
2023-02-16T06:34:29.6691218Z ##[debug]INPUT_CONSIDERWARNINGASERROR: 'false'
2023-02-16T06:34:29.6718089Z ##[debug]INPUT_DEFAULTSERVICETYPEHEALTHPOLICY (empty)
2023-02-16T06:34:29.6746484Z ##[debug]INPUT_MAXPERCENTUNHEALTHYDEPLOYEDAPPLICATIONS (empty)
2023-02-16T06:34:29.6774218Z ##[debug]INPUT_UPGRADETIMEOUTSEC (empty)
2023-02-16T06:34:29.6801075Z ##[debug]INPUT_SERVICETYPEHEALTHPOLICYMAP (empty)
2023-02-16T06:34:29.7138767Z Service fabric SDK version: 6.0.1028.9590.
2023-02-16T06:34:29.7750044Z ##[debug]INPUT_USEDIFFPACKAGE: 'true'
2023-02-16T06:36:16.8074038Z ##[debug]Join-Path "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code" "ServiceFabricServiceModel.xsd"
2023-02-16T06:36:16.8142028Z ##[debug]C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\ServiceFabricServiceModel.xsd
2023-02-16T06:36:16.8153154Z ##[debug]Length: 94
2023-02-16T06:36:16.8172350Z ##[debug]
2023-02-16T06:36:16.8192676Z ##[debug]Test-Path "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\ServiceFabricServiceModel.xsd"
2023-02-16T06:36:16.8239296Z ##[debug]True
2023-02-16T06:36:16.8251763Z ##[debug]
2023-02-16T06:37:30.0491594Z ##[debug]System.Fabric.Management.ImageBuilder.FabricImageBuilderValidationException: The EntryPoint TheProject.Identity.Service.exe is not found.
2023-02-16T06:37:30.0527535Z ##[debug]FileName: C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\TestApplicationPackage_20507114412945\nocz40ci.2x3\applicationpackage\METal.UIPkg\ServiceManifest.xml
2023-02-16T06:37:30.0668701Z ##[debug] at System.Fabric.Management.ImageBuilder.ImageBuilderUtility.TraceAndThrowValidationErrorWithFileName(FabricErrorCode fabricErrorCode, String type, String fileName, String format, Object[] args)
2023-02-16T06:37:30.0671235Z ##[debug] at System.Fabric.Management.ImageBuilder.ServiceManifestValidator.ValidateEntryPointPath(String serviceManifestFileName, FileLocator fileLocator, String program, Boolean isExternalExecutable)
2023-02-16T06:37:30.0673473Z ##[debug] at System.Fabric.Management.ImageBuilder.ServiceManifestValidator.ValidateServiceManifests(ApplicationTypeContext context, Boolean isComposeDeployment)
2023-02-16T06:37:30.0675729Z ##[debug] at System.Fabric.Management.ImageBuilder.ServiceManifestValidator.Validate(ApplicationTypeContext applicationTypeContext, Boolean isComposeDeployment, Boolean isSFVolumeDiskServiceEnabled)
2023-02-16T06:37:30.0678009Z ##[debug] at System.Fabric.Management.ImageBuilder.ApplicationProvisionOperation.ValidateApplicationType(ApplicationTypeContext applicationTypeContext, Boolean isComposeDeployment)
2023-02-16T06:37:30.0680055Z ##[debug] at System.Fabric.Management.ImageBuilder.ApplicationProvisionOperation.d__22.MoveNext()
2023-02-16T06:37:30.0681744Z ##[debug]--- End of stack trace from previous location where exception was thrown ---
2023-02-16T06:37:30.0683248Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2023-02-16T06:37:30.0684859Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2023-02-16T06:37:30.0686639Z ##[debug] at System.Fabric.Management.ImageBuilder.ApplicationProvisionOperation.d__21.MoveNext()
2023-02-16T06:37:35.7477697Z ##[debug]SYSTEM_JOBID: '6d11c418-efa2-55ff-7808-6fa3bbd35dfa'
2023-02-16T06:37:35.7774611Z ##[debug]Processed: ##vso[telemetry.publish area=TaskHub;feature=ServiceFabricDeploy]{"OperationId":"TestApplicationPackage","ExceptionData":"System.Fabric.Management.ImageBuilder.FabricImageBuilderValidationException;|C:\BA\vsts-agent\_work\_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\deploy.ps1|116","JobId":"6d11c418-efa2-55ff-7808-6fa3bbd35dfa","SDKVersion":"6.0.1028.9590"}
2023-02-16T06:37:35.8492879Z ##[debug]Leaving C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\deploy.ps1.
2023-02-16T06:37:35.8496982Z ##[debug]Caught exception from task script.
2023-02-16T06:37:35.8531605Z ##[debug]Error record:
2023-02-16T06:37:35.9163434Z ##[debug]Test-ServiceFabricApplicationPackage : The EntryPoint TheProject.Identity.Service.exe is not found.
2023-02-16T06:37:35.9182323Z ##[debug]FileName: C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\TestApplicationPackage_20507114412945\nocz40ci.2x3\applicationpackage\METal.UIPkg\ServiceManifest.xml
2023-02-16T06:37:35.9194414Z ##[debug]At C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\deploy.ps1:116 char:31
2023-02-16T06:37:35.9207810Z ##[debug]+ ... kageValid = Test-ServiceFabricApplicationPackage -ApplicationPackageP ...
2023-02-16T06:37:35.9221199Z ##[debug]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-02-16T06:37:35.9234932Z ##[debug] + CategoryInfo : InvalidOperation: (:) [Test-ServiceFabricApplicationPackage], FabricImageBuilderValidati onException
2023-02-16T06:37:35.9248389Z ##[debug] + FullyQualifiedErrorId : TestApplicationPackageErrorId,Microsoft.ServiceFabric.Powershell.TestApplicationPackage
2023-02-16T06:37:35.9261320Z ##[debug]
2023-02-16T06:37:35.9279715Z ##[debug]Script stack trace:
2023-02-16T06:37:35.9839342Z ##[debug]at , C:\BA\vsts-agent_work_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.205.0\deploy.ps1: line 116
2023-02-16T06:37:35.9863369Z ##[debug]at , : line 1
2023-02-16T06:37:35.9867127Z ##[debug]at , : line 22
2023-02-16T06:37:35.9877531Z ##[debug]at , : line 18
2023-02-16T06:37:35.9887776Z ##[debug]at , : line 1
2023-02-16T06:37:35.9903585Z ##[debug]Exception:
2023-02-16T06:37:35.9956962Z ##[debug]System.Fabric.Management.ImageBuilder.FabricImageBuilderValidationException: The EntryPoint TheProject.Identity.Service.exe is not found.
2023-02-16T06:37:35.9971720Z ##[debug]FileName: C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\TestApplicationPackage_20507114412945\nocz40ci.2x3\applicationpackage\METal.UIPkg\ServiceManifest.xml
2023-02-16T06:37:35.9985624Z ##[debug] at System.Fabric.Management.ImageBuilder.ImageBuilderUtility.TraceAndThrowValidationErrorWithFileName(FabricErrorCode fabricErrorCode, String type, String fileName, String format, Object[] args)
2023-02-16T06:37:35.9999153Z ##[debug] at System.Fabric.Management.ImageBuilder.ServiceManifestValidator.ValidateEntryPointPath(String serviceManifestFileName, FileLocator fileLocator, String program, Boolean isExternalExecutable)
2023-02-16T06:37:36.0012302Z ##[debug] at System.Fabric.Management.ImageBuilder.ServiceManifestValidator.ValidateServiceManifests(ApplicationTypeContext context, Boolean isComposeDeployment)
2023-02-16T06:37:36.0026010Z ##[debug] at System.Fabric.Management.ImageBuilder.ServiceManifestValidator.Validate(ApplicationTypeContext applicationTypeContext, Boolean isComposeDeployment, Boolean isSFVolumeDiskServiceEnabled)
2023-02-16T06:37:36.0041068Z ##[debug] at System.Fabric.Management.ImageBuilder.ApplicationProvisionOperation.ValidateApplicationType(ApplicationTypeContext applicationTypeContext, Boolean isComposeDeployment)
2023-02-16T06:37:36.0054805Z ##[debug] at System.Fabric.Management.ImageBuilder.ApplicationProvisionOperation.d__22.MoveNext()
2023-02-16T06:37:36.0069353Z ##[debug]--- End of stack trace from previous location where exception was thrown ---
2023-02-16T06:37:36.0083295Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2023-02-16T06:37:36.0097843Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2023-02-16T06:37:36.0111638Z ##[debug] at System.Fabric.Management.ImageBuilder.ApplicationProvisionOperation.d__21.MoveNext()
2023-02-16T06:37:36.0444063Z ##[error]The EntryPoint setup.bat is not found.
FileName: C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\TestApplicationPackage_20507114412945\nocz40ci.2x3\applicationpackage\METal.UIPkg\ServiceManifest.xml
2023-02-16T06:37:36.0459263Z ##[debug]Processed: ##vso[task.logissue type=error]The EntryPoint TheProject.Identity.Service.exe is not found.%0D%0AFileName: C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\TestApplicationPackage_20507114412945\nocz40ci.2x3\applicationpackage\METal.UIPkg\ServiceManifest.xml
2023-02-16T06:37:36.0462350Z ##[debug]Processed: ##vso[task.complete result=Failed]
2023-02-16T06:37:36.1069769Z ##[section]Finishing: Deploy Service Fabric Application][2]][2]

there was memory issues in CI Pipeline and CD Pipeline, Removed failed pipelines and ran new pipeline.
CD - succeed.

Related

AWS SAM running local won't resolve FindInMap Intrinsic

I can't make a template.yaml with Mappings work when testing locally, although they will deploy and work as expected.
As an example, one can follow:
sam init --runtime python3.8
Insert Mappings such as the following in template.yaml
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: >
sam-app
Sample SAM Template for sam-app
Parameters:
Environment:
Description: 'Required. Environment'
Type: String
AllowedValues:
- test
- prod
Default: test
# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
Globals:
Function:
Timeout: 3
MemorySize: !FindInMap [Environments, !Ref Environment, MemorySize]
Mappings:
Environments:
test:
MemorySize: 512
prod:
MemorySize: 2048
Resources:
HelloWorldFunction:
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Properties:
CodeUri: hello_world/
Handler: app.lambda_handler
Runtime: python3.8
Events:
HelloWorld:
Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
Properties:
Path: /hello
Method: get
Outputs:
# ServerlessRestApi is an implicit API created out of Events key under Serverless::Function
# Find out more about other implicit resources you can reference within SAM
# https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api
HelloWorldApi:
Description: "API Gateway endpoint URL for Prod stage for Hello World function"
Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/hello/"
HelloWorldFunction:
Description: "Hello World Lambda Function ARN"
Value: !GetAtt HelloWorldFunction.Arn
HelloWorldFunctionIamRole:
Description: "Implicit IAM Role created for Hello World function"
Value: !GetAtt HelloWorldFunctionRole.Arn
sam build --parameter-overrides ParamaterKey=Environment,ParameterValue=test --use-container
sam local start-api --debug, and it will show unresolved references.
2021-03-06 00:30:42,394 | local start-api command is called
2021-03-06 00:30:42,399 | Collected default values for parameters: {'Environment': 'test'}
2021-03-06 00:30:42,417 | Unable to resolve property MemorySize: OrderedDict([('Fn::FindInMap', ['Environments', OrderedDict([('Ref', 'Environment')]), 'MemorySize'])]). Leaving as is.
2021-03-06 00:30:42,417 | 2 resources found in the stack
2021-03-06 00:30:42,417 | Collected default values for parameters: {'Environment': 'test'}
2021-03-06 00:30:42,433 | Unable to resolve property MemorySize: OrderedDict([('Fn::FindInMap', ['Environments', OrderedDict([('Ref', 'Environment')]), 'MemorySize'])]). Leaving as is.
2021-03-06 00:30:42,434 | Collected default values for parameters: {'Environment': 'test'}
2021-03-06 00:30:42,449 | Unable to resolve property MemorySize: OrderedDict([('Fn::FindInMap', ['Environments', OrderedDict([('Ref', 'Environment')]), 'MemorySize'])]). Leaving as is.
2021-03-06 00:30:42,449 | Found Serverless function with name='HelloWorldFunction' and CodeUri='HelloWorldFunction'
2021-03-06 00:30:42,452 | Collected default values for parameters: {'Environment': 'test'}
2021-03-06 00:30:42,467 | Unable to resolve property MemorySize: OrderedDict([('Fn::FindInMap', ['Environments', OrderedDict([('Ref', 'Environment')]), 'MemorySize'])]). Leaving as is.
2021-03-06 00:30:42,467 | 2 resources found in the template
2021-03-06 00:30:42,468 | Found '1' API Events in Serverless function with name 'HelloWorldFunction'
2021-03-06 00:30:42,468 | Detected Inline Swagger definition
2021-03-06 00:30:42,468 | Lambda function integration not found in Swagger document at path='/hello' method='get'
2021-03-06 00:30:42,468 | Found '0' APIs in resource 'ServerlessRestApi'
2021-03-06 00:30:42,468 | Removed duplicates from '0' Explicit APIs and '1' Implicit APIs to produce '1' APIs
2021-03-06 00:30:42,468 | 1 APIs found in the template
2021-03-06 00:30:42,471 | Mounting HelloWorldFunction at http://127.0.0.1:3000/hello [GET]
2021-03-06 00:30:42,471 | You can now browse to the above endpoints to invoke your functions. You do not need to restart/reload SAM CLI while working on your functions, changes will be reflected instantly/automatically. You only need to restart SAM CLI if you update your AWS SAM template
2021-03-06 00:30:42,471 | Localhost server is starting up. Multi-threading = True
2021-03-06 00:30:42 * Running on http://127.0.0.1:3000/ (Press CTRL+C to quit)
Insist with curl http://127.0.0.1/hello and sam will show an error:
2021-03-06 00:33:25,099 | Found one Lambda function with name 'HelloWorldFunction'
2021-03-06 00:33:25,099 | Invoking app.lambda_handler (python3.8)
2021-03-06 00:33:25,099 | No environment variables found for function 'HelloWorldFunction'
2021-03-06 00:33:25,099 | Environment variables overrides data is standard format
2021-03-06 00:33:25,099 | Loading AWS credentials from session with profile 'None'
2021-03-06 00:33:25,113 | Resolving code path. Cwd=/home/ricardo/Sandbox/learning/aws/sam-app/.aws-sam/build, CodeUri=/home/ricardo/Sandbox/learning/aws/sam-app/.aws-sam/build/HelloWorldFunction
2021-03-06 00:33:25,113 | Resolved absolute path to code is /home/ricardo/Sandbox/learning/aws/sam-app/.aws-sam/build/HelloWorldFunction
2021-03-06 00:33:25,113 | Code /home/ricardo/Sandbox/learning/aws/sam-app/.aws-sam/build/HelloWorldFunction is not a zip/jar file
2021-03-06 00:33:25,127 | Skip pulling image and use local one: amazon/aws-sam-cli-emulation-image-python3.8:rapid-1.19.1.
2021-03-06 00:33:25,127 | Mounting /home/ricardo/Sandbox/learning/aws/sam-app/.aws-sam/build/HelloWorldFunction as /var/task:ro,delegated inside runtime container
2021-03-06 00:33:25,127 | Cleaning all decompressed code dirs
2021-03-06 00:33:25,128 | Exception on /hello [GET]
Traceback (most recent call last):
File "/home/ricardo/.local/lib/python3.8/site-packages/docker/utils/utils.py", line 415, in parse_bytes
digits = int(digits_part)
ValueError: invalid literal for int() with base 10: "OrderedDict([('Fn::FindInMap', ['Environments', OrderedDict([('Ref', 'Environment')]), 'MemorySize'])])"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ricardo/.local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/ricardo/.local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/ricardo/.local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/ricardo/.local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/ricardo/.local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/ricardo/.local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/ricardo/.local/lib/python3.8/site-packages/samcli/local/apigw/local_apigw_service.py", line 297, in _request_handler
self.lambda_runner.invoke(route.function_name, event, stdout=stdout_stream_writer, stderr=self.stderr)
File "/home/ricardo/.local/lib/python3.8/site-packages/samcli/commands/local/lib/local_lambda.py", line 111, in invoke
self.local_runtime.invoke(config, event, debug_context=self.debug_context, stdout=stdout, stderr=stderr)
File "/home/ricardo/.local/lib/python3.8/site-packages/samcli/lib/telemetry/metric.py", line 216, in wrapped_func
return_value = func(*args, **kwargs)
File "/home/ricardo/.local/lib/python3.8/site-packages/samcli/local/lambdafn/runtime.py", line 148, in invoke
container = self.create(function_config, debug_context)
File "/home/ricardo/.local/lib/python3.8/site-packages/samcli/local/lambdafn/runtime.py", line 82, in create
self._container_manager.create(container)
File "/home/ricardo/.local/lib/python3.8/site-packages/samcli/local/docker/manager.py", line 95, in create
container.create()
File "/home/ricardo/.local/lib/python3.8/site-packages/samcli/local/docker/container.py", line 167, in create
real_container = self.docker_client.containers.create(self._image, **kwargs)
File "/home/ricardo/.local/lib/python3.8/site-packages/docker/models/containers.py", line 860, in create
create_kwargs = _create_container_args(kwargs)
File "/home/ricardo/.local/lib/python3.8/site-packages/docker/models/containers.py", line 1077, in _create_container_args
create_kwargs['host_config'] = HostConfig(**host_config_kwargs)
File "/home/ricardo/.local/lib/python3.8/site-packages/docker/types/containers.py", line 182, in __init__
self['Memory'] = parse_bytes(mem_limit)
File "/home/ricardo/.local/lib/python3.8/site-packages/docker/utils/utils.py", line 417, in parse_bytes
raise errors.DockerException(
docker.errors.DockerException: Failed converting the string value for memory (OrderedDict([('Fn::FindInMap', ['Environments', OrderedDict([('Ref', 'Environment')]), 'MemorySize'])])) to an integer.
sam --version gives SAM CLI, version 1.19.1.
Isn't FindInMap intrinsic still not implemented? What am I doing wrong?

Jenkins Job Builder tries to expand parameter in a text field

I'm having some issues with a Jenkins Job Builder YAML file which contains an attribute (message-content) with "{}" characters in it:
- job-template:
id: senderjob
name: '{job-prefix}{id}'
command: 'echo "executed with $PARAMETER"'
type: freestyle
properties:
- ownership:
enabled: true
owner: user1
- build-discarder:
num-to-keep: 100
parameters:
- string:
name: PARAMETER
default: 'param'
description: 'default parameter for message.'
# template settings
builders:
- shell: '{command}'
publishers:
- ci-publisher:
override-topic: VirtualTopic.abcd.message
message-type: 'Custom'
message-properties: |
release-name=$PARAMETER
PARAMETER=$PARAMETER
message-content: '{"release-name" : "1.0"}'
The error reported is:
jenkins_jobs.errors.JenkinsJobsException: release-name parameter missing to format {release-name : 1.0}
So it looks like it's trying to expand "release-name" with a parameter.
So I have added it as parameter:
- string:
name: release-name
default: '1.0'
description: 'default parameter for release.'
It still reports the same error. Should I include the parameter somewhere else or escape it ? I couldn't find any YAML escape for "{}" characters though.
Any idea?
You should add the following to the configuration file
[job_builder]
allow_empty_variables = True
Link: https://jenkins-job-builder.readthedocs.io/en/latest/definition.html#job-template-1

Visual Studio Team Services Build FTP Upload Error

I have an Angular application that I'm using VSTS to continuously deploy. The problem is that when I check the "Preserve file paths" option in the Advanced section of the FTP Upload step, I get the following error "Unable to create remote directory: / due to error: Error: Syntax error in parameters or arguments." If I uncheck "Preserve file paths", the step runs without error. The files are uploaded to the root directory just without any folder structure. I have "Remote directory" set to "/".
FTP Log
2018-03-09T19:15:50.3143303Z ##[section]Starting: FTP Upload: dist
2018-03-09T19:15:50.3146572Z ==============================================================================
2018-03-09T19:15:50.3146703Z Task : FTP Upload
2018-03-09T19:15:50.3146804Z Description : FTP Upload
2018-03-09T19:15:50.3146929Z Version : 1.128.0
2018-03-09T19:15:50.3147035Z Author : Microsoft Corporation
2018-03-09T19:15:50.3147182Z Help : Upload files to a remote machine using the File Transfer Protocol (FTP), or securely with FTPS. [More Information](http://go.microsoft.com/fwlink/?LinkId=809084).
2018-03-09T19:15:50.3147375Z ==============================================================================
2018-03-09T19:15:50.5405453Z ##[debug]agent.workFolder=D:\a
2018-03-09T19:15:50.5433886Z ##[debug]loading inputs and endpoints
2018-03-09T19:15:50.5442724Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2018-03-09T19:15:50.5453315Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2018-03-09T19:15:50.5454681Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2018-03-09T19:15:50.5456230Z ##[debug]loading INPUT_CLEAN
2018-03-09T19:15:50.5458201Z ##[debug]loading INPUT_CLEANCONTENTS
2018-03-09T19:15:50.5460556Z ##[debug]loading INPUT_CREDSTYPE
2018-03-09T19:15:50.5461895Z ##[debug]loading INPUT_FILEPATTERNS
2018-03-09T19:15:50.5462991Z ##[debug]loading INPUT_OVERWRITE
2018-03-09T19:15:50.5464593Z ##[debug]loading INPUT_PASSWORD
2018-03-09T19:15:50.5465181Z ##[debug]loading INPUT_PRESERVEPATHS
2018-03-09T19:15:50.5467054Z ##[debug]loading INPUT_REMOTEPATH
2018-03-09T19:15:50.5469178Z ##[debug]loading INPUT_ROOTFOLDER
2018-03-09T19:15:50.5470250Z ##[debug]loading INPUT_SERVERURL
2018-03-09T19:15:50.5471593Z ##[debug]loading INPUT_TRUSTSSL
2018-03-09T19:15:50.5473030Z ##[debug]loading INPUT_USERNAME
2018-03-09T19:15:50.5475915Z ##[debug]loaded 15
2018-03-09T19:15:50.5900036Z ##[debug]check path : D:\a\_tasks\FtpUpload_6f8c69a5-b023-428e-a125-fccf4efcb929\1.128.0\task.json
2018-03-09T19:15:50.5904137Z ##[debug]set resource file to: D:\a\_tasks\FtpUpload_6f8c69a5-b023-428e-a125-fccf4efcb929\1.128.0\task.json
2018-03-09T19:15:50.5904503Z ##[debug]system.culture=en-US
2018-03-09T19:15:50.5927958Z ##[debug]credsType=inputs
2018-03-09T19:15:50.5931350Z ##[debug]credsType=inputs
2018-03-09T19:15:50.5932838Z ##[debug]serverUrl=**********
2018-03-09T19:15:50.6423877Z ##[debug]username=*******
2018-03-09T19:15:50.6424279Z ##[debug]password=*******
2018-03-09T19:15:50.6424486Z ##[debug]rootFolder=D:\a\1\s\dist
2018-03-09T19:15:50.6424689Z ##[debug]filePatterns=**
2018-03-09T19:15:50.6424889Z ##[debug]remotePath=\
2018-03-09T19:15:50.6425086Z ##[debug]clean=false
2018-03-09T19:15:50.6425562Z ##[debug]cleanContents=false
2018-03-09T19:15:50.6425764Z ##[debug]overwrite=true
2018-03-09T19:15:50.6427302Z ##[debug]preservePaths=true
2018-03-09T19:15:50.6428647Z ##[debug]trustSSL=false
2018-03-09T19:15:50.6433816Z ##[debug]Searching for files to upload
2018-03-09T19:15:50.6437442Z ##[debug]find findPath=D:\a\1\s\dist, options=undefined
2018-03-09T19:15:50.6448064Z ##[debug] D:\a\1\s\dist
2018-03-09T19:15:50.6449295Z ##[debug] is a directory
2018-03-09T19:15:50.6456683Z ##[debug] D:\a\1\s\dist\0.a271095077847919f949.chunk.js
2018-03-09T19:15:50.6457050Z ##[debug] is a file
2018-03-09T19:15:50.6457333Z ##[debug] D:\a\1\s\dist\3rdpartylicenses.txt
2018-03-09T19:15:50.6458297Z ##[debug] is a file
2018-03-09T19:15:50.6458605Z ##[debug] D:\a\1\s\dist\assets
2018-03-09T19:15:50.6459440Z ##[debug] is a directory
2018-03-09T19:15:50.6462139Z ##[debug] D:\a\1\s\dist\assets\fonts
2018-03-09T19:15:50.6463091Z ##[debug] is a directory
2018-03-09T19:15:50.6463391Z ##[debug] D:\a\1\s\dist\assets\fonts\MASTOD__.ttf
2018-03-09T19:15:50.6464026Z ##[debug] is a file
2018-03-09T19:15:50.6464357Z ##[debug] D:\a\1\s\dist\assets\images
2018-03-09T19:15:50.6464622Z ##[debug] is a directory
2018-03-09T19:15:50.6465358Z ##[debug] D:\a\1\s\dist\assets\images\horse_chasing_tail.gif
2018-03-09T19:15:50.6465582Z ##[debug] is a file
2018-03-09T19:15:50.6468019Z ##[debug] D:\a\1\s\dist\assets\images\Yawning_horse.jpg
2018-03-09T19:15:50.6468278Z ##[debug] is a file
2018-03-09T19:15:50.6469393Z ##[debug] D:\a\1\s\dist\favicon.ico
2018-03-09T19:15:50.6469992Z ##[debug] is a file
2018-03-09T19:15:50.6470357Z ##[debug] D:\a\1\s\dist\index.html
2018-03-09T19:15:50.6470493Z ##[debug] is a file
2018-03-09T19:15:50.6470652Z ##[debug] D:\a\1\s\dist\inline.29d7a9534cdf90ff9fc9.bundle.js
2018-03-09T19:15:50.6471193Z ##[debug] is a file
2018-03-09T19:15:50.6471369Z ##[debug] D:\a\1\s\dist\main.8d76a8cead0b0a709f14.bundle.js
2018-03-09T19:15:50.6471530Z ##[debug] is a file
2018-03-09T19:15:50.6471679Z ##[debug] D:\a\1\s\dist\polyfills.367619bafcf2473263d3.bundle.js
2018-03-09T19:15:50.6472451Z ##[debug] is a file
2018-03-09T19:15:50.6472599Z ##[debug] D:\a\1\s\dist\styles.9c0ad738f18adc3d19ed.bundle.css
2018-03-09T19:15:50.6473154Z ##[debug] is a file
2018-03-09T19:15:50.6473332Z ##[debug]15 results
2018-03-09T19:15:50.6482875Z ##[debug]searching for files using: 1 filePatterns: **
2018-03-09T19:15:50.6483815Z ##[debug]win: Win
2018-03-09T19:15:50.6484105Z ##[debug]Candidates found for match: 15
2018-03-09T19:15:50.6484733Z ##[debug]file: D:\a\1\s\dist
2018-03-09T19:15:50.6486022Z ##[debug]file: D:\a\1\s\dist\0.a271095077847919f949.chunk.js
2018-03-09T19:15:50.6486828Z ##[debug]file: D:\a\1\s\dist\3rdpartylicenses.txt
2018-03-09T19:15:50.6487106Z ##[debug]file: D:\a\1\s\dist\assets
2018-03-09T19:15:50.6487816Z ##[debug]file: D:\a\1\s\dist\assets\fonts
2018-03-09T19:15:50.6488210Z ##[debug]file: D:\a\1\s\dist\assets\fonts\MASTOD__.ttf
2018-03-09T19:15:50.6488501Z ##[debug]file: D:\a\1\s\dist\assets\images
2018-03-09T19:15:50.6489321Z ##[debug]file: D:\a\1\s\dist\assets\images\horse_chasing_tail.gif
2018-03-09T19:15:50.6489592Z ##[debug]file: D:\a\1\s\dist\assets\images\Yawning_horse.jpg
2018-03-09T19:15:50.6491507Z ##[debug]file: D:\a\1\s\dist\favicon.ico
2018-03-09T19:15:50.6491670Z ##[debug]file: D:\a\1\s\dist\index.html
2018-03-09T19:15:50.6491836Z ##[debug]file: D:\a\1\s\dist\inline.29d7a9534cdf90ff9fc9.bundle.js
2018-03-09T19:15:50.6491987Z ##[debug]file: D:\a\1\s\dist\main.8d76a8cead0b0a709f14.bundle.js
2018-03-09T19:15:50.6492939Z ##[debug]file: D:\a\1\s\dist\polyfills.367619bafcf2473263d3.bundle.js
2018-03-09T19:15:50.6494252Z ##[debug]file: D:\a\1\s\dist\styles.9c0ad738f18adc3d19ed.bundle.css
2018-03-09T19:15:50.6494547Z ##[debug]searching for files, pattern: D:\a\1\s\dist\**
2018-03-09T19:15:50.6494720Z ##[debug]match patterns: D:\a\1\s\dist\**
2018-03-09T19:15:50.6495418Z ##[debug]match options: [object Object]
2018-03-09T19:15:50.6497148Z ##[debug]applying pattern: D:\a\1\s\dist\**
2018-03-09T19:15:50.6533640Z ##[debug]matched 14 items
2018-03-09T19:15:50.6535574Z ##[debug]Found total matches: 14
2018-03-09T19:15:50.6539444Z ##[debug]adding file: D:\a\1\s\dist\0.a271095077847919f949.chunk.js
2018-03-09T19:15:50.6539661Z ##[debug]adding folder: D:\a\1\s\dist
2018-03-09T19:15:50.6540596Z ##[debug]adding file: D:\a\1\s\dist\3rdpartylicenses.txt
2018-03-09T19:15:50.6540872Z ##[debug]adding folder: D:\a\1\s\dist
2018-03-09T19:15:50.6542092Z ##[debug]adding folder: D:\a\1\s\dist\assets
2018-03-09T19:15:50.6543311Z ##[debug]adding folder: D:\a\1\s\dist\assets\fonts
2018-03-09T19:15:50.6543478Z ##[debug]adding file: D:\a\1\s\dist\assets\fonts\MASTOD__.ttf
2018-03-09T19:15:50.6543651Z ##[debug]adding folder: D:\a\1\s\dist\assets\fonts
2018-03-09T19:15:50.6544536Z ##[debug]adding folder: D:\a\1\s\dist\assets\images
2018-03-09T19:15:50.6544929Z ##[debug]adding file: D:\a\1\s\dist\assets\images\horse_chasing_tail.gif
2018-03-09T19:15:50.6545161Z ##[debug]adding folder: D:\a\1\s\dist\assets\images
2018-03-09T19:15:50.6545411Z ##[debug]adding file: D:\a\1\s\dist\assets\images\Yawning_horse.jpg
2018-03-09T19:15:50.6545618Z ##[debug]adding folder: D:\a\1\s\dist\assets\images
2018-03-09T19:15:50.6545856Z ##[debug]adding file: D:\a\1\s\dist\favicon.ico
2018-03-09T19:15:50.6546053Z ##[debug]adding folder: D:\a\1\s\dist
2018-03-09T19:15:50.6546460Z ##[debug]adding file: D:\a\1\s\dist\index.html
2018-03-09T19:15:50.6547110Z ##[debug]adding folder: D:\a\1\s\dist
2018-03-09T19:15:50.6547444Z ##[debug]adding file: D:\a\1\s\dist\inline.29d7a9534cdf90ff9fc9.bundle.js
2018-03-09T19:15:50.6547722Z ##[debug]adding folder: D:\a\1\s\dist
2018-03-09T19:15:50.6548107Z ##[debug]adding file: D:\a\1\s\dist\main.8d76a8cead0b0a709f14.bundle.js
2018-03-09T19:15:50.6548401Z ##[debug]adding folder: D:\a\1\s\dist
2018-03-09T19:15:50.6548791Z ##[debug]adding file: D:\a\1\s\dist\polyfills.367619bafcf2473263d3.bundle.js
2018-03-09T19:15:50.6549099Z ##[debug]adding folder: D:\a\1\s\dist
2018-03-09T19:15:50.6549477Z ##[debug]adding file: D:\a\1\s\dist\styles.9c0ad738f18adc3d19ed.bundle.css
2018-03-09T19:15:50.6549758Z ##[debug]adding folder: D:\a\1\s\dist
2018-03-09T19:15:50.6565537Z ##[debug]number of files to upload: 15
2018-03-09T19:15:50.6566161Z ##[debug]files to upload: ["D:\\a\\1\\s\\dist","D:\\a\\1\\s\\dist\\0.a271095077847919f949.chunk.js","D:\\a\\1\\s\\dist\\3rdpartylicenses.txt","D:\\a\\1\\s\\dist\\assets","D:\\a\\1\\s\\dist\\assets\\fonts","D:\\a\\1\\s\\dist\\assets\\fonts\\MASTOD__.ttf","D:\\a\\1\\s\\dist\\assets\\images","D:\\a\\1\\s\\dist\\assets\\images\\Yawning_horse.jpg","D:\\a\\1\\s\\dist\\assets\\images\\horse_chasing_tail.gif","D:\\a\\1\\s\\dist\\favicon.ico","D:\\a\\1\\s\\dist\\index.html","D:\\a\\1\\s\\dist\\inline.29d7a9534cdf90ff9fc9.bundle.js","D:\\a\\1\\s\\dist\\main.8d76a8cead0b0a709f14.bundle.js","D:\\a\\1\\s\\dist\\polyfills.367619bafcf2473263d3.bundle.js","D:\\a\\1\\s\\dist\\styles.9c0ad738f18adc3d19ed.bundle.css"]
2018-03-09T19:15:50.6567580Z ##[debug]secure ftp=false
2018-03-09T19:15:50.6567893Z ##[debug]port not specifided, using default: 21
2018-03-09T19:15:50.6604879Z connecting to: ftp.site4now.net:21
2018-03-09T19:15:50.9158405Z ##[debug][connection] < '220 Serv-U FTP Server v14.0 ready...\r\n'
2018-03-09T19:15:50.9162775Z ##[debug][parser] < '220 Serv-U FTP Server v14.0 ready...\r\n'
2018-03-09T19:15:50.9163969Z ##[debug][parser] Response: code=220, buffer='Serv-U FTP Server v14.0 ready...'
2018-03-09T19:15:50.9168281Z ##[debug]ftp client greeting
2018-03-09T19:15:50.9168563Z connected: Serv-U FTP Server v14.0 ready...
2018-03-09T19:15:50.9171052Z ##[debug][connection] > 'USER horser'
2018-03-09T19:15:51.3074212Z ##[debug][connection] < '331 User name okay, need password.\r\n'
2018-03-09T19:15:51.3074625Z ##[debug][parser] < '331 User name okay, need password.\r\n'
2018-03-09T19:15:51.3081806Z ##[debug][parser] Response: code=331, buffer='User name okay, need password.'
2018-03-09T19:15:51.3090492Z ##[debug][connection] > 'PASS 19Dudley91!!'
2018-03-09T19:15:51.5104040Z ##[debug][connection] < '230 User logged in, proceed.\r\n'
2018-03-09T19:15:51.5104457Z ##[debug][parser] < '230 User logged in, proceed.\r\n'
2018-03-09T19:15:51.5148499Z ##[debug][parser] Response: code=230, buffer='User logged in, proceed.'
2018-03-09T19:15:51.5148916Z ##[debug][connection] > 'FEAT'
2018-03-09T19:15:51.6672205Z ##[debug][connection] < '211-Extensions supported\r\n UTF8\r\n OPTS MODE;MLST;UTF8\r\n CLNT\r\n CSID Name; Version;\r\n HOST domain\r\n SITE PSWD;SET;ZONE;CHMOD;MSG;EXEC;HELP\r\n AUTH TLS;SSL;TLS-C;TLS-P;\r\n PBSZ\r\n PROT\r\n CCC\r\n SSCN\r\n RMDA directoryname\r\n DSIZ\r\n AVBL\r\n EPRT\r\n EPSV\r\n MODE Z\r\n THMB BMP|JPEG|GIF|TIFF|PNG max_width max_height pathname\r\n REST STREAM\r\n SIZE\r\n MDTM\r\n MDTM YYYYMMDDHHMMSS[+-TZ];filename\r\n MFMT\r\n MFCT\r\n MFF Create;Modify;\r\n XCRC filename;start;end\r\n XMD5 filename;start;end\r\n XSHA1 filename;start;end\r\n XSHA256 filename;start;end\r\n XSHA512 filename;start;end\r\n COMB target;source_list\r\n MLST Type*;Size*;Create;Modify*;Perm;Win32.ea;Win32.dt;Win32.dl\r\n211 End (for details use "HELP commmand" where command is the command of interest)\r\n'
2018-03-09T19:15:51.6673106Z ##[debug][parser] < '211-Extensions supported\r\n UTF8\r\n OPTS MODE;MLST;UTF8\r\n CLNT\r\n CSID Name; Version;\r\n HOST domain\r\n SITE PSWD;SET;ZONE;CHMOD;MSG;EXEC;HELP\r\n AUTH TLS;SSL;TLS-C;TLS-P;\r\n PBSZ\r\n PROT\r\n CCC\r\n SSCN\r\n RMDA directoryname\r\n DSIZ\r\n AVBL\r\n EPRT\r\n EPSV\r\n MODE Z\r\n THMB BMP|JPEG|GIF|TIFF|PNG max_width max_height pathname\r\n REST STREAM\r\n SIZE\r\n MDTM\r\n MDTM YYYYMMDDHHMMSS[+-TZ];filename\r\n MFMT\r\n MFCT\r\n MFF Create;Modify;\r\n XCRC filename;start;end\r\n XMD5 filename;start;end\r\n XSHA1 filename;start;end\r\n XSHA256 filename;start;end\r\n XSHA512 filename;start;end\r\n COMB target;source_list\r\n MLST Type*;Size*;Create;Modify*;Perm;Win32.ea;Win32.dt;Win32.dl\r\n211 End (for details use "HELP commmand" where command is the command of interest)\r\n'
2018-03-09T19:15:51.6673867Z ##[debug][parser] Response: code=211, buffer='Extensions supported\r\n UTF8\r\n OPTS MODE;MLST;UTF8\r\n CLNT\r\n CSID Name; Version;\r\n HOST domain\r\n SITE PSWD;SET;ZONE;CHMOD;MSG;EXEC;HELP\r\n AUTH TLS;SSL;TLS-C;TLS-P;\r\n PBSZ\r\n PROT\r\n CCC\r\n SSCN\r\n RMDA directoryname\r\n DSIZ\r\n AVBL\r\n EPRT\r\n EPSV\r\n MODE Z\r\n THMB BMP|JPEG|GIF|TIFF|PNG max_width max_height pathname\r\n REST STREAM\r\n SIZE\r\n MDTM\r\n MDTM YYYYMMDDHHMMSS[+-TZ];filename\r\n MFMT\r\n MFCT\r\n MFF Create;Modify;\r\n XCRC filename;start;end\r\n XMD5 filename;start;end\r\n XSHA1 filename;start;end\r\n XSHA256 filename;start;end\r\n XSHA512 filename;start;end\r\n COMB target;source_list\r\n MLST Type*;Size*;Create;Modify*;Perm;Win32.ea;Win32.dt;Win32.dl\r\nEnd (for details use "HELP commmand" where command is the command of interest)'
2018-03-09T19:15:51.6675012Z ##[debug][connection] > 'TYPE I'
2018-03-09T19:15:51.7393884Z ##[debug][connection] < '200 Type set to I.\r\n'
2018-03-09T19:15:51.7394935Z ##[debug][parser] < '200 Type set to I.\r\n'
2018-03-09T19:15:51.7395185Z ##[debug][parser] Response: code=200, buffer='Type set to I.'
2018-03-09T19:15:51.7405484Z ##[debug]ftp client ready
2018-03-09T19:15:51.7405934Z uploading files to remote directory: \
2018-03-09T19:15:51.7408246Z ##[debug]uploading files
2018-03-09T19:15:51.7412830Z ##[debug]creating remote directory: \
2018-03-09T19:15:51.7421303Z ##[debug]file: D:\a\1\s\dist
2018-03-09T19:15:51.7421828Z ##[debug]remoteFile: /
2018-03-09T19:15:51.7423594Z ##[debug]creating remote directory: /
2018-03-09T19:15:51.7424259Z ##[debug]file: D:\a\1\s\dist\0.a271095077847919f949.chunk.js
2018-03-09T19:15:51.7424480Z ##[debug]remoteFile: /0.a271095077847919f949.chunk.js
2018-03-09T19:15:51.7425725Z ##[debug]uploading file: D:\a\1\s\dist\0.a271095077847919f949.chunk.js remote: /0.a271095077847919f949.chunk.js
2018-03-09T19:15:51.7429444Z ##[debug]file: D:\a\1\s\dist\3rdpartylicenses.txt
2018-03-09T19:15:51.7430055Z ##[debug]remoteFile: /3rdpartylicenses.txt
2018-03-09T19:15:51.7430290Z ##[debug]uploading file: D:\a\1\s\dist\3rdpartylicenses.txt remote: /3rdpartylicenses.txt
2018-03-09T19:15:51.7430529Z ##[debug]file: D:\a\1\s\dist\assets
2018-03-09T19:15:51.7430714Z ##[debug]remoteFile: /assets
2018-03-09T19:15:51.7431738Z ##[debug]creating remote directory: /assets
2018-03-09T19:15:51.7432669Z ##[debug]file: D:\a\1\s\dist\assets\fonts
2018-03-09T19:15:51.7433215Z ##[debug]remoteFile: /assets/fonts
2018-03-09T19:15:51.7433430Z ##[debug]creating remote directory: /assets/fonts
2018-03-09T19:15:51.7433619Z ##[debug]file: D:\a\1\s\dist\assets\fonts\MASTOD__.ttf
2018-03-09T19:15:51.7433863Z ##[debug]remoteFile: /assets/fonts/MASTOD__.ttf
2018-03-09T19:15:51.7434065Z ##[debug]uploading file: D:\a\1\s\dist\assets\fonts\MASTOD__.ttf remote: /assets/fonts/MASTOD__.ttf
2018-03-09T19:15:51.7434380Z ##[debug]file: D:\a\1\s\dist\assets\images
2018-03-09T19:15:51.7434614Z ##[debug]remoteFile: /assets/images
2018-03-09T19:15:51.7434830Z ##[debug]creating remote directory: /assets/images
2018-03-09T19:15:51.7435064Z ##[debug]file: D:\a\1\s\dist\assets\images\Yawning_horse.jpg
2018-03-09T19:15:51.7435271Z ##[debug]remoteFile: /assets/images/Yawning_horse.jpg
2018-03-09T19:15:51.7435475Z ##[debug]uploading file: D:\a\1\s\dist\assets\images\Yawning_horse.jpg remote: /assets/images/Yawning_horse.jpg
2018-03-09T19:15:51.7435694Z ##[debug]file: D:\a\1\s\dist\assets\images\horse_chasing_tail.gif
2018-03-09T19:15:51.7435895Z ##[debug]remoteFile: /assets/images/horse_chasing_tail.gif
2018-03-09T19:15:51.7436134Z ##[debug]uploading file: D:\a\1\s\dist\assets\images\horse_chasing_tail.gif remote: /assets/images/horse_chasing_tail.gif
2018-03-09T19:15:51.7436344Z ##[debug]file: D:\a\1\s\dist\favicon.ico
2018-03-09T19:15:51.7436522Z ##[debug]remoteFile: /favicon.ico
2018-03-09T19:15:51.7436764Z ##[debug]uploading file: D:\a\1\s\dist\favicon.ico remote: /favicon.ico
2018-03-09T19:15:51.7436957Z ##[debug]file: D:\a\1\s\dist\index.html
2018-03-09T19:15:51.7437159Z ##[debug]remoteFile: /index.html
2018-03-09T19:15:51.7437373Z ##[debug]uploading file: D:\a\1\s\dist\index.html remote: /index.html
2018-03-09T19:15:51.7437584Z ##[debug]file: D:\a\1\s\dist\inline.29d7a9534cdf90ff9fc9.bundle.js
2018-03-09T19:15:51.7437792Z ##[debug]remoteFile: /inline.29d7a9534cdf90ff9fc9.bundle.js
2018-03-09T19:15:51.7438030Z ##[debug]uploading file: D:\a\1\s\dist\inline.29d7a9534cdf90ff9fc9.bundle.js remote: /inline.29d7a9534cdf90ff9fc9.bundle.js
2018-03-09T19:15:51.7438260Z ##[debug]file: D:\a\1\s\dist\main.8d76a8cead0b0a709f14.bundle.js
2018-03-09T19:15:51.7438483Z ##[debug]remoteFile: /main.8d76a8cead0b0a709f14.bundle.js
2018-03-09T19:15:51.7438725Z ##[debug]uploading file: D:\a\1\s\dist\main.8d76a8cead0b0a709f14.bundle.js remote: /main.8d76a8cead0b0a709f14.bundle.js
2018-03-09T19:15:51.7438954Z ##[debug]file: D:\a\1\s\dist\polyfills.367619bafcf2473263d3.bundle.js
2018-03-09T19:15:51.7439179Z ##[debug]remoteFile: /polyfills.367619bafcf2473263d3.bundle.js
2018-03-09T19:15:51.7439721Z ##[debug]uploading file: D:\a\1\s\dist\polyfills.367619bafcf2473263d3.bundle.js remote: /polyfills.367619bafcf2473263d3.bundle.js
2018-03-09T19:15:51.7440011Z ##[debug]file: D:\a\1\s\dist\styles.9c0ad738f18adc3d19ed.bundle.css
2018-03-09T19:15:51.7440219Z ##[debug]remoteFile: /styles.9c0ad738f18adc3d19ed.bundle.css
2018-03-09T19:15:51.7440450Z ##[debug]uploading file: D:\a\1\s\dist\styles.9c0ad738f18adc3d19ed.bundle.css remote: /styles.9c0ad738f18adc3d19ed.bundle.css
2018-03-09T19:15:51.7468114Z ##[debug][connection] > 'PWD'
2018-03-09T19:15:51.8218617Z ##[debug][connection] < '257 "/" is current directory.\r\n'
2018-03-09T19:15:51.8219120Z ##[debug][parser] < '257 "/" is current directory.\r\n'
2018-03-09T19:15:51.8219407Z ##[debug][parser] Response: code=257, buffer='"/" is current directory.'
2018-03-09T19:15:51.8223415Z ##[debug][connection] > 'CWD \\'
2018-03-09T19:15:51.9520666Z ##[debug][connection] < '250 Directory changed to /\r\n'
2018-03-09T19:15:51.9521187Z ##[debug][parser] < '250 Directory changed to /\r\n'
2018-03-09T19:15:51.9521357Z ##[debug][parser] Response: code=250, buffer='Directory changed to /'
2018-03-09T19:15:51.9521494Z ##[debug][connection] > 'CWD /'
2018-03-09T19:15:52.0393165Z ##[debug][connection] < '250 Directory changed to /\r\n'
2018-03-09T19:15:52.0393606Z ##[debug][parser] < '250 Directory changed to /\r\n'
2018-03-09T19:15:52.0393880Z ##[debug][parser] Response: code=250, buffer='Directory changed to /'
2018-03-09T19:15:52.0394108Z ##[debug][connection] > 'PWD'
2018-03-09T19:15:52.0396767Z files uploaded: 0, files skipped: 0, directories processed: 1, total: 1, remaining: 15, remote directory successfully created/verified: \
2018-03-09T19:15:52.1464749Z ##[debug][connection] < '257 "/" is current directory.\r\n'
2018-03-09T19:15:52.1465971Z ##[debug][parser] < '257 "/" is current directory.\r\n'
2018-03-09T19:15:52.1466337Z ##[debug][parser] Response: code=257, buffer='"/" is current directory.'
2018-03-09T19:15:52.1466773Z ##[debug][connection] > 'CWD /'
2018-03-09T19:15:52.2544396Z ##[debug][connection] < '250 Directory changed to /\r\n'
2018-03-09T19:15:52.2544813Z ##[debug][parser] < '250 Directory changed to /\r\n'
2018-03-09T19:15:52.2545240Z ##[debug][parser] Response: code=250, buffer='Directory changed to /'
2018-03-09T19:15:52.2545470Z ##[debug][connection] > 'CWD '
2018-03-09T19:15:52.3285531Z ##[debug][connection] < '501 Syntax error in parameters or arguments.\r\n'
2018-03-09T19:15:52.3286288Z ##[debug][parser] < '501 Syntax error in parameters or arguments.\r\n'
2018-03-09T19:15:52.3286546Z ##[debug][parser] Response: code=501, buffer='Syntax error in parameters or arguments.'
2018-03-09T19:15:52.3287602Z ##[debug][connection] > 'CWD /'
2018-03-09T19:15:52.4042501Z ##[debug][connection] < '250 Directory changed to /\r\n'
2018-03-09T19:15:52.4043030Z ##[debug][parser] < '250 Directory changed to /\r\n'
2018-03-09T19:15:52.4043359Z ##[debug][parser] Response: code=250, buffer='Directory changed to /'
2018-03-09T19:15:52.4048939Z ##[debug][connection] > 'PASV'
2018-03-09T19:15:52.4061686Z FTP upload failed: "Unable to create remote directory: / due to error: Error: Syntax error in parameters or arguments.". FTP log: "[connection] < '250 Directory changed to /\r\n',[parser] < '250 Directory changed to /\r\n',[parser] Response: code=250, buffer='Directory changed to /',[connection] > 'PASV'".
2018-03-09T19:15:52.4062912Z host: ftp.site4now.net
2018-03-09T19:15:52.4063176Z path: \
2018-03-09T19:15:52.4063359Z files uploaded: 0
2018-03-09T19:15:52.4063550Z files skipped: 0
2018-03-09T19:15:52.4063728Z directories processed: 1
2018-03-09T19:15:52.4063908Z unprocessed files & directories: 15
2018-03-09T19:15:52.4064305Z ##[debug]task result: Failed
2018-03-09T19:15:52.4120192Z ##[error]Unable to create remote directory: / due to error: Error: Syntax error in parameters or arguments.
2018-03-09T19:15:52.4134628Z ##[debug]Processed: ##vso[task.issue type=error;]Unable to create remote directory: / due to error: Error: Syntax error in parameters or arguments.
2018-03-09T19:15:52.4148033Z ##[debug]Processed: ##vso[task.complete result=Failed;]Unable to create remote directory: / due to error: Error: Syntax error in parameters or arguments.
2018-03-09T19:15:52.4148151Z disconnecting from: ftp.site4now.net
2018-03-09T19:15:52.4900984Z ##[debug][connection] < '227 Entering Passive Mode (208,118,63,179,156,74)\r\n'
2018-03-09T19:15:52.6721119Z ##[debug]ftp client end
2018-03-09T19:15:52.6722738Z disconnected
2018-03-09T19:15:52.6723174Z ##[debug]ftp client close, hadErr:false
2018-03-09T19:15:52.6785246Z ##[section]Finishing: FTP Upload: dist
2018-03-09T19:15:52.6794608Z ##[debug]Evaluating condition for step: 'Post Job Cleanup'
2018-03-09T19:15:52.6794902Z ##[debug]Always run post-job step: 'Post Job Cleanup'
2018-03-09T19:15:52.6795289Z ##[section]Starting: Post Job Cleanup
2018-03-09T19:15:52.6870577Z Cleaning any cached credential from repository: Horse Liberator Website (Git)
2018-03-09T19:15:52.6871062Z ##[debug]Repository url=https://invisiblefury.visualstudio.com/_git/Horse Liberator Website
2018-03-09T19:15:52.6871183Z ##[debug]targetPath=D:\a\1\s
2018-03-09T19:15:52.6871276Z ##[debug]Remove any extraheader, proxy and client cert setting from git config.
2018-03-09T19:15:52.6898713Z ##[debug]Remove injected credential from git remote fetch url.
2018-03-09T19:15:52.6927337Z ##[debug]Set git fetch url to: https://invisiblefury.visualstudio.com/_git/Horse%20Liberator%20Website for remote: origin.
2018-03-09T19:15:52.6927610Z ##[command]git remote set-url origin https://invisiblefury.visualstudio.com/_git/Horse%20Liberator%20Website
2018-03-09T19:15:52.7245453Z ##[debug]Remove injected credential from git remote push url.
2018-03-09T19:15:52.7271374Z ##[debug]Set git push url to: https://invisiblefury.visualstudio.com/_git/Horse%20Liberator%20Website for remote: origin.
2018-03-09T19:15:52.7271555Z ##[command]git remote set-url --push origin https://invisiblefury.visualstudio.com/_git/Horse%20Liberator%20Website
2018-03-09T19:15:52.7590347Z ##[section]Finishing: Post Job Cleanup
2018-03-09T19:15:53.2105864Z ##[section]Finishing: Job

Publish database to Azure Gov using hosted build agent

We're using the hosted VSTS PAAS soluition for managing our source, tasks, and are incorporating the hosted build agent. We're able to successfully publish our app services to Azure Gov, but are having issues trying to accomplish two tasks in our build pipeline and suspect both are related.
We use the database projects to build a dacpac and the Execute Azure SQL build task to publish the schema changes to our databases. When targeting Azure Gov, we're unable to connect to the server with the following message:
Unable to connect to master or target server '{servername}'. You must have
a user with the same password in master or target server '{servername}'.
I've confirmed that my SQL DB Details are set correctly. I also tried setting the firewall rules both to AutoDetect and IP Range (of 0.0.0.0 - 255.255.255.255) but am still seeing the same error. I still suspect that the VS build agent is not able to set the firewall rule for azure gov tenant even though the step is configured to use an ARM Azure connection type that successfully connects to our subscription.
Update 12/11/2017:
Here is a modified log file from the build process:
##[section]Starting: Execute Azure SQL : DacpacTask
Task : Azure SQL Database Deployment
Description : Deploy Azure SQL DB using DACPAC or run scripts using SQLCMD
Version : 1.1.24
Author : Microsoft Corporation
Help : More Information
[debug]VstsTaskSdk 0.8.2 commit
[debug]Entering D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\DeploySqlAzure.ps1.
[debug]INPUT_CONNECTEDSERVICENAMESELECTOR: 'ConnectedServiceNameARM'
[debug]INPUT_TASKNAMESELECTOR: 'DacpacTask'
[debug]INPUT_DACPACFILE: 'd:\a\1\s\src\Vics\bin\Release\Database.dacpac'
[debug]INPUT_SQLFILE: 'd:\a\1\s'
[debug]INPUT_SQLINLINE (empty)
[debug]INPUT_SERVERNAME: 'tcp:{server}.database.usgovcloudapi.net,1433'
[debug]INPUT_DATABASENAME: '{instance}'
[debug]INPUT_CONNECTEDSERVICENAME: '{ARM ID}'
[debug]INPUT_CONNECTEDSERVICENAMEARM: ''
[debug]INPUT_SQLUSERNAME: '{user}'
[debug]INPUT_SQLPASSWORD: '{pwd}'
[debug]INPUT_PUBLISHPROFILE: 'd:\a\1\s'
[debug]INPUT_ADDITIONALARGUMENTS: '/p:BlockOnPossibleDataLoss=False /p:AllowIncompatiblePlatform=True'
[debug]INPUT_SQLADDITIONALARGUMENTS (empty)
[debug]INPUT_INLINEADDITIONALARGUMENTS (empty)
[debug]INPUT_IPDETECTIONMETHOD: 'AutoDetect'
[debug]INPUT_STARTIPADDRESS (empty)
[debug]INPUT_ENDIPADDRESS (empty)
[debug]INPUT_DELETEFIREWALLRULE: 'true'
[debug] Converted to bool: True
[debug]Loading module from path 'D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\ps_modules\VstsAzureRestHelpers_\VstsAzureRestHelpers_.psm1'.
[debug]$OVERRIDING $global:DebugPreference from 'Continue' to 'SilentlyContinue'.
[debug]Loading resource strings from: D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\ps_modules\VstsAzureRestHelpers_/module.json
[debug]Loaded 7 strings.
[debug]SYSTEM_CULTURE: 'en-US'
[debug]Loading resource strings from: D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\ps_modules\VstsAzureRestHelpers_\Strings\resources.resjson\en-US\resources.resjson
[debug]Loaded 7 strings.
[debug]Exporting function 'Add-AzureSqlDatabaseServerFirewallRule'.
[debug]Exporting function 'Remove-AzureSqlDatabaseServerFirewallRule'.
[debug]Exporting function 'Get-AzStorageKeys'.
[debug]Exporting function 'Get-AzRMStorageKeys'.
[debug]Exporting function 'Get-AzRmVmCustomScriptExtension'.
[debug]Exporting function 'Remove-AzRmVmCustomScriptExtension'.
[debug]Exporting function 'Get-AzStorageAccount'.
[debug]Exporting function 'Get-AzRmStorageAccount'.
[debug]Exporting function 'Get-AzRmResourceGroup'.
[debug]Exporting function 'Get-AzureNetworkInterfaceDetails'.
[debug]Exporting function 'Get-AzurePublicIpAddressDetails'.
[debug]Exporting function 'Get-AzureLoadBalancersDetails'.
[debug]Exporting function 'Get-AzureLoadBalancerDetails'.
[debug]Exporting function 'Get-AzureRMLoadBalancerFrontendIpConfigDetails'.
[debug]Exporting function 'Get-AzureRMLoadBalancerInboundNatRuleConfigDetails'.
[debug]Importing function 'Add-AzureSqlDatabaseServerFirewallRule'.
[debug]Importing function 'Get-AzRmResourceGroup'.
[debug]Importing function 'Get-AzRmStorageAccount'.
[debug]Importing function 'Get-AzRMStorageKeys'.
[debug]Importing function 'Get-AzRmVmCustomScriptExtension'.
[debug]Importing function 'Get-AzStorageAccount'.
[debug]Importing function 'Get-AzStorageKeys'.
[debug]Importing function 'Get-AzureLoadBalancerDetails'.
[debug]Importing function 'Get-AzureLoadBalancersDetails'.
[debug]Importing function 'Get-AzureNetworkInterfaceDetails'.
[debug]Importing function 'Get-AzurePublicIpAddressDetails'.
[debug]Importing function 'Get-AzureRMLoadBalancerFrontendIpConfigDetails'.
[debug]Importing function 'Get-AzureRMLoadBalancerInboundNatRuleConfigDetails'.
[debug]Importing function 'Remove-AzRmVmCustomScriptExtension'.
[debug]Importing function 'Remove-AzureSqlDatabaseServerFirewallRule'.
[debug]Loading resource strings from: D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24/Task.json
[debug]Loaded 11 strings.
[debug]SYSTEM_CULTURE: 'en-US'
[debug]Loading resource strings from: D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\Strings\resources.resjson\en-US\resources.resjson
[debug]Loaded 11 strings.
[debug]FilePath= Find-VstsFiles LegacyPattern d:\a\1\s\src\Vics\bin\Release\Database.dacpac
[debug]Entering Find-VstsFiles.
[debug] LiteralDirectory: 'LegacyPattern'
[debug] LegacyPattern: 'd:\a\1\s\src\Vics\bin\Release\Database.dacpac'
[debug]Entering Get-MatchingItems.
[debug] IncludePatterns: 'd:\a\1\s\src\Vics\bin\Release\Database.dacpac'
[debug] ExcludePatterns: ''
[debug] IncludeFiles: 'True'
[debug] IncludeDirectories: 'False'
[debug] Force: 'False'
[debug]Path: d:\a\1\s\src\Vics\bin\Release\Database.dacpac
[debug]Leaving Get-MatchingItems.
[debug]Total found: 1
[debug]Leaving Find-VstsFiles.
packageFile= d:\a\1\s\src\Vics\bin\Release\Database.dacpac
[debug]Server friendly name is tcp:{server}
[debug]ENDPOINT_URL_d77b299c-5a4a-41cd-802e-de906dccbff0: 'https://management.usgovcloudapi.net/'
[debug]ENDPOINT_AUTH_d77b299c-5a4a-41cd-802e-de906dccbff0: '********'
[debug]ENDPOINT_DATA_d77b299c-5a4a-41cd-802e-de906dccbff0: '{"subscriptionId":"{subscriptionId}","subscriptionName":"US Government Azure Enterprise Offer","azureSpnRoleAssignmentId":"","azureSpnPermissions":"","spnObjectId":"","appObjectId":"","creationMode":"Manual","environment":"AzureUSGovernment","environmentUrl":"https://management.usgovcloudapi.net/","galleryUrl":"https://gallery.usgovcloudapi.net/","serviceManagementUrl":"https://management.core.usgovcloudapi.net/","resourceManagerUrl":"https://management.usgovcloudapi.net/","activeDirectoryAuthority":"https://login-us.microsoftonline.com/","environmentAuthorityUrl":"https://login-us.microsoftonline.com/","graphUrl":"https://graph.windows.net/","managementPortalUrl":"https://manage.windowsazure.us/","armManagementPortalUrl":"https://portal.azure.us","activeDirectoryServiceEndpointResourceId":"https://management.core.usgovcloudapi.net/","sqlDatabaseDnsSuffix":".database.usgovcloudapi.net","AzureKeyVaultDnsSuffix":"vault.usgovclouda...
[debug]Reaching SqlServer to check connection by running sqlcmd.exe -S "tcp:{server}.database.usgovcloudapi.net,1433" -U "{user}" -Q "select getdate()"
[debug]
[debug]sqlPackageArguments = /SourceFile:"d:\a\1\s\src\Vics\bin\Release\Database.dacpac" /Action:Publish /TargetServerName:"tcp:{server}.database.usgovcloudapi.net,1433" /TargetDatabaseName:"{instance}" /TargetUser:"{user}" /TargetPassword:"********" /p:BlockOnPossibleDataLoss=False /p:AllowIncompatiblePlatform=True /TargetTimeout:120
[debug]Sql Versions installed on machine factoryvm-az229 as read from registry: 140 130 120 110
[debug]Sql Version Specific Root Dir for version 140 as read from registry: C:\Program Files (x86)\Microsoft SQL Server\140\
[debug]Sql Version Specific Root Dir for version 130 as read from registry: C:\Program Files\Microsoft SQL Server\130\
[debug]Sql Version Specific Root Dir for version 130 as read from registry: C:\Program Files (x86)\Microsoft SQL Server\130\
[debug]Sql Version Specific Root Dir for version 120 as read from registry: C:\Program Files (x86)\Microsoft SQL Server\120\
[debug]Sql Version Specific Root Dir for version 110 as read from registry: C:\Program Files (x86)\Microsoft SQL Server\110\
[debug]Dac Framework (installed with SQL) not found on machine factoryvm-az229
[debug]Dac Framework installed with SQL Version 140 found at C:\Program Files\Microsoft SQL Server\140\DAC\bin\SqlPackage.exe on machine factoryvm-az229
[debug]Getting latest Visual Studio 15 setup instance.
[debug]Entering Invoke-VstsTool.
[debug] FileName: 'D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\vswhere.exe'
[debug] Arguments: '-version [15.0,16.0) -latest -format json'
[debug] RequireExitCodeZero: 'True'
[command]"D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\vswhere.exe" -version [15.0,16.0) -latest -format json
[debug][
[debug] {
[debug] "instanceId": "5fcd044c",
[debug] "installDate": "2017-12-01T18:36:43Z",
[debug] "installationName": "VisualStudio/15.4.5+27004.2010",
[debug] "installationPath": "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise",
[debug] "installationVersion": "15.4.27004.2010",
[debug] "displayName": "Visual Studio Enterprise 2017",
[debug] "description": "Microsoft DevOps solution for productivity and coordination across teams of any size",
[debug] "enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
[debug] "channelId": "VisualStudio.15.Release",
[debug] "channelPath": "C:\Users\packer\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\4CB340F5\catalog.json",
[debug] "channelUri": "https://aka.ms/vs/15/release/channel",
[debug] "releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660692#15.4.5",
[debug] "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660708"
[debug] }
[debug]]
[debug]Exit code: 0
[debug]Leaving Invoke-VstsTool.
[debug]Dac Framework installed with Visual Studio found at C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\140\SqlPackage.exe on machine factoryvm-az229
[debug]Executing SQLPackage.exe
[debug]Executing : "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\140\SqlPackage.exe" /SourceFile:"d:\a\1\s\src\Vics\bin\Release\Database.dacpac" /Action:Publish /TargetServerName:"tcp:{server}.database.usgovcloudapi.net,1433" /TargetDatabaseName:"{instance}" /TargetUser:"{user}" /TargetPassword:"********" /p:BlockOnPossibleDataLoss=False /p:AllowIncompatiblePlatform=True /TargetTimeout:120
Publishing to database '{instance}' on server 'tcp:{server}.database.usgovcloudapi.net,1433'.
Initializing deployment (Start)
Initializing deployment (Failed)
[debug]Error record:
[debug]Execute-Command : *** Could not deploy package.
[debug]At D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\DeploySqlAzure.ps1:178 char:9
[debug]+ Execute-Command -FileName $SqlPackagePath -Arguments $scriptA ...
[debug]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[debug] + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
[debug] + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Execute-Command
[debug]
[debug]Script stack trace:
[debug]at Execute-Command, D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\Utility.ps1: line 235
[debug]at , D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\DeploySqlAzure.ps1: line 178
[debug]at , : line 1
[debug]at , : line 22
[debug]at , : line 18
[debug]at , : line 1
[debug]Exception:
[debug]Microsoft.PowerShell.Commands.WriteErrorException: *** Could not deploy package.
[error]*** Could not deploy package.
[debug]Processed: ##vso[task.logissue type=error]*** Could not deploy package.
[debug]Error record:
[debug]Execute-Command : Unable to connect to master or target server '{instance}'. You must have a user with the same password in master or target server '{instance}'.
[debug]
[debug]At D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\DeploySqlAzure.ps1:178 char:9
[debug]+ Execute-Command -FileName $SqlPackagePath -Arguments $scriptA ...
[debug]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[debug] + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
[debug] + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Execute-Command
[debug]
[debug]Script stack trace:
[debug]at Execute-Command, D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\Utility.ps1: line 235
[debug]at , D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\DeploySqlAzure.ps1: line 178
[debug]at , : line 1
[debug]at , : line 22
[debug]at , : line 18
[debug]at , : line 1
[debug]Exception:
[debug]Microsoft.PowerShell.Commands.WriteErrorException: Unable to connect to master or target server '{server}'. You must have a user with the same password in master or target server '{instance}'.
[debug]
[error]Unable to connect to master or target server '{instance}'. You must have a user with the same password in master or target server '{instance}'.
[debug]Processed: ##vso[task.logissue type=error]Unable to connect to master or target server '{instance}'. You must have a user with the same password in master or target server '{instance}'.%0D%0A
[debug]No Firewall Rule was added
[debug]Caught exception from task script.
[debug]Error record:
[debug]D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\DeploySqlAzure.ps1 : Azure SQL Dacpac task failed.
[debug]At line:1 char:1
[debug]+ . 'd:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a ...
[debug]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[debug] + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
[debug] + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DeploySqlAzure.ps1
[debug]
[debug]Script stack trace:
[debug]at , D:\a_tasks\SqlAzureDacpacDeployment_ce85a08b-a538-4d2b-8589-1d37a9ab970f\1.1.24\DeploySqlAzure.ps1: line 234
[debug]at , : line 1
[debug]at , : line 22
[debug]at , : line 18
[debug]at , : line 1
[debug]Exception:
[debug]Microsoft.PowerShell.Commands.WriteErrorException: Azure SQL Dacpac task failed.
[error]Azure SQL Dacpac task failed.
[debug]Processed: ##vso[task.logissue type=error]Azure SQL Dacpac task failed.
[debug]Processed: ##vso[task.complete result=Failed]
[section]Finishing: Execute Azure SQL : DacpacTask
The second, possibly related issue is trying to run our integration tests which access this database. Is there an alternative to creating a powershell script to connect to the correct tenant and execute New-AzureSqlDatabaseServerFirewallRule - run tests - Remove-AzureSqlDatabaseServerFirewallRule?
Can you manually execute the command generated by the debug logs above to deploy from console? does it succeed?
You can try adding firewall rule from the Azure portal and check if it works for you?

Error while running curator for deleting older indices

I want to delete the elasticsearch indices older than 7 days. So I have installed curator 4.2 as my elasticsearch version is 5.0.0 (curator version before 4.x are not compatible with elasticsearch v5)
we need to create configuration file and action file to make this work.
I have created my config and action file in root directory
My configuration file curator.yml is
---
# Remember, leave a key empty if there is no value. None will be a string,
# not a Python "NoneType"
client:
hosts:
- 127.0.0.1
port: 9200
url_prefix:
use_ssl: False
certificate:
client_cert:
client_key:
aws_key:
aws_secret_key:
aws_region:
ssl_no_validate: False
http_auth:
timeout: 30
master_only: False
logging:
loglevel: INFO
logfile:
logformat: default
blacklist: ['elasticsearch', 'urllib3']
My action file curatorAction.yml is
actions:
1:
action: delete_indices
description: >-
Delete indices older than 45 days (based on index name), for logstash-
prefixed indices. Ignore the error if the filter does not result in an
actionable list of indices (ignore_empty_list) and exit cleanly.
options:
ignore_empty_list: True
timeout_override:
continue_if_exception: False
disable_action: True
filters:
- filtertype: pattern
kind: prefix
value: logstash-
exclude:
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 7
exclude:
I am running the curator with the CLI as
curator --config curator.yml --dry-run curatorAction.yml
but I am getting this error. I can't find anything regarding this anywhere. Any help will be appreciated.
2017-02-15 17:52:02,991 ERROR Schema error: extra keys not allowed # data[1]
Traceback (most recent call last):
File "/usr/local/bin/curator", line 11, in <module>
load_entry_point('elasticsearch-curator==4.2.6', 'console_scripts', 'curator')()
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/curator/cli.py", line 126, in cli
action_dict = validate_actions(action_config)
File "/usr/local/lib/python2.7/site-packages/curator/utils.py", line 1085, in validate_actions
root = SchemaCheck(data, actions.root(), 'Actions File', 'root').result()
File "/usr/local/lib/python2.7/site-packages/curator/validators/schemacheck.py", line 68, in result
self.test_what, self.location, self.badvalue, self.error)
curator.exceptions.ConfigurationError: Configuration: Actions File: Location: root: Bad Value: "{'action': 'delete_indices', 'description': 'Delete selected indices', 'filters': [{'exclude': None, 'kind': 'prefix', 'filtertype': 'pattern', 'value': 'logstash-'}, {'source': 'name', 'direction': 'older', 'unit_count': 30, 'timestring': '%Y.%m.%d', 'exclude': None, 'filtertype': 'age', 'unit': 'days'}], 'options': {'continue_if_exception': False, 'timeout_override': None, 'disable_action': False}}", extra keys not allowed # data[1]. Check configuration file.
I cannot find anything incorrect with your curatorAction.yml file. In fact, the below is the output from my running it. I cut/pasted exactly what you have above, minus disable_action: True in test2.yml:
root#esclient:~/.curator# curator --config test.yml --dry-run test2.yml
2017-02-15 15:48:53,705 INFO Preparing Action ID: 1, "delete_indices"
2017-02-15 15:48:53,713 INFO Trying Action ID: 1, "delete_indices": Delete indices older than 45 days (based on index name), for logstash- prefixed indices. Ignore the error if the filter does not result in an actionable list of indices (ignore_empty_list) and exit cleanly.
2017-02-15 15:48:54,034 INFO DRY-RUN MODE. No changes will be made.
2017-02-15 15:48:54,034 INFO (CLOSED) indices may be shown that may not be acted on by action "delete_indices".
2017-02-15 15:48:54,034 INFO DRY-RUN: delete_indices: logstash-2017.01.06 with arguments: {}
2017-02-15 15:48:54,034 INFO DRY-RUN: delete_indices: logstash-2017.02.01 (CLOSED) with arguments: {}
2017-02-15 15:48:54,034 INFO DRY-RUN: delete_indices: logstash-2017.02.02 with arguments: {}
2017-02-15 15:48:54,034 INFO DRY-RUN: delete_indices: logstash-2017.02.03 with arguments: {}
2017-02-15 15:48:54,034 INFO DRY-RUN: delete_indices: logstash-2017.02.04 with arguments: {}
2017-02-15 15:48:54,035 INFO DRY-RUN: delete_indices: logstash-2017.02.05 with arguments: {}
2017-02-15 15:48:54,035 INFO DRY-RUN: delete_indices: logstash-2017.02.06 with arguments: {}
2017-02-15 15:48:54,035 INFO DRY-RUN: delete_indices: logstash-2017.02.07 with arguments: {}
2017-02-15 15:48:54,035 INFO DRY-RUN: delete_indices: logstash-2017.02.08 with arguments: {}
2017-02-15 15:48:54,035 INFO Action ID: 1, "delete_indices" completed.
2017-02-15 15:48:54,035 INFO Job completed.
Again, the only change I made was to set disable_action: False—or just delete the line altogether—as nothing would run with it set to True.
That does not explain your error, which indicates that your file is incorrectly formatted. There is a root-level key it does not like, but cut/paste, and it works for me, so I can't tell how or why yours may be formatted incorrectly.
Did you use a DOS newline character for your curatorAction.yml file, or something like that?

Resources