Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Akka.TestKit: configurable expect-no-message-default value #6675 #7006

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

* added config expect-no-message-default = 3s

218c582
Select commit
Loading
Failed to load commit list.
Open

Akka.TestKit: configurable expect-no-message-default value #6675 #7006

* added config expect-no-message-default = 3s
218c582
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PR Validation failed Nov 17, 2023 in 1h 3m 57s

Build #2023.11.17.1 had test failures

Details

Tests

  • Failed: 6 (0.15%)
  • Passed: 3,895 (96.65%)
  • Other: 129 (3.20%)
  • Total: 4,030

Annotations

Check failure on line 17655 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Validation

Build log #L17655

Bash exited with code '42'.

Check failure on line 22311 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Validation

Build log #L22311

Process completed with exit code 42.

Check failure on line 14 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Validation

Build log #L14

ECHO is off.

Check failure on line 28062 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Validation

Build log #L28062

Process completed with exit code 42.

Check failure on line 1 in Akka.Cluster.Sharding.Tests.Delivery.ReliableDeliveryShardingSpec.ReliableDelivery_with_Sharding_must_cleanup_ConsumerController_when_ProducerController_is_terminated

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Validation

Akka.Cluster.Sharding.Tests.Delivery.ReliableDeliveryShardingSpec.ReliableDelivery_with_Sharding_must_cleanup_ConsumerController_when_ProducerController_is_terminated

