-
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
Local running of libraries tests is broken #95762
Comments
Tagging subscribers to this area: @hoyosjs Issue DetailsThe recent PR #94868 has broken local running of libraries tests. After each test suite is completed, the following is printed to console and the test suite is reported as failed:
Looking at the eng/testing/RunnerTemplate.cmd, I can see that it builds the XUnitLogChecker.dll path like this:
|
Thanks for reporting. Can you please tell me the command you were using to run the tests? |
As a repro, you can use e.g. these steps locally. The last step runs the tests and you'll see the suites reported as failing:
|
@carlossanlop I ran into this today (also in local testing). Do you really need to have a variable Also, why does the test script |
@carlossanlop I just hit this today as well. My workflow was:
|
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue DetailsThe recent PR #94868 has broken local running of libraries tests. After each test suite is completed, the following is printed to console and the test suite is reported as failed:
Looking at the eng/testing/RunnerTemplate.cmd, I can see that it builds the XUnitLogChecker.dll path like this:
|
Looking at this today. |
@BruceForstall The debuggers fail to run if the environment variable is not set. It is expected here:
Well, the value is not hardcoded. It is set in these 3 places:
But with the fix I just submitted, these env vars should not be needed at all in local runs. |
Note that in the CoreCLR tests, the Similarly, Note that |
I merged the PR to unblock folks testing locally. Reopening as there is still some discussion to address related to the OS. |
@carlossanlop I'm suggesting something like this: (The |
Thanks for submitting a PR. I suppose the main problem reported by this issue has been fixed, so we can close it. We can just track the additional change in the new PR directly. |
The recent PR #94868 has broken local running of libraries tests. After each test suite is completed, the following is printed to console and the test suite is reported as failed:
Looking at the eng/testing/RunnerTemplate.cmd, I can see that it builds the XUnitLogChecker.dll path like this:
set XUNITLOGCHECKER_DLL=%HELIX_CORRELATION_PAYLOAD%\XUnitLogChecker.dll
My guess is the problem is that the HELIX_CORRELATION_PAYLOAD is not set for local testing.
The text was updated successfully, but these errors were encountered: