{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1201","repository_url":"https://api.github.com/repos/aspnet/IISIntegration","labels_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1201/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1201/comments","events_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1201/events","html_url":"https://github.com/aspnet/IISIntegration/issues/1201","id":349341023,"node_id":"MDU6SXNzdWUzNDkzNDEwMjM=","number":1201,"title":"Test failure: FailsAndLogsWhenRunningTwoInProcessApps","user":{"login":"ryanbrandenburg","id":14987221,"node_id":"MDQ6VXNlcjE0OTg3MjIx","avatar_url":"https://avatars0.githubusercontent.com/u/14987221?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanbrandenburg","html_url":"https://github.com/ryanbrandenburg","followers_url":"https://api.github.com/users/ryanbrandenburg/followers","following_url":"https://api.github.com/users/ryanbrandenburg/following{/other_user}","gists_url":"https://api.github.com/users/ryanbrandenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanbrandenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanbrandenburg/subscriptions","organizations_url":"https://api.github.com/users/ryanbrandenburg/orgs","repos_url":"https://api.github.com/users/ryanbrandenburg/repos","events_url":"https://api.github.com/users/ryanbrandenburg/events{/privacy}","received_events_url":"https://api.github.com/users/ryanbrandenburg/received_events","type":"User","site_admin":false},"labels":[{"id":1014009515,"node_id":"MDU6TGFiZWwxMDE0MDA5NTE1","url":"https://api.github.com/repos/aspnet/IISIntegration/labels/test-failure","name":"test-failure","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-10T01:02:16Z","updated_at":"2018-08-10T01:02:18Z","closed_at":null,"author_association":"MEMBER","body":"This test [fails](http://aspnetci/viewLog.html?buildId=527419&buildTypeId=XPlat_Windows_Win10Universe) occasionally with the following error:\r\n```\r\nSystem.AggregateException : One or more errors occurred. (The World Wide Web Publishing Service (W3SVC) is stopped. Websites cannot be started unless the World Wide Web Publishing Service (W3SVC) is running.) (Object reference not set to an instance of an object.)\r\n---- Microsoft.Web.Administration.ServerManagerException : The World Wide Web Publishing Service (W3SVC) is stopped. Websites cannot be started unless the World Wide Web Publishing Service (W3SVC) is running.\r\n---- System.NullReferenceException : Object reference not set to an instance of an object.\r\n----- Inner Stack Trace #1 (Microsoft.Web.Administration.ServerManagerException) -----\r\n   at Microsoft.Web.Administration.Site.Start()\r\n   at Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer.WaitUntilSiteStarted() in /_/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/IISDeployer.cs:line 197\r\n   at Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer.StartIIS(Uri uri, String contentRoot) in /_/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/IISDeployer.cs:line 161\r\n   at Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer.DeployAsync() in /_/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/IISDeployer.cs:line 113\r\n   at Microsoft.AspNetCore.Server.IntegrationTesting.FunctionalTestsBase.DeployAsync(IISDeploymentParameters parameters) in /_/test/Common.FunctionalTests/Utilities/FunctionalTestsBase.cs:line 47\r\n   at Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.MultiApplicationTests.FailsAndLogsWhenRunningTwoInProcessApps() in /_/test/Common.FunctionalTests/MultiApplicationTests.cs:line 46\r\n--- End of stack trace from previous location where exception was thrown ---\r\n----- Inner Stack Trace #2 (System.NullReferenceException) -----\r\n   at Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer.WaitUntilSiteStopped() in /_/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/IISDeployer.cs:line 245\r\n   at Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer.StopAndDeleteAppPool() in /_/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/IISDeployer.cs:line 226\r\n   at Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer.Dispose() in /_/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/IISDeployer.cs:line 53\r\n   at Microsoft.AspNetCore.Server.IntegrationTesting.FunctionalTestsBase.StopServer() in /_/test/Common.FunctionalTests/Utilities/FunctionalTestsBase.cs:line 58\r\n   at Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.MultiApplicationTests.Dispose() in /_/test/Common.FunctionalTests/MultiApplicationTests.cs:line 137\r\n   at ReflectionAbstractionExtensions.DisposeTestClass(ITest test, Object testClass, IMessageBus messageBus, ExecutionTimer timer, CancellationTokenSource cancellationTokenSource) in C:\\Dev\\xunit\\xunit\\src\\xunit.execution\\Extensions\\ReflectionAbstractionExtensions.cs:line 76\r\n------- Stdout: -------\r\n| [0.001s] TestLifetime Information: Starting test FailsAndLogsWhenRunningTwoInProcessApps at 2018-08-09T23:00:27\r\n| [0.008s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: Deploying [Variation] :: ServerType=IIS, Runtime=CoreClr, Arch=x64, BaseUrlHint=, Publish=True\r\n| [0.012s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\\BuildAgent\\temp\\buildTmp\\e31503f6702a4f50ae9c1900d8983834\\runtimes\\unix\\lib\\netcoreapp2.0\r\n| [0.012s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying System.Security.Principal.Windows.dll\r\n| [0.019s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\\BuildAgent\\temp\\buildTmp\\e31503f6702a4f50ae9c1900d8983834\\runtimes\\unix\\lib\r\n| [0.019s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\\BuildAgent\\temp\\buildTmp\\e31503f6702a4f50ae9c1900d8983834\\runtimes\\unix\r\n| [0.022s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\\BuildAgent\\temp\\buildTmp\\e31503f6702a4f50ae9c1900d8983834\\runtimes\\win\\lib\\netcoreapp2.0\r\n| [0.022s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying System.Security.Principal.Windows.dll\r\n| [0.025s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\\BuildAgent\\temp\\buildTmp\\e31503f6702a4f50ae9c1900d8983834\\runtimes\\win\\lib\r\n| [0.025s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\\BuildAgent\\temp\\buildTmp\\e31503f6702a4f50ae9c1900d8983834\\runtimes\\win\r\n| [0.025s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\\BuildAgent\\temp\\buildTmp\\e31503f6702a4f50ae9c1900d8983834\\runtimes\r\n| [0.026s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\\BuildAgent\\temp\\buildTmp\\e31503f6702a4f50ae9c1900d8983834\\wwwroot\r\n| [0.027s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying static.txt\r\n| [0.028s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug: Processing C:\\BuildAgent\\temp\\buildTmp\\e31503f6702a4f50ae9c1900d8983834\r\n| [0.028s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying aspnetcorev2_inprocess.dll\r\n| [0.031s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying aspnetcorev2_inprocess.pdb\r\n| [0.042s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying InProcessWebSite.deps.json\r\n| [0.044s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying InProcessWebSite.dll\r\n| [0.047s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying InProcessWebSite.pdb\r\n| [0.049s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying InProcessWebSite.runtimeconfig.json\r\n| [0.051s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Debug:   Copying Microsoft.AspNetCore.Authentication.Abstractions.dll\r\n| [0.054s] Microsoft.A\r\n...\r\n```\r\nOther tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.\r\n\r\nThis test failed on master.\r\n\r\nCC @muratg\n\nThis issue was made automatically. If there is a problem contact ryanbrandenburg."},"comment":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/comments/411943689","html_url":"https://github.com/aspnet/IISIntegration/issues/1201#issuecomment-411943689","issue_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1201","id":411943689,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTk0MzY4OQ==","user":{"login":"ryanbrandenburg","id":14987221,"node_id":"MDQ6VXNlcjE0OTg3MjIx","avatar_url":"https://avatars0.githubusercontent.com/u/14987221?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanbrandenburg","html_url":"https://github.com/ryanbrandenburg","followers_url":"https://api.github.com/users/ryanbrandenburg/followers","following_url":"https://api.github.com/users/ryanbrandenburg/following{/other_user}","gists_url":"https://api.github.com/users/ryanbrandenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanbrandenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanbrandenburg/subscriptions","organizations_url":"https://api.github.com/users/ryanbrandenburg/orgs","repos_url":"https://api.github.com/users/ryanbrandenburg/repos","events_url":"https://api.github.com/users/ryanbrandenburg/events{/privacy}","received_events_url":"https://api.github.com/users/ryanbrandenburg/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T01:02:18Z","updated_at":"2018-08-10T01:02:18Z","author_association":"MEMBER","body":"Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable \"TODO\" entries:\r\n\r\n* Is this actually a flaky test?\r\n  * No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)\r\n  * Yes, proceed below...\r\n\r\n* Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)\r\n  * [ ] File a bug against the product (TODO: Link to other bug)\r\n  * Is it possible to change the test to avoid the flakiness?\r\n    * Yes? Go to the \"Change the test!\" section.\r\n    * No?\r\n      * [ ] Disable the test (TODO: Link to PR/commit)\r\n      * [ ] Wait for other bug to be resolved\r\n      * [ ] Wait for us to get build that has the fix\r\n      * [ ] Re-enable our test (TODO: Link to PR/commit)\r\n      * [ ] Close this bug\r\n\r\n* Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)\r\n  * Is there is a way to change our test to avoid this flakiness?\r\n    * Yes? Change the test!\r\n      * [ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)\r\n      * [ ] Run the test 100 times locally as a sanity check.\r\n      * [ ] Close this bug\r\n    * No?\r\n      * Is there any logging or extra information that we could add to make this more diagnosable when it happens again?\r\n        * Yes?\r\n            * [ ] Add the logging (TODO: Link to PR/commit)\r\n        * No?\r\n            * [ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)\n\nThis comment was made automatically. If there is a problem contact ryanbrandenburg."}}
{"actor":{"display_login":"ryanbrandenburg"}}