Received 1 message too many. Expected 1 message but received 2 that matched filter [Debug when Message starts with "Starting ConsumerController"]
Raw output
   at Akka.TestKit.Xunit2.XunitAssertions.Fail(String format, Object[] args) in D:\a\1\s\src\contrib\testkits\Akka.TestKit.Xunit2\XunitAssertions.cs:line 27
   at Akka.TestKit.Internal.InternalEventFilterApplier.<InterceptAsync>d__32`1.MoveNext() in D:\a\1\s\src\core\Akka.TestKit\EventFilter\Internal\EventFilterApplier.cs:line 523
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Akka.TestKit.Internal.InternalEventFilterApplier.<InternalExpectAsync>d__36.MoveNext() in D:\a\1\s\src\core\Akka.TestKit\EventFilter\Internal\EventFilterApplier.cs:line 597
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Akka.TestKit.Internal.InternalEventFilterApplier.<ExpectAsync>d__10.MoveNext() in D:\a\1\s\src\core\Akka.TestKit\EventFilter\Internal\EventFilterApplier.cs:line 144
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Akka.Cluster.Sharding.Tests.Delivery.ReliableDeliveryShardingSpec.<ReliableDelivery_with_Sharding_must_cleanup_ConsumerController_when_ProducerController_is_terminated>d__14.MoveNext() in D:\a\1\s\src\contrib\cluster\Akka.Cluster.Sharding.Tests\Delivery\ReliableDeliveryShardingSpec.cs:line 562
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in Akka.Persistence.Sqlite.Tests.Legacy.SqliteLegacyJournalSpec.Legacy v1.3.0 and below data (null serializer_id) should be read correctly

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Validation

Akka.Persistence.Sqlite.Tests.Legacy.SqliteLegacyJournalSpec.Legacy v1.3.0 and below data (null serializer_id) should be read correctly

Failed: Timeout 00:00:03 while waiting for a message of type Akka.Persistence.Sqlite.Tests.Legacy.PersistedLegacyActor+CurrentState 
Raw output
   at Akka.TestKit.Xunit2.XunitAssertions.Fail(String format, Object[] args) in D:\a\1\s\src\contrib\testkits\Akka.TestKit.Xunit2\XunitAssertions.cs:line 26
   at Akka.TestKit.TestKitBase.InternalExpectMsgEnvelopeAsync[T](Nullable`1 timeout, Action`2 assert, String hint, CancellationToken cancellationToken, Boolean shouldLog) in D:\a\1\s\src\core\Akka.TestKit\TestKitBase_Expect.cs:line 438
   at Akka.TestKit.TestKitBase.InternalExpectMsgEnvelopeAsync[T](Nullable`1 timeout, Action`1 msgAssert, Action`1 senderAssert, String hint, CancellationToken cancellationToken) in D:\a\1\s\src\core\Akka.TestKit\TestKitBase_Expect.cs:line 413
   at Akka.TestKit.TestKitBase.InternalExpectMsgAsync[T](Nullable`1 timeout, Action`1 msgAssert, Action`1 senderAssert, String hint, CancellationToken cancellationToken) in D:\a\1\s\src\core\Akka.TestKit\TestKitBase_Expect.cs:line 381
   at Akka.TestKit.TestKitBase.ExpectMsgAsync[T](Nullable`1 duration, String hint, CancellationToken cancellationToken) in D:\a\1\s\src\core\Akka.TestKit\TestKitBase_Expect.cs:line 53
   at Akka.TestKit.TestKitBase.ExpectMsg[T](Nullable`1 duration, String hint, CancellationToken cancellationToken) in D:\a\1\s\src\core\Akka.TestKit\TestKitBase_Expect.cs:line 43
   at Akka.Persistence.Sqlite.Tests.Legacy.SqliteLegacyJournalSpec.ReadLegacyDataTest() in D:\a\1\s\src\contrib\persistence\Akka.Persistence.Sqlite.Tests\Legacy\SqliteLegacyJournalSpec.cs:line 75
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 1 in Akka.Streams.Tests.Dsl.RestartSpec.A_restart_with_backoff_flow_should_not_restart_on_completion_when_maxRestarts_is_reached

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Validation

Akka.Streams.Tests.Dsl.RestartSpec.A_restart_with_backoff_flow_should_not_restart_on_completion_when_maxRestarts_is_reached

System.Exception : [ExpectNextN] expected 2 next elements but received 1 elements before an exception occured. Received: [out complete]
---- Failed: Timeout 00:00:03 while waiting for a message of type Akka.Streams.TestKit.TestSubscriber+OnNext`1[System.String] 
Raw output
   at Akka.Streams.TestKit.TestSubscriber.ManualProbe`1.ExpectNextNTask(TestProbe probe, Int64 n, Nullable`1 timeout, CancellationToken cancellationToken)+MoveNext() in /home/vsts/work/1/s/src/core/Akka.Streams.TestKit/TestSubscriber_Shared.cs:line 221
   at Akka.Streams.TestKit.TestSubscriber.ManualProbe`1.ExpectNextNTask(TestProbe probe, Int64 n, Nullable`1 timeout, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 42
   at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 42
   at Akka.Streams.Tests.Dsl.RestartSpec.<A_restart_with_backoff_flow_should_not_restart_on_completion_when_maxRestarts_is_reached>b__40_0() in /home/vsts/work/1/s/src/core/Akka.Streams.Tests/Dsl/RestartSpec.cs:line 1025
   at Akka.Streams.TestKit.Utils.<>c__DisplayClass5_0.<<AssertAllStagesStoppedAsync>b__0>d.MoveNext() in /home/vsts/work/1/s/src/core/Akka.Streams.TestKit/Utils.cs:line 61
