Skip to content

enable credential based authentication #1399

enable credential based authentication

enable credential based authentication #1399

Triggered via pull request May 22, 2024 13:00
Status Failure
Total duration 5m 6s
Artifacts 1

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Should_invoke_the_handler_to_process_it: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_message_is_received.cs#L14
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_process_the_message: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_function_receives_a_message_with_a_null_header_value.cs#L17
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_throw_exception: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_message_fails_with_disabled_error_queue.cs#L22
Expected: String containing "Failed to process message" But was: "Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport"
Should_be_moved_to_the_error_queue: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_message_is_failing_all_processing_attempts.cs#L16
Expected: <NServiceBus.AcceptanceTesting.Support.MessageFailedException> But was: <System.Exception: Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport at NServiceBus.ServiceBusTriggeredEndpointConfiguration..ctor(String endpointName, IConfiguration configuration, String connectionString, AzureComponentFactory azureComponentFactory) in /_/src/NServiceBus.AzureFunctions.Worker.ServiceBus/ServiceBusTriggeredEndpointConfiguration.cs:line 65 at ServiceBus.Tests.FunctionEndpointComponent.FunctionRunner.Start(CancellationToken cancellationToken) in /_/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/FunctionEndpointComponent.cs:line 59 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoint(ComponentRunner component, CancellationTokenSource cts) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 143 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoint(ComponentRunner component, CancellationTokenSource cts) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 150 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoints(IEnumerable`1 endpoints) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 133 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformScenarios(ComponentRunner[] runners) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 80 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformScenarios(ComponentRunner[] runners) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 113 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformTestRun() in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 60 at NServiceBus.AcceptanceTesting.ScenarioWithContext`1.Run(RunSettings settings) in /_/src/NServiceBus.AcceptanceTesting/ScenarioWithContext.cs:line 52 at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult() at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke) at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
Should_guide_user_towards_success: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_no_connection_string_is_provided.cs#L25
Should mention the code-first approach Expected: String containing "UseNServiceBus" But was: "Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport"
Should_work: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_outbox_is_enabled.cs#L13
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_publish_to_subscribers: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_publishing_event_from_function.cs#L13
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_invoke_the_handler_to_process_it: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_receiving_with_sendonly.cs#L14
Expected: <System.InvalidOperationException> But was: <System.Exception: Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport at NServiceBus.ServiceBusTriggeredEndpointConfiguration..ctor(String endpointName, IConfiguration configuration, String connectionString, AzureComponentFactory azureComponentFactory) in /_/src/NServiceBus.AzureFunctions.Worker.ServiceBus/ServiceBusTriggeredEndpointConfiguration.cs:line 65 at ServiceBus.Tests.FunctionEndpointComponent.FunctionRunner.Start(CancellationToken cancellationToken) in /_/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/FunctionEndpointComponent.cs:line 59 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoint(ComponentRunner component, CancellationTokenSource cts) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 143 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoint(ComponentRunner component, CancellationTokenSource cts) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 150 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoints(IEnumerable`1 endpoints) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 133 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformScenarios(ComponentRunner[] runners) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 80 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformScenarios(ComponentRunner[] runners) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 113 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformTestRun() in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 60 at NServiceBus.AcceptanceTesting.ScenarioWithContext`1.Run(RunSettings settings) in /_/src/NServiceBus.AcceptanceTesting/ScenarioWithContext.cs:line 52 at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult() at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke) at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
Should_send_message_to_target_queue: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_sending_message.cs#L14
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_create_queues: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_starting_the_function_with_installers.cs#L20
System.Exception : Azure Service Bus connection string/section has not been configured. Specify a connection string through IConfiguration, an environment variable named AzureWebJobsServiceBus or passing it to `UseNServiceBus(ENDPOINTNAME,CONNECTIONSTRING)`
Should_invoke_the_handler_to_process_it: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_message_is_received.cs#L14
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_process_the_message: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_function_receives_a_message_with_a_null_header_value.cs#L17
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_throw_exception: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_message_fails_with_disabled_error_queue.cs#L22
Expected: String containing "Failed to process message" But was: "Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport"
Should_be_moved_to_the_error_queue: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_message_is_failing_all_processing_attempts.cs#L16
Expected: <NServiceBus.AcceptanceTesting.Support.MessageFailedException> But was: <System.Exception: Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport at NServiceBus.ServiceBusTriggeredEndpointConfiguration..ctor(String endpointName, IConfiguration configuration, String connectionString, AzureComponentFactory azureComponentFactory) in /_/src/NServiceBus.AzureFunctions.Worker.ServiceBus/ServiceBusTriggeredEndpointConfiguration.cs:line 65 at ServiceBus.Tests.FunctionEndpointComponent.FunctionRunner.Start(CancellationToken cancellationToken) in /_/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/FunctionEndpointComponent.cs:line 59 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoint(ComponentRunner component, CancellationTokenSource cts) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 143 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoint(ComponentRunner component, CancellationTokenSource cts) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 150 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoints(IEnumerable`1 endpoints) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 133 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformScenarios(ComponentRunner[] runners) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 80 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformScenarios(ComponentRunner[] runners) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 113 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformTestRun() in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 60 at NServiceBus.AcceptanceTesting.ScenarioWithContext`1.Run(RunSettings settings) in /_/src/NServiceBus.AcceptanceTesting/ScenarioWithContext.cs:line 52 at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult() at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke) at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
Should_guide_user_towards_success: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_no_connection_string_is_provided.cs#L25
Should mention the code-first approach Expected: String containing "UseNServiceBus" But was: "Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport"
Should_work: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_outbox_is_enabled.cs#L13
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_publish_to_subscribers: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_publishing_event_from_function.cs#L13
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_invoke_the_handler_to_process_it: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_receiving_with_sendonly.cs#L14
Expected: <System.InvalidOperationException> But was: <System.Exception: Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport at NServiceBus.ServiceBusTriggeredEndpointConfiguration..ctor(String endpointName, IConfiguration configuration, String connectionString, AzureComponentFactory azureComponentFactory) in /_/src/NServiceBus.AzureFunctions.Worker.ServiceBus/ServiceBusTriggeredEndpointConfiguration.cs:line 65 at ServiceBus.Tests.FunctionEndpointComponent.FunctionRunner.Start(CancellationToken cancellationToken) in /_/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/FunctionEndpointComponent.cs:line 59 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoint(ComponentRunner component, CancellationTokenSource cts) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 143 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoint(ComponentRunner component, CancellationTokenSource cts) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 150 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.StartEndpoints(IEnumerable`1 endpoints) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 133 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformScenarios(ComponentRunner[] runners) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 80 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformScenarios(ComponentRunner[] runners) in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 113 at NServiceBus.AcceptanceTesting.Support.ScenarioRunner.PerformTestRun() in /_/src/NServiceBus.AcceptanceTesting/Support/ScenarioRunner.cs:line 60 at NServiceBus.AcceptanceTesting.ScenarioWithContext`1.Run(RunSettings settings) in /_/src/NServiceBus.AcceptanceTesting/ScenarioWithContext.cs:line 52 at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult() at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke) at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
Should_send_message_to_target_queue: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_sending_message.cs#L14
System.Exception : Either a connectionString or an Azure Component Factory must be supplied to generate the Azure Service Bus transport
Should_create_queues: _/src/NServiceBus.AzureFunctions.Worker.ServiceBus.Tests/When_starting_the_function_with_installers.cs#L20
System.Exception : Azure Service Bus connection string/section has not been configured. Specify a connection string through IConfiguration, an environment variable named AzureWebJobsServiceBus or passing it to `UseNServiceBus(ENDPOINTNAME,CONNECTIONSTRING)`

Artifacts

Produced during runtime
Name Size
NuGet packages Expired
54.2 KB