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

Windows Micro Runs failing #2931

Closed
LoopedBard3 opened this issue Mar 17, 2023 · 1 comment · Fixed by #2936
Closed

Windows Micro Runs failing #2931

LoopedBard3 opened this issue Mar 17, 2023 · 1 comment · Fixed by #2936
Assignees
Labels
bug Something isn't working pipeline blocker issue blocks perf pipeline stays green. This be considered high priority.

Comments

@LoopedBard3
Copy link
Member

Windows micro runs are failing. One found error is the following:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
[2023/03/17 09:39:58][INFO]  ---> System.PlatformNotSupportedException: System.Drawing.Common is not supported on this platform.
[2023/03/17 09:39:58][INFO]    at System.Drawing.Image..ctor()
[2023/03/17 09:39:58][INFO]    at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
[2023/03/17 09:39:58][INFO]    at System.Drawing.Tests.Perf_Graphics_DrawBeziers.Setup() in C:\dotnetbuild\work\B0A8098B\w\B11609C6\e\performance\src\benchmarks\micro\libraries\System.Drawing\Perf_Graphics_DrawBeziers.cs:line 26
[2023/03/17 09:39:58][INFO]    at BenchmarkDotNet.Engines.EngineFactory.CreateReadyToRun(EngineParameters engineParameters)
[2023/03/17 09:39:58][INFO]    at BenchmarkDotNet.Autogenerated.Runnable_50.Run(IHost host, String benchmarkName) in C:\dotnetbuild\work\B0A8098B\w\B11609C6\e\performance\artifacts\bin\MicroBenchmarks\Release\net8.0\76fcf152-5065-49fa-8c49-03d03341cc3e\76fcf152-5065-49fa-8c49-03d03341cc3e.notcs:line 10472
[2023/03/17 09:39:58][INFO]    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
[2023/03/17 09:39:58][INFO]    at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
[2023/03/17 09:39:58][INFO]    --- End of inner exception stack trace ---
[2023/03/17 09:39:58][INFO]    at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
[2023/03/17 09:39:58][INFO]    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[2023/03/17 09:39:58][INFO]    at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
[2023/03/17 09:39:58][INFO]    at BenchmarkDotNet.Autogenerated.UniqueProgramName.AfterAssemblyLoadingAttached(String[] args) in C:\dotnetbuild\work\B0A8098B\w\B11609C6\e\performance\artifacts\bin\MicroBenchmarks\Release\net8.0\76fcf152-5065-49fa-8c49-03d03341cc3e\76fcf152-5065-49fa-8c49-03d03341cc3e.notcs:line 57
[2023/03/17 09:39:58][INFO] // AfterAll

I haven't had a chance to dig into the rest but will update once I have.

@LoopedBard3 LoopedBard3 added bug Something isn't working pipeline blocker issue blocks perf pipeline stays green. This be considered high priority. labels Mar 17, 2023
@LoopedBard3
Copy link
Member Author

This appears to be related to dotnet/runtime#83356, the removal of Common.Drawing from runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pipeline blocker issue blocks perf pipeline stays green. This be considered high priority.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant