Skip to content

[Host] Batch produce API #1262

[Host] Batch produce API

[Host] Batch produce API #1262

Triggered via push November 9, 2024 12:48
Status Failure
Total duration 10m 23s
Artifacts 1

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
SlimMessageBus.Host.Outbox.Sql.DbContext.Test.OutboxTests ► Given_CommandHandlerInTransaction_When_ExceptionThrownDuringHandlingRaisedAtTheEnd_Then_TransactionIsRolledBack_And_NoDataSaved_And_NoEventRaised(transactionType: SqlTransaction, busType: Azur...: src/Tests/SlimMessageBus.Host.Outbox.Sql.DbContext.Test/OutboxTests.cs#L192
Failed test found in: ./test-results/SlimMessageBus.Host.Outbox.Sql.DbContext.Test_Integration_net8.0_20241109125902.trx Error: Expected customerCountWithValidLastname to be 67, but found 85 (difference of 18).
SlimMessageBus.Host.Outbox.Sql.DbContext.Test.OutboxTests ► Given_CommandHandlerInTransaction_When_ExceptionThrownDuringHandlingRaisedAtTheEnd_Then_TransactionIsRolledBack_And_NoDataSaved_And_NoEventRaised(transactionType: TransactionScope, busType: Az...: src/Tests/SlimMessageBus.Host.Outbox.Sql.DbContext.Test/OutboxTests.cs#L192
Failed test found in: ./test-results/SlimMessageBus.Host.Outbox.Sql.DbContext.Test_Integration_net8.0_20241109125902.trx Error: Expected customerCountWithValidLastname to be 67, but found 114 (difference of 47).
build
Failed test were found and 'fail-on-error' option is set to ***
build
Process completed with exit code 1.
SlimMessageBus.Host.Outbox.Sql.DbContext.Test.OutboxBenchmarkTests ► Given_EventPublisherAndConsumerUsingOutbox_When_BurstOfEventsIsSent_Then_EventsAreConsumedProperly(busType: AzureSB, useOutbox: True, messageCount: 1000): src/Tests/SlimMessageBus.Host.Outbox.Sql.DbContext.Test/OutboxBenchmarkTests.cs#L210
Failed test found in: ./test-results/SlimMessageBus.Host.Outbox.Sql.DbContext.Test_Integration_net8.0_20241109130057.trx Error: Expected publishCount to be 1000, but found 37 (difference of -963).
SlimMessageBus.Host.Outbox.Sql.DbContext.Test.OutboxBenchmarkTests ► Given_EventPublisherAndConsumerUsingOutbox_When_BurstOfEventsIsSent_Then_EventsAreConsumedProperly(busType: RabbitMQ, useOutbox: True, messageCount: 1000): src/Tests/SlimMessageBus.Host.Outbox.Sql.DbContext.Test/OutboxBenchmarkTests.cs#L210
Failed test found in: ./test-results/SlimMessageBus.Host.Outbox.Sql.DbContext.Test_Integration_net8.0_20241109130057.trx Error: Expected publishCount to be 1000, but found 0 (difference of -1000).
SlimMessageBus.Host.Outbox.Sql.DbContext.Test.OutboxTests ► Given_CommandHandlerInTransaction_When_ExceptionThrownDuringHandlingRaisedAtTheEnd_Then_TransactionIsRolledBack_And_NoDataSaved_And_NoEventRaised(transactionType: SqlTransaction, busType: Azur...: src/Tests/SlimMessageBus.Host.Outbox.Sql.DbContext.Test/OutboxTests.cs#L192
Failed test found in: ./test-results/SlimMessageBus.Host.Outbox.Sql.DbContext.Test_Integration_net8.0_20241109130057.trx Error: Expected customerCountWithValidLastname to be 67, but found 112 (difference of 45).
SlimMessageBus.Host.Outbox.Sql.DbContext.Test.OutboxTests ► Given_CommandHandlerInTransaction_When_ExceptionThrownDuringHandlingRaisedAtTheEnd_Then_TransactionIsRolledBack_And_NoDataSaved_And_NoEventRaised(transactionType: SqlTransaction, busType: Kafk...: src/Tests/SlimMessageBus.Host.Outbox.Sql.DbContext.Test/OutboxTests.cs#L202
Failed test found in: ./test-results/SlimMessageBus.Host.Outbox.Sql.DbContext.Test_Integration_net8.0_20241109130057.trx Error: Microsoft.Data.SqlClient.SqlException : Transaction (Process ID 180) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
build: src/SlimMessageBus/RequestResponse/IRequest.cs#L7
'TResponse' is not used in the interface. (https://rules.sonarsource.com/csharp/RSPEC-2326)
build: src/SlimMessageBus/RequestResponse/IRequest.cs#L15
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
build: src/SlimMessageBus/RequestResponse/IRequest.cs#L15
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
build: src/SlimMessageBus/RequestResponse/IRequest.cs#L7
'TResponse' is not used in the interface. (https://rules.sonarsource.com/csharp/RSPEC-2326)
build: src/SlimMessageBus/RequestResponse/IRequest.cs#L15
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
build: src/SlimMessageBus/RequestResponse/IRequest.cs#L7
'TResponse' is not used in the interface. (https://rules.sonarsource.com/csharp/RSPEC-2326)
build: src/Tools/SecretStore/Secrets.cs#L5
Remove the field '_store' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450)
build: src/SlimMessageBus.Host.Serialization.GoogleProtobuf/GoogleProtobufMessageSerializer.cs#L40
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
build: src/SlimMessageBus.Host.Serialization.SystemTextJson/JsonMessageSerializer.cs#L18
Remove this call from a constructor to the overridable 'CreateDefaultOptions' method. (https://rules.sonarsource.com/csharp/RSPEC-1699)
build: src/SlimMessageBus.Host.Serialization.Avro/ReflectionMessageCreationStrategy.cs#L50
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)

Artifacts

Produced during runtime
Name Size
test-results
345 KB