镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Test failure: JIT/opt/OSR/largefuncletframe/largefuncletframe.sh #76085

Closed

Description

@karelz

Affected tests:

  • JIT/opt/OSR/largefuncletframe/largefuncletframe.sh

Failure: Assertion failed 'false && "found use of a node that is not in the LIR sequence"

  • 9/23:
    • 35x failures in Kusto on main runs on 9/22 -- looks like a fresh regression
    • Note: Runfo last 30 days shows first occurrence on 9/20 in Rolling run 23975
let failedTests = (testNameSubstring : string, methodName : string, messageSubstr: string, includePR : bool, includePassedOnRerun : bool) {
cluster('engsrvprod.kusto.windows.net').database('engineeringdata').AzureDevOpsTests
    | where TestName contains testNameSubstring
    | where includePassedOnRerun or (Outcome == 'Failed')
    | extend startOfTestName = indexof_regex(TestName, @"[^.]+$")
    | extend Method = substring(TestName, startOfTestName)
    | extend Type = substring(TestName, 0, startOfTestName - 1)
    | project-away startOfTestName
    | where (methodName == '') or (Method == methodName)
    | where Message contains messageSubstr
    | distinct JobId, WorkItemId, Message, StackTrace, Method, Type, Arguments, Outcome
    | join kind=inner (cluster('engsrvprod.kusto.windows.net').database('engineeringdata').Jobs
        | where ((Branch == 'refs/heads/main') or (Branch == 'refs/heads/master') or (includePR and (Source startswith "pr/")))
        | where Type startswith "test/functional/cli/"
            and not(Properties contains "runtime-staging")
            and not(Properties contains "jitstress")
        | summarize arg_max(Finished, Properties, Type, Branch, Source, Started, QueueName) by JobId
        | project-rename JobType = Type) on JobId
    | extend PropertiesJson = parse_json(Properties)
    | extend OS = replace_regex(tostring(PropertiesJson.operatingSystem), @'\((.*)\).*|([^\(].*)', @'\1\2')
    | extend Runtime = iif(PropertiesJson.runtimeFlavor == "mono", "Mono", iif(PropertiesJson.DefinitionName contains "coreclr", "CoreCLR", ""))
    | extend TargetBranch = extractjson("$.['System.PullRequest.TargetBranch']", Properties)
    | extend Architecture = PropertiesJson.architecture
    | extend Scenario = iif(isempty(PropertiesJson.scenario), "--", PropertiesJson.scenario)
    //| extend DefinitionName = PropertiesJson.DefinitionName
    | project-away PropertiesJson
};
failedTests(
    '', //testNameSubstring
    '', //methodName
    'found use of a node that is not in the LIR sequence', //messageSubstr
    true,  //includePR
    true); //includePassedOnRerun

Example error:


Assert failure(PID 13588 [0x00003514], Thread: 7980 [0x1f2c]): Assertion failed 'false && "found use of a node that is not in the LIR sequence"' in 'System.Diagnostics.Tracing.EventSource:Initialize(System.Guid,System.String,System.String[]):this' during 'Rationalize IR' (IL size 414; hash 0x578c91f2; Tier0-FullOpts)

    File: D:\a\_work\1\s\src\coreclr\jit\lir.cpp Line: 1622
    Image: D:\h\w\A89A0902\p\corerun.exe


Return code:      1
Raw output file:      D:\h\w\A89A0902\w\A01808E0\uploads\Reports\JIT.opt\OSR\largefuncletframe\largefuncletframe.output.txt
Raw output:
BEGIN EXECUTION
 "D:\h\w\A89A0902\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  largefuncletframe.dll 
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=D:\h\w\A89A0902\p
> D:\h\w\A89A0902\w\A01808E0\e\JIT\opt\OSR\largefuncletframe\largefuncletframe.cmd
Expected: True
Actual:   False

   at JIT_opt._OSR_largefuncletframe_largefuncletframe_._OSR_largefuncletframe_largefuncletframe_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Another example: Console log

Activity

  1. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Sep 23, 2022
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Sep 23, 2022
  3. karelz commented on Sep 23, 2022

    @karelz
    MemberAuthor

    Not sure if it is related, but if you remove the test name, there are 24K+ failures in Kusto with the same assert across various tests -- almost all in jitstress, except 30.
    Kusto will stop showing failures, but at least the top 24,461 it shows are all from 9/22:

    let failedTests = (testNameSubstring : string, methodName : string, messageSubstr: string, includePR : bool, includePassedOnRerun : bool) {
    cluster('engsrvprod.kusto.windows.net').database('engineeringdata').AzureDevOpsTests
        | where TestName contains testNameSubstring
        | where includePassedOnRerun or (Outcome == 'Failed')
        | extend startOfTestName = indexof_regex(TestName, @"[^.]+$")
        | extend Method = substring(TestName, startOfTestName)
        | extend Type = substring(TestName, 0, startOfTestName - 1)
        | project-away startOfTestName
        | where (methodName == '') or (Method == methodName)
        | where Message contains messageSubstr
        | distinct JobId, WorkItemId, Message, StackTrace, Method, Type, Arguments, Outcome
        | join kind=inner (cluster('engsrvprod.kusto.windows.net').database('engineeringdata').Jobs
            | where ((Branch == 'refs/heads/main') or (Branch == 'refs/heads/master') or (includePR and (Source startswith "pr/")))
            | where Type startswith "test/functional/cli/"
                and not(Properties contains "runtime-staging")
                //and not(Properties contains "stress")
            | summarize arg_max(Finished, Properties, Type, Branch, Source, Started, QueueName) by JobId
            | project-rename JobType = Type) on JobId
        | extend PropertiesJson = parse_json(Properties)
        | extend OS = replace_regex(tostring(PropertiesJson.operatingSystem), @'\((.*)\).*|([^\(].*)', @'\1\2')
        | extend Runtime = iif(PropertiesJson.runtimeFlavor == "mono", "Mono", iif(PropertiesJson.DefinitionName contains "coreclr", "CoreCLR", ""))
        | extend TargetBranch = extractjson("$.['System.PullRequest.TargetBranch']", Properties)
        | extend Architecture = PropertiesJson.architecture
        | extend Scenario = iif(isempty(PropertiesJson.scenario), "--", PropertiesJson.scenario)
        //| extend DefinitionName = PropertiesJson.DefinitionName
        | project-away PropertiesJson
    };
    failedTests(
        '', //testNameSubstring
        '', //methodName
        'found use of a node that is not in the LIR sequence', //messageSubstr
        true,  //includePR
        true); //includePassedOnRerun
  4. jakobbotsch commented on Sep 23, 2022

    @jakobbotsch
    Member

    This is likely a duplicate of #75944, the fix was just merged one hour ago (#75992).

  5. AndyAyersMS commented on Sep 23, 2022

    @AndyAyersMS
    Member

    Right, should be fixed by #75992.

  6. AndyAyersMS commented on Sep 23, 2022

    @AndyAyersMS
    Member

    We run a lot of jitstress now...

  7. karelz commented on Sep 23, 2022

    @karelz
    MemberAuthor

    Duplicate of #75944

  8. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Sep 23, 2022
  9. added this to the 8.0.0 milestone on Sep 23, 2022
  10. ghost locked as resolved and limited conversation to collaborators on Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions