Failure Details
- Pipeline: runtime-coreclr crossgen2
- Build: 1392560
- Configuration: osx-x64 Release TestReadyToRun_Libraries, linux-arm64 Release TestReadyToRun_RuntimeAsync_Libraries
- Error Category: test-failure
- Cross-Reference: These failures do NOT appear in the
runtime pipeline — they are crossgen2/R2R specific.
Failing Tests
| Test Name |
Platform |
Error Type |
System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests (work item) |
osx-x64 |
Test failure |
Microsoft.Extensions.Hosting.Tests.HostBuilderTests.ScopeValidationtEnabledInDevelopmentWithServiceProviderChanges |
osx-x64 |
Test failure |
Microsoft.Extensions.Hosting.Tests.HostBuilderTests.ScopeValidationNotEnabledInDevelopmentWithServiceProviderChanges |
osx-x64 |
Test failure |
Microsoft.Extensions.Hosting.Tests.HostBuilderTests.ValidateOnBuildNotEnabledInDevelopmentWithServiceProviderChanges |
osx-x64 |
Test failure |
Microsoft.Extensions.Hosting.Tests.HostBuilderTests.ConfigureDefaultServiceProvider |
osx-x64 |
Test failure |
Microsoft.Extensions.Hosting.Unit.Tests (work item) |
linux-arm64 |
Test failure |
Error Output
These tests fail when libraries are compiled with ReadyToRun (R2R/crossgen2) but pass in the standard runtime pipeline. This suggests a crossgen2 code generation issue affecting these test scenarios.
Error details — System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests
Work item System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests in job 906fec4a-0775-45f8-859f-f7664feab89b has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/906fec4a-0775-45f8-859f-f7664feab89b/workitems/System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests/console
```
</details>
<details>
<summary><b>Error details — Microsoft.Extensions.Hosting.Unit.Tests (osx-x64)</b></summary>
```
Test Microsoft.Extensions.Hosting.Tests.HostBuilderTests.ScopeValidationtEnabledInDevelopmentWithServiceProviderChanges has failed.
Console log: https://helix.dot.net/api/2019-06-17/jobs/86a9ab56-eae8-4c72-aa58-fa79b5c78616/workitems/Microsoft.Extensions.Hosting.Unit.Tests/console
Test Microsoft.Extensions.Hosting.Tests.HostBuilderTests.ScopeValidationNotEnabledInDevelopmentWithServiceProviderChanges has failed.
Test Microsoft.Extensions.Hosting.Tests.HostBuilderTests.ValidateOnBuildNotEnabledInDevelopmentWithServiceProviderChanges has failed.
Test Microsoft.Extensions.Hosting.Tests.HostBuilderTests.ConfigureDefaultServiceProvider has failed.
```
</details>
<details>
<summary><b>Error details — Microsoft.Extensions.Hosting.Unit.Tests (linux-arm64)</b></summary>
```
Work item Microsoft.Extensions.Hosting.Unit.Tests in job b0290bd3-ec53-4ab6-b406-3f3168c1ce9c has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/b0290bd3-ec53-4ab6-b406-3f3168c1ce9c/workitems/Microsoft.Extensions.Hosting.Unit.Tests/console
Helix Details
- System.Text.Json Job:
906fec4a-0775-45f8-859f-f7664feab89b
- Hosting Job (osx-x64):
86a9ab56-eae8-4c72-aa58-fa79b5c78616
- Hosting Job (linux-arm64):
b0290bd3-ec53-4ab6-b406-3f3168c1ce9c
Recommended Action
This failure requires deeper investigation. Please disable the failing tests by adding [ActiveIssue] attributes referencing this issue:
- For
Microsoft.Extensions.Hosting.Unit.Tests, locate the 4 failing HostBuilderTests methods in src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.cs and add [ActiveIssue("https://github.com/jtschuster/runtime/issues/ISSUE_NUMBER")] to each.
- For
System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests, investigate which specific test(s) failed in the work item. The test project is at src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests/. If a specific test cannot be identified, disable the entire test class or add a conditional skip for R2R/crossgen2 configurations.
- These tests pass without R2R compilation, so the disable should target R2R/crossgen2 configurations specifically if possible.
Generated by Crossgen2 CI Failure Triage · ◷
Failure Details
runtimepipeline — they are crossgen2/R2R specific.Failing Tests
System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests(work item)Microsoft.Extensions.Hosting.Tests.HostBuilderTests.ScopeValidationtEnabledInDevelopmentWithServiceProviderChangesMicrosoft.Extensions.Hosting.Tests.HostBuilderTests.ScopeValidationNotEnabledInDevelopmentWithServiceProviderChangesMicrosoft.Extensions.Hosting.Tests.HostBuilderTests.ValidateOnBuildNotEnabledInDevelopmentWithServiceProviderChangesMicrosoft.Extensions.Hosting.Tests.HostBuilderTests.ConfigureDefaultServiceProviderMicrosoft.Extensions.Hosting.Unit.Tests(work item)Error Output
These tests fail when libraries are compiled with ReadyToRun (R2R/crossgen2) but pass in the standard
runtimepipeline. This suggests a crossgen2 code generation issue affecting these test scenarios.Error details — System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests
Helix Details
906fec4a-0775-45f8-859f-f7664feab89b86a9ab56-eae8-4c72-aa58-fa79b5c78616b0290bd3-ec53-4ab6-b406-3f3168c1ce9cRecommended Action
This failure requires deeper investigation. Please disable the failing tests by adding
[ActiveIssue]attributes referencing this issue:Microsoft.Extensions.Hosting.Unit.Tests, locate the 4 failingHostBuilderTestsmethods insrc/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.csand add[ActiveIssue("https://github.com/jtschuster/runtime/issues/ISSUE_NUMBER")]to each.System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests, investigate which specific test(s) failed in the work item. The test project is atsrc/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests/. If a specific test cannot be identified, disable the entire test class or add a conditional skip for R2R/crossgen2 configurations.