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

Libraries test fails with "Method has zero rva" error #108641

Closed
buyaa-n opened this issue Oct 8, 2024 · 2 comments
Closed

Libraries test fails with "Method has zero rva" error #108641

buyaa-n opened this issue Oct 8, 2024 · 2 comments
Labels
area-VM-meta-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab runtime-mono specific to the Mono runtime

Comments

@buyaa-n
Copy link
Contributor

buyaa-n commented Oct 8, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=830089
Build error leg or test failing: System.Tests.EnvironmentTests.CurrentDirectory_SetToValidOtherDirectory
Pull request: #108032

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.BadImageFormatException : Method has zero rva",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

From Log:

System.Tests.EnvironmentTests.CurrentDirectory_SetToValidOtherDirectory [FAIL]
      System.BadImageFormatException : Method has zero rva
      Stack Trace:
        /_/src/libraries/Common/src/System/Runtime/Serialization/SerializationGuard.cs(20,0): at System.Runtime.Serialization.SerializationGuard.ThrowIfDeserializationInProgress(String switchSuffix, Int32& cachedValue)
        /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs(1282,0): at System.Diagnostics.Process.Start()
        /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs(1352,0): at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs(470,0): at Microsoft.DotNet.RemoteExecutor.RemoteExecutor.Invoke(MethodInfo method, String[] args, RemoteInvokeOptions options, Boolean pasteArguments)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs(118,0): at Microsoft.DotNet.RemoteExecutor.RemoteExecutor.Invoke(Action method, RemoteInvokeOptions options)
        /_/src/libraries/System.Runtime/tests/System.Runtime.Extensions.Tests/System/EnvironmentTests.cs(42,0): at System.Tests.EnvironmentTests.CurrentDirectory_SetToValidOtherDirectory()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=830089
Error message validated: [System.BadImageFormatException : Method has zero rva]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/8/2024 2:44:13 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@buyaa-n buyaa-n added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Oct 8, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 8, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Oct 8, 2024
@buyaa-n buyaa-n added area-System.Runtime and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Oct 8, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-runtime
See info in area-owners.md if you want to be subscribed.

@jkotas jkotas added runtime-mono specific to the Mono runtime area-VM-meta-mono and removed area-System.Runtime labels Oct 8, 2024
@jkotas jkotas changed the title System.Tests.EnvironmentTests/CurrentDirectory_SetToValidOtherDirectory test failure Libraries test fails with "Method has zero rva" error Oct 8, 2024
@jkotas
Copy link
Member

jkotas commented Dec 22, 2024

No repro in last two months

@jkotas jkotas closed this as completed Dec 22, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-VM-meta-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

2 participants