--- End of stack trace from previous location ---
   at Akka.TestKit.Extensions.TaskExtensions.<>c__DisplayClass5_0`1.<<ShouldCompleteWithin>b__0>d.MoveNext() in /home/vsts/work/1/s/src/core/Akka.TestKit/Extensions/TaskExtensions.cs:line 139
--- End of stack trace from previous location ---
   at FluentAssertions.Specialized.GenericAsyncFunctionAssertions`1.CompleteWithinAsync(TimeSpan timeSpan, String because, Object[] becauseArgs)
   at Akka.TestKit.Extensions.TaskExtensions.ShouldCompleteWithin[T](Task`1 task, TimeSpan timeout, String because, Object[] becauseArgs) in /home/vsts/work/1/s/src/core/Akka.TestKit/Extensions/TaskExtensions.cs:line 141
   at Akka.Streams.TestKit.Utils.AssertAllStagesStoppedAsync[T](TestKitBase spec, Func`1 block, IMaterializer materializer, Nullable`1 timeout, CancellationToken cancellationToken) in /home/vsts/work/1/s/src/core/Akka.Streams.TestKit/Utils.cs:line 107
   at Akka.Streams.TestKit.Utils.AssertAllStagesStoppedAsync(TestKitBase spec, Func`1 block, IMaterializer materializer, Nullable`1 timeout, CancellationToken cancellationToken) in /home/vsts/work/1/s/src/core/Akka.Streams.TestKit/Utils.cs:line 57
   at Akka.Streams.Tests.Dsl.RestartSpec.A_restart_with_backoff_flow_should_not_restart_on_completion_when_maxRestarts_is_reached() in /home/vsts/work/1/s/src/core/Akka.Streams.Tests/Dsl/RestartSpec.cs:line 1016
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at Akka.TestKit.Xunit2.XunitAssertions.Fail(String format, Object[] args) in /home/vsts/work/1/s/src/contrib/testkits/Akka.TestKit.Xunit2/XunitAssertions.cs:line 26
   at Akka.TestKit.TestKitBase.InternalExpectMsgEnvelopeAsync[T](Nullable`1 timeout, Action`2 assert, String hint, CancellationToken cancellationToken, Boolean shouldLog) in /home/vsts/work/1/s/src/core/Akka.TestKit/TestKitBase_Expect.cs:line 454
   at Akka.TestKit.TestKitBase.InternalExpectMsgEnvelopeAsync[T](Nullable`1 timeout, Action`1 msgAssert, Action`1 senderAssert, String hint, CancellationToken cancellationToken) in /home/vsts/work/1/s/src/core/Akka.TestKit/TestKitBase_Expect.cs:line 421
   at Akka.TestKit.TestKitBase.InternalExpectMsgAsync[T](Nullable`1 timeout, Action`1 msgAssert, Action`1 senderAssert, String hint, CancellationToken cancellationToken) in /home/vsts/work/1/s/src/core/Akka.TestKit/TestKitBase_Expect.cs:line 384
   at Akka.TestKit.TestKitBase.ExpectMsgAsync[T](Nullable`1 duration, String hint, CancellationToken cancellationToken) in /home/vsts/work/1/s/src/core/Akka.TestKit/TestKitBase_Expect.cs:line 55
   at Akka.Streams.TestKit.TestSubscriber.ManualProbe`1.ExpectNextNTask(TestProbe probe, Int64 n, Nullable`1 timeout, CancellationToken can

Check failure on line 1 in Akka.Streams.Tests.Dsl.FlowSplitWhenSpec.SplitWhen_must_work_when_first_element_is_split_by

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR Validation

Akka.Streams.Tests.Dsl.FlowSplitWhenSpec.SplitWhen_must_work_when_first_element_is_split_by

Expected task to complete within 3s.
Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Specialized.NonGenericAsyncFunctionAssertions.CompleteWithinAsync(TimeSpan timeSpan, String because, Object[] becauseArgs)
   at Akka.TestKit.Extensions.TaskExtensions.ShouldCompleteWithin(Task task, TimeSpan timeout, String because, Object[] becauseArgs) in /home/vsts/work/1/s/src/core/Akka.TestKit/Extensions/TaskExtensions.cs:line 159
   at Akka.Streams.Tests.Dsl.FlowSplitWhenSpec.SplitWhen_must_work_when_first_element_is_split_by() in /home/vsts/work/1/s/src/core/Akka.Streams.Tests/Dsl/FlowSplitWhenSpec.cs:line 145
--- End of stack trace from previous location ---