Find test builds files deeper in file structure.#7747
Conversation
|
LGTM if CI is green. |
|
All the checks failed, having trouble getting Jenkins to load the logs for me but it looks like test projects were discovered and running but the common failure is... Not sure if that has anything to do with this change? |
|
It isn't clear to me if this is caused by your change either but it is possible that it pulled in more tests projects now that aren't working. |
|
@dotent-bot test this please |
|
I think this failure is due to a new .builds file being picked up. But it seems like this new builds file is 1) faulty and 2) unnecessary. The project it includes is already included by a builds file one directory up. It also doesn't specify a correct OSGroup for the project it includes, so it tries to compile a bad configuration. Technically, the project should specify a default configuration because "Debug" is not a valid configuration for it, but that's a separate problem. We should just delete that builds file.
|
b3ab891 to
afc8469
Compare
|
Updated and removed System.Net.Sockets.Async.Performance.Tests.builds |
|
It seems like there are still some extra .builds files which are in some System.Net subdirectories. I think we should just delete those and leave a single .builds file directly under .../tests/. |
afc8469 to
dd34879
Compare
|
Found some others as well, also, without this change I don't think |
|
Something looks strange with System.Data.SqlClient and System.Net.Http.WinHttpHandler. Edit: Looks like it thought it was a re-name. I'm going to add the one for System.Data.SqlClient that should have been there. Edit: I understand what happened now, it should be fine as is. |
|
Just so I understand where the builds files you deleted referencing projects that were already in higher level builds files? As I would expect nested builds files to work just fine assuming there weren't conflicts/duplication. |
|
All of them except the two under System.Net.Http.WinHttpHandler These two were the only two that did not already have a .builds file one level higher that already included their respective .csproj files. |
|
Yes lets leave the nested builds as they were as long as they were functioning correctly. |
|
ok |
* In WCF repo many of our test projects are more than one level below the 'tests' directory. * If this doesn't break anything in corefx could we take this change? * Amending to remove corefx\src\System.Net.Sockets\tests\PerformanceTests\System.Net.Sockets.Async.Performance.Tests.builds * Amending again with more test .builds files that needed to be removed.
dd34879 to
8cac0d4
Compare
|
Reverted the previous change to the System.Net.Http.WinHttpHandler builds files. |
|
Assuming all the tests projects in the builds files you are removing exist in another builds file LGTM. Although there does seem to be one more related failure on windows. |
|
Looks to me like the following test projects have not been getting run since PR #6572 replaced
The current Windows failures look related to the System.Net.Http.WinHttpHandler.Functional.Tests and perhaps is showing a test related failure that is occurring since it last ran?
|
|
If you're talking about this weird compiler error:
Then it looks like this PR needs to be rebased |
|
Looking at this again, there seems to be build problem with the CI system. I checked in a PR yesterday that merged clean. And yet, it appears like the CI system is not building src/System.Net.Http.WinHttpHandler/tests/FunctionalTests directory. Because building that now shows the compiler error. I will submit a PR to fix these tests. But I don't understand why they are not building from the root. This would have been caught otherwise. |
|
cc: @stephentoub |
|
@davidsh look at my earlier comment, without the change to src/tests.builds in this PR that test project has not been getting built the last few weeks. |
|
@dotnet-bot Test Innerloop Windows_NT Release Build and Test |
|
@dotnet-bot Test Innerloop Windows_NT Debug Build and Test |
|
Looks like it is good to go now? |
|
LGTM |
PR dotnet/corefx#7760 broke the compilation of these tests but wasn't discovered in CI since WinHttpHandler tests weren't building properly. This PR will fix the compiler error while PR dotnet/corefx#7747 will make sure that these tests get built/run again in CI. Commit migrated from dotnet/corefx@948e7fd
Find test builds files deeper in file structure. Commit migrated from dotnet/corefx@0d33c8c
In WCF repo many of our test projects are more than one level below the 'tests' directory.
If this doesn't break anything in corefx could we take this change?