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 e2e test setup for operator #1534

Merged
merged 6 commits into from
Mar 28, 2023

Conversation

johscheuer
Copy link
Member

@johscheuer johscheuer commented Mar 7, 2023

Description

This change adds the operator related e2e tests into the operator repository and allows users to run those e2e tests.

Type of change

Please select one of the options below.

  • New feature (non-breaking change which adds functionality)

Discussion

I removed the old tests, since they never ran automatically.

Testing

Documentation

I will add more documentation once we move forward with the refactoring.

Follow-up

@foundationdb-ci
Copy link

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

  • Commit ID: bfc5fed7d32df422243215ca0c4e2255bd5ebfb6
  • Duration 2:12:42
  • 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)

@foundationdb-ci
Copy link

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

  • Commit ID: c137373f713ceb1685cf39310a57e3536c6545ad
  • Duration 3:02:46
  • 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 requested review from jleach4 and removed request for xumengpanda and sbodagala March 24, 2023 16:05
@johscheuer johscheuer changed the title Initial refactoring for new e2e helper methods Add e2e test setup for operator Mar 24, 2023
@foundationdb-ci
Copy link

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

  • Commit ID: 663b3c660301aa2efc2a51ac6f0e621b69dc1e5b
  • Duration 1:44:17
  • 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)

@foundationdb-ci
Copy link

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

  • Commit ID: 7182dd00c9ae56d0f60e74d0341c3e6970b5317c
  • Duration 3:52:26
  • 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
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.

I have to add a build tag to the e2e test files to make sure we are not executing them when running go test ./...

@foundationdb-ci
Copy link

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

  • Commit ID: f82ca92b3ea4959663e77c0afb404bd96d5be1e7
  • Duration 4:06:54
  • 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)

@foundationdb-ci
Copy link

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

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

@johscheuer
Copy link
Member Author

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

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

Test failure is related to this issue: ERROR: This exclude may cause the total free space in the cluster to drop below 10%.\n we have a fix for this in fdbcli and we are investigating it further from FDB side.

@johscheuer johscheuer closed this Mar 28, 2023
@johscheuer johscheuer reopened this Mar 28, 2023
Copy link
Contributor

@jleach4 jleach4 left a comment

Choose a reason for hiding this comment

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

I do think we need to make a documentation run through this repo. In the open source world, undocumented code is not well received…

@johscheuer
Copy link
Member Author

I do think we need to make a documentation run through this repo. In the open source world, undocumented code is not well received…

Let me spend some time today/this week on adding better documentation to this repo.

@foundationdb-ci
Copy link

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

  • Commit ID: 5706d58
  • Duration 2:33:17
  • 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 merged commit 60ee8a2 into FoundationDB:main Mar 28, 2023
@johscheuer johscheuer deleted the add-e2e-helper-methods branch March 28, 2023 09:08
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