{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/15845","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/15845/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/15845/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/15845/events","html_url":"https://github.com/dotnet/corefx/issues/15845","id":205519339,"number":15845,"title":"At what point is tools/testdotnetcli supposed to be populated","user":{"login":"willdean","id":1306085,"avatar_url":"https://avatars.githubusercontent.com/u/1306085?v=3","gravatar_id":"","url":"https://api.github.com/users/willdean","html_url":"https://github.com/willdean","followers_url":"https://api.github.com/users/willdean/followers","following_url":"https://api.github.com/users/willdean/following{/other_user}","gists_url":"https://api.github.com/users/willdean/gists{/gist_id}","starred_url":"https://api.github.com/users/willdean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willdean/subscriptions","organizations_url":"https://api.github.com/users/willdean/orgs","repos_url":"https://api.github.com/users/willdean/repos","events_url":"https://api.github.com/users/willdean/events{/privacy}","received_events_url":"https://api.github.com/users/willdean/received_events","type":"User","site_admin":false},"labels":[{"id":174888041,"url":"https://api.github.com/repos/dotnet/corefx/labels/area-Infrastructure","name":"area-Infrastructure","color":"d4c5f9","default":false},{"id":309869280,"url":"https://api.github.com/repos/dotnet/corefx/labels/question","name":"question","color":"207de5","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-02-06T08:45:56Z","updated_at":"2017-02-06T21:34:32Z","closed_at":"2017-02-06T20:40:27Z","body":"As a newcomer to the project, I am failing to get tests to build or run, because of failures to find dotnet.exe in tools/testdotnetcli.   (The directory doesn't exist at all)\r\n\r\n`build.cmd` seems to run fine, but there is no \"testdotnetcli\" directory created in tools.\r\n\r\nI am unclear what by process this directory is supposed to be built - `build-tests.cmd` seems to get off to a good start and does a load of compiling, but after a minute or so starts to fail with errors about tools/testdotnetcli missing.\r\n\r\nTo give me a clue about where to start to dig into this, could anyone point me to where testdotnetcli should be created (is it in build or in build-test, for example)?  There are umpteen references to \"testdotnetcli\" in issues here, but it mostly seems to in log outputs, and I can't find anything describing my problem.\r\n\r\nAt the point that build-tests starts to fail, its output looks like:\r\n\r\n```\r\n System.Xml.RW.NameTable.Tests -> N:\\will\\corefx\\bin\\Windows_NT.AnyCPU.Debug\\System.Xml.RW.NameTable.Tests\\netcoreapp\\\r\n  System.Xml.RW.NameTable.Tests.dll\r\n  System.Xml.RW.SubtreeReader.Tests -> N:\\will\\corefx\\bin\\Windows_NT.AnyCPU.Debug\\System.Xml.RW.SubtreeReader.Tests\\net\r\n  coreapp\\System.Xml.RW.SubtreeReader.Tests.dll\r\n  System.Xml.RW.WrappedReader.Tests -> N:\\will\\corefx\\bin\\Windows_NT.AnyCPU.Debug\\System.Xml.RW.WrappedReader.Tests\\net\r\n  coreapp\\System.Xml.RW.WrappedReader.Tests.dll\r\n  Using N:\\will\\corefx\\Tools\\testdotnetcli as the test runtime folder.\r\n  Using N:\\will\\corefx\\Tools\\testdotnetcli as the test runtime folder.\r\n  Using N:\\will\\corefx\\Tools\\testdotnetcli as the test runtime folder.\r\n  Executing in N:\\will\\corefx\\bin\\AnyOS.AnyCPU.Debug\\Microsoft.VisualBasic.Tests\\netstandard\\\r\n  Running tests... Start time:  8:40:29.07\r\n  Command(s):\r\n  call N:\\will\\corefx\\Tools\\testdotnetcli\\dotnet.exe xunit.console.netcore.exe Microsoft.VisualBasic.Tests.dll  -xml te\r\n  stResults.xml -notrait Benchmark=true -notrait category=nonnetcoreapp1.1tests  -notrait category=OuterLoop -notrait c\r\n  ategory=failing -notrait category=nonwindowstests\r\n  The system cannot find the path specified.\r\n  Using N:\\will\\corefx\\Tools\\testdotnetcli as the test runtime folder.\r\n  Finished running tests.  End time= 8:40:29.08, Exit code = 1\r\n  Executing in N:\\will\\corefx\\bin\\AnyOS.AnyCPU.Debug\\Microsoft.CSharp.Tests\\netstandard\\\r\n  Executing in N:\\will\\corefx\\bin\\AnyOS.AnyCPU.Debug\\System.AppContext.Tests\\netstandard\\\r\n  Running tests... Start time:  8:40:29.07\r\n  Command(s):\r\n  Executing in N:\\will\\corefx\\bin\\AnyOS.AnyCPU.Debug\\Microsoft.Win32.Primitives.Tests\\netstandard\\\r\n  Using N:\\will\\corefx\\Tools\\testdotnetcli as the test runtime folder.\r\n  Running tests... Start time:  8:40:29.09\r\n  Executing in N:\\will\\corefx\\bin\\Windows_NT.AnyCPU.Debug\\Common.Tests\\netstandard\\\r\n  call N:\\will\\corefx\\Tools\\testdotnetcli\\dotnet.exe xunit.console.netcore.exe System.AppContext.Tests.dll  -xml testRe\r\n  sults.xml -notrait Benchmark=true -notrait category=nonnetcoreapp1.1tests  -notrait category=OuterLoop -notrait categ\r\n  ory=failing -notrait category=nonwindowstests\r\n  Running tests... Start time:  8:40:29.09\r\n  Command(s):\r\n  The system cannot find the path specified.\r\n  call N:\\will\\corefx\\Tools\\testdotnetcli\\dotnet.exe xunit.console.netcore.exe Common.Tests.dll  -xml testResults.xml -\r\n  notrait Benchmark=true -notrait category=nonnetcoreapp1.1tests  -notrait category=OuterLoop -notrait category=failing\r\n   -notrait category=nonwindowstests\r\n  Finished running tests.  End time= 8:40:29.08, Exit code = 1\r\n  Command(s):\r\n  The system cannot find the path specified.\r\n  Using N:\\will\\corefx\\Tools\\testdotnetcli as the test runtime folder.\r\n  Finished running tests.  End time= 8:40:29.09, Exit code = 1\r\n  call N:\\will\\corefx\\Tools\\testdotnetcli\\dotnet.exe xunit.console.netcore.exe Microsoft.CSharp.Tests.dll  -xml testRes\r\n  ults.xml -notrait Benchmark=true -notrait category=nonnetcoreapp1.1tests  -notrait category=OuterLoop -notrait catego\r\n  ry=failing -notrait category=nonwindowstests\r\n  Running tests... Start time:  8:40:29.08\r\n  Using N:\\will\\corefx\\Tools\\testdotnetcli as the test runtime folder.\r\n  The system cannot find the path specified.\r\n  Executing in N:\\will\\corefx\\bin\\AnyOS.AnyCPU.Debug\\System.Buffers.Tests\\netstandard\\\r\n  Running tests... Start time:  8:40:29.10\r\n  Command(s):\r\nN:\\will\\corefx\\Tools\\tests.targets(210,5): warning MSB3073: The command \"N:\\will\\corefx\\bin/AnyOS.AnyCPU.Debug/System.A\r\nppContext.Tests/netstandard//RunTests.cmd N:\\will\\corefx\\Tools/testdotnetcli\" exited with code 1. [N:\\will\\corefx\\src\\S\r\nystem.AppContext\\tests\\System.AppContext.Tests.csproj]\r\n  Using N:\\will\\corefx\\Tools\\testdotnetcli as the test runtime folder.\r\n  Finished running tests.  End time= 8:40:29.10, Exit code = 1\r\n  call N:\\will\\corefx\\Tools\\testdotnetcli\\dotnet.exe xunit.console.netcore.exe System.Buffers.Tests.dll  -xml testResul\r\n  ts.xml -notrait Benchmark=true -notrait category=nonnetcoreapp1.1tests  -notrait category=OuterLoop -notrait category\r\n\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/277820928","html_url":"https://github.com/dotnet/corefx/issues/15845#issuecomment-277820928","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/15845","id":277820928,"user":{"login":"willdean","id":1306085,"avatar_url":"https://avatars.githubusercontent.com/u/1306085?v=3","gravatar_id":"","url":"https://api.github.com/users/willdean","html_url":"https://github.com/willdean","followers_url":"https://api.github.com/users/willdean/followers","following_url":"https://api.github.com/users/willdean/following{/other_user}","gists_url":"https://api.github.com/users/willdean/gists{/gist_id}","starred_url":"https://api.github.com/users/willdean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willdean/subscriptions","organizations_url":"https://api.github.com/users/willdean/orgs","repos_url":"https://api.github.com/users/willdean/repos","events_url":"https://api.github.com/users/willdean/events{/privacy}","received_events_url":"https://api.github.com/users/willdean/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T21:34:32Z","updated_at":"2017-02-06T21:34:32Z","body":"@mellinoe Wherever it goes, MHO is that the semaphore file (if that really is the best way to detect it) should be with it."}}
{"actor":{"display_login":"willdean"}}