Guest User

Untitled

a guest
Feb 22nd, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.62 KB | None | 0 0
  1. 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 ---
  2.  
  3. <?xml version="1.0" encoding="utf-8"?>
  4. <TestProfile xmlns="http://www.specflow.org/schemas/plus/TestProfile/1.5">
  5. <Settings projectName="iPipelineSpecTests" projectId="{5f94e355-e6ef-4c08-9807-0b89016244a7}" />
  6. <Report>
  7. <Template name="ReportTemplateForPickles.cshtml" outputName="SpecRunReport.html"/>
  8. </Report>
  9. <Execution stopAfterFailures="-1"
  10. testThreadCount="8"
  11. testSchedulingMode="Random"
  12. apartmentState="MTA"
  13. retryFor="Failing"
  14. retryCount="2"/>
  15. <!-- For collecting by a SpecRun server update and enable the following element. For using the
  16. collected statistics, set testSchedulingMode="Adaptive" attribute on the <Execution> element.
  17. <Server serverUrl="http://specrunserver:6365" publishResults="true" />
  18. -->
  19. <TestAssemblyPaths>
  20. <TestAssemblyPath>iPipelineSpecTests.dll</TestAssemblyPath>
  21. </TestAssemblyPaths>
  22.  
  23. <DeploymentTransformation>
  24. <Steps>
  25. <!--<RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerConfig.config"/>-->
  26. <ConfigFileTransformation configFile="App.config">
  27. <Transformation>
  28. <![CDATA[<?xml version="1.0" encoding="utf-8"?>
  29. <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  30. <appSettings>
  31. <add key="browserExecutionAddress" value="http://localhost:4444/wd/hub" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  32. <add key="browserExecutionLocation" value="local" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  33. <add key="browserStartURL" value="https://ext.ipipeline.uk.com/" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  34. <add key="username" value="******" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  35. <add key="password" value="******" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  36. </appSettings>
  37. </configuration>
  38. ]]>
  39. </Transformation>
  40. </ConfigFileTransformation>
  41. </Steps>
  42. </DeploymentTransformation>
  43.  
  44. <Targets>
  45.  
  46. <Target name="Chrome64">
  47. <Filter>@AllStandard | @Desktop_All | @Chrome_All | @Chrome64 | @Chrome_Latest</Filter>
  48. <DeploymentTransformationSteps>
  49. <RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerChrome64Config.config"/>
  50. <ConfigFileTransformation configFile="App.config" >
  51. <!--<ConfigFileTransformation configFile="Thread{TestThreadId}ExtDockerConfig.config" >-->
  52. <Transformation>
  53. <![CDATA[<?xml version="1.0" encoding="utf-8"?>
  54. <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  55. <appSettings>
  56. <add key="browser" value="chrome" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  57. <add key="version" value="64.0.3282.140" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  58. </appSettings>
  59. </configuration>
  60. ]]>
  61. </Transformation>
  62. </ConfigFileTransformation>
  63. </DeploymentTransformationSteps>
  64. </Target>
  65.  
  66. <Target name="Chrome63">
  67. <Filter>@AllStandard | @Desktop_All | @Chrome_All | @Chrome63 | @Chrome_Latest-1</Filter>
  68. <DeploymentTransformationSteps>
  69. <RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerChrome63Config.config"/>
  70. <ConfigFileTransformation configFile="App.config" >
  71. <!--<ConfigFileTransformation configFile="Thread{TestThreadId}ExtDockerConfig.config" >-->
  72. <Transformation>
  73. <![CDATA[<?xml version="1.0" encoding="utf-8"?>
  74. <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  75. <appSettings>
  76. <add key="browser" value="chrome" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  77. <add key="version" value="63.0.3239.132" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  78. </appSettings>
  79. </configuration>
  80. ]]>
  81. </Transformation>
  82. </ConfigFileTransformation>
  83. </DeploymentTransformationSteps>
  84. </Target>
  85.  
  86. <Target name="Firefox58">
  87. <Filter>@AllStandard | @Desktop_All | @Firefox_All | @Firefox58 | @Firefox_Latest</Filter>
  88. <DeploymentTransformationSteps>
  89. <RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerFirefox58Config.config"/>
  90. <ConfigFileTransformation configFile="App.config" >
  91. <!--<ConfigFileTransformation configFile="Thread{TestThreadId}ExtDockerConfig.config" >-->
  92. <Transformation>
  93. <![CDATA[<?xml version="1.0" encoding="utf-8"?>
  94. <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  95. <appSettings>
  96. <add key="browser" value="firefox" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  97. <add key="version" value="58.0.1" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  98. </appSettings>
  99. </configuration>
  100. ]]>
  101. </Transformation>
  102. </ConfigFileTransformation>
  103. </DeploymentTransformationSteps>
  104. </Target>
  105.  
  106. <Target name="Firefox57">
  107. <Filter>@AllStandard | @Desktop_All | @Firefox_All | @Firefox57 | @Firefox_Latest-1</Filter>
  108. <DeploymentTransformationSteps>
  109. <RelocateConfigurationFile target="Thread{TestThreadId}ExtDockerFirefox57Config.config"/>
  110. <ConfigFileTransformation configFile="App.config" >
  111. <!--<ConfigFileTransformation configFile="Thread{TestThreadId}ExtDockerConfig.config" >-->
  112. <Transformation>
  113. <![CDATA[<?xml version="1.0" encoding="utf-8"?>
  114. <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  115. <appSettings>
  116. <add key="browser" value="firefox" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  117. <add key="version" value="57.0.4" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
  118. </appSettings>
  119. </configuration>
  120. ]]>
  121. </Transformation>
  122. </ConfigFileTransformation>
  123. </DeploymentTransformationSteps>
  124. </Target>
  125.  
  126. </Targets>
  127.  
  128. <TestThreads>
  129. <TestThread id="0">
  130. <TestAffinity>@Sequential | !@Sequential</TestAffinity>
  131. </TestThread>
  132. <TestThread id="1">
  133. <TestAffinity>!@Sequential</TestAffinity>
  134. </TestThread>
  135. <TestThread id="2">
  136. <TestAffinity>!@Sequential</TestAffinity>
  137. </TestThread>
  138. <TestThread id="3">
  139. <TestAffinity>!@Sequential</TestAffinity>
  140. </TestThread>
  141. <TestThread id="4">
  142. <TestAffinity>!@Sequential</TestAffinity>
  143. </TestThread>
  144. <TestThread id="5">
  145. <TestAffinity>!@Sequential</TestAffinity>
  146. </TestThread>
  147. <TestThread id="6">
  148. <TestAffinity>!@Sequential</TestAffinity>
  149. </TestThread>
  150. <TestThread id="7">
  151. <TestAffinity>!@Sequential</TestAffinity>
  152. </TestThread>
  153. </TestThreads>
  154. </TestProfile>
  155.  
  156. 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