Skip to content

System.NotSupportedException: Unknown Acknowledgment: Acknowledgment when running in a github action #1713

@Doraku

Description

@Doraku

Hello there, I am trying to make the github action ci automatically generate benchmarks for every commit so I don't have to manually run them and edit the results. The benchmarks run fine on my computer but nothing happen in the github action.
I just switch to the version 0.13.0 and this is what is happening:

// **************************
// Benchmark: CreateEntityWithNoComponent.DefaultEcs: Job-FEFVFA(InvocationCount=1, UnrollFactor=1) [EntityCount=100000]
// *** Execute ***
// Launch: 1 / 1
// Execute: D:\a\Ecs.CSharp.Benchmark\Ecs.CSharp.Benchmark\source\Ecs.CSharp.Benchmark\bin\Release\net48\f559460e-bd0d-41d7-ba8e-934f8dcf89e6.exe --benchmarkName "Ecs.CSharp.Benchmark.CreateEntityWithNoComponent.DefaultEcs(EntityCount: 100000)" --job "InvocationCount=1, UnrollFactor=1" --benchmarkId 0 in 
// BeforeAnythingElse

Unhandled Exception: System.NotSupportedException: Unknown Acknowledgment: Acknowledgment
   at BenchmarkDotNet.Engines.ConsoleHost.SendSignal(HostSignal hostSignal)
   at BenchmarkDotNet.Autogenerated.UniqueProgramName.AfterAssemblyLoadingAttached(String[] args)
   at BenchmarkDotNet.Autogenerated.UniqueProgramName.Main(String[] args)
ExitCode != 0 and no results reported
// Benchmark Process 4364 has exited with code -532462766
No more Benchmark runs will be launched as NO measurements were obtained from the previous run!

Before when running version 0.12.1 I had this:

// **************************
// Benchmark: CreateEntityWithNoComponent.DefaultEcs: Job-FEFVFA(InvocationCount=1, UnrollFactor=1) [EntityCount=100000]
// *** Execute ***
// Launch: 1 / 1
// Execute: D:\a\Ecs.CSharp.Benchmark\Ecs.CSharp.Benchmark\source\Ecs.CSharp.Benchmark\bin\Release\net48\e07159b2-cf89-4f75-a9e5-5e054c0dac54.exe --benchmarkName "Ecs.CSharp.Benchmark.CreateEntityWithNoComponent.DefaultEcs(EntityCount: 100000)" --job "InvocationCount=1, UnrollFactor=1" --benchmarkId 0 in 
// BeforeAnythingElse
ExitCode != 0
// Benchmark Process 2188 has exited with code -532462766
No more Benchmark runs will be launched as NO measurements were obtained from the previous run!

This is the relevant machine information at the end of a run

BenchmarkDotNet=v0.12.1, OS=Windows 10.0.17763.1935 (1809/October2018Update/Redstone5), VM=Hyper-V
Intel Xeon Platinum 8171M CPU 2.60GHz, 1 CPU, 2 logical and 2 physical cores
  [Host] : .NET Framework 4.8 (4.8.4341.0), X64 RyuJIT

This is the CI run.

I tried calling the exe directly by the CI and using dotnet run --project ... -c Release but same result as above. Am I doing something wrong? Anyway thanks for this beautiful tool :)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions