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 — Basic filesystem tests fail intermittently · Issue #4561 · PowerShell/PowerShell

Basic filesystem tests fail intermittently #4561

New issue
Copy link
New issue
Copy link
Closed
#4788
Closed
Basic filesystem tests fail intermittently#4561
#4788
Copy link
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-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 Aug 11, 2017
Issue body actions

Example:
https://ci.appveyor.com/project/PowerShell/powershell/build/6.0.0-beta.5-4620/tests

Basic FileSystem Provider Tests.Validate behavior when access is denied.Access-denied test for 'Move-Item -Path C:\Windows\appcompat\Programs -Destination bar
Pester 442 ms
Error message:
Expected string length 70 but was 65. Strings differ at index 0.
Expected: {MoveDirectoryItemIOError,Microsoft.PowerShell.Commands.MoveItemCommand}
But was:  {RenameItemIOError,Microsoft.PowerShell.Commands.RenameItemCommand}
-----------^
Error stack trace:
at line: 241 in C:\projects\powershell\test\powershell\Modules\Microsoft.PowerShell.Management\FileSystem.Tests.ps1
241:             $err | Should Be $expectedError

Activity

  1. Ilya (iSazonov)
    added
    WG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure
    Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the product
    on Aug 13, 2017
  2. Travis Plunk (TravisEz13)
    closed this as completedin #4566on Aug 14, 2017
  3. Travis Plunk (TravisEz13)
    added
    Resolution-FixedThe issue is fixed.The issue is fixed.
    on Aug 14, 2017
  4. dantraMSFT commented on Sep 8, 2017

    @dantraMSFT
    Dan Travison (dantraMSFT)
    on Sep 8, 2017
    Contributor
    More actions

    Leave a comment

  5. Dan Travison (dantraMSFT)
    reopened this on Sep 8, 2017
  6. dantraMSFT commented on Sep 8, 2017

    @dantraMSFT
    Dan Travison (dantraMSFT)
    on Sep 8, 2017
    Contributor
    More actions

    We're still seeing intermittent failures in the access denied tests due to PowerShell running longer than 10 seconds. When this occurs, the remaining tests in the context can fail due to the previous PowerShell instance completing after the next test starts (i.e., the $donefile and $errFile from test 1 are not created until test 2 starts, defeating the AfterEach cleanup and the wait logic in the subsequent test.

    The fix should address this by using a unique done and error file as well as increasing the timeout.

  7. Dongbo Wang (daxian-dbw)
    closed this as completedin #4788on Sep 12, 2017
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

    Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-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.