-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled exception during ARM Outputs Task Error #27
Comments
I have the same error on my self-hosted agents Win2016. It is weird that worked for 3 other subscriptions/resource groups but failed for this subscription/rg. 2019-06-27T01:19:07.1354649Z ##[section]Starting: Extract ARM Output Values to Variables |
I see the same for Azure-hosted agents. Version 4 works fine but 5 fails saying it could not find a deployment. |
It's hard to identity what exactly did go wrong here. In the first post the error was: I was not able to reproduce this other than an expected fail during running deployments/failed deployments (and FailBehaviour set to fail). There were some major updates to the Azure SDK's, dependencies I've just updated. This new version will roll out later this week after some QA. |
I am hitting the same issues with v5. I was pondering if it can be race condition between deployment completion and outputs looking for it. 2019-09-10T06:25:00.1203175Z Unhandled exception during ARM Outputs Task Error: Deployment could not be found for Resource Group 'dev-weu-somename-rg'. I cant see why v4 would work and v5 wouldnt. However v5 is also not using AzureRM (which is why i am really needing it, we just started switching from AzureRM to Az module. |
I can confirm it is something to do with the filter. When i removed the filter parameter it worked. |
I checked the micromatch (https://github.com/micromatch/micromatch) filtering functionality that is being used here. its different from the powershell one used by v4. When you add a filter then you need to use '*' for wildcard. So the partial template name filter for me is something like 'my-super-template*' and then works nicely. @keesschollaart81 @Astrophizz @MdeRhoter - could have been the same issue for you? |
The wildcard worked! Thanks @melborp The documentation on the filter states:
The example of Another noteworthy change is that "Outputs to process" is now case-sensitive where it wasn't before. |
2019-06-25T15:36:10.2284028Z ##[section]Starting: ARM Outputs 2019-06-25T15:36:10.2394709Z ============================================================================== 2019-06-25T15:36:10.2394823Z Task : ARM Outputs 2019-06-25T15:36:10.2394897Z Description : This task reads the output values of an ARM deployment and sets them as Azure Pipelines variables. 2019-06-25T15:36:10.2394984Z Version : 5.0.21 2019-06-25T15:36:10.2395040Z Author : Kees Schollaart 2019-06-25T15:36:10.2395123Z Help : [More Information](https://github.com/keesschollaart81/vsts-arm-outputs) 2019-06-25T15:36:10.2395200Z ============================================================================== 2019-06-25T15:36:11.3541865Z 4586a46a-571f-452d-9628-6185c73faa2b exists true 2019-06-25T15:36:11.3542413Z Logging in using ApplicationTokenCredentials, authScheme is 'ServicePrincipal' 2019-06-25T15:36:12.4999561Z Unhandled exception during ARM Outputs Task Error: Deployment 'something-something-something-something-25062019-1534' of Resource Group 'something-something-rg' did not succeed (status 'Failed') 2019-06-25T15:36:12.5000788Z at ArmOutputs.eval (webpack://someLibName/./dist/arm-outputs.js?:33:23) 2019-06-25T15:36:12.5001209Z at next (native) 2019-06-25T15:36:12.5001708Z at fulfilled (webpack://someLibName/./dist/arm-outputs.js?:4:58) 2019-06-25T15:36:12.5067807Z ##[error]Error: Deployment 'something-something-something-something-25062019-1534' of Resource Group 'something-something-rg' did not succeed (status 'Failed') 2019-06-25T15:36:12.5077369Z at process._tickCallback (internal/process/next_tick.js:109:7) 2019-06-25T15:36:12.9824398Z ##[section]Finishing: ARM Outputs
This output first appeared today, it's running on a self-hosted agent (Win2016, all the latest updates, latest DevOps agent). How can I get this going again?
The text was updated successfully, but these errors were encountered: