Title: The `TestRunspaceWithPowerShellAndInitialSessionState` intermittently fails (about 9%) · Issue #8784 · PowerShell/PowerShell · GitHub
Open Graph Title: The `TestRunspaceWithPowerShellAndInitialSessionState` intermittently fails (about 9%) · Issue #8784 · PowerShell/PowerShell
X Title: The `TestRunspaceWithPowerShellAndInitialSessionState` intermittently fails (about 9%) · Issue #8784 · PowerShell/PowerShell
Description: TestRunspaceWithPowerShellAndInitialSessionState intermittently fails. Last failure is here: https://powershell.visualstudio.com/PowerShell/_build/results?buildId=11461&view=ms.vss-test-web.build-test-results-tab System.IO.FileNotFoundEx...
Open Graph Description: TestRunspaceWithPowerShellAndInitialSessionState intermittently fails. Last failure is here: https://powershell.visualstudio.com/PowerShell/_build/results?buildId=11461&view=ms.vss-test-web.build-t...
X Description: TestRunspaceWithPowerShellAndInitialSessionState intermittently fails. Last failure is here: https://powershell.visualstudio.com/PowerShell/_build/results?buildId=11461&view=ms.vss-test-web.bui...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/8784
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The `TestRunspaceWithPowerShellAndInitialSessionState` intermittently fails (about 9%)","articleBody":"`TestRunspaceWithPowerShellAndInitialSessionState` intermittently fails.\r\nLast failure is here: https://powershell.visualstudio.com/PowerShell/_build/results?buildId=11461\u0026view=ms.vss-test-web.build-test-results-tab\r\n\r\n\r\n```\r\nSystem.IO.FileNotFoundException : Could not find file '/Users/vsts/agent/2.144.2/work/1/s/test/xUnit/bin/Release/netcoreapp2.1/powershell.config.json'.\r\n\r\nStack trace\r\n at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)\r\n at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)\r\n at System.Management.Automation.Configuration.PowerShellConfig.WaitForFile(String fullPath, FileMode mode, FileAccess access, FileShare share) in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/engine/PSConfiguration.cs:line 426\r\n at System.Management.Automation.Configuration.PowerShellConfig.ReadValueFromFile[T](ConfigScope scope, String key, T defaultValue, Func`4 readImpl) in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/engine/PSConfiguration.cs:line 397\r\n at System.Management.Automation.Configuration.PowerShellConfig.GetPowerShellPolicies(ConfigScope scope) in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/engine/PSConfiguration.cs:line 244\r\n at System.Management.Automation.Utils.GetPolicySettingFromConfigFile[T](ConfigScope[] preferenceOrder) in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/engine/Utils.cs:line 525\r\n at System.Management.Automation.Utils.GetPolicySetting[T](ConfigScope[] preferenceOrder) in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/engine/Utils.cs:line 508\r\n at Microsoft.PowerShell.Commands.ModuleCmdletBase.GetModuleLoggingInformation(IEnumerable`1\u0026 moduleNames) in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs:line 4496\r\n at System.Management.Automation.PSSnapInReader.SetSnapInLoggingInformation(PSSnapInInfo psSnapInInfo) in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs:line 1081\r\n at System.Management.Automation.PSSnapInReader.ReadEnginePSSnapIns() in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs:line 1068\r\n at System.Management.Automation.Runspaces.InitialSessionState.CreateDefault() in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/engine/InitialSessionState.cs:line 1527\r\n at PSTests.Parallel.RunspaceTests.TestRunspaceWithPowerShellAndInitialSessionState() in /Users/vsts/agent/2.144.2/work/1/s/test/xUnit/csharp/test_Runspace.cs:line 72\r\n```","author":{"url":"https://github.com/TravisEz13","@type":"Person","name":"TravisEz13"},"datePublished":"2019-01-29T21:08:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/8784/PowerShell/issues/8784"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:46a77aca-8c52-eace-ebe0-afcca32c9277 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C4CC:17B883:24FE988:320BAE3:6A59B64D |
| html-safe-nonce | 0098f9adb2684f4fbaa6ebb708412f3b7fe099e2dcfad4291b4c585a65c1ba87 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNENDOjE3Qjg4MzoyNEZFOTg4OjMyMEJBRTM6NkE1OUI2NEQiLCJ2aXNpdG9yX2lkIjoiMzY5NDE5NTQ5NzI4MjE1NjEwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4950b3c222a95682fd3815f71db0fa2eb762fac07584438c417ee2c9e95098cc |
| hovercard-subject-tag | issue:404487238 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/8784/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8dfade34a194ee6682780f1082663d24beae23eab7414b69db458592df438d42/PowerShell/PowerShell/issues/8784 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8dfade34a194ee6682780f1082663d24beae23eab7414b69db458592df438d42/PowerShell/PowerShell/issues/8784 |
| og:image:alt | TestRunspaceWithPowerShellAndInitialSessionState intermittently fails. Last failure is here: https://powershell.visualstudio.com/PowerShell/_build/results?buildId=11461&view=ms.vss-test-web.build-t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TravisEz13 |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab680789ae4a316cdaf0d5a292a1760140931cc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width