dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.57k stars 10.05k forks source link

Quarantine RazorViews_AreUpdatedOnChange and RazorPages_AreUpdatedOnChange #56553

Open BrennanConroy opened 4 months ago

BrennanConroy commented 4 months ago

Failing Test(s)

Error Message

Assert.Equal() Failure
↓ (pos 0)
Expected: nnuncan4.sbu, Version=0.0.0.0, Culture=ne···
Actual:   u0ju155l.l2k, Version=0.0.0.0, Culture=ne···
↑ (pos 0)

Stacktrace

```text at Microsoft.AspNetCore.Mvc.FunctionalTests.RazorBuildTest.RazorViews_AreUpdatedOnChange() in /_/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs:line 129 --- End of stack trace from previous location --- ```

Logs

```text [0.001s] [TestLifetime] [Information] Starting test RazorViews_AreUpdatedOnChange at 2024-06-28T20:55:25 [0.002s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Debug] Hosting starting [0.037s] [Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory] [Debug] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.TryParseModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"] [0.077s] [Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager] [Information] User profile is available. Using 'C:\Users\vsagent\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. [0.131s] [Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository] [Debug] Reading data from file 'C:\Users\vsagent\AppData\Local\ASP.NET\DataProtection-Keys\key-ca82390f-3c1d-4b45-b840-640dc3770368.xml'. [0.131s] [Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager] [Debug] Found key {ca82390f-3c1d-4b45-b840-640dc3770368}. [0.156s] [Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver] [Debug] Considering key {ca82390f-3c1d-4b45-b840-640dc3770368} with expiration date 2024-09-26 20:54:49Z as default key. [0.156s] [Microsoft.AspNetCore.DataProtection.TypeForwardingActivator] [Debug] Forwarded activator type request from Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor, Microsoft.AspNetCore.DataProtection, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 to Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60 [0.157s] [Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor] [Debug] Decrypting secret element using Windows DPAPI. [0.192s] [Microsoft.AspNetCore.DataProtection.TypeForwardingActivator] [Debug] Forwarded activator type request from Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 to Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60 [0.192s] [Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory] [Debug] Opening CNG algorithm 'AES' from provider 'null' with chaining mode CBC. [0.192s] [Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory] [Debug] Opening CNG algorithm 'SHA256' from provider 'null' with HMAC. [0.192s] [Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider] [Debug] Using key {ca82390f-3c1d-4b45-b840-640dc3770368} as the default key. [0.276s] [Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService] [Debug] Key ring with default key {ca82390f-3c1d-4b45-b840-640dc3770368} was loaded during application startup. [0.276s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Debug] Hosting started [0.276s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Debug] Loaded hosting startup assembly RazorBuildWebSite [0.401s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request starting HTTP/1.1 GET http://localhost/UpdateableViews - null null [0.402s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] 2 candidate(s) found for the request path '/UpdateableViews' [0.402s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] Endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' with route pattern '{controller=Home}/{action=Index}/{id?}' is valid for the request path '/UpdateableViews' [0.402s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] Endpoint 'Fallback {*path:nonfile}' with route pattern '{*path:nonfile}' is valid for the request path '/UpdateableViews' [0.403s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Initializing Razor view compiler with compiled view: '/Pages/Rzc/Page.cshtml'. [0.403s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Initializing Razor view compiler with compiled view: '/Views/Common/CommonView.cshtml'. [0.403s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Initializing Razor view compiler with compiled view: '/Views/Rzc/View.cshtml'. [0.403s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Found file at path '/Pages/Fallback.cshtml'. [0.403s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Invalidating compiled view at path '/Pages/Fallback.cshtml' with a file since the checksum did not match. [2.773s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at 'C:\h\w\AB990957\w\A38008E2\e\Pages\Fallback.cshtml' started. [3.983s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at 'C:\h\w\AB990957\w\A38008E2\e\Pages\Fallback.cshtml' completed in 1209.7876ms. [3.988s] [Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware] [Debug] Request matched endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' [3.988s] [Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware] [Verbose] The endpoint does not specify the IRequestSizeLimitMetadata. [3.988s] [Microsoft.AspNetCore.Routing.EndpointMiddleware] [Information] Executing endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' [3.989s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Route matched with {action = "Index", controller = "UpdateableViews", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite). [3.989s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of authorization filters (in the following order): ["None"] [3.990s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of resource filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"] [3.990s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter (Order: -2147483648)", "Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)"] [3.990s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of exception filters (in the following order): ["None"] [3.990s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"] [3.991s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: Before executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [3.991s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: After executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [3.991s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Executing controller factory for controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite) [3.991s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Executed controller factory for controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite) [3.992s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter. [3.992s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [3.992s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [3.993s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executing action method RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite) - Validation state: Valid [4.002s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executed action method RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite), returned result Microsoft.AspNetCore.Mvc.ViewResult in 0.0342ms. [4.003s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [4.003s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [4.003s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter. [4.003s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: Before executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [4.003s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: After executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [4.005s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Before executing action result Microsoft.AspNetCore.Mvc.ViewResult. [4.005s] [Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine] [Debug] View lookup cache miss for view 'Index' in controller 'UpdateableViews'. [4.006s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Found file at path '/Views/UpdateableViews/Index.cshtml'. [4.006s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Invalidating compiled view at path '/Views/UpdateableViews/Index.cshtml' with a file since the checksum did not match. [4.530s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at '/Views/UpdateableViews/Index.cshtml' started. [4.743s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at '/Views/UpdateableViews/Index.cshtml' completed in 212.6577ms. [4.743s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Could not find a file for view at path '/Views/UpdateableViews/_ViewStart.cshtml'. [4.744s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Could not find a file for view at path '/Views/_ViewStart.cshtml'. [4.744s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Could not find a file for view at path '/_ViewStart.cshtml'. [4.744s] [Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor] [Information] Executing ViewResult, running view Index. [4.744s] [Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor] [Debug] The view path '/Views/UpdateableViews/Index.cshtml' was found in 738.5082ms. [4.781s] [Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor] [Information] Executed ViewResult - view Index executed in 775.9997ms. [4.782s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] After executing action result Microsoft.AspNetCore.Mvc.ViewResult. [4.782s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: Before executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [4.782s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: After executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [4.782s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: Before executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [4.782s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: After executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [4.782s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executed action RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite) in 791.6089ms [4.782s] [Microsoft.AspNetCore.Routing.EndpointMiddleware] [Information] Executed endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' [4.782s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request finished HTTP/1.1 GET http://localhost/UpdateableViews - 200 null text/html; charset=utf-8 4380.674ms [4.808s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request starting HTTP/1.1 POST http://localhost/UpdateableViews/Update - application/x-www-form-urlencoded 80 [4.808s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] 2 candidate(s) found for the request path '/UpdateableViews/Update' [4.808s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] Endpoint 'RazorBuildWebSite.UpdateableViewsController.Update (RazorBuildWebSite)' with route pattern '{controller=Home}/{action=Index}/{id?}' is valid for the request path '/UpdateableViews/Update' [4.808s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] Endpoint 'Fallback {*path:nonfile}' with route pattern '{*path:nonfile}' is valid for the request path '/UpdateableViews/Update' [4.808s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Found file at path '/Pages/Fallback.cshtml'. [4.809s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Invalidating compiled view at path '/Pages/Fallback.cshtml' with a file since the checksum did not match. [5.479s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at 'C:\h\w\AB990957\w\A38008E2\e\Pages\Fallback.cshtml' started. [5.930s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at 'C:\h\w\AB990957\w\A38008E2\e\Pages\Fallback.cshtml' completed in 447.8604ms. [5.945s] [Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware] [Debug] Request matched endpoint 'RazorBuildWebSite.UpdateableViewsController.Update (RazorBuildWebSite)' [5.945s] [Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware] [Verbose] The endpoint does not specify the IRequestSizeLimitMetadata. [5.945s] [Microsoft.AspNetCore.Routing.EndpointMiddleware] [Information] Executing endpoint 'RazorBuildWebSite.UpdateableViewsController.Update (RazorBuildWebSite)' [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Route matched with {action = "Update", controller = "UpdateableViews", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Update(RazorBuildWebSite.UpdateableFileProvider, System.String, System.String) on controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite). [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of authorization filters (in the following order): ["None"] [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of resource filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"] [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter (Order: -2147483648)", "Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)"] [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of exception filters (in the following order): ["None"] [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"] [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: Before executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: After executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Executing controller factory for controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite) [5.947s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Executed controller factory for controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite) [5.947s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Attempting to bind parameter 'fileProvider' of type 'RazorBuildWebSite.UpdateableFileProvider' ... [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Done attempting to bind parameter 'fileProvider' of type 'RazorBuildWebSite.UpdateableFileProvider'. [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Attempting to validate the bound parameter 'fileProvider' of type 'RazorBuildWebSite.UpdateableFileProvider' ... [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Done attempting to validate the bound parameter 'fileProvider' of type 'RazorBuildWebSite.UpdateableFileProvider'. [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Attempting to bind parameter 'path' of type 'System.String' ... [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder] [Debug] Attempting to bind parameter 'path' of type 'System.String' using the name 'path' in request data ... [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder] [Debug] Done attempting to bind parameter 'path' of type 'System.String'. [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Done attempting to bind parameter 'path' of type 'System.String'. [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Attempting to validate the bound parameter 'path' of type 'System.String' ... [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Done attempting to validate the bound parameter 'path' of type 'System.String'. [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Attempting to bind parameter 'content' of type 'System.String' ... [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder] [Debug] Attempting to bind parameter 'content' of type 'System.String' using the name 'content' in request data ... [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder] [Debug] Done attempting to bind parameter 'content' of type 'System.String'. [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Done attempting to bind parameter 'content' of type 'System.String'. [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Attempting to validate the bound parameter 'content' of type 'System.String' ... [5.948s] [Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder] [Debug] Done attempting to validate the bound parameter 'content' of type 'System.String'. [5.948s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter. [5.948s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [5.948s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [5.948s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executing action method RazorBuildWebSite.UpdateableViewsController.Update (RazorBuildWebSite) - Validation state: Valid [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Executing action method RazorBuildWebSite.UpdateableViewsController.Update (RazorBuildWebSite) with arguments (["RazorBuildWebSite.UpdateableFileProvider", "/Views/UpdateableViews/Index.cshtml", "@GetType().Assembly"]) [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executed action method RazorBuildWebSite.UpdateableViewsController.Update (RazorBuildWebSite), returned result Microsoft.AspNetCore.Mvc.OkResult in 0.1209ms. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: Before executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: After executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Before executing action result Microsoft.AspNetCore.Mvc.OkResult. [5.949s] [Microsoft.AspNetCore.Mvc.StatusCodeResult] [Information] Executing StatusCodeResult, setting HTTP status code 200 [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] After executing action result Microsoft.AspNetCore.Mvc.OkResult. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: Before executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: After executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: Before executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: After executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [5.949s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executed action RazorBuildWebSite.UpdateableViewsController.Update (RazorBuildWebSite) in 2.3029ms [5.949s] [Microsoft.AspNetCore.Routing.EndpointMiddleware] [Information] Executed endpoint 'RazorBuildWebSite.UpdateableViewsController.Update (RazorBuildWebSite)' [5.950s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request finished HTTP/1.1 POST http://localhost/UpdateableViews/Update - 200 null null 1141.7172ms [5.950s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request starting HTTP/1.1 GET http://localhost/UpdateableViews - null null [5.950s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] 2 candidate(s) found for the request path '/UpdateableViews' [5.951s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] Endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' with route pattern '{controller=Home}/{action=Index}/{id?}' is valid for the request path '/UpdateableViews' [5.951s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] Endpoint 'Fallback {*path:nonfile}' with route pattern '{*path:nonfile}' is valid for the request path '/UpdateableViews' [5.951s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Found file at path '/Pages/Fallback.cshtml'. [5.951s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Invalidating compiled view at path '/Pages/Fallback.cshtml' with a file since the checksum did not match. [6.507s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at 'C:\h\w\AB990957\w\A38008E2\e\Pages\Fallback.cshtml' started. [6.914s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at 'C:\h\w\AB990957\w\A38008E2\e\Pages\Fallback.cshtml' completed in 406.31ms. [6.917s] [Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware] [Debug] Request matched endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' [6.917s] [Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware] [Verbose] The endpoint does not specify the IRequestSizeLimitMetadata. [6.917s] [Microsoft.AspNetCore.Routing.EndpointMiddleware] [Information] Executing endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' [6.917s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Route matched with {action = "Index", controller = "UpdateableViews", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite). [6.917s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of authorization filters (in the following order): ["None"] [6.917s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of resource filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"] [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter (Order: -2147483648)", "Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)"] [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of exception filters (in the following order): ["None"] [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"] [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: Before executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: After executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Executing controller factory for controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite) [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Executed controller factory for controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite) [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executing action method RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite) - Validation state: Valid [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executed action method RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite), returned result Microsoft.AspNetCore.Mvc.ViewResult in 0.0147ms. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: Before executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: After executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [6.918s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Before executing action result Microsoft.AspNetCore.Mvc.ViewResult. [6.918s] [Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine] [Debug] View lookup cache miss for view 'Index' in controller 'UpdateableViews'. [6.918s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Found file at path '/Views/UpdateableViews/Index.cshtml'. [7.029s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Invalidating compiled view at path '/Views/UpdateableViews/Index.cshtml' with a file since the checksum did not match. [7.938s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at '/Views/UpdateableViews/Index.cshtml' started. [8.228s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at '/Views/UpdateableViews/Index.cshtml' completed in 289.087ms. [8.228s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Could not find a file for view at path '/Views/UpdateableViews/_ViewStart.cshtml'. [8.228s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Could not find a file for view at path '/Views/_ViewStart.cshtml'. [8.228s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Could not find a file for view at path '/_ViewStart.cshtml'. [8.229s] [Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor] [Information] Executing ViewResult, running view Index. [8.229s] [Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor] [Debug] The view path '/Views/UpdateableViews/Index.cshtml' was found in 1310.3846ms. [8.230s] [Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor] [Information] Executed ViewResult - view Index executed in 1312.2182ms. [8.230s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] After executing action result Microsoft.AspNetCore.Mvc.ViewResult. [8.231s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: Before executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [8.231s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: After executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [8.231s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: Before executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [8.231s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: After executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [8.231s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executed action RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite) in 1313.0372ms [8.231s] [Microsoft.AspNetCore.Routing.EndpointMiddleware] [Information] Executed endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' [8.231s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request finished HTTP/1.1 GET http://localhost/UpdateableViews - 200 null text/html; charset=utf-8 2280.3257ms [8.231s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request starting HTTP/1.1 GET http://localhost/UpdateableViews - null null [8.231s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] 2 candidate(s) found for the request path '/UpdateableViews' [8.231s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] Endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' with route pattern '{controller=Home}/{action=Index}/{id?}' is valid for the request path '/UpdateableViews' [8.231s] [Microsoft.AspNetCore.Routing.Matching.DfaMatcher] [Debug] Endpoint 'Fallback {*path:nonfile}' with route pattern '{*path:nonfile}' is valid for the request path '/UpdateableViews' [8.232s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Found file at path '/Pages/Fallback.cshtml'. [8.232s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Invalidating compiled view at path '/Pages/Fallback.cshtml' with a file since the checksum did not match. [8.681s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at 'C:\h\w\AB990957\w\A38008E2\e\Pages\Fallback.cshtml' started. [8.891s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at 'C:\h\w\AB990957\w\A38008E2\e\Pages\Fallback.cshtml' completed in 210.0826ms. [8.894s] [Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware] [Debug] Request matched endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' [8.894s] [Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware] [Verbose] The endpoint does not specify the IRequestSizeLimitMetadata. [8.894s] [Microsoft.AspNetCore.Routing.EndpointMiddleware] [Information] Executing endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Route matched with {action = "Index", controller = "UpdateableViews", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite). [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of authorization filters (in the following order): ["None"] [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of resource filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"] [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter (Order: -2147483648)", "Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)"] [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of exception filters (in the following order): ["None"] [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"] [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: Before executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: After executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Executing controller factory for controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite) [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Debug] Executed controller factory for controller RazorBuildWebSite.UpdateableViewsController (RazorBuildWebSite) [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter. [8.895s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [8.896s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [8.896s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executing action method RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite) - Validation state: Valid [8.896s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executed action method RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite), returned result Microsoft.AspNetCore.Mvc.ViewResult in 0.0155ms. [8.896s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: Before executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [8.896s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter. [8.896s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Action Filter: After executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter. [8.896s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: Before executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [8.896s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: After executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [8.896s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Before executing action result Microsoft.AspNetCore.Mvc.ViewResult. [8.896s] [Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine] [Debug] View lookup cache miss for view 'Index' in controller 'UpdateableViews'. [8.896s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Found file at path '/Views/UpdateableViews/Index.cshtml'. [8.896s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Verbose] Invalidating compiled view at path '/Views/UpdateableViews/Index.cshtml' with a file since the checksum did not match. [9.329s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at '/Views/UpdateableViews/Index.cshtml' started. [9.606s] [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler] [Debug] Compilation of the generated code for the Razor file at '/Views/UpdateableViews/Index.cshtml' completed in 276.8829ms. [9.607s] [Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor] [Information] Executing ViewResult, running view Index. [9.607s] [Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor] [Debug] The view path '/Views/UpdateableViews/Index.cshtml' was found in 711.0892ms. [9.610s] [Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor] [Information] Executed ViewResult - view Index executed in 714.3261ms. [9.610s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] After executing action result Microsoft.AspNetCore.Mvc.ViewResult. [9.610s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: Before executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [9.610s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Result Filter: After executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [9.610s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: Before executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [9.610s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Verbose] Resource Filter: After executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. [9.610s] [Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker] [Information] Executed action RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite) in 715.1524ms [9.610s] [Microsoft.AspNetCore.Routing.EndpointMiddleware] [Information] Executed endpoint 'RazorBuildWebSite.UpdateableViewsController.Index (RazorBuildWebSite)' [9.611s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request finished HTTP/1.1 GET http://localhost/UpdateableViews - 200 null text/html; charset=utf-8 1379.2748ms [9.674s] [Microsoft.AspNetCore.Mvc.FunctionalTests.RazorBuildTest] [Error] Test threw an exception. Xunit.Sdk.EqualException: Assert.Equal() Failure ↓ (pos 0) Expected: nnuncan4.sbu, Version=0.0.0.0, Culture=ne··· Actual: u0ju155l.l2k, Version=0.0.0.0, Culture=ne··· ↑ (pos 0) at Xunit.Assert.Equal(String expected, String actual, Boolean ignoreCase, Boolean ignoreLineEndingDifferences, Boolean ignoreWhiteSpaceDifferences) in /_/src/xunit.assert/Asserts/StringAsserts.cs:line 326 at Microsoft.AspNetCore.Mvc.FunctionalTests.RazorBuildTest.RazorViews_AreUpdatedOnChange() in /_/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs:line 129 at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_0.<b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 264 --- End of stack trace from previous location --- at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48 at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90 [9.674s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Debug] Hosting shutdown [9.675s] [TestLifetime] [Information] Finished test RazorViews_AreUpdatedOnChange in 9.6736368s ```

Other Info

After adding logging in https://github.com/dotnet/aspnetcore/pull/55592 these two tests became flaky. It looks like somehow /Pages/Fallback.cshtml keeps needing recompilation which triggers /Views/UpdateableViews/Index.cshtml to need recompilation. And since the test checks some dynamic content on Index.cshtml, the recompilation causes that content to change which fails the test. The root cause would be figuring out why /Pages/Fallback.cshtml keeps recompiling.

amcasey commented 4 months ago

Looks like this issue also covers Microsoft.AspNetCore.Mvc.FunctionalTests.RazorRuntimeCompilationHostingStartupTest.RazorViews_CanBeServedAndUpdatedViaRuntimeCompilation

https://dev.azure.com/dnceng-public/public/_build/results?buildId=730837

radical commented 4 months ago

Same issue hit for Microsoft.AspNetCore.Mvc.FunctionalTests.RazorRuntimeCompilationHostingStartupTest.RazorPages_CanBeServedAndUpdatedViaRuntimeCompilation also.

main: https://dev.azure.com/dnceng-public/public/_build/results?buildId=749856&view=results PRs: