We started getting the error below today during our Service Fabric Deploy task. No changes were made to our release definition and deploys were working fine yesterday.
I found this link this morning, and tried toggling the "Configure Docker settings" checkbox on, save, then off and save. We are not using Docker. After that, the next deploy ran successfully. Since then all deploys have failed with the same error and toggling the Docker setting has made no difference.
2018-04-25T20:06:02.0152041Z ==============================================================================
2018-04-25T20:06:02.0152315Z Task : Service Fabric Application Deployment
2018-04-25T20:06:02.0152579Z Description : Deploy a Service Fabric application to a cluster.
2018-04-25T20:06:02.0152781Z Version : 1.7.3
2018-04-25T20:06:02.0152985Z Author : Microsoft Corporation
2018-04-25T20:06:02.0153211Z Help : More Information
2018-04-25T20:06:02.0153492Z ==============================================================================
2018-04-25T20:06:03.9204239Z ##[debug]VstsTaskSdk 0.8.2 commit
2018-04-25T20:06:04.2237092Z ##[debug]Entering D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\deploy.ps1.
2018-04-25T20:06:04.2392556Z ##[debug]Loading resource strings from: D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\task.json
2018-04-25T20:06:04.3736642Z ##[debug]Loaded 52 strings.
2018-04-25T20:06:04.3798489Z ##[debug]SYSTEM_CULTURE: 'en-US'
2018-04-25T20:06:04.3804708Z ##[debug]Loading resource strings from: D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\Strings\resources.resjson\en-US\resources.resjson
2018-04-25T20:06:04.5109085Z ##[debug]Loaded 52 strings.
2018-04-25T20:06:04.5182212Z ##[debug]Loading module from path 'D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modules\ServiceFabricHelpers\ServiceFabricHelpers.psm1'.
2018-04-25T20:06:04.5240125Z ##[debug]Loading resource strings from: D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modules\ServiceFabricHelpers\module.json
2018-04-25T20:06:04.5535355Z ##[debug]Loaded 11 strings.
2018-04-25T20:06:04.5568265Z ##[debug]SYSTEM_CULTURE: 'en-US'
2018-04-25T20:06:04.5593635Z ##[debug]Loading resource strings from: D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modules\ServiceFabricHelpers\Strings\resources.resjson\en-US\resources.resjson
2018-04-25T20:06:04.5886023Z ##[debug]Loaded 11 strings.
2018-04-25T20:06:04.6111440Z ##[debug]Entering Find-VstsFiles.
2018-04-25T20:06:04.6265242Z ##[debug] LiteralDirectory: 'D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modules\ServiceFabricHelpers'
2018-04-25T20:06:04.6286507Z ##[debug] LegacyPattern: '.ps1'
2018-04-25T20:06:04.9219750Z ##[debug]Entering Get-MatchingItems.
2018-04-25T20:06:04.9258766Z ##[debug] IncludePatterns: 'D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modules\ServiceFabricHelpers*.ps1'
2018-04-25T20:06:04.9327700Z ##[debug] ExcludePatterns: ''
2018-04-25T20:06:04.9377759Z ##[debug] IncludeFiles: 'True'
2018-04-25T20:06:04.9402093Z ##[debug] IncludeDirectories: 'False'
2018-04-25T20:06:04.9850196Z ##[debug] Force: 'False'
2018-04-25T20:06:05.3556060Z ##[debug]Paths: D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modules\ServiceFabricHelpers\
2018-04-25T20:06:05.3575606Z ##[debug] Connect-ServiceFabricClusterFromServiceEndpoint.ps1
2018-04-25T20:06:05.3598170Z ##[debug] Get-ServiceFabricEncryptedText.ps1
2018-04-25T20:06:05.3613173Z ##[debug]Leaving Get-MatchingItems.
2018-04-25T20:06:05.3715538Z ##[debug]Total found: 2
2018-04-25T20:06:05.3732824Z ##[debug]Leaving Find-VstsFiles.
2018-04-25T20:06:05.3749292Z ##[debug]Exporting function 'Connect-ServiceFabricClusterFromServiceEndpoint'.
2018-04-25T20:06:05.3765782Z ##[debug]Exporting function 'Get-ServiceFabricEncryptedText'.
2018-04-25T20:06:05.3781225Z ##[debug]Importing function 'Connect-ServiceFabricClusterFromServiceEndpoint'.
2018-04-25T20:06:05.3796100Z ##[debug]Importing function 'Get-ServiceFabricEncryptedText'.
2018-04-25T20:06:05.5191401Z ##[debug]Loading module from path 'D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modules\PowershellHelpers\PowershellHelpers.psm1'.
2018-04-25T20:06:05.5256929Z ##[debug]Loading resource strings from: D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modules\PowershellHelpers\module.json
2018-04-25T20:06:05.5336293Z ##[debug]Loaded 2 strings.
2018-04-25T20:06:05.5362120Z ##[debug]SYSTEM_CULTURE: 'en-US'
2018-04-25T20:06:05.5380791Z ##[debug]Loading resource strings from: D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modules\PowershellHelpers\Strings\resources.resjson\en-US\resources.resjson
2018-04-25T20:06:05.5454627Z ##[debug]Loaded 2 strings.
2018-04-25T20:06:05.5500108Z ##[debug]Exporting function 'Invoke-ActionWithRetries'.
2018-04-25T20:06:05.5516306Z ##[debug]Exporting function 'Get-TempDirectoryPath'.
2018-04-25T20:06:05.5531756Z ##[debug]Importing function 'Get-TempDirectoryPath'.
2018-04-25T20:06:05.5546770Z ##[debug]Importing function 'Invoke-ActionWithRetries'.
2018-04-25T20:06:05.5749481Z ##[debug]INPUT_PUBLISHPROFILEPATH: 'D:\a\r1\a\HealthPay24-All\drop\projectartifacts\Source\HealthPay24\src\HealthPay24\PublishProfiles\hp24-dev.xml'
2018-04-25T20:06:05.5817789Z Searching for path: D:\a\r1\a\HealthPay24-All\drop\projectartifacts\Source\HealthPay24\src\HealthPay24\PublishProfiles\hp24-dev.xml
2018-04-25T20:06:05.5838581Z ##[debug]Entering Find-VstsFiles.
2018-04-25T20:06:05.5854211Z ##[debug] LegacyPattern: 'D:\a\r1\a\HealthPay24-All\drop\projectartifacts\Source\HealthPay24\src\HealthPay24\PublishProfiles\hp24-dev.xml'
2018-04-25T20:06:05.5878721Z ##[debug]Entering Get-MatchingItems.
2018-04-25T20:06:05.5896777Z ##[debug] IncludePatterns: 'D:\a\r1\a\HealthPay24-All\drop\projectartifacts\Source\HealthPay24\src\HealthPay24\PublishProfiles\hp24-dev.xml'
2018-04-25T20:06:05.5911784Z ##[debug] ExcludePatterns: ''
2018-04-25T20:06:05.5927530Z ##[debug] IncludeFiles: 'True'
2018-04-25T20:06:05.5942538Z ##[debug] IncludeDirectories: 'False'
2018-04-25T20:06:05.5956781Z ##[debug] Force: 'False'
2018-04-25T20:06:05.6133651Z ##[debug]Path: D:\a\r1\a\HealthPay24-All\drop\projectartifacts\Source\HealthPay24\src\HealthPay24\PublishProfiles\hp24-dev.xml
2018-04-25T20:06:05.6134928Z ##[debug]Leaving Get-MatchingItems.
2018-04-25T20:06:05.6135579Z ##[debug]Total found: 1
2018-04-25T20:06:05.6136183Z ##[debug]Leaving Find-VstsFiles.
2018-04-25T20:06:05.6238311Z ##[debug]Asserting leaf path exists: 'D:\a\r1\a\HealthPay24-All\drop\projectartifacts\Source\HealthPay24\src\HealthPay24\PublishProfiles\hp24-dev.xml'
2018-04-25T20:06:05.6249551Z Found path: D:\a\r1\a\HealthPay24-All\drop\projectartifacts\Source\HealthPay24\src\HealthPay24\PublishProfiles\hp24-dev.xml
2018-04-25T20:06:05.7341657Z ##[debug]INPUT_APPLICATIONPACKAGEPATH: 'D:\a\r1\a*\drop\ServiceFabricWebApp'
2018-04-25T20:06:05.7351321Z Searching for path: D:\a\r1\a*\drop\ServiceFabricWebApp
2018-04-25T20:06:05.7373769Z ##[debug]Entering Find-VstsFiles.
2018-04-25T20:06:05.7389821Z ##[debug] LegacyPattern: 'D:\a\r1\a*\drop\ServiceFabricWebApp'
2018-04-25T20:06:05.7407695Z ##[debug] IncludeDirectories: 'True'
2018-04-25T20:06:05.7431550Z ##[debug]Entering Get-MatchingItems.
2018-04-25T20:06:05.7449291Z ##[debug] IncludePatterns: 'D:\a\r1\a**\drop\ServiceFabricWebApp'
2018-04-25T20:06:05.7464265Z ##[debug] ExcludePatterns: ''
2018-04-25T20:06:05.7486119Z ##[debug] IncludeFiles: 'False'
2018-04-25T20:06:05.7502981Z ##[debug] IncludeDirectories: 'True'
2018-04-25T20:06:05.7517685Z ##[debug] Force: 'False'
2018-04-25T20:06:06.0872455Z ##[debug]Path: D:\a\r1\a\HealthPay24-All\drop\ServiceFabricWebApp
2018-04-25T20:06:06.0892707Z ##[debug]Leaving Get-MatchingItems.
2018-04-25T20:06:06.0911147Z ##[debug]Total found: 1
2018-04-25T20:06:06.0930486Z ##[debug]Leaving Find-VstsFiles.
2018-04-25T20:06:06.0948931Z ##[debug]Asserting container path exists: 'D:\a\r1\a\HealthPay24-All\drop\ServiceFabricWebApp'
2018-04-25T20:06:06.0963184Z Found path: D:\a\r1\a\HealthPay24-All\drop\ServiceFabricWebApp
2018-04-25T20:06:06.0987088Z ##[debug]INPUT_SERVICECONNECTIONNAME: '6c5fff36-9596-45f8-b297-6d53464e442d'
2018-04-25T20:06:06.1134963Z ##[debug]ENDPOINT_URL_6c5fff36-9596-45f8-b297-6d53464e442d (empty)
2018-04-25T20:06:06.1728740Z ##[debug]Leaving D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\deploy.ps1.
2018-04-25T20:06:06.2041984Z ##[debug]Caught exception from task script.
2018-04-25T20:06:06.2073188Z ##[debug]Error record:
2018-04-25T20:06:06.2804676Z ##[debug]Get-VstsEndpoint : Required: '6c5fff36-9596-45f8-b297-6d53464e442d' service endpoint URL
2018-04-25T20:06:06.2816607Z ##[debug]At D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\deploy.ps1:28 char:33
2018-04-25T20:06:06.2828526Z ##[debug]+ ... viceEndpoint = Get-VstsEndpoint -Name $serviceConnectionName -Require
2018-04-25T20:06:06.2840546Z ##[debug]+ ~~~~~~~~~~~~~~
2018-04-25T20:06:06.2852142Z ##[debug] + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
2018-04-25T20:06:06.2868160Z ##[debug] + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-VstsEndpoint
2018-04-25T20:06:06.2878822Z ##[debug]
2018-04-25T20:06:06.2898699Z ##[debug]Script stack trace:
2018-04-25T20:06:06.2934865Z ##[debug]at Get-Endpoint, D:\a_tasks\ServiceFabricDeploy_c6650aa0-185b-11e6-a47d-df93e7a34c64\1.7.3\ps_modulesVstsTaskSdk\InputFunctions.ps1: line 63
2018-04-25T20:06:06.2947153Z ##[debug]at
2018-04-25T20:06:06.2958908Z ##[debug]at
2018-04-25T20:06:06.2970886Z ##[debug]at
2018-04-25T20:06:06.2983114Z ##[debug]at
2018-04-25T20:06:06.2994252Z ##[debug]at
2018-04-25T20:06:06.3013903Z ##[debug]Exception:
2018-04-25T20:06:06.3065916Z ##[debug]Microsoft.PowerShell.Commands.WriteErrorException: Required: '6c5fff36-9596-45f8-b297-6d53464e442d' service endpoint URL
2018-04-25T20:06:06.3383528Z ##[error]Required: '6c5fff36-9596-45f8-b297-6d53464e442d' service endpoint URL
2018-04-25T20:06:06.3395457Z ##[debug]Processed: ##vso[task.logissue type=error]Required: '6c5fff36-9596-45f8-b297-6d53464e442d' service endpoint URL
2018-04-25T20:06:06.3396511Z ##[debug]Processed: ##vso[task.complete result=Failed]
I think this issue is impacting general Azure VM file copies. I posted a similar question today.
VM File copy task in VSTS
Required: '*' service endpoint URL
We are also experiencing this issue since yesterday. It seems coincident with a shift in the task version from 1.7.3 to 1.7.7 (but that may be unrelated, since Rick's logs above show 1.7.3 in use). We've seen similar failures on three different clusters. One of them succeeded after a single redeploy, but I've had three failures in a row on another cluster. We did also see a very similar issue with copying files to Azure Blob Storage yesterday, but that corrected itself after a retry.
The ones that eventually succeed are running on a build agent that we manage, and the ones I can't make succeed are using hosted agents, if that's at all relevant.
Logs:
VSTS SF Log 042518.txt
We've started experiencing similar issues with three different clusters about 2 hours ago. A small percentage of deploys goes through, most of them fail with - Required: '*' service endpoint URL.
We are experiencing this as well using agents on VMs. We think we found a workaround by redefining the ServiceEndPoint and reassigning to the appropriate task. We are in the middle of a production release and thus far is working, however feels like a gamble. - and false. Found to not be true
I tried the same with no luck. We are trying to release to UAT and struggling with this issue.
Get Outlook for iOShttps://aka.ms/o0ukef
Lee Rodgers
Applications Development Manager
American Financial Resources, Inc.
9 Sylvan Way, Parsippany, NJ 07054
Company NMLS# 2826
Direct: 973-712-5817
www.afrcorp.comhttp://afrcorp.com/
[http://info.afrwholesale.com/rs/907-LSM-670/images/afr-20th-v2.png]
This e-mail is confidential and may well be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. To do so could violate state and Federal privacy laws. Thank you for your cooperation.
From: rdurham285 notifications@github.com
Sent: Wednesday, April 25, 2018 8:20:07 PM
To: Microsoft/vsts-tasks
Cc: Lee Rodgers; Comment
Subject: [External]Re: [Microsoft/vsts-tasks] Service Fabric Deploy - Required: '6c5fff36-9596-45f8-b297-6d53464e442d' service endpoint URL (#7076)
We are experiencing this as well using VMs. We think we found a workaround by redefining the ServiceEndPoint and reassigning to the appropriate task. We are in the middle of a production release and thus far is working, however feels like a gamble.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vsts-tasks/issues/7076#issuecomment-384473352, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkGJnHiMe1uvXrPFLt6C2rLzAIv9K4ixks5tsRK3gaJpZM4TkFnG.
Ack. We are investigating this and working to resolve this issue.
The fix has been deployed and you should not see this anymore. This was due to a bug in task caches that we maintain - whish has been resolved.
Most helpful comment
Ack. We are investigating this and working to resolve this issue.