Skip to content

Quarantine Microsoft.AspNetCore.Server.IIS.FunctionalTests.StartupTests.WrongApplicationPath_FailedToRun #52889

Open
@javiercn

Description

@javiercn

Failing Test(s)

Microsoft.AspNetCore.Server.IIS.FunctionalTests.StartupTests.WrongApplicationPath_FailedToRun

Error Message

Assert.Equal() Failure
Expected: InternalServerError
Actual:   ServiceUnavailable

Stacktrace

```text at Microsoft.AspNetCore.Server.IIS.FunctionalTests.StartupTests.AssertSiteFailsToStartWithInProcessStaticContent(IISDeploymentResult deploymentResult, String[] errors) in /_/src/Servers/IIS/IIS/test/Common.LongTests/StartupTests.cs:line 1594 at Microsoft.AspNetCore.Server.IIS.FunctionalTests.StartupTests.WrongApplicationPath_FailedToRun() in /_/src/Servers/IIS/IIS/test/Common.LongTests/StartupTests.cs:line 393 --- End of stack trace from previous location --- ```

Logs

[0.001s] [TestLifetime] [Information] Starting test WrongApplicationPath_FailedToRun at 2023-12-16T14:50:27
[0.003s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Deploying [Variation] :: ServerType=IIS, Runtime=CoreClr, Arch=x64, BaseUrlHint=, Publish=True
[0.003s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Microsoft Windows NT 10.0.22000.0
[0.003s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Using prepublished application from C:\h\w\9BD508DB\w\AAA608DD\e\InProcessWebSite-Portable
[0.023s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug] Processing C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\ARM64
[0.023s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying aspnetcorev2_inprocess.dll
[0.025s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug] Processing C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\runtimes\win\lib\net9.0
[0.025s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying System.Diagnostics.EventLog.dll
[0.026s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying System.Diagnostics.EventLog.Messages.dll
[0.027s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug] Processing C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\runtimes\win\lib
[0.027s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug] Processing C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\runtimes\win
[0.027s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug] Processing C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\runtimes
[0.027s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug] Processing C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\wwwroot
[0.027s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying static.txt
[0.028s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug] Processing C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\x64
[0.028s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying aspnetcorev2_inprocess.dll
[0.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug] Processing C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\x86
[0.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying aspnetcorev2_inprocess.dll
[0.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug] Processing C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579
[0.030s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying InProcessWebSite.deps.json
[0.033s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying InProcessWebSite.dll
[0.033s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying InProcessWebSite.exe
[0.034s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying InProcessWebSite.pdb
[0.034s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying InProcessWebSite.runtimeconfig.json
[0.035s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Authentication.Abstractions.dll
[0.036s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Authentication.Abstractions.pdb
[0.036s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Authentication.Abstractions.xml
[0.037s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Authentication.Core.dll
[0.037s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Authentication.Core.pdb
[0.038s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Authentication.Core.xml
[0.039s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Connections.Abstractions.dll
[0.040s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Connections.Abstractions.pdb
[0.044s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Connections.Abstractions.xml
[0.045s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Hosting.Abstractions.dll
[0.045s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Hosting.Abstractions.pdb
[0.046s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Hosting.Abstractions.xml
[0.046s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Hosting.dll
[0.047s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Hosting.pdb
[0.047s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Hosting.Server.Abstractions.dll
[0.048s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Hosting.Server.Abstractions.pdb
[0.048s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Hosting.Server.Abstractions.xml
[0.057s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Hosting.xml
[0.057s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.Abstractions.dll
[0.058s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.Abstractions.pdb
[0.058s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.Abstractions.xml
[0.059s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.dll
[0.060s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.Extensions.dll
[0.060s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.Extensions.pdb
[0.061s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.Extensions.xml
[0.061s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.Features.dll
[0.062s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.Features.pdb
[0.062s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.Features.xml
[0.063s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.pdb
[0.063s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Http.xml
[0.076s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.HttpOverrides.dll
[0.076s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.HttpOverrides.pdb
[0.080s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.HttpOverrides.xml
[0.080s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.HttpsPolicy.dll
[0.081s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.HttpsPolicy.pdb
[0.081s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.HttpsPolicy.xml
[0.082s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.ResponseCompression.dll
[0.082s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.ResponseCompression.pdb
[0.083s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.ResponseCompression.xml
[0.083s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.HttpSys.dll
[0.084s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.HttpSys.pdb
[0.085s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.HttpSys.xml
[0.088s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.IIS.dll
[0.089s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.IIS.pdb
[0.090s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.IIS.xml
[0.090s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.IISIntegration.dll
[0.091s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.IISIntegration.pdb
[0.091s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.IISIntegration.xml
[0.092s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Core.dll
[0.093s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Core.pdb
[0.093s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Core.xml
[0.094s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.dll
[0.094s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.pdb
[0.095s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.dll
[0.098s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.pdb
[0.099s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.xml
[0.099s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.dll
[0.100s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.pdb
[0.100s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.xml
[0.104s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
[0.105s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.pdb
[0.105s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.xml
[0.106s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.Server.Kestrel.xml
[0.106s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.WebUtilities.dll
[0.107s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.WebUtilities.pdb
[0.107s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.AspNetCore.WebUtilities.xml
[0.108s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Configuration.Abstractions.dll
[0.108s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Configuration.Binder.dll
[0.109s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Configuration.CommandLine.dll
[0.109s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Configuration.dll
[0.110s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Configuration.EnvironmentVariables.dll
[0.110s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Configuration.FileExtensions.dll
[0.111s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Configuration.Json.dll
[0.111s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Configuration.UserSecrets.dll
[0.112s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.DependencyInjection.Abstractions.dll
[0.112s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.DependencyInjection.dll
[0.116s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Diagnostics.Abstractions.dll
[0.117s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Diagnostics.dll
[0.117s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Features.dll
[0.118s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Features.pdb
[0.118s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Features.xml
[0.119s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.FileProviders.Abstractions.dll
[0.119s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.FileProviders.Composite.dll
[0.120s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.FileProviders.Physical.dll
[0.120s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.FileSystemGlobbing.dll
[0.121s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Hosting.Abstractions.dll
[0.121s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Hosting.dll
[0.122s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Logging.Abstractions.dll
[0.122s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Logging.Configuration.dll
[0.123s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Logging.Console.dll
[0.123s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Logging.Debug.dll
[0.124s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Logging.dll
[0.124s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Logging.EventLog.dll
[0.125s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Logging.EventSource.dll
[0.125s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.ObjectPool.dll
[0.126s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.ObjectPool.pdb
[0.126s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.ObjectPool.xml
[0.127s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Options.ConfigurationExtensions.dll
[0.127s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Options.dll
[0.128s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Extensions.Primitives.dll
[0.128s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Net.Http.Headers.dll
[0.129s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Net.Http.Headers.pdb
[0.132s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying Microsoft.Net.Http.Headers.xml
[0.133s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying System.Diagnostics.EventLog.dll
[0.133s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying System.IO.Pipelines.dll
[0.134s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying TestTasks.exe
[0.134s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying TestTasks.runtimeconfig.json
[0.135s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying web.config
[0.135s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Debug]   Copying xunit.assert.dll
[0.139s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] applicationhost.config path C:\h\w\9BD508DB\t\12e95453-230a-4fc5-b5f7-d498be6e34e7
[0.173s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] W3SVC status Running
[0.185s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Starting pool, state: Started
[0.188s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Starting site, state: Started
[0.335s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Site has started.
[0.337s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Successfully finished IIS application directory setup.
[0.338s] [Default Web Site] [Debug] Method: GET, RequestUri: 'http://localhost:49625/HelloWorld', Version: 1.1, Content: <null>, Headers:
{
}
[0.591s] [Default Web Site] [Warning] StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
  Server: Microsoft-IIS/10.0
  Date: Sat, 16 Dec 2023 14:50:27 GMT
  Content-Type: text/html
  Content-Length: 2483
}
[0.591s] [Default Web Site] [Warning] <!DOCTYPE html>
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta charset="utf-8" />
        <title> HTTP Error 500.31 - Failed to load ASP.NET Core runtime </title>
        <style>
            body {
                font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
                font-size: .813em;
                color: #222;
                background-color: #fff;
            }

            h1, h2, h3, h4, h5 {
                /*font-family: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;*/
                font-weight: 100;
            }

            h1 {
                color: #44525e;
                margin: 15px 0 15px 0;
            }

            h2 {
                margin: 10px 5px 0 0;
            }

            h3 {
                color: #363636;
                margin: 5px 5px 0 0;
            }

            code {
                font-family: Consolas, "Courier New", courier, monospace;
            }

            body .titleerror {
                padding: 3px 3px 6px 3px;
                display: block;
                font-size: 1.5em;
                font-weight: 100;
            }

            a {
                color: #1ba1e2;
                text-decoration: none;
            }

                a:hover {
                    color: #13709e;
                    text-decoration: underline;
                }

            li {
                margin: 5px;
            }

        </style>
    </head>
    <body>
        <h1> HTTP Error 500.31 - Failed to load ASP.NET Core runtime </h1>

        <h2> Common solutions to this issue: </h2>The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.

        <h2>Specific error detected by ANCM:</h2><h3>Provided application path does not exist, or isn't a .dll or .exe.</h3>

        <h2> Troubleshooting steps: </h2>
        <ul>
            <li> Check the system event log for error messages </li>
            <li> Enable logging the application process' stdout messages </li>
            <li> Attach a debugger to the application process and inspect </li>
        </ul>

        <h2>
            For more guidance on diagnosing and handling these errors, visit
             <a href="https://go.microsoft.com/fwlink/?LinkID=2028526"> <cite>Troubleshoot ASP.NET Core on Azure App Service and IIS</cite></a>.
        </h2>
    </body>
</html>

[0.592s] [Default Web Site] [Debug] Method: GET, RequestUri: 'http://localhost:49625/HelloWorld', Version: 1.1, Content: <null>, Headers:
{
}
[0.596s] [Default Web Site] [Warning] StatusCode: 503, ReasonPhrase: 'Application Shutting Down', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
  Server: Microsoft-IIS/10.0
  Date: Sat, 16 Dec 2023 14:50:27 GMT
  Content-Type: text/html
  Content-Length: 0
}
[0.596s] [Default Web Site] [Warning] 
[0.602s] [Microsoft.AspNetCore.Server.IIS.FunctionalTests.StartupTests] [Error] Test threw an exception.
Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: InternalServerError
Actual:   ServiceUnavailable
   at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 96
   at Xunit.Assert.Equal[T](T expected, T actual) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 63
   at Microsoft.AspNetCore.Server.IIS.FunctionalTests.StartupTests.AssertSiteFailsToStartWithInProcessStaticContent(IISDeploymentResult deploymentResult, String[] errors) in /_/src/Servers/IIS/IIS/test/Common.LongTests/StartupTests.cs:line 1594
   at Microsoft.AspNetCore.Server.IIS.FunctionalTests.StartupTests.WrongApplicationPath_FailedToRun() in /_/src/Servers/IIS/IIS/test/Common.LongTests/StartupTests.cs:line 393
   at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_0.<<InvokeTestMethodAsync>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
[0.611s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Stopping site, state: Stopped
[0.613s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Stopping pool, state: Stopping
[4.001s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Site has stopped successfully.
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] Host process shutting down.
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.626Z, PID: 1500] [aspnetcorev2.dll] Initializing logs for 'C:\h\w\9BD508DB\w\AAA608DD\e\ANCM\x64\aspnetcorev2.dll'. Process Id: 1500. File Version: 19.0.23350.0. Description: IIS ASP.NET Core Module V2. Commit: .
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.631Z, PID: 1500] [aspnetcorev2.dll] ASPNET_CORE_GLOBAL_MODULE::OnGlobalConfigurationChange 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE'
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.640Z, PID: 1500] [aspnetcorev2.dll] Resolving hostfxr parameters for application: 'C:\h\w\9BD508DB\p\dotnet-cli\dotnet.exe' arguments: 'not-exist.dll' path: 'C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\'
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.673Z, PID: 1500] [aspnetcorev2.dll] Known dotnet.exe location: ''
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.678Z, PID: 1500] [aspnetcorev2.dll] Process path 'C:\h\w\9BD508DB\p\dotnet-cli\dotnet.exe' is dotnet, treating application as portable
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.685Z, PID: 1500] [aspnetcorev2.dll] hostfxr.dotnet_root: 'C:\h\w\9BD508DB\p\dotnet-cli'
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.705Z, PID: 1500] [aspnetcorev2.dll] hostfxr.assembly_path: 'C:\h\w\9BD508DB\t\7f41c2c8636d4bd8b1d37fd48fd1f579\'
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.711Z, PID: 1500] [aspnetcorev2.dll] dotnetExePath 'C:\h\w\9BD508DB\p\dotnet-cli\dotnet.exe'
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.718Z, PID: 1500] [aspnetcorev2.dll] hostFxrDllpath 'C:\h\w\9BD508DB\p\dotnet-cli\host\fxr\9.0.0-alpha.1.23614.10\hostfxr.dll'
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.724Z, PID: 1500] [aspnetcorev2.dll] Parsed hostfxr options: dotnet location: 'C:\h\w\9BD508DB\p\dotnet-cli\dotnet.exe' hostfxr path: 'C:\h\w\9BD508DB\p\dotnet-cli\host\fxr\9.0.0-alpha.1.23614.10\hostfxr.dll' arguments:
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.732Z, PID: 1500] [aspnetcorev2.dll] Argument[0] = 'C:\h\w\9BD508DB\p\dotnet-cli\dotnet.exe'
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.750Z, PID: 1500] [aspnetcorev2.dll] Argument[1] = 'not-exist.dll'
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.757Z, PID: 1500] [aspnetcorev2.dll] Loading hostfxr from location C:\h\w\9BD508DB\p\dotnet-cli\host\fxr\9.0.0-alpha.1.23614.10\hostfxr.dll
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.790Z, PID: 1500] [aspnetcorev2.dll] Event Log: 'Provided application path does not exist, or isn't a .dll or .exe.' 
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] End Event Log Message.
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.822Z, PID: 1500] [aspnetcorev2.dll] Canceling standard stream pipe reader
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.828Z, PID: 1500] [aspnetcorev2.dll] Failed HRESULT returned: 0x8000ffff at D:\a\_work\1\s\src\Servers\IIS\AspNetCoreModuleV2\AspNetCore\HandlerResolver.cpp:80 
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.836Z, PID: 1500] [aspnetcorev2.dll] Event Log: 'Could not find 'aspnetcorev2_inprocess.dll'. Exception message:
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] ' 
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] End Event Log Message.
[4.029s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.845Z, PID: 1500] [aspnetcorev2.dll] Failed HRESULT returned: 0x8000ffff at D:\a\_work\1\s\src\Servers\IIS\AspNetCoreModuleV2\AspNetCore\HandlerResolver.cpp:175 
[4.030s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.851Z, PID: 1500] [aspnetcorev2.dll] Failed HRESULT returned: 0x8000ffff at D:\a\_work\1\s\src\Servers\IIS\AspNetCoreModuleV2\AspNetCore\applicationinfo.cpp:198 
[4.030s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.858Z, PID: 1500] [aspnetcorev2.dll] Failed HRESULT returned: 0x8000ffff at D:\a\_work\1\s\src\Servers\IIS\AspNetCoreModuleV2\AspNetCore\applicationinfo.cpp:111 
[4.030s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.865Z, PID: 1500] [aspnetcorev2.dll] Event Log: 'Failed to start application '/LM/W3SVC/1/ROOT', ErrorCode '0x8000ffff'.' 
[4.030s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] End Event Log Message.
[4.030s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.870Z, PID: 1500] [aspnetcorev2.dll] Stopping application '/LM/W3SVC/1/ROOT'
[4.030s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:27.893Z, PID: 1500] [aspnetcorev2.dll] ASPNET_CORE_GLOBAL_MODULE::OnGlobalStopListening
[4.030s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [2023-12-16T14:50:29.022Z, PID: 1500] [aspnetcorev2.dll] ASPNET_CORE_GLOBAL_MODULE::Terminate
[4.069s] [Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer] [Information] [Time]: Total time taken for this test variation '4.0663354' seconds

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=502077&view=ms.vss-test-web.build-test-results-tab&runId=11687392&resultId=125262&paneView=debug

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