{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/27147","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/27147/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/27147/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/27147/events","html_url":"https://github.com/dotnet/corefx/issues/27147","id":297305576,"number":27147,"title":"BasicEventSourceTests failing in non elevated Windows runs","user":{"login":"danmosemsft","id":6385855,"avatar_url":"https://avatars3.githubusercontent.com/u/6385855?v=4","gravatar_id":"","url":"https://api.github.com/users/danmosemsft","html_url":"https://github.com/danmosemsft","followers_url":"https://api.github.com/users/danmosemsft/followers","following_url":"https://api.github.com/users/danmosemsft/following{/other_user}","gists_url":"https://api.github.com/users/danmosemsft/gists{/gist_id}","starred_url":"https://api.github.com/users/danmosemsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmosemsft/subscriptions","organizations_url":"https://api.github.com/users/danmosemsft/orgs","repos_url":"https://api.github.com/users/danmosemsft/repos","events_url":"https://api.github.com/users/danmosemsft/events{/privacy}","received_events_url":"https://api.github.com/users/danmosemsft/received_events","type":"User","site_admin":false},"labels":[{"id":406428573,"url":"https://api.github.com/repos/dotnet/corefx/labels/area-System.Diagnostics.Tracing","name":"area-System.Diagnostics.Tracing","color":"d4c5f9","default":false},{"id":154923046,"url":"https://api.github.com/repos/dotnet/corefx/labels/test%20bug","name":"test bug","color":"207de5","default":false}],"state":"closed","locked":false,"assignee":{"login":"brianrob","id":6210322,"avatar_url":"https://avatars0.githubusercontent.com/u/6210322?v=4","gravatar_id":"","url":"https://api.github.com/users/brianrob","html_url":"https://github.com/brianrob","followers_url":"https://api.github.com/users/brianrob/followers","following_url":"https://api.github.com/users/brianrob/following{/other_user}","gists_url":"https://api.github.com/users/brianrob/gists{/gist_id}","starred_url":"https://api.github.com/users/brianrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianrob/subscriptions","organizations_url":"https://api.github.com/users/brianrob/orgs","repos_url":"https://api.github.com/users/brianrob/repos","events_url":"https://api.github.com/users/brianrob/events{/privacy}","received_events_url":"https://api.github.com/users/brianrob/received_events","type":"User","site_admin":false},"assignees":[{"login":"brianrob","id":6210322,"avatar_url":"https://avatars0.githubusercontent.com/u/6210322?v=4","gravatar_id":"","url":"https://api.github.com/users/brianrob","html_url":"https://github.com/brianrob","followers_url":"https://api.github.com/users/brianrob/followers","following_url":"https://api.github.com/users/brianrob/following{/other_user}","gists_url":"https://api.github.com/users/brianrob/gists{/gist_id}","starred_url":"https://api.github.com/users/brianrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianrob/subscriptions","organizations_url":"https://api.github.com/users/brianrob/orgs","repos_url":"https://api.github.com/users/brianrob/repos","events_url":"https://api.github.com/users/brianrob/events{/privacy}","received_events_url":"https://api.github.com/users/brianrob/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-02-15T01:42:20Z","updated_at":"2018-02-23T05:34:14Z","closed_at":"2018-02-23T05:34:14Z","author_association":"MEMBER","body":"cc @brianrob \r\n\r\nNot all our Windows test runs are elevated. Tests need to pass non elevated.\r\n\r\n```\r\nBasicEventSourceTests.FuzzyTests.Test_Write_Fuzzy | 35 ms | 10\r\n-- | -- | --\r\nBasicEventSourceTests.TestsWriteEvent.Test_WriteEvent_ComplexData_SelfDescribing_ETW | 0 ms | 10\r\nBasicEventSourceTests.TestsWriteEvent.Test_WriteEvent_SelfDescribing_ETW | 0 ms | 10\r\nBasicEventSourceTests.TestsWriteEvent.Test_WriteEvent_Manifest_ETW | 0 ms | 10\r\nBasicEventSourceTests.TestsWriteEvent.Test_WriteEvent_ByteArray_Manifest_ETW | 0 ms | 10\r\nBasicEventSourceTests.TestsWriteEvent.Test_WriteEvent_ByteArray_SelfDescribing_ETW | 0 ms | 10\r\nBasicEventSourceTests.TestsWrite.Test_Write_T_ETW | 0 ms | 10\r\nBasicEventSourceTests.TestsUserErrors.Test_BadEventSource_MismatchedIds\r\n```\r\neg \r\nhttps://ci.dot.net/job/dotnet_corefx/job/master/job/windows_nt_debug/lastCompletedBuild/testReport/BasicEventSourceTests/FuzzyTests/Test_Write_Fuzzy/\r\n\r\nThey are all failing this way\r\n```\r\nMESSAGE:\r\nSystem.Exception : Need to be elevated to run.\r\n+++++++++++++++++++\r\nSTACK TRACE:\r\nat BasicEventSourceTests.EtwListener..ctor(String dataFileName, String sessionName) in D:\\j\\workspace\\windows_nt_debug88592b53\\src\\System.Diagnostics.Tracing\\tests\\BasicEventSourceTest\\Harness\\Listeners.cs:line 170 at BasicEventSourceTests.FuzzyTests.Test_Write_Fuzzy() in D:\\j\\workspace\\windows_nt_debug88592b53\\src\\System.Diagnostics.Tracing\\tests\\BasicEventSourceTest\\FuzzyTests.cs:line 2751\r\n```\r\n\r\nFix seems to be to change all these to have `[ConditionalFact(nameof(IsProcessElevated))]`"}}
{"actor":{"display_login":"brianrob"}}