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

OpenBSD is unable to recognize zombie process. #2229

Merged
merged 2 commits into from
Apr 12, 2023
Merged

Commits on Apr 12, 2023

  1. OpenBSD is unable to recognize zombie process.

    See failure:
    
    ======================================================================
    ERROR: psutil.tests.test_process.TestProcess.test_zombie_process
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/vagrant/psutil/psutil/_psbsd.py", line 560, in wrapper
        return fun(self, *args, **kwargs)
      File "/vagrant/psutil/psutil/_psbsd.py", line 862, in open_files
        rawlist = cext.proc_open_files(self.pid)
    ProcessLookupError: [Errno 3] No such process
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/vagrant/psutil/psutil/tests/test_process.py", line 1312, in test_zombie_process
        zproc.as_dict()
      File "/vagrant/psutil/psutil/__init__.py", line 528, in as_dict
        ret = meth()
      File "/vagrant/psutil/psutil/__init__.py", line 1142, in open_files
        return self._proc.open_files()
      File "/vagrant/psutil/psutil/_psbsd.py", line 565, in wrapper
        raise NoSuchProcess(self.pid, self._name)
    psutil.NoSuchProcess: process no longer exists (pid=67013)
    
    ----------------------------------------------------------------------
    Ran 1 test in 0.136s
    
    FAILED (errors=1)
    giampaolo committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    99b0753 View commit details
    Browse the repository at this point in the history
  2. update HISTORY

    giampaolo committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    f6e13b6 View commit details
    Browse the repository at this point in the history