Closed Tasteful closed 7 years ago
TFS: 225791 I've added this to our internal TFS, we will reply back here soon.
@Tasteful, can you show the command-line of the dotnet processes? That way we can try to see what they are being used for.
@balachir I'm not able to run the official entity framework due to some broken dependency on my computer but have my own version https://github.com/Tasteful/EntityFramework/tree/local-rc2 that got the error.
Was usinsg the following test when reproduced and run it multiple times
Test Name: Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.GraphUpdatesWithSequenceSqlServerTest.Save_removed_optional_many_to_one_dependents_with_alternate_key(changeMechanism: 2)
Test FullName: Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.GraphUpdatesWithSequenceSqlServerTest.Save_removed_optional_many_to_one_dependents_with_alternate_key(4e4737089a10aec26e18105ca3b0f4bb0cf2a5ef)
Test Source: C:\git\EntityFramework\test\Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests\Utilities\TestSqlServerModelSource.cs : line 23
Test Outcome: Passed
Test Duration: 0:00:13,823
Copy of project.json.lock project.lock.json.zip
Have created full dump of dotnet and conhost but dont want to put them here, if you need them you can send me an email and I will return with links for download.
I'm also seeing this exact behavior when running the tests for Foundatio: https://github.com/exceptionless/Foundatio
Windows 10 RTM x64 (RTM VS2015 + Update 3)
+1, has same issue
"C:\Program Files\dotnet\dotnet.exe" test "xxx\project.json" --output "xxx\bin\Debug\netcoreapp1.0" --port 60066 --parentProcessId 16308 --no-build
Should be fixed now
I have one Visual Studio 2015 instance running, using https://github.com/aspnet/EntityFramework code (EntityFramework-xproj.sln) and after running test and test with debug I can find out that the dotnet.exe process not is closed down correctly and leave a lot of processes running in the background. I haven't seen this behavior before RC2 (but will not say that is introduced in RC2 either).
Every time I start a test 2 new processes is created, when test is finishing one process is shutting down and leaving one process.
Processlist for dotnet process
VS Version info (running Windows 10)