Fix: Allow other network than Ethernet.Fix #457 #804
Test - windows Common/tests ❌
❌ Common/tests/TestResults/test-results.trx
5643 tests were completed in 235s with 5627 passed, 12 failed and 4 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ArmoniK.Core.Common.Tests.AdapterLoading.AdapterLoadingTest | 8✅ | 643ms | ||
ArmoniK.Core.Common.Tests.ApplicationRawTests | 2✅ | 12ms | ||
ArmoniK.Core.Common.Tests.Auth.AuthenticationCacheTest | 10✅ | 11ms | ||
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(DefaultAuth) | 962✅ | 5s | ||
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoAuthentication) | 962✅ | 638ms | ||
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoAuthorization) | 962✅ | 661ms | ||
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoImpersonation) | 962✅ | 620ms | ||
ArmoniK.Core.Common.Tests.Auth.AuthenticationIntegrationTest(NoImpersonationNoAuthorization) | 962✅ | 571ms | ||
ArmoniK.Core.Common.Tests.Auth.CheckAuthenticationAttributes | 50✅ | 3ms | ||
ArmoniK.Core.Common.Tests.Auth.PermissionTest | 10✅ | 1⚪ | 398ms | |
ArmoniK.Core.Common.Tests.FullIntegration.FullyIntegratedTest | 3⚪ | 0ms | ||
ArmoniK.Core.Common.Tests.GrpcTasksServiceTests | 1✅ | 2s | ||
ArmoniK.Core.Common.Tests.HealthChecks.HealthCheckTest | 9✅ | 52ms | ||
ArmoniK.Core.Common.Tests.HealthChecks.HowHealthCheckWorkTest | 2✅ | 295ms | ||
ArmoniK.Core.Common.Tests.ListApplicationsRequestExt.ToApplicationFieldTest | 5✅ | 3ms | ||
ArmoniK.Core.Common.Tests.ListApplicationsRequestExt.ToApplicationFilterTest | 12✅ | 13ms | ||
ArmoniK.Core.Common.Tests.ListPartitionsRequestExt.ToPartitionDataFieldTest | 6✅ | 2ms | ||
ArmoniK.Core.Common.Tests.ListPartitionsRequestExt.ToPartitionDataFilterTest | 13✅ | 8ms | ||
ArmoniK.Core.Common.Tests.ListResultsRequestExt.ToResultFieldTest | 6✅ | 2ms | ||
ArmoniK.Core.Common.Tests.ListResultsRequestExt.ToResultFilterTest | 11✅ | 7ms | ||
ArmoniK.Core.Common.Tests.ListSessionsRequestExt.ToSessionDataFieldTest | 6✅ | 2ms | ||
ArmoniK.Core.Common.Tests.ListSessionsRequestExt.ToSessionDataFilterTest | 12✅ | 8ms | ||
ArmoniK.Core.Common.Tests.ListTasksRequestExt.ToTaskDataFieldTest | 28✅ | 12ms | ||
ArmoniK.Core.Common.Tests.ListTasksRequestExt.ToTaskDataFilterTest | 22✅ | 12ms | ||
ArmoniK.Core.Common.Tests.LoggerExtTest | 2✅ | 130ms | ||
ArmoniK.Core.Common.Tests.Pollster.AgentTest | 14✅ | 23s | ||
ArmoniK.Core.Common.Tests.Pollster.DataPrefetcherTest | 7✅ | 82ms | ||
ArmoniK.Core.Common.Tests.Pollster.PollsterTest | 11❌ | 15s | ||
ArmoniK.Core.Common.Tests.Pollster.TaskHandlerTest | 29✅ | 62s | ||
ArmoniK.Core.Common.Tests.RpcExtTests | 36✅ | 4ms | ||
ArmoniK.Core.Common.Tests.StateMachines.ComputeRequestStateMachineTest | 14✅ | 57ms | ||
ArmoniK.Core.Common.Tests.StateMachines.ProcessReplyCreateLargeTaskStateMachineTest | 13✅ | 33ms | ||
ArmoniK.Core.Common.Tests.StateMachines.ProcessReplyResultStateMachineTest | 10✅ | 32ms | ||
ArmoniK.Core.Common.Tests.Submitter.ExceptionInterceptorTests | 3✅ | 308ms | ||
ArmoniK.Core.Common.Tests.Submitter.GrpcSubmitterServiceTests | 48✅ | 154ms | ||
ArmoniK.Core.Common.Tests.Submitter.IntegrationGrpcSubmitterServiceTest | 97✅ | 1s | ||
ArmoniK.Core.Common.Tests.Submitter.SubmitterTests | 15✅ | 20s | ||
ArmoniK.Core.Common.Tests.TaskFilterExtTests | 14✅ | 61ms | ||
ArmoniK.Core.Common.Tests.TaskOptionsTests | 2✅ | 2ms | ||
ArmoniK.Core.Common.Tests.TestBase.AuthenticationTableTestBase | 32✅ | 15ms | ||
ArmoniK.Core.Common.Tests.TestBase.ObjectStorageTestBase | 7✅ | 10ms | ||
ArmoniK.Core.Common.Tests.TestBase.PartitionTableTestBase | 22✅ | 9ms | ||
ArmoniK.Core.Common.Tests.TestBase.QueueStorageTestsBase | 5✅ | 10ms | ||
ArmoniK.Core.Common.Tests.TestBase.ResultTableTestBase | 30✅ | 26ms | ||
ArmoniK.Core.Common.Tests.TestBase.ResultWatcherTestBase | 4✅ | 6ms | ||
ArmoniK.Core.Common.Tests.TestBase.SessionTableTestBase | 18✅ | 14ms | ||
ArmoniK.Core.Common.Tests.TestBase.TaskTableTestBase | 79✅ | 54ms | ||
ArmoniK.Core.Common.Tests.TestBase.TaskWatcherTestBase | 3✅ | 4ms | ||
ArmoniK.Core.Common.Tests.Validators.CancelTasksRequestValidatorTest | 3✅ | 1ms | ||
ArmoniK.Core.Common.Tests.Validators.CreateLargeTaskRequestValidatorTest | 9✅ | 38ms | ||
ArmoniK.Core.Common.Tests.Validators.CreateSessionRequestValidatorTest | 4✅ | 1ms | ||
ArmoniK.Core.Common.Tests.Validators.CreateSmallTaskRequestValidatorTest | 16✅ | 6ms | ||
ArmoniK.Core.Common.Tests.Validators.ListApplicationsRequestValidatorTest | 8✅ | 15ms | ||
ArmoniK.Core.Common.Tests.Validators.ListPartitionsRequestValidatorTest | 8✅ | 4ms | ||
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.TaskFilterValidatorTest | 13✅ | 5ms | ||
ArmoniK.Core.Common.Tests.Validators.TaskOptionsValidatorTest | 11✅ | 10ms | ||
ArmoniK.Core.Common.Tests.WatchToGrpcTests | 2✅ | 1❌ | 5s |
❌ ArmoniK.Core.Common.Tests.Pollster.PollsterTest
❌ CancelLongTaskShouldSucceed
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ ExecuteTaskShouldSucceed(100)
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ ExecuteTaskShouldSucceed(5000)
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ ExecuteTooManyErrorShouldFail(AgentHandler)
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ ExecuteTooManyErrorShouldFail(PullQueueStorage)
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ ExecuteTooManyErrorShouldFail(WorkerStreamHandler)
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ InitializePollster
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ InitShouldFail
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ InitShouldSucceed
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ RunThenCancelPollster
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ UnavailableWorkerShouldFail
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
❌ ArmoniK.Core.Common.Tests.WatchToGrpcTests
✅ MultipleWatchShouldSucceed(3)
❌ MultipleWatchShouldSucceed(6)
Expected: 54
But was: 0
✅ WatchShouldSucceed
Annotations
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► CancelLongTaskShouldSucceed
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.CancelLongTaskShouldSucceed() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 529
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► ExecuteTaskShouldSucceed(100)
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.ExecuteTaskShouldSucceed(Double delay) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 475
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► ExecuteTaskShouldSucceed(5000)
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.ExecuteTaskShouldSucceed(Double delay) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 475
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► ExecuteTooManyErrorShouldFail(AgentHandler)
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.ExecuteTooManyErrorShouldFail(Mock`1 mockStreamHandler, Mock`1 mockPullQueueStorage, Mock`1 mockAgentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 650
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► ExecuteTooManyErrorShouldFail(PullQueueStorage)
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.ExecuteTooManyErrorShouldFail(Mock`1 mockStreamHandler, Mock`1 mockPullQueueStorage, Mock`1 mockAgentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 650
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► ExecuteTooManyErrorShouldFail(WorkerStreamHandler)
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.ExecuteTooManyErrorShouldFail(Mock`1 mockStreamHandler, Mock`1 mockPullQueueStorage, Mock`1 mockAgentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 650
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► InitializePollster
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.InitializePollster() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 191
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► InitShouldFail
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.InitShouldFail() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 325
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► InitShouldSucceed
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.InitShouldSucceed() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 281
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► RunThenCancelPollster
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.RunThenCancelPollster() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 394
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)
Check failure on line 47 in Common/src/Utils/LocalIpFinder.cs
github-actions / Test - windows Common/tests
ArmoniK.Core.Common.Tests.Pollster.PollsterTest ► UnavailableWorkerShouldFail
Failed test found in:
Common/tests/TestResults/test-results.trx
Error:
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
Raw output
System.ArgumentException : An element with the same key but a different value already exists. Key: 'Ethernet'
at System.Collections.Immutable.ImmutableDictionary`2.HashBucket.Add(TKey key, TValue value, IEqualityComparer`1 keyOnlyComparer, IEqualityComparer`1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 keyComparer, IEqualityComparer`1 valueComparer)
at System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey,TValue](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at ArmoniK.Core.Common.Utils.LocalIpFinder.LocalIpv4Address(NetworkInterfaceType type) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Utils\LocalIpFinder.cs:line 47
at ArmoniK.Core.Common.Pollster.Pollster..ctor(IPullQueueStorage pullQueueStorage, DataPrefetcher dataPrefetcher, ComputePlane options, Pollster pollsterOptions, IHostApplicationLifetime lifeTime, ActivitySource activitySource, ILogger`1 logger, IObjectStorage objectStorage, IResultTable resultTable, ISubmitter submitter, ISessionTable sessionTable, ITaskTable taskTable, ITaskProcessingChecker taskProcessingChecker, IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\src\Pollster\Pollster.cs:line 107
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at ArmoniK.Core.Common.Tests.Helpers.TestPollsterProvider..ctor(IWorkerStreamHandler workerStreamHandler, IAgentHandler agentHandler, IPullQueueStorage pullQueueStorage) in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Helpers\TestPollsterProvider.cs:line 150
at ArmoniK.Core.Common.Tests.Pollster.PollsterTest.UnavailableWorkerShouldFail() in D:\a\ArmoniK.Core\ArmoniK.Core\Common\tests\Pollster\PollsterTest.cs:line 684
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
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)