GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — The `TestRunspaceWithPowerShellAndInitialSessionState` intermittently fails (about 9%) · Issue #8784 · PowerShell/PowerShell

The TestRunspaceWithPowerShellAndInitialSessionState intermittently fails (about 9%) #8784

New issue
Copy link
New issue
Copy link
Closed
#8945
Closed
The TestRunspaceWithPowerShellAndInitialSessionState intermittently fails (about 9%)#8784
#8945
Copy link
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.WG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure

Description

@TravisEz13
Travis Plunk (TravisEz13)
opened on Jan 29, 2019
Issue body actions

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.FileNotFoundException : Could not find file '/Users/vsts/agent/2.144.2/work/1/s/test/xUnit/bin/Release/netcoreapp2.1/powershell.config.json'.

Stack trace
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   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
   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
   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
   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
   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
   at Microsoft.PowerShell.Commands.ModuleCmdletBase.GetModuleLoggingInformation(IEnumerable`1& moduleNames) in /Users/vsts/agent/2.144.2/work/1/s/src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs:line 4496
   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
   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
   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
   at PSTests.Parallel.RunspaceTests.TestRunspaceWithPowerShellAndInitialSessionState() in /Users/vsts/agent/2.144.2/work/1/s/test/xUnit/csharp/test_Runspace.cs:line 72

Activity

  1. Travis Plunk (TravisEz13)
    added
    Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the product
    and removed
    Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the product
    on Jan 29, 2019
  2. TravisEz13 commented on Jan 29, 2019

    @TravisEz13
    Travis Plunk (TravisEz13)
    on Jan 29, 2019
    MemberAuthor
    More actions

    Ilya (@iSazonov) FYI

  3. iSazonov commented on Jan 30, 2019

    @iSazonov
    Ilya (iSazonov)
    on Jan 30, 2019
    Collaborator
    More actions

    Travis Plunk (@TravisEz13) We are tracking this in #8715. Today we merged #8761. And I pull follow #8779. After that we need to consider in-depth inter-process race conditions with the powershell.config.json file.

  4. Dongbo Wang (daxian-dbw)
    closed this as completedin #8945on Feb 22, 2019
  5. Ilya (iSazonov)
    added
    WG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure
    Resolution-FixedThe issue is fixed.The issue is fixed.
    on Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-FixedThe issue is fixed.The issue is fixed.WG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.