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

ManagedToNativeGenerator task fails: Microsoft.Build.Framework.BuildException.GenericBuildTransferredException: Unsupported parameter type in method 'PInvokeTests.StructureTests+CdeclSimpleExplStructDelegate.Invoke' #113025

Open
elinor-fung opened this issue Feb 28, 2025 · 2 comments · May be fixed by #113212
Assignees
Labels
arch-wasm WebAssembly architecture area-Infrastructure-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' in-pr There is an active PR which will close this issue when it is merged Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Milestone

Comments

@elinor-fung
Copy link
Member

elinor-fung commented Feb 28, 2025

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=965844&view=logs&j=3e93a48f-6568-53f2-76b3-1285c183c39d
Build error leg or test failing: Build / browser-wasm linux Release AllSubsets_Mono_RuntimeTests monointerpreter / Build Tests
Pull request: #112938

Error Message

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

{
  "ErrorMessage": "Microsoft.Build.Framework.BuildException.GenericBuildTransferredException: Unsupported parameter type in method 'PInvokeTests.StructureTests+CdeclSimpleExplStructDelegate.Invoke'",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=965844
Error message validated: [Microsoft.Build.Framework.BuildException.GenericBuildTransferredException: Unsupported parameter type in method 'PInvokeTests.StructureTests+CdeclSimpleExplStructDelegate.Invoke']
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/28/2025 10:20:27 PM UTC

Report

Build Definition Step Name Console log Pull Request
968614 dotnet/runtime Build Tests #113129
971666 dotnet/runtime Build Tests #113014
971634 dotnet/runtime Build Tests #112863
971632 dotnet/runtime Build Tests
971543 dotnet/runtime Build Tests #113241
971477 dotnet/runtime Build Tests #113241
971337 dotnet/runtime Build Tests #113184
971173 dotnet/runtime Build Tests #111178
971051 dotnet/runtime Build Tests
970842 dotnet/runtime Build Tests #113014
970713 dotnet/runtime Build Tests #113164
970701 dotnet/runtime Build Tests #112945
970678 dotnet/runtime Build Tests #112863
970605 dotnet/runtime Build Tests #113211
970593 dotnet/runtime Build Tests #112863
970590 dotnet/runtime Build Tests #113210
967751 dotnet/runtime Build Tests #113014
970518 dotnet/runtime Build Tests #112945
970499 dotnet/runtime Build Tests #113164
970496 dotnet/runtime Build Tests
970418 dotnet/runtime Build Tests #113184
970404 dotnet/runtime Build Tests #112937
970397 dotnet/runtime Build Tests #113190
970399 dotnet/runtime Build Tests #113191
970313 dotnet/runtime Build Tests #113184
970222 dotnet/runtime Build Tests #113111
970216 dotnet/runtime Build Tests #113056
969731 dotnet/runtime Build Tests #113140
970062 dotnet/runtime Build Tests #113175
969964 dotnet/runtime Build Tests
969763 dotnet/runtime Build Tests #113164
969447 dotnet/runtime Build Tests #112863
969377 dotnet/runtime Build Tests #112985
969362 dotnet/runtime Build Tests
969333 dotnet/runtime Build Tests #111610
969284 dotnet/runtime Build Tests #112937
969228 dotnet/runtime Build Tests #113113
969147 dotnet/runtime Build Tests #111771
969108 dotnet/runtime Build Tests #113140
969031 dotnet/runtime Build Tests #112985
968971 dotnet/runtime Build Tests #113141
968838 dotnet/runtime Build Tests
968796 dotnet/runtime Build Tests #111771
968735 dotnet/runtime Build Tests #113113
968649 dotnet/runtime Build Tests #113131
968524 dotnet/runtime Build Tests #111610
968514 dotnet/runtime Build Tests #112863
968333 dotnet/runtime Build Tests #112986
968416 dotnet/runtime Build Tests #112947
968370 dotnet/runtime Build Tests #112693
968366 dotnet/runtime Build Tests
968296 dotnet/runtime Build Tests #113113
968283 dotnet/runtime Build Tests #113111
968276 dotnet/runtime Build Tests #112937
966920 dotnet/runtime Build Tests #99596
968141 dotnet/runtime Build Tests #112937
968114 dotnet/runtime Build Tests #111771
967913 dotnet/runtime Build Tests #112406
967856 dotnet/runtime Build Tests #112985
967749 dotnet/runtime Build Tests
967546 dotnet/runtime Build Tests #112406
967494 dotnet/runtime Build Tests #112985
967283 dotnet/runtime Build Tests #113044
967275 dotnet/runtime Build Tests #112825
967256 dotnet/runtime Build Tests #110565
967250 dotnet/runtime Build Tests #112406
967247 dotnet/runtime Build Tests #112947
967236 dotnet/runtime Build Tests #112404
967230 dotnet/runtime Build Tests #112404
967142 dotnet/runtime Build Tests
967057 dotnet/runtime Build Tests #112833
967028 dotnet/runtime Build Tests #113056
966779 dotnet/runtime Build Tests #113044
966767 dotnet/runtime Build Tests #99596
966759 dotnet/runtime Build Tests
966734 dotnet/runtime Build Tests #110818
966709 dotnet/runtime Build Tests #113044
966683 dotnet/runtime Build Tests #99596
966609 dotnet/runtime Build Tests
966591 dotnet/runtime Build Tests #112976
966472 dotnet/runtime Build Tests #111642
966471 dotnet/runtime Build Tests
966392 dotnet/runtime Build Tests #112406
966300 dotnet/runtime Build Tests
966271 dotnet/runtime Build Tests #113007
966122 dotnet/runtime Build Tests #113028
965844 dotnet/runtime Build Tests #112938
965964 dotnet/runtime Build Tests #113007
965734 dotnet/runtime Build Tests #113014
965394 dotnet/runtime Build Tests #112936

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 78 90
@elinor-fung elinor-fung added arch-wasm WebAssembly architecture 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 os-browser Browser variant of arch-wasm labels Feb 28, 2025
@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 Feb 28, 2025
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Feb 28, 2025
@jkotas jkotas added area-Infrastructure-mono and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Mar 1, 2025
Copy link
Contributor

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

@lewing lewing self-assigned this Mar 3, 2025
@lewing lewing added this to the 10.0.0 milestone Mar 3, 2025
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Mar 3, 2025
akoeplinger added a commit that referenced this issue Mar 6, 2025
After #112787 was merged we saw the runtime being relinked in the runtime tests which uncovered a couple cases where we were throwing an exception or logging an unactionable error in the PInvokeCollector. Log warnings instead and clean up the code.

Fixes #113025
@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Infrastructure-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' in-pr There is an active PR which will close this issue when it is merged Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants