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

refactor: add debug logs around message push into the queue storage #791

Merged
merged 1 commit into from
Nov 4, 2024

refactor: add debug logs around message push into the queue storage

ef2b57b
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

refactor: add debug logs around message push into the queue storage #791

refactor: add debug logs around message push into the queue storage
ef2b57b
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test - windows Common/tests failed Nov 4, 2024 in 0s

6781 passed, 1 failed and 1 skipped

Tests failed

❌ Common/tests/TestResults/test-results.trx

6783 tests were completed in 221s with 6781 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
ArmoniK.Core.Common.Tests.AdapterLoading.AdapterLoadingTest 8✅ 651ms
ArmoniK.Core.Common.Tests.ApplicationRawTests 2✅ 8ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationCacheTest 10✅ 9ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(DefaultAuth) 1144✅ 3s
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoAuthentication) 1144✅ 1s
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoAuthorization) 1144✅ 894ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoImpersonation) 1144✅ 771ms
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoImpersonationNoAuthorization) 1144✅ 848ms
ArmoniK.Core.Common.Tests.Auth.CheckAuthenticationAttributes 59✅ 2ms
ArmoniK.Core.Common.Tests.Auth.PermissionTest 10✅ 1⚪ 75ms
ArmoniK.Core.Common.Tests.ExceptionManagerTests 16✅ 4s
ArmoniK.Core.Common.Tests.Grpc.TaskStatusConversionTests 2✅ 2ms
ArmoniK.Core.Common.Tests.GrpcHealthChecksServiceTest 1✅ 17ms
ArmoniK.Core.Common.Tests.GrpcTasksServiceTests 4✅ 10s
ArmoniK.Core.Common.Tests.HealthChecks.HealthCheckTest 9✅ 32ms
ArmoniK.Core.Common.Tests.HealthChecks.HowHealthCheckWorkTest 2✅ 541ms
ArmoniK.Core.Common.Tests.ListApplicationsRequestExt.ToApplicationFieldTest 5✅ 8ms
ArmoniK.Core.Common.Tests.ListApplicationsRequestExt.ToApplicationFilterTest 12✅ 6ms
ArmoniK.Core.Common.Tests.ListPartitionsRequestExt.ToPartitionDataFieldTest 6✅ 1ms
ArmoniK.Core.Common.Tests.ListPartitionsRequestExt.ToPartitionDataFilterTest 13✅ 5ms
ArmoniK.Core.Common.Tests.ListResultsRequestExt.ToResultFieldTest 8✅ 2ms
ArmoniK.Core.Common.Tests.ListResultsRequestExt.ToResultFilterTest 15✅ 5ms
ArmoniK.Core.Common.Tests.ListSessionsRequestExt.ToSessionDataFieldTest 12✅ 3ms
ArmoniK.Core.Common.Tests.ListSessionsRequestExt.ToSessionDataFilterTest 16✅ 7ms
ArmoniK.Core.Common.Tests.ListTasksRequestExt.ToTaskDataFieldTest 33✅ 7ms
ArmoniK.Core.Common.Tests.ListTasksRequestExt.ToTaskDataFilterTest 38✅ 20ms
ArmoniK.Core.Common.Tests.LoggerExtTest 2✅ 52ms
ArmoniK.Core.Common.Tests.Pollster.AgentTest 15✅ 21s
ArmoniK.Core.Common.Tests.Pollster.DataPrefetcherTest 3✅ 18ms
ArmoniK.Core.Common.Tests.Pollster.PollsterTest 11✅ 1❌ 19s
ArmoniK.Core.Common.Tests.Pollster.TaskHandlerTest 55✅ 77s
ArmoniK.Core.Common.Tests.RendezvousChannelTest 40✅ 34s
ArmoniK.Core.Common.Tests.RpcExtTests 36✅ 3ms
ArmoniK.Core.Common.Tests.StateMachines.ProcessReplyCreateLargeTaskStateMachineTest 12✅ 39ms
ArmoniK.Core.Common.Tests.Submitter.ExceptionInterceptorTests 3✅ 176ms
ArmoniK.Core.Common.Tests.Submitter.GrpcSubmitterServiceTests 47✅ 95ms
ArmoniK.Core.Common.Tests.Submitter.IntegrationGrpcSubmitterServiceTest 94✅ 892ms
ArmoniK.Core.Common.Tests.Submitter.SubmitterTests 21✅ 21s
ArmoniK.Core.Common.Tests.TaskFilterExtTests 14✅ 92ms
ArmoniK.Core.Common.Tests.TaskLifeCycleHelperTest 3✅ 3s
ArmoniK.Core.Common.Tests.TaskOptionsTests 2✅ 2ms
ArmoniK.Core.Common.Tests.TestBase.AuthenticationTableTestBase 32✅ 5ms
ArmoniK.Core.Common.Tests.TestBase.ObjectStorageTestBase 16✅ 14ms
ArmoniK.Core.Common.Tests.TestBase.PartitionTableTestBase 22✅ 5ms
ArmoniK.Core.Common.Tests.TestBase.QueueStorageTestsBase 5✅ 5ms
ArmoniK.Core.Common.Tests.TestBase.ResultTableTestBase 27✅ 13ms
ArmoniK.Core.Common.Tests.TestBase.ResultWatcherTestBase 4✅ 4ms
ArmoniK.Core.Common.Tests.TestBase.SessionTableTestBase 24✅ 13ms
ArmoniK.Core.Common.Tests.TestBase.TaskTableTestBase 135✅ 36ms
ArmoniK.Core.Common.Tests.TestBase.TaskWatcherTestBase 4✅ 4ms
ArmoniK.Core.Common.Tests.Validators.CancelTasksRequestValidatorTest 3✅ 1ms
ArmoniK.Core.Common.Tests.Validators.CreateLargeTaskRequestValidatorTest 9✅ 4ms
ArmoniK.Core.Common.Tests.Validators.CreateSessionRequestValidatorTest 4✅ 1ms
ArmoniK.Core.Common.Tests.Validators.CreateSmallTaskRequestValidatorTest 16✅ 4ms
ArmoniK.Core.Common.Tests.Validators.EventSubscriptionRequestValidatorTest 44✅ 10ms
ArmoniK.Core.Common.Tests.Validators.ListApplicationsRequestValidatorTest 8✅ 7ms
ArmoniK.Core.Common.Tests.Validators.ListPartitionsRequestValidatorTest 8✅ 3ms
ArmoniK.Core.Common.Tests.Validators.ListResultsRequestValidatorTest 8✅ 3ms
ArmoniK.Core.Common.Tests.Validators.ListSessionsRequestValidatorTest 8✅ 3ms
ArmoniK.Core.Common.Tests.Validators.ListTasksRequestValidatorTest 8✅ 3ms
ArmoniK.Core.Common.Tests.Validators.SessionFilterValidatorTest 2✅ 2ms
ArmoniK.Core.Common.Tests.Validators.SessionServiceCreateSessionRequestValidatorTest 4✅ 1ms
ArmoniK.Core.Common.Tests.Validators.SubmitTasksRequestValidatorTest 2✅ 0ms
ArmoniK.Core.Common.Tests.Validators.TaskFilterValidatorTest 13✅ 4ms
ArmoniK.Core.Common.Tests.Validators.TaskOptionsValidatorTest 11✅ 1ms
ArmoniK.Core.Common.Tests.WatchToGrpcTests 5✅ 15s

