ywkaras commented on issue #5913:
URL: https://github.com/apache/trafficserver/issues/5913#issuecomment-702378265


   Saw thread_1_0.test.py fail in PR check autest.  (The PR, 
https://github.com/apache/trafficserver/pull/7232/files , only changed a 
different Au test.)  The failure happened running the check_threads.py script 
in the second test run.  Here is the resulting stream.all.txt:
   ```
   Traceback (most recent call last):
     File "/usr/local/lib64/python3.6/site-packages/psutil/_common.py", line 
340, in wrapper
       ret = self._cache[fun]
   AttributeError: _cache
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/usr/local/lib64/python3.6/site-packages/psutil/_pslinux.py", line 
1517, in wrapper
       return fun(self, *args, **kwargs)
     File "/usr/local/lib64/python3.6/site-packages/psutil/_common.py", line 
343, in wrapper
       return fun(self)
     File "/usr/local/lib64/python3.6/site-packages/psutil/_pslinux.py", line 
1559, in _parse_stat_file
       with open_binary("%s/%s/stat" % (self._procfs_path, self.pid)) as f:
     File "/usr/local/lib64/python3.6/site-packages/psutil/_common.py", line 
604, in open_binary
       return open(fname, "rb", **kwargs)
   FileNotFoundError: [Errno 2] No such file or directory: '/proc/32116/stat'
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/usr/local/lib64/python3.6/site-packages/psutil/__init__.py", line 
474, in _init
       self.create_time()
     File "/usr/local/lib64/python3.6/site-packages/psutil/__init__.py", line 
824, in create_time
       self._create_time = self._proc.create_time()
     File "/usr/local/lib64/python3.6/site-packages/psutil/_pslinux.py", line 
1517, in wrapper
       return fun(self, *args, **kwargs)
     File "/usr/local/lib64/python3.6/site-packages/psutil/_pslinux.py", line 
1729, in create_time
       ctime = float(self._parse_stat_file()['create_time'])
     File "/usr/local/lib64/python3.6/site-packages/psutil/_pslinux.py", line 
1524, in wrapper
       raise NoSuchProcess(self.pid, self._name)
   psutil.NoSuchProcess: psutil.NoSuchProcess process no longer exists 
(pid=32116)
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "check_threads.py", line 91, in <module>
       main()
     File "check_threads.py", line 87, in main
       exit(count_threads(args.ts_path, args.etnet_threads, 
args.accept_threads))
     File "check_threads.py", line 31, in count_threads
       p = psutil.Process(pid)
     File "/usr/local/lib64/python3.6/site-packages/psutil/__init__.py", line 
447, in __init__
       self._init(pid)
     File "/usr/local/lib64/python3.6/site-packages/psutil/__init__.py", line 
487, in _init
       raise NoSuchProcess(pid, None, msg)
   psutil.NoSuchProcess: psutil.NoSuchProcess no process found with pid 32116
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to