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

[mono][ios] MarshalingPInvokeScanner fails with PE image does not have metadata #89429

Closed
kotlarmilos opened this issue Jul 25, 2023 · 3 comments
Assignees
Labels
area-Infrastructure-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
Milestone

Comments

@kotlarmilos
Copy link
Member

kotlarmilos commented Jul 25, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=350013
Build error leg or test failing: baseservices_compilerservices.WorkItemExecution
Pull request: #89392

Error Message

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

{
  "ErrorMessage": "System.InvalidOperationException: PE image does not have metadata.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

The apple mobile runtime tests are failing with System.InvalidOperationException: PE image does not have metadata. The tests use JustInterp AOT mode and have the following configuration.

<PropertyGroup Condition="'$(UseRuntimeComponents)' == 'true'">
  <RuntimeComponents>diagnostics_tracing;marshal-ilgen</RuntimeComponents>
  <DiagnosticPorts>127.0.0.1:9000,nosuspend,listen</DiagnosticPorts>
</PropertyGroup>

/cc: @jandupej

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=350013
Error message validated: System.InvalidOperationException: PE image does not have metadata.
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/25/2023 10:29:00 AM UTC

Report

Build Definition Test Pull Request
355013 dotnet/runtime System.Diagnostics.FileVersionInfo.Tests.WorkItemExecution #89301
355014 dotnet/runtime tracing_eventpipe.WorkItemExecution #89301
354241 dotnet/runtime System.Diagnostics.FileVersionInfo.Tests.WorkItemExecution #89223
354674 dotnet/runtime Loader_classloader.WorkItemExecution #89521
354414 dotnet/runtime baseservices_TieredCompilation.WorkItemExecution
353999 dotnet/runtime tracing_eventpipe.WorkItemExecution #89569
353907 dotnet/runtime tracing_eventpipe.WorkItemExecution #88167
353569 dotnet/runtime tracing_eventpipe.WorkItemExecution #89548
353633 dotnet/runtime tracing_eventpipe.WorkItemExecution
353576 dotnet/runtime tracing_eventpipe.WorkItemExecution #89508
353281 dotnet/runtime tracing_eventpipe.WorkItemExecution #89223
353096 dotnet/runtime tracing_eventpipe.WorkItemExecution
353048 dotnet/runtime tracing_eventpipe.WorkItemExecution #89467
352690 dotnet/runtime tracing_eventpipe.WorkItemExecution #89431
352607 dotnet/runtime tracing_eventpipe.WorkItemExecution #89499
352584 dotnet/runtime tracing_eventpipe.WorkItemExecution #89301
352503 dotnet/runtime System.Diagnostics.FileVersionInfo.Tests.WorkItemExecution #89428
352553 dotnet/runtime reflection_StaticInterfaceMembers.WorkItemExecution #89498
352326 dotnet/runtime CoreMangLib_system.WorkItemExecution
352310 dotnet/runtime tracing_eventpipe.WorkItemExecution #89301
351866 dotnet/runtime tracing_eventlistener.WorkItemExecution
351758 dotnet/runtime Exceptions_UnwindFpBleedTest.WorkItemExecution #89223
350013 dotnet/runtime tracing_eventpipe.WorkItemExecution #89392
351016 dotnet/runtime tracing_eventpipe.WorkItemExecution #89296
351065 dotnet/runtime reflection_regression.WorkItemExecution
350917 dotnet/runtime Exceptions_UnwindFpBleedTest.WorkItemExecution #89308
350495 dotnet/runtime baseservices_TieredCompilation.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
8 27 27
@kotlarmilos kotlarmilos added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-Infrastructure-mono Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 25, 2023
@kotlarmilos kotlarmilos added this to the 8.0.0 milestone Jul 25, 2023
@ghost
Copy link

ghost commented Jul 25, 2023

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

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=350013
Build error leg or test failing: baseservices_compilerservices.WorkItemExecution
Pull request: #89392

Error Message

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

{
  "ErrorMessage": "System.InvalidOperationException: PE image does not have metadata.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

The apple mobile runtime tests are failing with System.InvalidOperationException: PE image does not have metadata. The tests use JustInterp AOT mode and have the following configuration.

<PropertyGroup Condition="'$(UseRuntimeComponents)' == 'true'">
  <RuntimeComponents>diagnostics_tracing;marshal-ilgen</RuntimeComponents>
  <DiagnosticPorts>127.0.0.1:9000,nosuspend,listen</DiagnosticPorts>
</PropertyGroup>

/cc: @jandupej

Author: kotlarmilos
Assignees: -
Labels:

blocking-clean-ci, area-Infrastructure-mono, Known Build Error

Milestone: 8.0.0

@kotlarmilos kotlarmilos changed the title [mono][ios] MarshalingPInvokeScanner fail with PE image does not have metadata [mono][ios] MarshalingPInvokeScanner fails with PE image does not have metadata Jul 25, 2023
@jandupej jandupej self-assigned this Jul 25, 2023
@jandupej
Copy link
Member

@kotlarmilos The fix to the rest of MarshallingPInvokeScanner errors is now merged. Can you pls verify that this solves the issue?

@kotlarmilos
Copy link
Member Author

The issue has been fixed, thank you!

@ghost ghost locked as resolved and limited conversation to collaborators Aug 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-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
Projects
None yet
Development

No branches or pull requests

2 participants