You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use container-kill experiment with OpenShift 4 which uses CRIO 1.19 as container runtime.
Checking in the code, this experiment is triggered by executing crictl stop container-id [1]
But looking then to the underlying terminated container, I see that its exit code is 143, i.e. it receives a SIGTERM, but not a SIGKILL.
However, if I try a manual test directly from the host and I add the --timeout=0 to the crictl stop command, the container will receive a SIGKILL, i.e its exit status will be 137.
Following PR should fix this issue: #306
radudd
changed the title
container-kill: Sending SIGTERM instead SIGKILL when using CRIO runtime
container-kill: Sending SIGTERM instead of SIGKILL when using CRIO runtime
Mar 8, 2021
I am trying to use container-kill experiment with OpenShift 4 which uses CRIO 1.19 as container runtime.
Checking in the code, this experiment is triggered by executing
crictl stop container-id
[1]But looking then to the underlying terminated container, I see that its exit code is 143, i.e. it receives a SIGTERM, but not a SIGKILL.
However, if I try a manual test directly from the host and I add the
--timeout=0
to thecrictl stop
command, the container will receive a SIGKILL, i.e its exit status will be 137.Following PR should fix this issue: #306
Many thanks!
[1]
litmus-go/chaoslib/litmus/container-kill/helper/container-kill.go
Line 159 in e9ea060
The text was updated successfully, but these errors were encountered: