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

Add a test case for the unified image to check what happens if the Kubernetes API is partitioned #2036

Conversation

johscheuer
Copy link
Member

Description

The test showed that the fdb-kuberenetes-monitor keeps running but obviously it's not able to update it's annotations.

Type of change

Please select one of the options below.

  • Other

Discussion

We have to think of a way to signal those partitions to the operator, so that the operator is able to replace those process groups if they are partitioned for a long time from the Kubernetes API.

Testing

  2024/05/23 11:17:57 UpdateClusterSpec: specUpdated: false
  2024/05/23 11:17:59 UpdateClusterSpec: specUpdated: true
  2024/05/23 11:20:11 Start deleting qyo1ij26gmkk1cjjxj5k9nmfcffjkoxb
  2024/05/23 11:20:12 Chaos qyo1ij26gmkk1cjjxj5k9nmfcffjkoxb is deleted.
  2024/05/23 11:20:13 UpdateClusterSpec: specUpdated: true
  2024/05/23 11:20:13 waiting until the cluster jscheuermann/jdev is healthy and reconciled
  2024/05/23 11:21:43 reconciled name=jdev, namespace=jscheuermann, generation:2
  2024/05/23 11:21:43 waiting until the cluster jscheuermann/jdev is healthy and reconciled
  2024/05/23 11:21:43 reconciled name=jdev, namespace=jscheuermann, generation:2
• [265.953 seconds]
------------------------------
[AfterSuite]
/Users/jscheuermann/go/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator/operator_test.go:98
[AfterSuite] PASSED [0.000 seconds]
------------------------------
[ReportAfterSuite] Autogenerated ReportAfterSuite for --junit-report
autogenerated by Ginkgo
[ReportAfterSuite] PASSED [0.006 seconds]
------------------------------

Ran 1 of 50 Specs in 340.655 seconds
SUCCESS! -- 1 Passed | 0 Failed | 9 Pending | 40 Skipped
PASS | FOCUSED
FAIL    github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator       341.141s

Documentation

Follow-up

@foundationdb-ci
Copy link

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

  • Commit ID: 8966785
  • Duration 2:07:05
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@johscheuer johscheuer force-pushed the add-test-case-unified-image-partition-kube-api branch from 8966785 to c9b85db Compare May 28, 2024 13:32
@johscheuer johscheuer merged commit 22b0e40 into FoundationDB:main May 28, 2024
7 of 8 checks passed
@johscheuer johscheuer deleted the add-test-case-unified-image-partition-kube-api branch May 28, 2024 13:58
Copy link
Member Author

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merged as the new test is not executed with those changes.

@foundationdb-ci
Copy link

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

  • Commit ID: c9b85db
  • Duration 2:34:17
  • 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)

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 this pull request may close these issues.

None yet

3 participants