❌ ArmoniK.Core.Common.Tests.Pollster.PollsterTest

✅ CancelLongTaskShouldSucceed
✅ ExecuteTaskShouldSucceed
✅ ExecuteTaskThatExceedsGraceDelayShouldResubmit
❌ ExecuteTaskTimeoutAcquire
	  Expected: No Exception to be thrown
	  But was:  <System.Threading.Tasks.TaskCanceledException: A task was canceled.
	   at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider.<>c__DisplayClass17_0.<<StopApplicationAfter>b__0>d.MoveNext() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 238
	--- End of stack trace from previous location ---
	   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
	   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
	   at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
	
✅ ExecuteTooManyErrorShouldFail(AgentHandler)
✅ ExecuteTooManyErrorShouldFail(PullQueueStorage)
✅ ExecuteTooManyErrorShouldFail(WorkerStreamHandler)
✅ InitializePollster
✅ InitShouldFail
✅ InitShouldSucceed
✅ RunThenCancelPollster
✅ UnavailableWorkerShouldFail

Annotations

Check failure on line 591 in Common/tests/Pollster/PollsterTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test - windows Common/tests

ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► ExecuteTaskTimeoutAcquire

Failed test found in:
  Common/tests/TestResults/test-results.trx
Error:
    Expected: No Exception to be thrown
    But was:  <System.Threading.Tasks.TaskCanceledException: A task was canceled.
     at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider.<>c__DisplayClass17_0.<<StopApplicationAfter>b__0>d.MoveNext() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 238
  --- End of stack trace from previous location ---
     at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
     at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
     at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
  
Raw output
  Expected: No Exception to be thrown
  But was:  <System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider.<>c__DisplayClass17_0.<<StopApplicationAfter>b__0>d.MoveNext() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 238
--- End of stack trace from previous location ---
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>

   at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.ExecuteTaskTimeoutAcquire() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 591
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

1)    at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.ExecuteTaskTimeoutAcquire() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 591