Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Execution framework error: TechTalk.SpecRun.Framework.SpecRunException: At least one test thread aborted. ---> TechTalk.SpecRun.Framework.SpecRunException: error in config transfrom (configFile: C:WorkspaceTFSTest Team AutomationiPipelineAutomationMainiPipelineSpecTestsbinDebugiPipelineSpecTests.dll.config) <?xml version="1.0" encoding="utf-8"?> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <appSettings> <add key="browserExecutionAddress" value="http://localhost:4444/wd/hub" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" /> <add key="browserExecutionLocation" value="local" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" /> <add key="browserStartURL" value="https://ext.ipipeline.uk.com/" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" /> <add key="username" value="******" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" /> <add key="password" value="******" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" /> </appSettings> </configuration> The process cannot access the file 'C:WorkspaceTFSTest Team AutomationiPipelineAutomationMainiPipelineSpecTestsbinDebugiPipelineSpecTests.dll.config.bak' because it is being used by another process. ---> System.IO.IOException: The process cannot access the file 'C:WorkspaceTFSTest Team AutomationiPipelineAutomationMainiPipelineSpecTestsbinDebugiPipelineSpecTests.dll.config.bak' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost) at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) at TechTalk.SpecRun.Framework.DeploymentSteps.ConfigFileTransformationStep.Backup(String configFilePath, DeploymentContext deploymentContext) at TechTalk.SpecRun.Framework.DeploymentSteps.ConfigFileTransformationStep.Apply(DeploymentContext deploymentContext) --- End of inner exception stack trace --- at TechTalk.SpecRun.Framework.DeploymentSteps.ConfigFileTransformationStep.Apply(DeploymentContext deploymentContext) at TechTalk.SpecRun.Framework.DeploymentSteps.DeploymentContext.Apply(DeploymentTransformationSteps steps, ITestRunTracerBroker tracerBroker) at TechTalk.SpecRun.Framework.TestThread.InitializeTestThreadExecutor(IAssemblyReference testAssembly, ExecutionModelSettings executionModelSettings, String testTarget) at TechTalk.SpecRun.Framework.TestThread.GetThreadExecutorFor(TestItem testItem) at TechTalk.SpecRun.Framework.TestThread.Run(ITestExecutionManager executionManagerForRun) at TechTalk.SpecRun.Framework.AsyncTestThreadRunner.RunSync(TestExecutionManager executionManager) --- End of inner exception stack trace ---
- <?xml version="1.0" encoding="utf-8"?>
- <TestProfile xmlns="http://www.specflow.org/schemas/plus/TestProfile/1.5">
- <Settings projectName="iPipelineSpecTests" projectId="{5f94e355-e6ef-4c08-9807-0b89016244a7}" />
- <Report>
- <Template name="ReportTemplateForPickles.cshtml" outputName="SpecRunReport.html"/>
- </Report>
- <Execution stopAfterFailures="-1"
- testThreadCount="8"
- testSchedulingMode="Random"
- apartmentState="MTA"
- retryFor="Failing"
- retryCount="2"/>
- <!-- For collecting by a SpecRun server update and enable the following element. For using the
- collected statistics, set testSchedulingMode="Adaptive" attribute on the <Execution> element.
- <Server serverUrl="http://specrunserver:6365" publishResults="true" />
- -->
- <TestAssemblyPaths>
- <TestAssemblyPath>iPipelineSpecTests.dll</TestAssemblyPath>
- </TestAssemblyPaths>
- <DeploymentTransformation>
- <Steps>
- <!--<RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerConfig.config"/>-->
- <ConfigFileTransformation configFile="App.config">
- <Transformation>
- <![CDATA[<?xml version="1.0" encoding="utf-8"?>
- <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
- <appSettings>
- <add key="browserExecutionAddress" value="http://localhost:4444/wd/hub" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- <add key="browserExecutionLocation" value="local" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- <add key="browserStartURL" value="https://ext.ipipeline.uk.com/" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- <add key="username" value="******" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- <add key="password" value="******" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- </appSettings>
- </configuration>
- ]]>
- </Transformation>
- </ConfigFileTransformation>
- </Steps>
- </DeploymentTransformation>
- <Targets>
- <Target name="Chrome64">
- <Filter>@AllStandard | @Desktop_All | @Chrome_All | @Chrome64 | @Chrome_Latest</Filter>
- <DeploymentTransformationSteps>
- <RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerChrome64Config.config"/>
- <ConfigFileTransformation configFile="App.config" >
- <!--<ConfigFileTransformation configFile="Thread{TestThreadId}ExtDockerConfig.config" >-->
- <Transformation>
- <![CDATA[<?xml version="1.0" encoding="utf-8"?>
- <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
- <appSettings>
- <add key="browser" value="chrome" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- <add key="version" value="64.0.3282.140" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- </appSettings>
- </configuration>
- ]]>
- </Transformation>
- </ConfigFileTransformation>
- </DeploymentTransformationSteps>
- </Target>
- <Target name="Chrome63">
- <Filter>@AllStandard | @Desktop_All | @Chrome_All | @Chrome63 | @Chrome_Latest-1</Filter>
- <DeploymentTransformationSteps>
- <RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerChrome63Config.config"/>
- <ConfigFileTransformation configFile="App.config" >
- <!--<ConfigFileTransformation configFile="Thread{TestThreadId}ExtDockerConfig.config" >-->
- <Transformation>
- <![CDATA[<?xml version="1.0" encoding="utf-8"?>
- <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
- <appSettings>
- <add key="browser" value="chrome" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- <add key="version" value="63.0.3239.132" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- </appSettings>
- </configuration>
- ]]>
- </Transformation>
- </ConfigFileTransformation>
- </DeploymentTransformationSteps>
- </Target>
- <Target name="Firefox58">
- <Filter>@AllStandard | @Desktop_All | @Firefox_All | @Firefox58 | @Firefox_Latest</Filter>
- <DeploymentTransformationSteps>
- <RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerFirefox58Config.config"/>
- <ConfigFileTransformation configFile="App.config" >
- <!--<ConfigFileTransformation configFile="Thread{TestThreadId}ExtDockerConfig.config" >-->
- <Transformation>
- <![CDATA[<?xml version="1.0" encoding="utf-8"?>
- <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
- <appSettings>
- <add key="browser" value="firefox" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- <add key="version" value="58.0.1" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- </appSettings>
- </configuration>
- ]]>
- </Transformation>
- </ConfigFileTransformation>
- </DeploymentTransformationSteps>
- </Target>
- <Target name="Firefox57">
- <Filter>@AllStandard | @Desktop_All | @Firefox_All | @Firefox57 | @Firefox_Latest-1</Filter>
- <DeploymentTransformationSteps>
- <RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerFirefox57Config.config"/>
- <ConfigFileTransformation configFile="App.config" >
- <!--<ConfigFileTransformation configFile="Thread{TestThreadId}ExtDockerConfig.config" >-->
- <Transformation>
- <![CDATA[<?xml version="1.0" encoding="utf-8"?>
- <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
- <appSettings>
- <add key="browser" value="firefox" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- <add key="version" value="57.0.4" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
- </appSettings>
- </configuration>
- ]]>
- </Transformation>
- </ConfigFileTransformation>
- </DeploymentTransformationSteps>
- </Target>
- </Targets>
- <TestThreads>
- <TestThread id="0">
- <TestAffinity>@Sequential | !@Sequential</TestAffinity>
- </TestThread>
- <TestThread id="1">
- <TestAffinity>!@Sequential</TestAffinity>
- </TestThread>
- <TestThread id="2">
- <TestAffinity>!@Sequential</TestAffinity>
- </TestThread>
- <TestThread id="3">
- <TestAffinity>!@Sequential</TestAffinity>
- </TestThread>
- <TestThread id="4">
- <TestAffinity>!@Sequential</TestAffinity>
- </TestThread>
- <TestThread id="5">
- <TestAffinity>!@Sequential</TestAffinity>
- </TestThread>
- <TestThread id="6">
- <TestAffinity>!@Sequential</TestAffinity>
- </TestThread>
- <TestThread id="7">
- <TestAffinity>!@Sequential</TestAffinity>
- </TestThread>
- </TestThreads>
- </TestProfile>
- Execution framework error: TechTalk.SpecRun.Framework.SpecRunException: At least one test thread aborted. ---> TechTalk.SpecRun.Framework.SpecRunException: error in config transfrom (configFile: C:WorkspaceTFSTest Team AutomationiPipelineAutomationMainiPipelineSpecTestsbinDebugThread{TestThreadId}ExtDockerConfig.config) <?xml version="1.0" encoding="utf-8"?> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <appSettings> <add key="browser" value="chrome" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" /> <add key="version" value="63.0.3239.132" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" /> </appSettings> </configuration> Could not find file 'C:WorkspaceTFSTest Team AutomationiPipelineAutomationMainiPipelineSpecTestsbinDebugThread{TestThreadId}ExtDockerConfig.config'. ---> System.IO.FileNotFoundException: Could not find file 'C:WorkspaceTFSTest Team AutomationiPipelineAutomationMainiPipelineSpecTestsbinDebugThread{TestThreadId}ExtDockerConfig.config'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost) at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) at TechTalk.SpecRun.Framework.DeploymentSteps.ConfigFileTransformationStep.Backup(String configFilePath, DeploymentContext deploymentContext) at TechTalk.SpecRun.Framework.DeploymentSteps.ConfigFileTransformationStep.Apply(DeploymentContext deploymentContext) --- End of inner exception stack trace --- at TechTalk.SpecRun.Framework.DeploymentSteps.ConfigFileTransformationStep.Apply(DeploymentContext deploymentContext) at TechTalk.SpecRun.Framework.DeploymentSteps.DeploymentContext.Apply(DeploymentTransformationSteps steps, ITestRunTracerBroker tracerBroker) at TechTalk.SpecRun.Framework.TestThread.InitializeTestThreadExecutor(IAssemblyReference testAssembly, ExecutionModelSettings executionModelSettings, String testTarget) at TechTalk.SpecRun.Framework.TestThread.GetThreadExecutorFor(TestItem testItem) at TechTalk.SpecRun.Framework.TestThread.Run(ITestExecutionManager executionManagerForRun) at TechTalk.SpecRun.Framework.AsyncTestThreadRunner.RunSync(TestExecutionManager executionManager) --- End of inner exception stack trace ---
Add Comment
Please, Sign In to add comment