Reliability of the zombie_handled test #2205
Unanswered
sysarch-repo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Team,
I am using CNF testsuite 1.3.3 and have doubts regarding the reliability of the zombie_handling test that is part of the cert essential group. I ask comments and support in shedding light on the topics below.
Thanks!
This seems to be a design flaw and may justify a bug ticket. -> done as per #2207
2a. The simple app1 shows zombie processes after the script is terminated in the app1 container:
Sig term handling details:
top:
The app1 application passes both zombie_handling and sigterm_test in both cgroup v1 and v2 environments (here cgroup v2):
The discrepancy is that the manual test using the script is showing zombie process while the CNTI test will pass. Note, when using specialized init system, no zombie process is seen:
There arises a question why the zombie_handling test is not detecting the zombie processes, unless the test using the script is not representative and cannot be used as reference. Thoughts?
2b. The production app2 shows zombie processes after the script is terminated in the app2 container:
Sig term handling details:
The app2 application passes both zombie_handling and sigterm_test in cgroup v1 environment and fails in v2 environments:
The discrepancy is that the manual test using the script is showing zombie processes while the CNTI test will pass in cgroup v1 environments. Note, when using specialized init system, no zombie process is seen and the test will pass:
There arises again a question why the zombie_handling test is not detecting the zombie processes, unless the test using the script is not representative and cannot be used as reference. Further, why are there different results seen depending on the cgroup version? I only see that app2 has child processes to manage while app1 is only having one parent process. Thoughts?
Note, this is not about coming to the conclusion that using specialized init system solves the problem. The question here is how reliable the zombie_handling test is and/or what is wrong with the assumptions / conclusions posted here.
I am staying tuned for any comments or follow-up thoughts. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions