Skip to content

Added expiry for refresh tokens #151

Added expiry for refresh tokens

Added expiry for refresh tokens #151

GitHub Actions / All Tests succeeded Feb 10, 2024 in 0s

All Tests ✅

Tests failed

Report Passed Failed Skipped Time
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_41.trx 22s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_41[1].trx 280✅ 25s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_41[2].trx 186✅ 27s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_42.trx 23s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_43.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_44.trx 35✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_46.trx 87✅ 3s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_48.trx 227✅ 3s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_49.trx 22✅ 4s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_51.trx 11✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_52.trx 31✅ 5s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_53.trx 80✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_55.trx 17✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_55[1].trx 107✅ 11s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_57.trx 22✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_57[1].trx 48✅ 10s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_58.trx 8✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_00.trx 10✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_00[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_01.trx 135✅ 3s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_02.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_02[1].trx 44✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_04.trx 8✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_05.trx 19✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_05[1].trx 72✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_06.trx 11✅ 4s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_06[1].trx 12✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_07.trx 19✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_08.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_08[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_10.trx 17✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_11.trx 48✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_12.trx 25✅ 7s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_12[1].trx 154✅ 8s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_14.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_16.trx 31✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_17.trx 47✅ 4s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_18.trx 94✅ 15s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_19.trx 25✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_20.trx 4s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_21.trx 6✅ 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_21[1].trx 38✅ 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_23.trx 7✅ 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_23[1].trx 4✅ 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_23[2].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_25.trx 1✅ 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_37.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_37[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_38.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_40.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_42.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_43.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_44.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_44[1].trx 52✅ 24s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_45.trx 7✅ 14s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_46.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_46[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_49.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_49[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_51.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_51[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_53.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_53[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_54.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_55.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_56.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_57.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_59.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_59[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_59[2].trx 3✅ 8s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_01.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_02.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_03.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_04.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_05.trx 3s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_06.trx 14✅ 11s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_07.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_07[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_09.trx 3s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_09[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_11.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_11[1].trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_14.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_14[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx 1✅ 33❌ 140s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_17.trx 8✅ 1❌ 12s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_18.trx 2s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_18[1].trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_20.trx 1s
src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_24.trx 1✅ 5s

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_41.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_41[1].trx

280 tests were completed in 25s with 280 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Common.UnitTests.CountryCodesSpec 12✅ 36ms
Common.UnitTests.ErrorSpec 6✅ 26ms
Common.UnitTests.Extensions.CollectionExtensionsSpec 3✅ 1ms
Common.UnitTests.Extensions.DateTimeExtensionsSpec 44✅ 2s
Common.UnitTests.Extensions.DictionaryExtensionsSpec 12✅ 2s
Common.UnitTests.Extensions.EnumExtensionsSpec 10✅ 9ms
Common.UnitTests.Extensions.ObjectExtensionsSpec 16✅ 229ms
Common.UnitTests.Extensions.StringExtensionsSpec 48✅ 2s
Common.UnitTests.Extensions.TimeSpanExtensionsSpec 7✅ 1s
Common.UnitTests.OptionalOfTSpec 50✅ 19ms
Common.UnitTests.OptionalSpec 16✅ 16ms
Common.UnitTests.Recording.RecordingExtensionsSpec 2✅ 716ms
Common.UnitTests.ReflectorSpec 3✅ 4ms
Common.UnitTests.ResultSpec+ResultWithoutValueSpec 14✅ 2s
Common.UnitTests.ResultSpec+ResultWithValueSpec 31✅ 4s
Common.UnitTests.TimezonesSpec 6✅ 459ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_41[2].trx

186 tests were completed in 27s with 186 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Api.Common.UnitTests.ApiUsageFilterSpec 5✅ 3s
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenAPolicy 5✅ 3s
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenPlatformAuthorization 9✅ 19ms
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenRolesAndFeatures 8✅ 9ms
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenTenantAuthorization 7✅ 72ms
Infrastructure.Web.Api.Common.UnitTests.ContentNegotiationFilterSpec 26✅ 2s
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasGetOptionsExtensionsSpec 6✅ 6ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasSearchOptionsExtensionsSpec 9✅ 114ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpRequestExtensionsSpec 35✅ 1s
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpResponseExtensionsSpec 3✅ 1s
Infrastructure.Web.Api.Common.UnitTests.Extensions.RequestExtensionsSpec 15✅ 527ms
Infrastructure.Web.Api.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec 5✅ 255ms
Infrastructure.Web.Api.Common.UnitTests.HasGetOptionsSpec 4✅ 7ms
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenARequest 5✅ 91ms
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenASigner 3✅ 21ms
Infrastructure.Web.Api.Common.UnitTests.JsonDateTimeConverterSpec 6✅ 4s
Infrastructure.Web.Api.Common.UnitTests.RequestCorrelationFilterSpec 3✅ 547ms
Infrastructure.Web.Api.Common.UnitTests.Validation.AdditionalValidatorSpec 5✅ 227ms
Infrastructure.Web.Api.Common.UnitTests.Validation.HasGetOptionsValidatorSpec 10✅ 16ms
Infrastructure.Web.Api.Common.UnitTests.Validation.HasSearchOptionsValidatorSpec 15✅ 2s
Infrastructure.Web.Api.Common.UnitTests.ValidationBehaviorSpec 2✅ 153ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_42.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_43.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_44.trx

35 tests were completed in 2s with 35 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CarsInfrastructure.UnitTests.Api.Cars.DeleteCarRequestValidatorSpec 1✅ 119ms
CarsInfrastructure.UnitTests.Api.Cars.GetCarRequestValidatorSpec 1✅ 119ms
CarsInfrastructure.UnitTests.Api.Cars.RegisterCarRequestValidatorSpec 9✅ 117ms
CarsInfrastructure.UnitTests.Api.Cars.ReleaseCarAvailabilityRequestValidatorSpec 4✅ 144ms
CarsInfrastructure.UnitTests.Api.Cars.ReserveCarIfAvailableRequestValidatorSpec 6✅ 23ms
CarsInfrastructure.UnitTests.Api.Cars.ScheduleMaintenanceCarRequestValidatorSpec 4✅ 18ms
CarsInfrastructure.UnitTests.Api.Cars.SearchAllAvailableCarsRequestValidatorSpec 4✅ 101ms
CarsInfrastructure.UnitTests.Api.Cars.SearchAllCarsRequestValidatorSpec 1✅ 59ms
CarsInfrastructure.UnitTests.Api.Cars.SearchAllUnavailabilitiesRequestValidatorSpec 1✅ 82ms
CarsInfrastructure.UnitTests.Api.Cars.TakeOfflineCarRequestValidatorSpec 4✅ 26ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_46.trx

87 tests were completed in 3s with 87 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Domain.Interfaces.UnitTests.Authorization.FeatureLevelSpec 14✅ 6ms
Domain.Interfaces.UnitTests.Authorization.PlatformFeaturesSpec 1✅ 0ms
Domain.Interfaces.UnitTests.Authorization.PlatformRolesSpec 2✅ 20ms
Domain.Interfaces.UnitTests.Authorization.RoleLevelSpec 14✅ 26ms
Domain.Interfaces.UnitTests.Authorization.TenantFeaturesSpec 1✅ 21ms
Domain.Interfaces.UnitTests.Authorization.TenantRolesSpec 2✅ 1ms
Domain.Interfaces.UnitTests.HydrationPropertiesSpec 13✅ 133ms
Domain.Interfaces.UnitTests.Validations.ValidationsSpec 40✅ 27ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_48.trx

227 tests were completed in 3s with 227 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Domain.Common.UnitTests.ChangeEventTypeMigratorSpec 4✅ 106ms
Domain.Common.UnitTests.Entities.AggregateRootBaseSpec 17✅ 87ms
Domain.Common.UnitTests.Entities.DomainEventExtensionsSpec 4✅ 14ms
Domain.Common.UnitTests.Entities.EntityBaseSpec 4✅ 299ms
Domain.Common.UnitTests.Entities.EventSourcedChangeEventExtensionsSpec 1✅ 14ms
Domain.Common.UnitTests.Extensions.HydrationPropertiesExtensionsSpec 6✅ 19ms
Domain.Common.UnitTests.Identity.NamePrefixedIdentifierFactorySpec 11✅ 14ms
Domain.Common.UnitTests.MessageQueueIdFactorySpec 8✅ 21ms
Domain.Common.UnitTests.ValueObjects.EventStreamSpec 12✅ 33ms
Domain.Common.UnitTests.ValueObjects.IdentifierExtensionsSpec 4✅ 12ms
Domain.Common.UnitTests.ValueObjects.IdentifierSpec 1✅ 171ms
Domain.Common.UnitTests.ValueObjects.SingleValueObjectComparableSpec 40✅ 6ms
Domain.Common.UnitTests.ValueObjects.SingleValueObjectEqualitySpec 22✅ 41ms
Domain.Common.UnitTests.ValueObjects.SingleValueObjectSpec 2✅ 5ms
Domain.Common.UnitTests.ValueObjects.ValueObjectComparableSpec 23✅ 131ms
Domain.Common.UnitTests.ValueObjects.ValueObjectEqualitySpec 44✅ 12ms
Domain.Common.UnitTests.ValueObjects.ValueObjectExtensionsSpec 2✅ 0ms
Domain.Common.UnitTests.ValueObjects.ValueObjectSpec 22✅ 34ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_49.trx

22 tests were completed in 4s with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Application.Interfaces.UnitTests.GetOptionsExtensionsSpec 6✅ 39ms
Application.Interfaces.UnitTests.SearchOptionsExtensionsSpec 5✅ 47ms
Application.Interfaces.UnitTests.SearchOptionsSpec 11✅ 1s

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_51.trx

11 tests were completed in 2s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Application.Common.UnitTests.CallerContextExtensionsSpec 3✅ 100ms
Application.Common.UnitTests.CallerSpec 8✅ 94ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_52.trx

31 tests were completed in 5s with 31 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tools.Generators.Web.Api.UnitTests.MinimalApiMediatRGeneratorSpec+GivenAServiceClass 10✅ 3s
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAnyClass 10✅ 1s
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass 8✅ 1s
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass+GivenAServiceOperation 3✅ 3s

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_53.trx

80 tests were completed in 2s with 80 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CarsDomain.UnitTests.CarRootSpec 35✅ 170ms
CarsDomain.UnitTests.CausedBySpec 4✅ 5ms
CarsDomain.UnitTests.JurisdictionSpec 3✅ 2ms
CarsDomain.UnitTests.LicensePlateSpec 3✅ 2ms
CarsDomain.UnitTests.ManufacturerSpec 3✅ 5ms
CarsDomain.UnitTests.NumberPlateSpec 3✅ 37ms
CarsDomain.UnitTests.TimeSlotSpec 4✅ 30ms
CarsDomain.UnitTests.UnavailabilityEntitySpec 13✅ 88ms
CarsDomain.UnitTests.VehicleManagersSpec 6✅ 12ms
CarsDomain.UnitTests.VehicleOwnerSpec 2✅ 4ms
CarsDomain.UnitTests.YearSpec 4✅ 29ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_55.trx

17 tests were completed in 2s with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CarsApplication.UnitTests.CarsApplicationSpec 17✅ 290ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_55[1].trx

107 tests were completed in 11s with 107 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Hosting.Common.UnitTests.AnonymousCallerContextSpec 2✅ 2ms
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenEncryptedSettings 1✅ 2ms
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenNoEncryptedSettings 1✅ 54ms
Infrastructure.Web.Hosting.Common.UnitTests.AspNetCallerContextSpec 20✅ 251ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.APIKeyAuthenticationHandlerSpec 5✅ 862ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.HMACAuthenticationHandlerSpec 5✅ 1s
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationHandlerSpec 11✅ 162ms
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationPolicyProviderSpec 2✅ 613ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFMiddlewareSpec 15✅ 1s
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFServiceSpec 10✅ 545ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFTokenPairSpec 22✅ 459ms
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.ReverseProxyMiddlewareSpec 3✅ 376ms
Infrastructure.Web.Hosting.Common.UnitTests.SubDomainModulesSpec 10✅ 6s

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_57.trx

22 tests were completed in 2s with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BookingsDomain.UnitTests.BookingRootSpec 9✅ 155ms
BookingsDomain.UnitTests.LocationSpec 2✅ 28ms
BookingsDomain.UnitTests.TripEntitySpec 8✅ 117ms
BookingsDomain.UnitTests.TripsSpec 3✅ 125ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_57[1].trx

48 tests were completed in 10s with 48 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRuleSas001 34✅ 8s
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRuleSas002 14✅ 8s

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_04_58.trx

8 tests were completed in 2s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BookingsApplication.UnitTests.BookingsApplicationSpec 8✅ 258ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_00.trx

10 tests were completed in 2s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BookingsInfrastructure.UnitTests.Api.Bookings.CancelBookingRequestValidatorSpec 1✅ 124ms
BookingsInfrastructure.UnitTests.Api.Bookings.MakeBookingRequestValidatorSpec 5✅ 171ms
BookingsInfrastructure.UnitTests.Api.Bookings.SearchAllBookingsRequestValidatorSpec 4✅ 155ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_00[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_01.trx

135 tests were completed in 3s with 135 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Persistence.Common.UnitTests.BlobStoreSpec 9✅ 24ms
Infrastructure.Persistence.Common.UnitTests.EventSourcingDddCommandStoreSpec 7✅ 88ms
Infrastructure.Persistence.Common.UnitTests.Extensions.DynamicLinqWhereExtensionsSpec 3✅ 4ms
Infrastructure.Persistence.Common.UnitTests.Extensions.EventNotifyingStoreExtensionsSpec 4✅ 154ms
Infrastructure.Persistence.Common.UnitTests.Extensions.EventStoreExtensionsSpec 6✅ 109ms
Infrastructure.Persistence.Common.UnitTests.Extensions.StoreExtensionsSpec 21✅ 699ms
Infrastructure.Persistence.Common.UnitTests.Extensions.TypeExtensionsSpec 15✅ 21ms
Infrastructure.Persistence.Common.UnitTests.MessageQueueStoreSpec 5✅ 78ms
Infrastructure.Persistence.Common.UnitTests.ReadModelProjectionStoreSpec 9✅ 177ms
Infrastructure.Persistence.Common.UnitTests.SnapshottingDddCommandStoreSpec 20✅ 163ms
Infrastructure.Persistence.Common.UnitTests.SnapshottingQueryStoreSpec 12✅ 86ms
Infrastructure.Persistence.Common.UnitTests.SnapshottingStoreSpec 24✅ 374ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_02.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_02[1].trx

44 tests were completed in 2s with 44 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Persistence.Interfaces.UnitTests.CommandEntitySpec 22✅ 246ms
Infrastructure.Persistence.Interfaces.UnitTests.PersistedEntityMetadataSpec 12✅ 67ms
Infrastructure.Persistence.Interfaces.UnitTests.QueryEntitySpec 10✅ 164ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_04.trx

8 tests were completed in 2s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Application.Persistence.Common.UnitTests.QueryAnyExtensionsSpec 8✅ 38ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_05.trx

19 tests were completed in 2s with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Eventing.Common.UnitTests.Notifications.EventNotificationNotifierSpec 7✅ 219ms
Infrastructure.Eventing.Common.UnitTests.Projections.ProjectionCheckpointRepositorySpec 4✅ 260ms
Infrastructure.Eventing.Common.UnitTests.Projections.ReadModelProjectorSpec 8✅ 224ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_05[1].trx

72 tests were completed in 2s with 72 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Domain.Shared.UnitTests.EmailAddressSpec 10✅ 10ms
Domain.Shared.UnitTests.FeatureSpec 4✅ 2ms
Domain.Shared.UnitTests.FeaturesSpec 23✅ 49ms
Domain.Shared.UnitTests.NameSpec 2✅ 1ms
Domain.Shared.UnitTests.PersonDisplayNameSpec 2✅ 1ms
Domain.Shared.UnitTests.PersonNameSpec 4✅ 31ms
Domain.Shared.UnitTests.RoleSpec 4✅ 29ms
Domain.Shared.UnitTests.RolesSpec 23✅ 51ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_06.trx

11 tests were completed in 4s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Common.UnitTests.DomainFactorySpec 9✅ 287ms
Infrastructure.Common.UnitTests.DomainServices.AesEncryptionServiceSpec 2✅ 34ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_06[1].trx

12 tests were completed in 2s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AncillaryInfrastructure.UnitTests.Api.Audits.DeliverAuditRequestValidatorSpec 2✅ 75ms
AncillaryInfrastructure.UnitTests.Api.Emails.DeliverEmailRequestValidatorSpec 2✅ 4ms
AncillaryInfrastructure.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec 3✅ 73ms
AncillaryInfrastructure.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec 3✅ 73ms
AncillaryInfrastructure.UnitTests.Api.Usages.DeliverUsageRequestValidatorSpec 2✅ 70ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_07.trx

19 tests were completed in 2s with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AncillaryApplication.UnitTests.AncillaryApplicationSpec 19✅ 421ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_08.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_08[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_10.trx

17 tests were completed in 2s with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Common.UnitTests.Extensions.ResponseProblemExtensionsSpec 17✅ 76ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_11.trx

48 tests were completed in 2s with 48 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetConfigurationSettingsSpec+GivenOnlyPlatformConfiguration 10✅ 40ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetConfigurationSettingsSpec+GivenTenancyConfiguration 10✅ 15ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.EventHandlerBaseSpec 4✅ 238ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Notifications.InProcessSynchronousNotificationRelaySpec 2✅ 283ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Projections.InProcessSynchronousProjectionRelaySpec 2✅ 87ms
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.HostSettingsSpec 6✅ 126ms
Infrastructure.Hosting.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec 7✅ 69ms
Infrastructure.Hosting.Common.UnitTests.Recording.HostRecorderSpec 7✅ 188ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_12.trx

25 tests were completed in 7s with 25 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AncillaryDomain.UnitTests.AuditRootSpec 1✅ 318ms
AncillaryDomain.UnitTests.DeliveryAttemptsSpec 6✅ 143ms
AncillaryDomain.UnitTests.EmailDeliverRootSpec 12✅ 292ms
AncillaryDomain.UnitTests.EmailRecipientSpec 2✅ 5ms
AncillaryDomain.UnitTests.QueuedMessageIdSpec 3✅ 59ms
AncillaryDomain.UnitTests.TemplateArgumentsSpec 1✅ 2ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_12[1].trx

154 tests were completed in 8s with 154 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas040 3✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas041 4✅ 6s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas042 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas043 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas044 2✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas045 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRuleSas046 4✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnyRule 4✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas030 3✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas031 4✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas032 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas033 2✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas034 2✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas035 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas036 2✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRuleSas037 4✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas050 3✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas051 4✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas052 2✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas053 2✅ 2s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas054 4✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRuleSas055 6✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleSas040 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleSas043 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleSas045 1✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleSas030 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleSas034 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleSas035 1✅ 3s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleSas036 1✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleSas050 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleSas053 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenAnyRule 5✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas010 18✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas011AndSas012 6✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas013AndSas017 3✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas014 4✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas015 2✅ 4s
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas016 35✅ 5s
Tools.Analyzers.NonPlatform.UnitTests.WebApiClassAnalyzerSpec+GivenRuleSas018AndSas019 4✅ 4s

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_14.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_16.trx

31 tests were completed in 2s with 31 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticateRequestValidatorSpec 8✅ 30ms
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticationApiSpec 4✅ 188ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordCrashRequestValidatorSpec 2✅ 83ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec 3✅ 9ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordPageViewRequestValidatorSpec 2✅ 7ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordTraceRequestValidatorSpec 4✅ 89ms
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec 3✅ 90ms
Infrastructure.Web.Website.UnitTests.Application.AuthenticationApplicationSpec 5✅ 323ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_17.trx

47 tests were completed in 4s with 47 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IdentityInfrastructure.UnitTests.Api.AuthTokens.RefreshTokenRequestValidatorSpec 2✅ 4ms
IdentityInfrastructure.UnitTests.Api.AuthTokens.RevokeRefreshTokenRequestValidatorSpec 2✅ 4ms
IdentityInfrastructure.UnitTests.Api.MachineCredentials.RegisterMachineRequestValidatorSpec 9✅ 95ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.AuthenticatePasswordRequestValidatorSpec 4✅ 106ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.AuthenticateSingleSignOnRequestValidatorSpec 3✅ 6ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.ConfirmPersonRegistrationRequestValidatorSpec 3✅ 105ms
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.RegisterPersonRequestValidatorSpec 13✅ 111ms
IdentityInfrastructure.UnitTests.ApplicationServices.JWTTokensServiceSpec 1✅ 179ms
IdentityInfrastructure.UnitTests.DomainServices.EmailAddressServiceSpec 3✅ 283ms
IdentityInfrastructure.UnitTests.DomainServices.PasswordHasherServiceSpec 7✅ 3s

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_18.trx

94 tests were completed in 15s with 94 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IdentityDomain.UnitTests.APIKeyKeepSpec 11✅ 27ms
IdentityDomain.UnitTests.APIKeyRootSpec 9✅ 22ms
IdentityDomain.UnitTests.AuthTokensRootSpec 9✅ 161ms
IdentityDomain.UnitTests.LoginMonitorSpec 14✅ 14s
IdentityDomain.UnitTests.PasswordCredentialRootSpec 25✅ 354ms
IdentityDomain.UnitTests.PasswordKeepSpec 23✅ 297ms
IdentityDomain.UnitTests.VerificationSpec 3✅ 64ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_19.trx

25 tests were completed in 2s with 25 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IdentityApplication.UnitTests.APIKeysApplicationSpec 6✅ 342ms
IdentityApplication.UnitTests.AuthTokensApplicationSpec 6✅ 279ms
IdentityApplication.UnitTests.MachineCredentialsApplicationSpec 1✅ 246ms
IdentityApplication.UnitTests.PasswordCredentialsApplicationSpec 12✅ 345ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_20.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_21.trx

6 tests were completed in 1s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Shared.UnitTests.DomainServices.TokensServiceSpec 6✅ 36ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_21[1].trx

38 tests were completed in 1s with 38 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
EndUsersDomain.UnitTests.EndUserRootSpec 22✅ 189ms
EndUsersDomain.UnitTests.MembershipSpec 5✅ 137ms
EndUsersDomain.UnitTests.MembershipsSpec 11✅ 138ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_23.trx

7 tests were completed in 2s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
EndUsersApplication.UnitTests.EndUsersApplicationSpec 7✅ 448ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_23[1].trx

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
EndUsersInfrastructure.UnitTests.Api.EndUsers.AssignPlatformRolesRequestValidatorSpec 4✅ 105ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_23[2].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_25.trx

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tools.Generators.Web.Api.Authorization.UnitTests.AuthorizationAttributeGeneratorSpec+GivenAuthorizationClasses 1✅ 442ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_37.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_37[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_38.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_40.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_42.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_43.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_44.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_44[1].trx

52 tests were completed in 24s with 52 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Api.IntegrationTests.AuthNApiSpec 8✅ 14s
Infrastructure.Web.Api.IntegrationTests.AuthZApiSpec 12✅ 3s
Infrastructure.Web.Api.IntegrationTests.ContentNegotiationApiSpec 8✅ 829ms
Infrastructure.Web.Api.IntegrationTests.DataFormatsApiSpec 5✅ 521ms
Infrastructure.Web.Api.IntegrationTests.DefaultStatusCodeApiSpec 7✅ 443ms
Infrastructure.Web.Api.IntegrationTests.ErrorApiSpec 2✅ 576ms
Infrastructure.Web.Api.IntegrationTests.HealthCheckApiSpec 1✅ 297ms
Infrastructure.Web.Api.IntegrationTests.RequestCorrelationApiSpec+GivenAJsonClient 1✅ 486ms
Infrastructure.Web.Api.IntegrationTests.RequestCorrelationApiSpec+GivenAnHttpClient 4✅ 539ms
Infrastructure.Web.Api.IntegrationTests.ValidationApiSpec 4✅ 427ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_45.trx

7 tests were completed in 14s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CarsInfrastructure.IntegrationTests.CarsApiSpec 7✅ 12s

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_46.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_46[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_49.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_49[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_51.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_51[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_53.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_53[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_54.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_55.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_56.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_57.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_59.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_59[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_05_59[2].trx

3 tests were completed in 8s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BookingsInfrastructure.IntegrationTests.BookingsApiSpec 3✅ 6s

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_01.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_02.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_03.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_04.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_05.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_06.trx

14 tests were completed in 11s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AncillaryInfrastructure.IntegrationTests.AuditsApiSpec 3✅ 2s
AncillaryInfrastructure.IntegrationTests.EmailsApiSpec 5✅ 7s
AncillaryInfrastructure.IntegrationTests.RecordingApiSpec 3✅ 681ms
AncillaryInfrastructure.IntegrationTests.UsagesApiSpec 3✅ 288ms

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_07.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_07[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_09.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_09[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_11.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_11[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_14.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_14[1].trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16.trx

No tests found

✅ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[1].trx

No tests found

❌ src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx

34 tests were completed in 140s with 1 passed, 33 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec 7❌ 7ms
Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecureGetRequest 3❌ 3ms
Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecurePostRequestByAnonymousUser 6❌ 6ms
Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecurePostRequestByAuthenticatedUser 4❌ 4ms
Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenNoContext 1❌ 1ms
Infrastructure.Web.Website.IntegrationTests.HealthCheckApiSpec 1✅ 96ms
Infrastructure.Web.Website.IntegrationTests.RecordingApiSpec 5❌ 5ms
Infrastructure.Web.Website.IntegrationTests.ReverseProxyApiSpec 7❌ 7ms

❌ Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec

❌ WhenAccessSecureApiAndAuthenticated_ThenReturnsResponse
	System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
	 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
	   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
	   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
	   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
	   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
	   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
	   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
	   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
	   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
	   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
	   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
	   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
	   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
❌ WhenAccessSecureApiAndNotAuthenticated_ThenReturnsError
	System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
	 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
	   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
	   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
	   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
	   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
	   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)

Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec ► WhenAccessSecureApiAndAuthenticated_ThenReturnsResponse

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\AuthNApiSpec.cs:line 28
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec ► WhenAccessSecureApiAndNotAuthenticated_ThenReturnsError

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.AuthNApiSpec..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\AuthNApiSpec.cs:line 28
   at InvokeStub_AuthNApiSpec..ctor(Object, Object, IntPtr*)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecureGetRequest ► WhenRequestedForAnonymousWithCSRFToken_ThenSucceeds

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
   at Infrastructure.Web.Website.IntegrationTests.CSRFSpec.GivenAnInsecureGetRequest..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFSpec.cs:line 76
   at InvokeStub_GivenAnInsecureGetRequest..ctor(Object, Object, IntPtr*)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecureGetRequest ► WhenRequestedWithNoCSRFToken_ThenSucceeds

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
   at Infrastructure.Web.Website.IntegrationTests.CSRFSpec.GivenAnInsecureGetRequest..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFSpec.cs:line 76
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecurePostRequestByAnonymousUser ► WhenRequestedCSRFToken_ThenSucceeds

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
   at Infrastructure.Web.Website.IntegrationTests.CSRFSpec.GivenAnInsecurePostRequestByAnonymousUser..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFSpec.cs:line 130
   at InvokeStub_GivenAnInsecurePostRequestByAnonymousUser..ctor(Object, Object, IntPtr*)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecurePostRequestByAnonymousUser ► WhenRequestedWithUserHeaderAndAnonymousCookie_ThenForbidden

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
   at Infrastructure.Web.Website.IntegrationTests.CSRFSpec.GivenAnInsecurePostRequestByAnonymousUser..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFSpec.cs:line 130
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 114 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecurePostRequestByAuthenticatedUser ► WhenRequestedWithAnonymousCSRFToken_ThenForbidden

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 114
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
   at Infrastructure.Web.Website.IntegrationTests.CSRFSpec.GivenAnInsecurePostRequestByAuthenticatedUser..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFSpec.cs:line 242
   at InvokeStub_GivenAnInsecurePostRequestByAuthenticatedUser..ctor(Object, Object, IntPtr*)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecurePostRequestByAuthenticatedUser ► WhenRequestedWithMismatchedCookieAndHeaderForDifferentUsers_ThenForbidden

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
   at Infrastructure.Web.Website.IntegrationTests.CSRFSpec.GivenAnInsecurePostRequestByAuthenticatedUser..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFSpec.cs:line 242
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenAnInsecurePostRequestByAuthenticatedUser ► WhenRequestedWithUsersCSRFToken_ThenSucceeds

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
   at Infrastructure.Web.Website.IntegrationTests.CSRFSpec.GivenAnInsecurePostRequestByAuthenticatedUser..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFSpec.cs:line 242
   at InvokeStub_GivenAnInsecurePostRequestByAuthenticatedUser..ctor(Object, Object, IntPtr*)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.CSRFSpec+GivenNoContext ► WhenRequestWebRoot_ThenReturnsIndexHtml

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 61
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 47
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 60
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 100
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 83
   at Infrastructure.Web.Website.IntegrationTests.CSRFSpec.GivenNoContext..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\CSRFSpec.cs:line 29
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 110 in src/IntegrationTesting.WebApi.Common/TestingClient.cs

See this annotation in the file changed.

@github-actions github-actions / All Tests

Infrastructure.Web.Website.IntegrationTests.RecordingApiSpec ► WhenRecordCrash_ThenRecordsCrash

Failed test found in:
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
  src/TestResults/csharp/runneradmin_fv-az663-583_2024-02-10_04_06_16[2].trx
Error:
  System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
   ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
     at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     --- End of inner exception stack trace ---
     at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
     at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
     at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
     at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
     at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
     at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
     at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
     at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
     at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
     at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Raw output
System.InvalidOperationException : 500: An unexpected error occurred, No connection could be made because the target machine actively refused it. (localhost:5001), System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:5001)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.ForwardMessageToBackendAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 56
   at Infrastructure.Web.Hosting.Common.Pipeline.ReverseProxyMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\ReverseProxyMiddleware.cs:line 46
   at Infrastructure.Web.Hosting.Common.Pipeline.CSRFMiddleware.InvokeAsync(HttpContext context) in D:\a\saastack\saastack\src\Infrastructure.Web.Hosting.Common\Pipeline\CSRFMiddleware.cs:line 59
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
   at IntegrationTesting.WebApi.Common.TestingClient.ToExceptionAsync(HttpResponseMessage response, JsonSerializerOptions jsonOptions) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 110
   at IntegrationTesting.WebApi.Common.TestingClient.SendAsync(HttpRequestMessage message, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 96
   at IntegrationTesting.WebApi.Common.TestingClient.PostEmptyJsonAsync(String route, Action`2 requestFilter) in D:\a\saastack\saastack\src\IntegrationTesting.WebApi.Common\TestingClient.cs:line 82
   at Infrastructure.Web.Website.IntegrationTests.RecordingApiSpec..ctor(WebApiSetup`1 setup) in D:\a\saastack\saastack\src\Infrastructure.Web.Website.IntegrationTests\RecordingApiSpec.cs:line 33
   at InvokeStub_RecordingApiSpec..ctor(Object, Object, IntPtr*)
   at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)