While trying to reproduce intermediate-state bug 1: rabbitmq-cluster-operator-782 with Sieve on my Mac machine, I hit the below error:
File "/Users/jshajigeorge/work/sieve/sieve.py", line 550, in run_workload
os.killpg(streaming.pid, signal.SIGTERM)
PermissionError: [Errno 1] Operation not permitted
This is because Sieve is trying to kill the controller log streaming process which is already in a Zombie process. This is not permitted in Mac - zombie processes are reaped by its parent when the parent dies.
This change fixes this issue by ignoring the exception raised when this happens and adds a log statement to report this.
While trying to reproduce intermediate-state bug 1: rabbitmq-cluster-operator-782 with Sieve on my Mac machine, I hit the below error: File "/Users/jshajigeorge/work/sieve/sieve.py", line 550, in run_workload os.killpg(streaming.pid, signal.SIGTERM) PermissionError: [Errno 1] Operation not permitted
This is because Sieve is trying to kill the controller log streaming process which is already in a Zombie process. This is not permitted in Mac - zombie processes are reaped by its parent when the parent dies.
This change fixes this issue by ignoring the exception raised when this happens and adds a log statement to report this.
fixes #115