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

Json outerloop test failure "Reflection-based serialization has been disabled" #90121

Closed
MihaZupan opened this issue Aug 7, 2023 · 2 comments · Fixed by #90137
Closed

Json outerloop test failure "Reflection-based serialization has been disabled" #90121

MihaZupan opened this issue Aug 7, 2023 · 2 comments · Fixed by #90137
Assignees
Labels
area-System.Text.Json blocking-clean-ci-optional Blocking optional rolling runs Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@MihaZupan
Copy link
Member

MihaZupan commented Aug 7, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=365410
Build error leg or test failing: System.Text.Json.SourceGeneration.Tests.CollectionTests_Default.WriteAsyncEnumerable_LongRunningEnumeration_Cancellation
Pull request: #90094

Error Message

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

{
  "ErrorMessage": "typeof(System.InvalidOperationException): Reflection-based serialization has been disabled for this application.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Example console log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-90094-merge-442907353b7d42e888/System.Text.Json.SourceGeneration.Roslyn4.4.Tests/1/console.7fe860c2.log?helixlogtype=result

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=365410
Error message validated: typeof(System.InvalidOperationException): Reflection-based serialization has been disabled for this application.
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/7/2023 11:08:41 PM UTC

Report

Build Definition Test Pull Request
365410 dotnet/runtime System.Text.Json.SourceGeneration.Tests.CollectionTests_Metadata_AsyncStream.WriteAsyncEnumerable_LongRunningEnumeration_Cancellation #90094
365231 dotnet/runtime System.Text.Json.SourceGeneration.Tests.CollectionTests_Metadata_String.WriteAsyncEnumerable_LongRunningEnumeration_Cancellation
365214 dotnet/runtime System.Text.Json.SourceGeneration.Tests.CollectionTests_Default.WriteAsyncEnumerable_LongRunningEnumeration_Cancellation

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 3 3
@MihaZupan MihaZupan added area-System.Text.Json blocking-clean-ci-optional Blocking optional rolling runs Known Build Error Use this to report build issues in the .NET Helix tab labels Aug 7, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 7, 2023
@ghost
Copy link

ghost commented Aug 7, 2023

Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
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=365410
Build error leg or test failing: System.Text.Json.SourceGeneration.Tests.CollectionTests_Default.WriteAsyncEnumerable_LongRunningEnumeration_Cancellation
Pull request: #90094

Error Message

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

{
  "ErrorMessage": "typeof(System.InvalidOperationException): Reflection-based serialization has been disabled for this application.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Example console log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-90094-merge-442907353b7d42e888/System.Text.Json.SourceGeneration.Roslyn4.4.Tests/1/console.7fe860c2.log?helixlogtype=result

Author: MihaZupan
Assignees: -
Labels:

area-System.Text.Json, blocking-clean-ci-optional, Known Build Error

Milestone: -

@eiriktsarpalis
Copy link
Member

Looks like an outerloop test that wasn't updated to support sourcegen/Native AOT.

@eiriktsarpalis eiriktsarpalis self-assigned this Aug 8, 2023
@eiriktsarpalis eiriktsarpalis removed the untriaged New issue has not been triaged by the area owner label Aug 8, 2023
@eiriktsarpalis eiriktsarpalis added this to the 8.0.0 milestone Aug 8, 2023
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 8, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 8, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Text.Json blocking-clean-ci-optional Blocking optional rolling runs Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants