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

test failure in DynamicDependencyMethod #88922

Closed
danmoseley opened this issue Jul 14, 2023 · 4 comments
Closed

test failure in DynamicDependencyMethod #88922

danmoseley opened this issue Jul 14, 2023 · 4 comments
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Comments

@danmoseley
Copy link
Member

build_linux_x64_checked_CLR_Tools_Tests-xunit_3
https://dev.azure.com/dnceng-public/public/_build/results?buildId=339807&view=ms.vss-test-web.build-test-results-tab&runId=7084448&paneView=debug

System.AggregateException : One or more errors occurred. (Roslyn compilation errors: (196,36): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
(197,29): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
(25,8): warning CS0169: The field 'DynamicDependencyMethod.B.field' is never used
(134,19): warning CS0649: Field 'C.field' is never assigned to, and will always have its default value null
)
---- System.Exception : Roslyn compilation errors: (196,36): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
(197,29): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
(25,8): warning CS0169: The field 'DynamicDependencyMethod.B.field' is never used
(134,19): warning CS0649: Field 'C.field' is never assigned to, and will always have its default value null
Stack trace
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Mono.Linker.Tests.TestCasesRunner.TestRunner.GetResultOfTaskThatMakesXUnitAssertions[T](Task`1 task) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 152
   at Mono.Linker.Tests.TestCasesRunner.TestRunner.Compile(TestCaseSandbox sandbox, TestCaseCompilationMetadataProvider metadataProvider) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 83
   at Mono.Linker.Tests.TestCasesRunner.TestRunner.Run(TestCase testCase) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 33
   at Mono.Linker.Tests.TestCases.All.Run(String testName) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCases/TestSuites.cs:line 101
   at Mono.Linker.Tests.TestCases.All.DynamicDependencies(String t) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCases/TestSuites.cs:line 23
   at InvokeStub_All.DynamicDependencies(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
----- Inner Stack Trace -----
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileCSharpAssemblyWithRoslyn(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 328
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileCSharpAssemblyWithDefaultCompiler(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 228
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileCSharpAssembly(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 405
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileAssembly(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 217
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileTestIn(NPath outputDirectory, String outputName, IEnumerable`1 sourceFiles, String[] commonReferences, String[] mainAssemblyReferences, IEnumerable`1 defines, NPath[] resources, String[] additionalArguments) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 60
   at Mono.Linker.Tests.TestCasesRunner.TestRunner.<>c__DisplayClass5_0.<Compile>b__1() in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 77
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 14, 2023
@danmoseley
Copy link
Member Author

#88913

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jul 14, 2023
@ghost
Copy link

ghost commented Jul 14, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

build_linux_x64_checked_CLR_Tools_Tests-xunit_3
https://dev.azure.com/dnceng-public/public/_build/results?buildId=339807&view=ms.vss-test-web.build-test-results-tab&runId=7084448&paneView=debug

System.AggregateException : One or more errors occurred. (Roslyn compilation errors: (196,36): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
(197,29): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
(25,8): warning CS0169: The field 'DynamicDependencyMethod.B.field' is never used
(134,19): warning CS0649: Field 'C.field' is never assigned to, and will always have its default value null
)
---- System.Exception : Roslyn compilation errors: (196,36): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
(197,29): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
(25,8): warning CS0169: The field 'DynamicDependencyMethod.B.field' is never used
(134,19): warning CS0649: Field 'C.field' is never assigned to, and will always have its default value null
Stack trace
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Mono.Linker.Tests.TestCasesRunner.TestRunner.GetResultOfTaskThatMakesXUnitAssertions[T](Task`1 task) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 152
   at Mono.Linker.Tests.TestCasesRunner.TestRunner.Compile(TestCaseSandbox sandbox, TestCaseCompilationMetadataProvider metadataProvider) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 83
   at Mono.Linker.Tests.TestCasesRunner.TestRunner.Run(TestCase testCase) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 33
   at Mono.Linker.Tests.TestCases.All.Run(String testName) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCases/TestSuites.cs:line 101
   at Mono.Linker.Tests.TestCases.All.DynamicDependencies(String t) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCases/TestSuites.cs:line 23
   at InvokeStub_All.DynamicDependencies(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
----- Inner Stack Trace -----
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileCSharpAssemblyWithRoslyn(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 328
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileCSharpAssemblyWithDefaultCompiler(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 228
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileCSharpAssembly(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 405
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileAssembly(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 217
   at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileTestIn(NPath outputDirectory, String outputName, IEnumerable`1 sourceFiles, String[] commonReferences, String[] mainAssemblyReferences, IEnumerable`1 defines, NPath[] resources, String[] additionalArguments) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 60
   at Mono.Linker.Tests.TestCasesRunner.TestRunner.<>c__DisplayClass5_0.<Compile>b__1() in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 77
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
Author: danmoseley
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@lewing
Copy link
Member

lewing commented Jul 14, 2023

probable duplicate of #88870

@lewing lewing closed this as completed Jul 14, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 14, 2023
@lewing lewing reopened this Jul 14, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jul 14, 2023
@lewing
Copy link
Member

lewing commented Jul 14, 2023

cc @vitek-karas

@lewing lewing closed this as completed Jul 14, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 14, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

No branches or pull requests

2 participants