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

attempt to wait for test namespaces to be deleted #314

Open
mhoffm-aiven opened this issue Aug 19, 2021 · 0 comments · May be fixed by #318
Open

attempt to wait for test namespaces to be deleted #314

mhoffm-aiven opened this issue Aug 19, 2021 · 0 comments · May be fixed by #318
Milestone

Comments

@mhoffm-aiven
Copy link

mhoffm-aiven commented Aug 19, 2021

Hey everyone,

for context, I was planning on using kuttl as a driver for end-to-end test in an operator. The operator talks to an API to create/update/delete objects according to some CRDs.

What happened:

When running tests using the

commands:
  - command: ./bin/manager
    background: true

configuration i noticed that the manager gets killed after the tests have finished and before the namespace was successfully deleted. That way it is not be able to clean up any remotely created objects anymore and resources are leaking. The manager did not get a chance to delete the finalizers.

What you expected to happen:

I was expecting the test suite to attempt to wait until the temporary namespace has been deleted.

How to reproduce it (as minimally and precisely as possible):

N/A

Environment:

  • Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.5", GitCommit:"6b1d87acf3c8253c123756b9e61dac642678305f", GitTreeState:"archive", BuildDate:"2021-03-30T00:00:00Z", GoVersion:"go1.16", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.2", GitCommit:"092fbfbf53427de67cac1e9fa54aaa09a28371d7", GitTreeState:"clean", BuildDate:"2021-06-16T12:53:14Z", GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}
  • KUTTL version (use kubectl kuttl version):
KUTTL Version: version.Info{GitVersion:"0.11.1", GitCommit:"25776a2", BuildDate:"2021-08-09T15:18:32Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
  • Cloud provider or hardware configuration: N/A
  • OS (e.g. from /etc/os-release):
NAME=Fedora
VERSION="34 (Container Image)"
ID=fedora
VERSION_ID=34
VERSION_CODENAME=""
PLATFORM_ID="platform:f34"
PRETTY_NAME="Fedora 34 (Container Image)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:34"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/34/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=34
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=34
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Container Image"
VARIANT_ID=container
  • Kernel (e.g. uname -a):
Linux toolbox 5.13.6-200.fc34.x86_64 #1 SMP Wed Jul 28 15:31:21 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Install tools: N/A
@mhoffm-aiven mhoffm-aiven linked a pull request Aug 31, 2021 that will close this issue
@kensipe kensipe added this to the 0.12.0 milestone Sep 2, 2021
@kensipe kensipe modified the milestones: 0.13.0, 0.16.0 Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants