Skip to content

[iOS/tvOS] System.Diagnostics.Tests.ProcessTests.TestGetProcesses fails on devices #60588

Description

@steveisok

This test fails with:

System.ComponentModel.Win32Exception : Could not get all running Process IDs.

Stack trace
   at Interop.libproc.proc_listallpids()
   at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
   at System.Diagnostics.Process.GetProcesses(String machineName)
   at System.Diagnostics.Process.GetProcesses()
   at System.Diagnostics.Tests.ProcessTests.TestGetProcesses()
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

I suspect we'll need to bring in the headers for proc_listallpids

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Oct 18, 2021
  2. MaximLipnin commented on Nov 12, 2021

    @MaximLipnin
    Contributor

    It might be addressed when #61265 (comment) is done.

  3. akoeplinger commented on Nov 16, 2021

    @akoeplinger
    Member

    This and the other tests disabled against #60588 on iOS/tvOS can be skipped with SkipOnPlatform since these APIs throw PNSE now.

  4. added this to the 7.0.0 milestone on Nov 16, 2021
  5. removed
    untriagedNew issue has not been triaged by the area owner
    on Nov 16, 2021
  6. MaximLipnin commented on Nov 18, 2021

    @MaximLipnin
    Contributor

    This and the other tests disabled against #60588 on iOS/tvOS can be skipped with SkipOnPlatform since these APIs throw PNSE now.

    Addressed in #61670

  7. ghost locked as resolved and limited conversation to collaborators on Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions