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

Streamline lock client usage #2214

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

johscheuer
Copy link
Member

Description

This PR changes the lock client interface and not getting a lock will result in an error too. We could create a dedicated error type for this, but I think it's easier to work with the lock client this way instead of having two values which were checked differently.

Based on #2212

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Discussion

Testing

Unit tests + CI e2e

Documentation

Follow-up

@johscheuer johscheuer marked this pull request as ready for review February 13, 2025 18:06
@foundationdb-ci
Copy link

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

  • Commit ID: 430df35
  • Duration 2:58:33
  • 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)

@johscheuer johscheuer force-pushed the streamline-lock-client-usage branch from 430df35 to d3536f0 Compare February 19, 2025 05:37
@foundationdb-ci
Copy link

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

  • Commit ID: d3536f0
  • Duration 3:14:13
  • 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)

@johscheuer johscheuer closed this Feb 19, 2025
@johscheuer johscheuer reopened this Feb 19, 2025
@foundationdb-ci
Copy link

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

  • Commit ID: d3536f0
  • Duration 3:09:22
  • 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)

@johscheuer
Copy link
Member Author

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

  • Commit ID: d3536f0
  • Duration 3:09:22
  • 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)

Summarizing 1 Failure:
  [FAIL] Operator Upgrades upgrading a cluster with coordinator Pods [It] Upgrade from 7.1.57 to 7.3.59 [e2e, pr]
  /codebuild/output/src3040123046/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator_upgrades_variations/operator_upgrades_variations_test.go:149

Ran 8 of 8 Specs in 5781.054 seconds
FAIL! -- 7 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: TestOperatorUpgradesVariations (5916.65s)
FAIL
FAIL	github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator_upgrades_variations	5916.783s
FAIL

That failure seems unrelated 🤔

@johscheuer johscheuer closed this Feb 19, 2025
@johscheuer johscheuer reopened this Feb 19, 2025
@foundationdb-ci
Copy link

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

  • Commit ID: d3536f0
  • Duration 2:48:27
  • 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)

Copy link
Contributor

@nicmorales9 nicmorales9 left a comment

Choose a reason for hiding this comment

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

lgtm

@johscheuer johscheuer merged commit 44e2efd into FoundationDB:main Feb 20, 2025
21 of 22 checks passed
@johscheuer johscheuer deleted the streamline-lock-client-usage branch February 20, 2025 16:02
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.

3 participants