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

Running on Kubernetes #2471

Open
allensiho opened this issue Nov 24, 2023 · 0 comments
Open

Running on Kubernetes #2471

allensiho opened this issue Nov 24, 2023 · 0 comments

Comments

@allensiho
Copy link

Is it possible to run performance benchmark on Kubernetes?
I am trying to run it be exec into the pod after building image from files and dlls
and running dotnet on the dll
as running dotnet run the project file will trigger restore which it cannot do in Kubernetes environment due to security in accessing certain nuget packages

Some errors below

Message: An error occurred trying to start process ‘pgrep’ with working directory

/ Generate Exception: System.IO.IOException: Invalid argument : ‘/XXX/bin/Release/net6.0/proc/1592905/net’
at System.IO.Enumeration.FileSystemEnumerator1.FindNextEntry(Byte* entryBufferPtr, Int32 bufferLength) at System.IO.Enumeration.FileSystemEnumerator1.FindNextEntry()
at System.IO.Enumeration.FileSystemEnumerator1.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at BenchmarkDotNet.Toolchains.CsProj.CsProjGenerator.GetProjectFilePath(Type benchmarkTarget, ILogger logger)
at BenchmarkDotNet.Toolchains.CsProj.CsProjGenerator.GenerateProject(BuildPartition buildPartition, ArtifactsPaths artifactsPaths, ILogger logger)
at BenchmarkDotNet.Toolchains.GeneratorBase.GenerateProject(BuildPartition buildPartition, ILogger logger, String rootArtifactsFolderPath)

// BenchmarkDotNet has failed to build the auto-generated boilerplate code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant