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

DllImportGererator.Unit.Tests Workitem failed in PR with JIT assert #60772

Closed
josalem opened this issue Oct 22, 2021 · 2 comments
Closed

DllImportGererator.Unit.Tests Workitem failed in PR with JIT assert #60772

josalem opened this issue Oct 22, 2021 · 2 comments
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI untriaged New issue has not been triaged by the area owner

Comments

@josalem
Copy link
Contributor

josalem commented Oct 22, 2021

Link to build: https://dev.azure.com/dnceng/public/_build/results?buildId=1434785&view=ms.vss-test-web.build-test-results-tab&runId=41435534&resultId=184872&paneView=dotnet-dnceng.dnceng-anon-build-release-tasks.helix-anon-test-information-tab

failure text:

===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: DllImportGenerator.Unit.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  DllImportGenerator.Unit.Tests (found 114 test cases)
  Starting:    DllImportGenerator.Unit.Tests (parallel test collections = on, max threads = 4)
    DllImportGenerator.UnitTests.IncrementalGenerationTests.AppendingUnrelatedSource_DoesNotRegenerateSource [SKIP]
      The GeneratorDriver treats all SyntaxTree replace operations on a Compilation as an Add/Remove operation instead of a Modify operation, so all cached results based on that input are thrown out. As a result, we cannot validate that unrelated changes within the same SyntaxTree do not cause regeneration.
    DllImportGenerator.UnitTests.IncrementalGenerationTests.ChangingMarshallingAttributes_SameStrategy_DoesNotRegenerate [SKIP]
      The GeneratorDriver treats all SyntaxTree replace operations on a Compilation as an Add/Remove operation instead of a Modify operation, so all cached results based on that input are thrown out. As a result, we cannot validate that unrelated changes within the same SyntaxTree do not cause regeneration.

Assert failure(PID 23 [0x00000017], Thread: 60 [0x003c]): Assertion failed 'remainingSize == 4' in 'Microsoft.CodeAnalysis.CSharp.Formatting.NewLineUserSettingFormattingRule:WithOptions(Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptions):Microsoft.CodeAnalysis.Formatting.Rules.AbstractFormattingRule:this' during 'Generate code' (IL size 31)

    File: /__w/2/s/src/coreclr/jit/codegenarmarch.cpp Line: 1062
    Image: /root/helix/work/correlation/dotnet

./RunTests.sh: line 162:    23 Aborted                 (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig DllImportGenerator.Unit.Tests.runtimeconfig.json --depsfile DllImportGenerator.Unit.Tests.deps.json xunit.console.dll DllImportGenerator.Unit.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/root/helix/work/workitem/e

CC @jkoritzinsky

@josalem josalem added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 22, 2021
@ghost
Copy link

ghost commented Oct 22, 2021

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

Issue Details

Link to build: https://dev.azure.com/dnceng/public/_build/results?buildId=1434785&view=ms.vss-test-web.build-test-results-tab&runId=41435534&resultId=184872&paneView=dotnet-dnceng.dnceng-anon-build-release-tasks.helix-anon-test-information-tab

failure text:

===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: DllImportGenerator.Unit.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  DllImportGenerator.Unit.Tests (found 114 test cases)
  Starting:    DllImportGenerator.Unit.Tests (parallel test collections = on, max threads = 4)
    DllImportGenerator.UnitTests.IncrementalGenerationTests.AppendingUnrelatedSource_DoesNotRegenerateSource [SKIP]
      The GeneratorDriver treats all SyntaxTree replace operations on a Compilation as an Add/Remove operation instead of a Modify operation, so all cached results based on that input are thrown out. As a result, we cannot validate that unrelated changes within the same SyntaxTree do not cause regeneration.
    DllImportGenerator.UnitTests.IncrementalGenerationTests.ChangingMarshallingAttributes_SameStrategy_DoesNotRegenerate [SKIP]
      The GeneratorDriver treats all SyntaxTree replace operations on a Compilation as an Add/Remove operation instead of a Modify operation, so all cached results based on that input are thrown out. As a result, we cannot validate that unrelated changes within the same SyntaxTree do not cause regeneration.

Assert failure(PID 23 [0x00000017], Thread: 60 [0x003c]): Assertion failed 'remainingSize == 4' in 'Microsoft.CodeAnalysis.CSharp.Formatting.NewLineUserSettingFormattingRule:WithOptions(Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptions):Microsoft.CodeAnalysis.Formatting.Rules.AbstractFormattingRule:this' during 'Generate code' (IL size 31)

    File: /__w/2/s/src/coreclr/jit/codegenarmarch.cpp Line: 1062
    Image: /root/helix/work/correlation/dotnet

./RunTests.sh: line 162:    23 Aborted                 (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig DllImportGenerator.Unit.Tests.runtimeconfig.json --depsfile DllImportGenerator.Unit.Tests.deps.json xunit.console.dll DllImportGenerator.Unit.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/root/helix/work/workitem/e

CC @jkoritzinsky

Author: josalem
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Oct 22, 2021
@jkoritzinsky
Copy link
Member

Duplicate of #60705

@jkoritzinsky jkoritzinsky marked this as a duplicate of #60705 Oct 22, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Nov 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

2 participants