-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensuring XUnitLogChecker is included in libraries outerloop #97135
Conversation
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue DetailsFixes #96035 Still in draft because:
Here is an example of a libraries outerloop run where many tests failed due to not finding XUnitLogChecker.dll. My suspicion is that unlike the regular runtime libraries tests, outerloop does not retrieve the payloads that were built in separate preceding jobs. Here we just build in a previous step of the same job.
|
/azp run list |
No pipelines are associated with this pull request. |
/azp list |
This comment was marked as outdated.
This comment was marked as outdated.
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
1a14e35
to
64a7a33
Compare
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Got some progress here. XUnitLogChecker is being found now in outerloop, but it finds no dumps. Examples:
|
I don't see createdump mentioned in the log during the crash like it was before which makes me think the runtime isn't emitting the dmp. I do see system dumps associated with this failure: https://dev.azure.com/dnceng-public/public/_build/results?buildId=565516&view=ms.vss-test-web.build-test-results-tab&runId=13514696&resultId=108180&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab @hoyosjs I think we need some help understanding why runtime isn't generating the dump specified. |
I remember XUnitLogChecker is hardcoded to only try to find *.dmp files (unless that has changed recently). The generated dump file is named in the correct folder: But the name is weird: |
that's a system dump |
Ah okay. The code is still only looking for *.dmp files: runtime/src/tests/Common/XUnitLogChecker/XUnitLogChecker.cs Lines 491 to 499 in cd85023
|
be4f03d
to
de434bd
Compare
…jects to build, check for TargetFrameworkIdentifier==.NETCoreApp instead of BuildTargetFramework==NetCoreAppCurrent.
e50df7a
to
0c2fd59
Compare
this one looks correct now :) |
Hold on, need to run outerloop first. Forgot to submit the command for my latest commits. |
/azp run runtime-libraries-coreclr outerloop |
This comment was marked as outdated.
This comment was marked as outdated.
This reverts commit 009b309.
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Looks "good". No issues coming from XUnitLogChecker anymore. Fixing this is now uncovering a lot of unrelated failures without a KnownBuildIssue. I'll log one for all of them, since this XUnitLogChecker issue was hiding them. |
Fixes #96035
To decide whether to include the XUnitLogChecker.csproj among the projects to build to include in the helix payloads, check for TargetFrameworkIdentifier==.NETCoreApp instead of BuildTargetFramework==NetCoreAppCurrent.
TODO: Revert the temporary crash commit before merging.