Skip to content

Errors are not shown in CI - Windows Test - ElevatedPesterTests #11004

Closed

Description

@anmenaga

Non-terminating errors, specifically in BeforeAll sections, are not displayed in CI Test console.
Verbose and Warning messages are displayed just fine.
Not seeing errors in the output makes it really hard to investigate results, especially for test failures that happen only in CI, but not locally.

PS. looks like in Windows Test - UnelevatedPesterTests errors are shown.

Steps to reproduce

  1. add Write-Error "Test Error for CI output" to any BeforeAll section
  2. run this test file in CI Windows Test - ElevatedPesterTests

Expected behavior

error should show up in the output

Actual behavior

There is no error in the output

Activity

  1. msftrncs commented on Nov 6, 2019

    @msftrncs
    Contributor

    I mentioned this in a PR, #10226 (comment).

  2. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  3. microsoft-github-policy-service commented on Nov 23, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Resolution-No ActivityIssue has had no activity for 6 months or moreWG-Maintainers-Buildspecific to affecting the buildWG-Quality-Testissues 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