Skip to content

Test failure : System.Diagnostics.Tests.ProcessTests.ProcessNameMatchesScriptName #13757

@AriNuer

Description

@AriNuer

Frequency:

  • 4/1-7/22 -- 23 hits (2x official runs, 21x PR) ... average: 1-2 hits per week
let failedTests = (testNameSubstring : string, methodName : string, includePR : bool, messageSubstr: string, 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")
        | 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('', 'ProcessNameMatchesScriptName', true, 'Assert', true);

Job:
coreclr-corefx-jitstress:20191106.1

Details:
https://helix.dot.net/api/2019-06-17/jobs/dc1d0990-ba17-4d58-bba6-42bfb71b843b/workitems/System.Diagnostics.Process.Tests/console

OS & Arch:
Linux x64

Mode:
export COMPlus_TieredCompilation=0
export COMPlus_DbgEnableMiniDump=1
export COMPlus_DbgMiniDumpName=$HELIX_DUMP_FOLDER/coredump.%d.dmp
export COMPlus_JitStress=2

Log:

~/work/dc1d0990-ba17-4d58-bba6-42bfb71b843b/Work/0df10b6f-33b8-45e5-93e8-6b9124ec38b0/Exec ~/work/dc1d0990-ba17-4d58-bba6-42bfb71b843b/Work/0df10b6f-33b8-45e5-93e8-6b9124ec38b0/Exec
  Discovering: System.Diagnostics.Process.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Diagnostics.Process.Tests (found 214 of 272 test cases)
  Starting:    System.Diagnostics.Process.Tests (parallel test collections = on, max threads = 2)
    System.Diagnostics.Tests.ProcessStartInfoTests.ShellExecute_Nano_Fails_Start [SKIP]
      Condition(s) not met: "IsWindowsNanoServer"
Linux
Linux
Linux
Linux
None of the following programs were installed on this machine: xdg-open,gnome-open,kfmclient.
    System.Diagnostics.Tests.ProcessTests.ProcessNameMatchesScriptName [FAIL]
      Assert.Equal() Failure
                ↓ (pos 0)
      Expected: /bin/sh\0/tmp/ProcessTests_uvir03tc.k5r/Pr···
      Actual:   
                ↑ (pos 0)
      Stack Trace:
        /_/src/System.Diagnostics.Process/tests/ProcessTests.Unix.cs(180,0): at System.Diagnostics.Tests.ProcessTests.ProcessNameMatchesScriptName()
    System.Diagnostics.Tests.ProcessTests.TestProcessRecycledPid [SKIP]
      Condition(s) not met: "IsStressModeEnabled"
  Finished:    System.Diagnostics.Process.Tests
=== TEST EXECUTION SUMMARY ===
   System.Diagnostics.Process.Tests  Total: 268, Errors: 0, Failed: 1, Skipped: 2, Time: 57.208s
~/work/dc1d0990-ba17-4d58-bba6-42bfb71b843b/Work/0df10b6f-33b8-45e5-93e8-6b9124ec38b0/Exec
----- end Thu Nov 7 07:57:14 UTC 2019 ----- exit code 1 ----------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions