Skip to content

Flaky test: ApplicationInitializationPageIsRequested #3845

Closed
@jkotalik

Description

@jkotalik
 [xUnit.net 00:00:14.81]     IIS.FunctionalTests.ApplicationInitializationTests.ApplicationInitializationPageIsRequested(hostingModel: OutOfProcess) [FAIL]
10:27:34   Failed   IIS.FunctionalTests.ApplicationInitializationTests.ApplicationInitializationPageIsRequested(hostingModel: OutOfProcess)
10:27:34   Error Message:
10:27:34    System.AggregateException : One or more errors occurred. (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.) (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.) (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.) (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.) (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.) (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.) (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.) (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.) (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.) (Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.)
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   ---- System.IO.FileNotFoundException : Could not find file 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\Started.txt'.
10:27:34   Stack Trace:
10:27:34      at Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.Helpers.Retry(Func`1 func, Int32 attempts, Int32 msDelay) in /_/test/Common.FunctionalTests/Utilities/Helpers.cs:line 145
10:27:34      at IIS.FunctionalTests.ApplicationInitializationTests.ApplicationInitializationPageIsRequested(HostingModel hostingModel) in /_/test/IIS.Shared.FunctionalTests/ServicesTests.cs:line 73
10:27:34   --- End of stack trace from previous location where exception was thrown ---
10:27:34   ----- Inner Stack Trace #1 (System.IO.FileNotFoundException) -----
10:27:34      at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
10:27:34      at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
10:27:34      at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
10:27:34      at System.IO.File.AsyncStreamReader(String path, Encoding encoding)
10:27:34      at System.IO.File.InternalReadAllTextAsync(String path, Encoding encoding, CancellationToken cancellationToken)
10:27:34      at IIS.FunctionalTests.ApplicationInitializationTests.<>c__DisplayClass3_0.<<ApplicationInitializationPageIsRequested>b__1>d.MoveNext() in /_/test/IIS.Shared.FunctionalTests/ServicesTests.cs:line 73
10:27:34   --- End of stack trace from previous location where exception was thrown ---

10:27:34    | [0.001s] TestLifetime Information: Starting test ApplicationInitializationPageIsRequested-OutOfProcess at 2018-10-17T17:27:25
10:27:34    | [0.002s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: Deploying [Variation] :: ServerType=IIS, Runtime=CoreClr, Arch=x64, BaseUrlHint=, Publish=True
10:27:34    | [0.004s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: Executing command dotnet publish  --output "C:\Users\runner\AppData\Local\Temp\19425be574fa4986961cda2b0675caef" --framework netcoreapp2.2 --configuration Debug --no-restore -p:VerifyMatchingImplicitPackageVersion=false 
10:27:34    | [0.354s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: dotnet-publish stdout: Microsoft (R) Build Engine version 15.9.8-preview+g0a5001fc4d for .NET Core
10:27:34    | [0.355s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: dotnet-publish stdout: Copyright (C) Microsoft Corporation. All rights reserved.
10:27:34    | [0.842s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: dotnet-publish stdout: C:\Users\runner\.dotnet\x64\sdk\2.2.100-preview2-009404\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(143,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview [D:\j\workspace\windows-Confi---dfc477d1\test\WebSites\OutOfProcessWebSite\OutOfProcessWebSite.csproj]
10:27:34    | [1.226s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: dotnet-publish stdout:   Microsoft.AspNetCore.Server.IISIntegration -> D:\j\workspace\windows-Confi---dfc477d1\src\Microsoft.AspNetCore.Server.IISIntegration\bin\Debug\netstandard2.0\Microsoft.AspNetCore.Server.IISIntegration.dll
10:27:34    | [1.378s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: dotnet-publish stdout:   OutOfProcessWebSite -> D:\j\workspace\windows-Confi---dfc477d1\test\WebSites\OutOfProcessWebSite\bin\Debug\netcoreapp2.2\OutOfProcessWebSite.dll
10:27:34    | [1.688s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: dotnet-publish stdout:   OutOfProcessWebSite -> C:\Users\runner\AppData\Local\Temp\19425be574fa4986961cda2b0675caef\
10:27:34    | [6.735s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2.dll] Initializing logs for 'D:\j\workspace\windows-Confi---dfc477d1\test\IIS.FunctionalTests\bin\Debug\netcoreapp2.2\x64\aspnetcorev2.dll'. Process Id: 4460.. File Version: 12.2.18290.0. Description: IIS ASP.NET Core Module V2. Commit: e602fd6416fad469235e67d4d4abcbfcc9e2f98e.
10:27:34    | [6.735s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2.dll] Loading request handler:  'D:\j\workspace\windows-Confi---dfc477d1\test\IIS.FunctionalTests\bin\Debug\netcoreapp2.2\x64\2.0.0\aspnetcorev2_outofprocess.dll'
10:27:34    | [6.736s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2.dll] Creating handler application
10:27:34    | [6.736s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2_outofprocess.dll] Initializing logs for 'D:\j\workspace\windows-Confi---dfc477d1\test\IIS.FunctionalTests\bin\Debug\netcoreapp2.2\x64\2.0.0\aspnetcorev2_outofprocess.dll'. Process Id: 4460.. File Version: 12.2.18290.0. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: e602fd6416fad469235e67d4d4abcbfcc9e2f98e.
10:27:34    | [6.736s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2_outofprocess.dll] Starting app_offline monitoring in application 'C:\Users\runner\AppData\Local\Temp\e2f96b97e35348e490a2a8c9f087e236\'
10:27:34    | [6.736s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2_outofprocess.dll] Starting file watcher thread
10:27:34    | [6.736s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2_outofprocess.dll] Failed HRESULT returned: 0x80070585 at d:\j\workspace\windows-confi---dfc477d1\src\aspnetcoremodulev2\outofprocessrequesthandler\outprocessapplication.cpp:90 
10:27:34    | [6.736s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2.dll] Failed HRESULT returned: 0x80070055 at d:\j\workspace\windows-confi---dfc477d1\src\aspnetcoremodulev2\aspnetcore\proxymodule.cpp:191 
10:27:34    | [6.736s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2_outofprocess.dll] Event Log: 'Application '/LM/W3SVC/1/ROOT' started process '4304' successfully and process '4304' is listening on port '12571'.' 
10:27:34    | [6.736s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: End Event Log Message.
10:27:34    | [6.736s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [aspnetcorev2.dll] ASPNET_CORE_GLOBAL_MODULE::Terminate
10:27:34    | [6.785s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [Time]: Total time taken for this test variation '6.7827217' seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-iisIncludes: IIS, ANCMtest-failure

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions