Skip to content

Performance-CI CentOS runs failing with NotSupportedException #2646

@LoopedBard3

Description

@LoopedBard3

Performance-ci CentOs runs are failing with the following error:

[2022/10/11 21:01:56][INFO] // Found 2 benchmarks:
[2022/10/11 21:01:56][INFO] //   ConfigurationBinderBenchmarks.Get: Job-RWGRKX(PowerPlanMode=00000000-0000-0000-0000-000000000000, Runtime=NativeAOT 7.0, Toolchain=Latest ILCompiler, InvocationCount=1, IterationCount=1, IterationTime=250.0000 ms, MaxIterationCount=20, MinIterationCount=15, RunStrategy=ColdStart, UnrollFactor=1, WarmupCount=0) [ConfigurationProvidersCount=16, KeysCountPerProvider=10]
[2022/10/11 21:01:56][INFO] //   ConfigurationBinderBenchmarks.Get: Job-RWGRKX(PowerPlanMode=00000000-0000-0000-0000-000000000000, Runtime=NativeAOT 7.0, Toolchain=Latest ILCompiler, InvocationCount=1, IterationCount=1, IterationTime=250.0000 ms, MaxIterationCount=20, MinIterationCount=15, RunStrategy=ColdStart, UnrollFactor=1, WarmupCount=0) [ConfigurationProvidersCount=32, KeysCountPerProvider=40]
[2022/10/11 21:01:56][INFO] 
[2022/10/11 21:01:56][INFO] // **************************
[2022/10/11 21:01:56][INFO] // Benchmark: ConfigurationBinderBenchmarks.Get: Job-RWGRKX(PowerPlanMode=00000000-0000-0000-0000-000000000000, Runtime=NativeAOT 7.0, Toolchain=Latest ILCompiler, InvocationCount=1, IterationCount=1, IterationTime=250.0000 ms, MaxIterationCount=20, MinIterationCount=15, RunStrategy=ColdStart, UnrollFactor=1, WarmupCount=0) [ConfigurationProvidersCount=16, KeysCountPerProvider=10]
[2022/10/11 21:01:56][INFO] // *** Execute ***
[2022/10/11 21:01:56][INFO] // Launch: 1 / 1
[2022/10/11 21:01:56][INFO] // Execute: /home/helixbot/work/A840094C/w/CAB60ACE/e/artifacts/bin/MicroBenchmarks/Release/net7.0/d86f9479-2c86-4cd4-8732-179f151f3ac8/bin/Release/net7.0/linux-x64/publish/d86f9479-2c86-4cd4-8732-179f151f3ac8 --anonymousPipes 332 333 --benchmarkName "Microsoft.Extensions.Configuration.ConfigurationBinderBenchmarks.Get(ConfigurationProvidersCount: 16, KeysCountPerProvider: 10)" --job "PowerPlanMode=00000000-0000-0000-0000-000000000000, Runtime=NativeAOT 7.0, Toolchain=Latest ILCompiler, InvocationCount=1, IterationCount=1, IterationTime=250.0000 ms, MaxIterationCount=20, MinIterationCount=15, RunStrategy=ColdStart, UnrollFactor=1, WarmupCount=0" --benchmarkId 49 in
[2022/10/11 21:01:56][INFO] Failed to set up high priority. Make sure you have the right permissions. Message: Permission denied
[2022/10/11 21:01:56][INFO] // BeforeAnythingElse
[2022/10/11 21:01:56][INFO] 
[2022/10/11 21:01:56][INFO] // Benchmark Process Environment Information:
[2022/10/11 21:01:56][INFO] // Runtime=.NET 7.0.0-rtm.22507.1, X64 NativeAOT AVX2
[2022/10/11 21:01:56][INFO] // GC=Concurrent Workstation
[2022/10/11 21:01:56][INFO] // HardwareIntrinsics=AVX2,AES,BMI1,BMI2,FMA,LZCNT,PCLMUL,POPCNT VectorSize=256
[2022/10/11 21:01:56][INFO] // Job: Job-ICWMFO(PowerPlanMode=00000000-0000-0000-0000-000000000000, InvocationCount=1, IterationCount=1, IterationTime=250.0000 ms, MaxIterationCount=20, MinIterationCount=15, RunStrategy=ColdStart, UnrollFactor=1, WarmupCount=0)
[2022/10/11 21:01:56][INFO] 
[2022/10/11 21:01:56][INFO] // BeforeActualRun
[2022/10/11 21:01:56][INFO] 
[2022/10/11 21:01:56][INFO] System.NotSupportedException: This object cannot be invoked because no code was generated for it: 'System.Collections.Generic.IDictionary`2[System.String, System.String].Item'.
[2022/10/11 21:01:56][INFO]    at System.Reflection.Runtime.MethodInfos.RuntimeNamedMethodInfo`1.GetUncachedMethodInvoker(RuntimeTypeInfo[], MemberInfo) + 0x65
[2022/10/11 21:01:56][INFO]    at System.Reflection.Runtime.PropertyInfos.RuntimePropertyInfo.SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo) + 0x62
[2022/10/11 21:01:56][INFO]    at System.Reflection.PropertyInfo.SetValue(Object obj, Object value, Object[] index) + 0x22
[2022/10/11 21:01:56][INFO]    at Microsoft.Extensions.Configuration.ConfigurationBinder.BindDictionary(Object dictionary, Type dictionaryType, IConfiguration config, BinderOptions options) + 0x185
[2022/10/11 21:01:56][INFO]    at Microsoft.Extensions.Configuration.ConfigurationBinder.BindInstance(Type type, Object instance, IConfiguration config, BinderOptions options) + 0x148
[2022/10/11 21:01:56][INFO]    at Microsoft.Extensions.Configuration.ConfigurationBinder.BindProperty(PropertyInfo property, Object instance, IConfiguration config, BinderOptions options) + 0x112
[2022/10/11 21:01:56][INFO]    at Microsoft.Extensions.Configuration.ConfigurationBinder.BindNonScalar(IConfiguration configuration, Object instance, BinderOptions options) + 0x1b0
[2022/10/11 21:01:56][INFO]    at Microsoft.Extensions.Configuration.ConfigurationBinder.BindInstance(Type type, Object instance, IConfiguration config, BinderOptions options) + 0x1cc
[2022/10/11 21:01:56][INFO]    at Microsoft.Extensions.Configuration.ConfigurationBinder.Get[T](IConfiguration configuration, Action`1 configureOptions) + 0x34
[2022/10/11 21:01:56][INFO]    at BenchmarkDotNet.Autogenerated.Runnable_49.WorkloadActionUnroll(Int64 invokeCount) + 0x2a
[2022/10/11 21:01:56][INFO]    at BenchmarkDotNet.Engines.Engine.RunIteration(IterationData data) + 0x1bd
[2022/10/11 21:01:56][INFO]    at BenchmarkDotNet.Engines.EngineStage.RunIteration(IterationMode mode, IterationStage stage, Int32 index, Int64 invokeCount, Int32 unrollFactor) + 0x84
[2022/10/11 21:01:56][INFO]    at BenchmarkDotNet.Engines.EngineActualStage.RunSpecific(Int64 invokeCount, IterationMode iterationMode, Int32 iterationCount, Int32 unrollFactor) + 0x79
[2022/10/11 21:01:56][INFO]    at BenchmarkDotNet.Engines.Engine.Run() + 0x229
[2022/10/11 21:01:56][INFO]    at BenchmarkDotNet.Autogenerated.Runnable_49.Run(IHost host, String benchmarkName) + 0x6bd
[2022/10/11 21:01:56][INFO]    at BenchmarkDotNet.Autogenerated.UniqueProgramName.AfterAssemblyLoadingAttached(String[] args) + 0x668
[2022/10/11 21:01:56][INFO] // AfterAll
[2022/10/11 21:01:56][INFO] No Workload Results were obtained from the run.
[2022/10/11 21:01:56][INFO] // Benchmark Process 10738 has exited with code 255.

Example log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-performance-refs-pull-2639-merge-1780e5fd392a47f1a8/Partition0/1/console.2289d1d3.log?helixlogtype=result

This appears to be happening with tests for ConfigurationBinderBenchmarks.Get.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingimpact test coveragetest maybe disabled due to this issuepipeline blockerissue blocks perf pipeline stays green. This be considered high priority.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions