FoundationDB / fdb-kubernetes-operator

A kubernetes operator for FoundationDB
Apache License 2.0
238 stars 81 forks source link

Make sure to wait until the namespace is completely deleted #2070

Closed johscheuer closed 2 weeks ago

johscheuer commented 2 weeks ago

Description

We have seen a few cases where the same namespace name is used when the e2e tests are running, so we should be waiting in the test setup until the namespace is deleted before using it. Waiting for it to be deleted will recreate the namespace and all required resources.

Some test set a custom finalizer, this change checks for pods with a finalizer and resets them if one is set.

Type of change

Please select one of the options below.

Discussion

-

Testing

CI will be running.

Documentation

-

Follow-up

-

foundationdb-ci commented 2 weeks ago

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

foundationdb-ci commented 2 weeks ago

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

foundationdb-ci commented 2 weeks ago

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

johscheuer commented 2 weeks ago

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: 071dd97
  • Duration 2:29:52
  • Result: ❌ FAILED
  • Error: Error while executing command: if $fail_test; then exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Those test failures are unrelated to the changes and I'll be looking into them in another PR.