Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: here
Visual Studio Test
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Server - Azure Pipelines or TFS on-premises?
Azure Pipelines
If using TFS on-premises, provide the version:
If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
Agent - Hosted or Private:
Hosted
I got an error when configuring the agent in multi-agent mode on VSTS.
I am overwriting my test arguments with values coming from keyVault.
The same task and setup works when the agent is configured with parallel being "none".
When I want to run my tests in parallel by switching the "Parallelism" to "Multi-agent", I starts to see the error below from all agents.
[Include task name(s), screenshots and any other relevant details]
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
2019-03-27T05:04:14.4883649Z ##[debug]Processed: ##vso[task.logissue type=warning;]Unable to parse the override run parameters string: -Key1 value1PlainText -Key2 value2PlainText -kEY3 * -Key4DbConnectionString -key5 **
2019-03-27T05:04:14.6537738Z ##[error]SettingsUpdation.Run : Exception occurred during the updation of run settings: System.FormatException: Error encountered while overriding test run parameters. Please check the test run parameteres provided.
[Insert error from the logs here for a quick overview]
Turns out to be an issue parsing db connection string.
If I have "Data Source=" in the db connection string variable, and pass it as a overwritten variable, it will have this problem. It skips all the values after the space, and only "data" is overwritten to the variable value.
The workaround I had was moving "Data Source=" to the code, and only pass the part that does not have a space in the release variable.
For me that workaround of moving the "Data Source=" is not really acceptable since that connection string is also written in the web.config. For me adding quotes around the connection string parameter value has done the trick.
For me that workaround of moving the "Data Source=" is not really acceptable since that connection string is also written in the web.config. For me adding quotes around the connection string parameter value has done the trick.
Thanks you @ferrydeboer this has assisted me. I was having trouble with a binary location, example: c:\Program Files (x86)\Microsoft\Edge Beta\Application\msedge.exe within Azure DevOps and adding the quotes seems to have sorted it for me:
Most helpful comment
Thanks you @ferrydeboer this has assisted me. I was having trouble with a binary location, example: c:\Program Files (x86)\Microsoft\Edge Beta\Application\msedge.exe within Azure DevOps and adding the quotes seems to have sorted it for me: