aspnet / MusicStore

[Archived] MusicStore test application that uses ASP.NET/EF Core. Project moved to https://github.com/aspnet/AspNetCore
1.3k stars 878 forks source link

Test failure: NtlmAuthenticationTest #867

Closed aspnet-hello closed 6 years ago

aspnet-hello commented 6 years ago

This test fails occasionally with the following error:

Assert.Equal() Failure
Expected: OK
Actual:   BadGateway
   at E2ETests.Validator.VerifyHomePage(HttpResponseMessage response, Boolean useNtlmAuthentication) in C:\BuildAgent\work\33bdfc1cae7b2a38\modules\MusicStore\test\MusicStore.E2ETests\Implementation\Validator.cs:line 94
   at E2ETests.Validator.VerifyNtlmHomePage(HttpResponseMessage response) in C:\BuildAgent\work\33bdfc1cae7b2a38\modules\MusicStore\test\MusicStore.E2ETests\Implementation\Validator.cs:line 132
   at E2ETests.NtlmAuthenticationTests.NtlmAuthenticationTest(TestVariant variant) in C:\BuildAgent\work\33bdfc1cae7b2a38\modules\MusicStore\test\MusicStore.E2ETests\NtlmAuthentationTest.cs:line 100
--- End of stack trace from previous location where exception was thrown ---
------- Stdout: -------
| [0.006s] TestLifetime Information: Starting test NtlmAuthenticationTest-Server: IISExpress, TFM: net461, Type: Standalone, Arch: x64, ANCM: V1, Host: OutOfProcess at 2018-09-20T19:19:49
| [0.001s] TestLifetime Information: Starting test NtlmAuthentication_Server: IISExpress, TFM: net461, Type: Standalone, Arch: x64, ANCM: V1, Host: OutOfProcess at 2018-09-20T19:19:49
| [0.002s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: Deploying [Variation] :: ServerType=IISExpress, Runtime=Clr, Arch=x64, BaseUrlHint=, Publish=False
| [0.003s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: Executing: C:\BuildAgent\work\33bdfc1cae7b2a38\modules\MusicStore\samples\MusicStore\bin\Release\net461\MusicStore.exe 
| [0.003s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: ContentRoot: C:\BuildAgent\work\33bdfc1cae7b2a38\modules\MusicStore\samples\MusicStore
| [0.003s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: Attempting to start IIS Express on port: 63581
| [0.010s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: Executing command : C:\Program Files\IIS Express\iisexpress.exe /site:HttpTestSite /config:C:\BuildAgent\temp\buildTmp\tmp626D.tmp /trace:error /systray:false
| [0.010s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: SET ASPNETCORE_ENVIRONMENT=NtlmAuthentication
| [0.010s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: SET ASPNETCORE_DETAILEDERRORS=true
| [0.010s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: SET Data__DefaultConnection__ConnectionString=Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=MusicStore_Test_202b08db4ce7419b8af5b4a00dfcb79b;Integrated Security=True;MultipleActiveResultSets=True;Connect Timeout=30
| [0.010s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: SET LAUNCHER_PATH=C:\BuildAgent\work\33bdfc1cae7b2a38\modules\MusicStore\samples\MusicStore\bin\Release\net461\MusicStore.exe
| [0.011s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: SET LAUNCHER_ARGS=
| [0.011s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: SET ASPNETCORE_CONTENTROOT=C:\BuildAgent\work\33bdfc1cae7b2a38\modules\MusicStore\samples\MusicStore
| [0.014s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress Process 11736 started
| [0.081s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: Starting IIS Express ...
| [0.097s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: Initializing the W3 Server Started CTC = 216687296 
| [0.103s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: W3 Server initializing WinSock.  CTC = 216687296 
| [0.103s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: W3 Server WinSock initialized.  CTC = 216687296 
| [0.103s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: W3 Server ThreadPool initialized (ipm has signalled).  CTC = 216687296 
| [0.125s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: Start listenerChannel http:0
| [0.126s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: Successfully registered URL "http://localhost:63581/" for site "HttpTestSite" application "/"
| [0.126s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: Registration completed for site "HttpTestSite"
| [0.126s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: AppPool 'IISExpressAppPool' initialized
| [0.126s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: InitComplete event signalled
| [0.127s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: IIS Express is running.
| [0.127s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: Started iisexpress successfully. Process Id : 11736, Port: 63581
| [0.127s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: Application ready at URL: http://localhost:63581/
| [0.127s] NtlmAuthenticationTest Warning: Retry count 1..
| [0.130s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: IncrementMessages called
| [0.131s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: Request started: "GET" http://localhost:63581/
| [0.132s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: Request ended: http://localhost:63581/ with HTTP status 401.2
| [0.135s
...

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.

This test failed on master.

CC @mkArtakMSFT

This issue was made automatically. If there is a problem contact ryanbrandenburg.

aspnet-hello commented 6 years ago

Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

This comment was made automatically. If there is a problem contact ryanbrandenburg.

aspnet-hello commented 6 years ago

Smoke_Tests failed with about the same error on master. Smoke_Tests failed with about the same error on master. Smoke_Tests failed with about the same error on master. Smoke_Tests failed with about the same error on master. NtlmAuthenticationTest failed with about the same error on master. OpenIdConnectTestSuite failed with about the same error on master. Smoke_Tests failed with about the same error on master. Smoke_Tests failed with about the same error on master. Smoke_Tests failed with about the same error on master.

This comment was made automatically. If there is a problem contact ryanbrandenburg.

mkArtakMSFT commented 6 years ago

@pranavkm, this one is probably related as they started at the same time: https://github.com/aspnet/MusicStore/issues/868

aspnet-hello commented 6 years ago

NtlmAuthenticationTest failed with about the same error on master. NtlmAuthenticationTest failed with about the same error on master. OpenIdConnectTestSuite failed with about the same error on master. OpenIdConnectTestSuite failed with about the same error on master. OpenIdConnectTestSuite failed with about the same error on master. NtlmAuthenticationTest failed with about the same error on master. NtlmAuthenticationTest failed with about the same error on master. NtlmAuthenticationTest failed with about the same error on master. Smoke_Tests failed with about the same error on master. Smoke_Tests failed with about the same error on master. Smoke_Tests failed with about the same error on master. OpenIdConnectTestSuite failed with about the same error on master. NtlmAuthenticationTest failed with about the same error on master. OpenIdConnectTestSuite failed with about the same error on master. Smoke_Tests failed with about the same error on master.

This comment was made automatically. If there is a problem contact ryanbrandenburg. There were 3 failures with about the same error on master: NtlmAuthenticationTest OpenIdConnectTestSuite NtlmAuthenticationTest

aspnet-hello commented 6 years ago

There were 3 failures with about the same error on master:

This comment was made automatically. If there is a problem contact ryanbrandenburg. There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

aspnet-hello commented 6 years ago

There were 3 failures with about the same error on master:

This comment was made automatically. If there is a problem contact ryanbrandenburg. There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

aspnet-hello commented 6 years ago

There were 3 failures with about the same error on master:

This comment was made automatically. If there is a problem contact ryanbrandenburg. There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

aspnet-hello commented 6 years ago

There were 3 failures with about the same error on master:

This comment was made automatically. If there is a problem contact ryanbrandenburg. There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

aspnet-hello commented 6 years ago

There were 3 failures with about the same error on master:

This comment was made automatically. If there is a problem contact ryanbrandenburg. There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

There were 3 failures with about the same error on master:

pranavkm commented 6 years ago

Fixed by resolution for https://github.com/aspnet/Home/issues/3544