Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test test_ephemeral_pod_creation[cephfs] fails sometimes - PVC deletion #11028

Open
AviadP opened this issue Dec 10, 2024 · 0 comments
Open

Test test_ephemeral_pod_creation[cephfs] fails sometimes - PVC deletion #11028

AviadP opened this issue Dec 10, 2024 · 0 comments
Assignees

Comments

@AviadP
Copy link
Contributor

AviadP commented Dec 10, 2024

E AssertionError: PVC pod-test-cephfs-5c5db7539cdf4152bfe8b762 not deleted
E assert not [{'apiVersion': 'v1', 'kind': 'PersistentVolumeClaim', 'metadata': {'annotations': {'pv.kubernetes.io/bind-completed':...equests': {'storage': '1Gi'}}, 'storageClassName': 'ocs-storagecluster-cephfs', 'volumeMode': 'Filesystem', ...}, ...}]
E + where [{'apiVersion': 'v1', 'kind': 'PersistentVolumeClaim', 'metadata': {'annotations': {'pv.kubernetes.io/bind-completed':...equests': {'storage': '1Gi'}}, 'storageClassName': 'ocs-storagecluster-cephfs', 'volumeMode': 'Filesystem', ...}, ...}] = <built-in method get of dict object at 0x7fd9715c41c0>('items')
E + where <built-in method get of dict object at 0x7fd9715c41c0> = {'apiVersion': 'v1', 'items': [{'apiVersion': 'v1', 'kind': 'PersistentVolumeClaim', 'metadata': {'annotations': {'pv....s-storagecluster-cephfs', 'volumeMode': 'Filesystem', ...}, ...}], 'kind': 'List', 'metadata': {'resourceVersion': ''}}.get

tests/functional/pod_and_daemons/test_ephemeral_pod.py:61: AssertionError

in rare cases, asserion of pvc deleted failed, but there is no indication the pvc is still exist in must gather

@AviadP AviadP self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant