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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Test case test_volume_reattach_after_engine_sigkill
failed
#6751
Comments
https://longhorn.io/docs/1.5.1/references/settings/#automatically-delete-workload-pod-when-the-volume-is-detached-unexpectedly
so after kill the engine process, we are waiting the remount request to see if everything back to normal, then validate the data But in wait_pod_for_remount_request , "waiting the remount request" is actually
we try to get the pod by calling k8s api, and is not found
We actually retry a while to get the pod
That means the test case failed because it can't get the pod for a while after we delete the pod, the statefulset should recreate the pod |
Fixed in #7491. |
Describe the bug (馃悰 if you encounter this issue)
In Longhorn
master-head
, test case test_volume_reattach_after_engine_sigkill failed because there was an error whilewait_pod_for_remount_request
, and it appears to have the same issue as the aftercrash_engine_process_with_sigkill
.After discussing with @ChanYiLin , he will examine the support bundle to ascertain whether the root cause of this failure is similar to that of #6699. If not, I will attempt to modify the test case to include log printing in the console output
To Reproduce
Execute test case
test_ha.py::test_volume_reattach_after_engine_sigkill
Expected behavior
Have consistent test result in all branches result
Support bundle for troubleshooting
longhorn-tests-sles-amd64-664-bundle.zip
Environment
Kubectl
v1.28.1+k3s1
1
3
SLES 15-sp5
4 cores
16GB
SSD
AWS
1
Additional context
The text was updated successfully, but these errors were encountered: