-
Notifications
You must be signed in to change notification settings - Fork 132
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
vmr '--test' is sometimes skipping test projects #4635
Comments
Can you attach binlogs for both of these scenarios? Use |
@mthalman here is binlogs 4635_ppc64le.zip for ppc64le scenario |
These are likely two separate issues. Given that we have a binlog for the ppc scenario, let's move forward with diagnosing that. The MSBuild task that is returning the failure is here: https://github.com/dotnet/dotnet/blob/ed57bf8d1fecae71c1c23b92180afd93043a8836/src/vstest/src/Microsoft.TestPlatform.Build/Tasks/VSTestTask.cs#L48 Reverse engineering that logic, it looks like it's making this call:
Try running that locally to debug things further. |
I looked into this today. I found out that on x64, the smoke tests do in fact execute, but they don't print any output to stdout. I think something in msbuild/vstest is redirecting the output. I assume that we're not seeing the error that happens when the smoke tests fail to start on s390x/ppc64le for the same reason. This issue looks related: microsoft/vstest#10358. |
@tmds yes, probably that. Can you easily set |
I have tried setting that before running the vmr build.sh with The Logging from the CI:
|
Since one of test projects manages to produce output, I tried setting @rainersigwald it would seem that we are loosing the smoke test output due to it being ran on a node has redirected stdout. On ppc64le/s390x the few jobs that ran so far didn't show an issue when trying to start the smoke tests (as we had observed earlier in the binlog). If I don't see an issue this week, I'll close this ticket. |
That's what |
Gentle ping @tmds - have you confirmed this fix on ppc64le/s390x? |
With the change we made, we now see the execution of the test suites. The issue on s390x/ppc64le is no longer reproducing. If it would resurface, I think we will now also see the error show up in the log. |
In our CI, the test projects that are under the vmr build
--test
argument are no longer both being executed.This happens both on x64 as well as s390x/ppc64le, though there seem to be two separate problems.
In the s390x/ppc64le case, the test command fails with a non-zero exit code and neither scenario tests nor smoke tests are ran:
In the x64 case, the test command exits with a success exit code but it did not run the smoke tests:
For the smoke tests not running, we unfortunately have a large gap in our CI because we didn't notice the rename of
--run-smoke-test
to--test
in May. The change in behavior may be related to that rename.From the CI ppc64le logs, we see scenario-tests ran with vmr 1a65f6db1eec78dfd8ebff48dda59ce0a0c86a70 (Sep 7) and no longer with vmr fe7af57fd36dcbeb0c07d899b66c9ab36e2201de.
cc @MichaelSimons @omajid @Swapnali911
The text was updated successfully, but these errors were encountered: