Skip to content

Step 2

Step 2 #218

Triggered via push June 12, 2024 07:58
Status Failure
Total duration 6m 58s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 37 warnings
SubscriptionsApplication.UnitTests.SubscriptionsApplicationDomainEventHandlersSpec ► WhenHandleOrganizationCreatedAsync_ThenReturnsOk: src/Common/Optional.cs#L218
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-111_2024-06-12_08_05_30.trx Error: System.InvalidOperationException : The value of the optional variable is null
SubscriptionsDomain.UnitTests.ProviderStateSpec ► WhenCreateWithNullState_TheReturnsError: src/SubscriptionsDomain/Validations.cs#L14
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-111_2024-06-12_08_05_30[1].trx Error: System.NullReferenceException : Object reference not set to an instance of an object.
SubscriptionsDomain.UnitTests.SubscriptionRootSpec ► WhenChangeBillingProvider_ThenBillingInitialized: src/SubscriptionsDomain.UnitTests/SubscriptionRootSpec.cs#L181
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-111_2024-06-12_08_05_30[1].trx Error: Expected _subscription.Provider.Name to be "aprovidername" with a length of 13, but "" has a length of 0, differs near "" (index 0).
SubscriptionsDomain.UnitTests.SubscriptionRootSpec ► WhenChangeProviderAndAlreadyInitialized_ThenReturnsError: src/UnitTesting.Common/ResultAssertions.cs#L75
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-111_2024-06-12_08_05_30[1].trx Error: Expected result to contain code ErrorCode.RoleViolation {value: 2}, but found ErrorCode.RuleViolation {value: 1}.
SubscriptionsDomain.UnitTests.SubscriptionRootSpec ► WhenChangeProviderAndNotInstalledProvider_ThenReturnsError: src/UnitTesting.Common/ResultAssertions.cs#L75
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-111_2024-06-12_08_05_30[1].trx Error: Expected result to contain code ErrorCode.RoleViolation {value: 2}, but found ErrorCode.RuleViolation {value: 1}.
SubscriptionsDomain.UnitTests.SubscriptionRootSpec ► WhenChangeProviderByAnyUser_ThenReturnsError: src/UnitTesting.Common/ResultAssertions.cs#L35
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-111_2024-06-12_08_05_30[1].trx Error: Expected result to contain message "Only a service account change change the provider", but found "Only the buyer of this subscription can perform this action".
SubscriptionsDomain.UnitTests.SubscriptionRootSpec ► WhenSetProvider_ThenSets: src/SubscriptionsDomain.UnitTests/SubscriptionRootSpec.cs#L119
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-111_2024-06-12_08_05_30[1].trx Error: Expected _subscription.Provider.Name to be "aprovidername" with a length of 13, but "" has a length of 0, differs near "" (index 0).
SubscriptionsDomain.UnitTests.SubscriptionRootSpec ► WhenSetProviderAndAlreadyInitialized_ThenReturnsError: src/UnitTesting.Common/ResultAssertions.cs#L20
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-111_2024-06-12_08_05_30[1].trx Error: Expected result to contain code ErrorCode.RoleViolation {value: 2}, but found ErrorCode.RuleViolation {value: 1}.
SubscriptionsDomain.UnitTests.SubscriptionRootSpec ► WhenSetProviderAndNotInstalledProvider_ThenReturnsError: src/UnitTesting.Common/ResultAssertions.cs#L20
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-111_2024-06-12_08_05_30[1].trx Error: Expected result to contain code ErrorCode.RoleViolation {value: 2}, but found ErrorCode.RuleViolation {value: 1}.
test
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L37
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L52
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L67
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs#L27
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Web.Api.Common.UnitTests/Endpoints/ApiUsageFilterSpec.cs#L74
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Persistence.Shared.IntegrationTests/AnyDataStoreBaseSpec.cs#L114
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Persistence.Shared.IntegrationTests/AnyMessageBusStoreBaseSpec.cs#L30
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Persistence.Shared.IntegrationTests/AnyMessageBusStoreBaseSpec.cs#L41
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Persistence.Shared.IntegrationTests/AnyMessageBusStoreBaseSpec.cs#L52
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Persistence.Shared.IntegrationTests/AnyMessageBusStoreBaseSpec.cs#L63
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Application.Resources.Shared/Ancillary.cs#L30
Property 'Attempts' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L7
Property 'AgainstId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L9
Property 'AuditCode' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Car.cs#L55
Property 'CarId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L32
Property 'Body' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L11
Property 'MessageTemplate' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Car.cs#L57
Property 'CausedByReason' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L34
Property 'IsDelivered' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L13
Property 'OrganizationId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Car.cs#L59
Property 'CausedByReference' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L30
Property 'Attempts' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L7
Property 'AgainstId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L47
Property 'Data' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L32
Property 'Body' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L9
Property 'AuditCode' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L49
Property 'EventType' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Car.cs#L55
Property 'CarId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L11
Property 'MessageTemplate' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L34
Property 'IsDelivered' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L51
Property 'MetadataFullyQualifiedName' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs#L27
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs#L27
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, dorny/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Test report summary exceeded limit of 65535 bytes and will be trimmed
test: src/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs#L27
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: src/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs#L27
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.