Skip to content

Conversation

@ivdiazsa
Copy link
Contributor

In issue #93988, we described a new requirement for the XUnitLogChecker, which is to be able to only run the dumps checking stage without looking into test logs. This requirement came to be from the Merge-on-Green initiative to improve our testing infrastructure in general. While CoreCLR testing uses the whole log checker, libraries testing will only need to use the dumps analyzer. This PR overhauls as necessary to add this possibility.

Additionally, as part of this effort, this PR also adds actual command-line flags to the XUnitLogChecker, rather than relying on argument positioning. This will certainly make it more robust and easier to use in other places in the future.

new flagged command-line arguments, when calling the XUnitLogChecker.
@ivdiazsa ivdiazsa added this to the 9.0.0 milestone Oct 27, 2023
@ivdiazsa ivdiazsa self-assigned this Oct 27, 2023
@ghost
Copy link

ghost commented Oct 27, 2023

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

In issue #93988, we described a new requirement for the XUnitLogChecker, which is to be able to only run the dumps checking stage without looking into test logs. This requirement came to be from the Merge-on-Green initiative to improve our testing infrastructure in general. While CoreCLR testing uses the whole log checker, libraries testing will only need to use the dumps analyzer. This PR overhauls as necessary to add this possibility.

Additionally, as part of this effort, this PR also adds actual command-line flags to the XUnitLogChecker, rather than relying on argument positioning. This will certainly make it more robust and easier to use in other places in the future.

Author: ivdiazsa
Assignees: ivdiazsa
Labels:

area-Infrastructure-coreclr

Milestone: 9.0.0

@ivdiazsa
Copy link
Contributor Author

/azp run runtime-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivdiazsa ivdiazsa linked an issue Oct 27, 2023 that may be closed by this pull request
Copy link
Contributor

@carlossanlop carlossanlop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple comments for you to consider.

@ivdiazsa ivdiazsa merged commit 92aeed0 into dotnet:main Oct 27, 2023
System.Globalization.CultureInfo.InvariantCulture
);

dumpsFound = Directory
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we report and / or delete the obsolete dumps or do we know that the OS or Helix infra deals with that somehow?

Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

liveans pushed a commit to liveans/dotnet-runtime that referenced this pull request Nov 9, 2023
…otnet#94094)

* Overhauled the XUnitLogChecker to be able to work without a log for
the libraries tests.

* Adjusted the Helix script in helixpublishwitharcade.proj to use the
new flagged command-line arguments, when calling the XUnitLogChecker.
@ghost ghost locked as resolved and limited conversation to collaborators Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Development

Successfully merging this pull request may close these issues.

Allow XUnitLogChecker to Work Without Paths

4 participants