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 migration test from split to unified image #2048

Merged

Conversation

johscheuer
Copy link
Member

Description

Adding e2e test cases for converting a cluster from split image to unified and from the unified to the split image.

Type of change

Please select one of the options below.

  • Other

Discussion

I adjusted the e2e testing code to make sure we can test those migrations.

Testing

Manually tested:

tail -f /Users/jscheuermann/go/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/../logs/test_operator_migrate_image_type.log

[ReportAfterSuite] Autogenerated ReportAfterSuite for --junit-report
autogenerated by Ginkgo
[ReportAfterSuite] PASSED [0.003 seconds]
------------------------------

Ran 2 of 2 Specs in 1011.427 seconds
SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestOperator (1011.43s)
PASS
ok      github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator_migrate_image_type    1011.843s

Documentation

Follow-up

Run those tests regularly.

@foundationdb-ci
Copy link

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

  • Commit ID: a192aa7
  • Duration 3:39:28
  • 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: 7600dbd
  • Duration 3:36:32
  • 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: c604c02
  • Duration 2:08:30
  • 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: c9e038e
  • Duration 2:38: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)

@foundationdb-ci
Copy link

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

  • Commit ID: 5825d6b
  • Duration 3:36:50
  • 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: c9e038e
  • Duration 2:38: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)
• [FAILED] [496.714 seconds]
Operator Upgrades one process is marked for removal and is stuck in terminating state [It] Upgrade from 7.1.57 to 7.3.33 [e2e, pr]
/codebuild/output/src1459034628/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/fixtures/upgrade_test_configuration.go:115

  [FAILED] Timed out after 300.001s.
  Expected
      <*int64 | 0x0>: nil
  not to be nil
  In [It] at: /codebuild/output/src1459034628/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator_upgrades/operator_upgrades_test.go:573 @ 06/05/24 13:18:11.891
------------------------------

There was one unrelated failure. I'm going to open an issue later.

@johscheuer
Copy link
Member Author

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

  • Commit ID: 5825d6b
  • Duration 3:36:50
  • 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)

Same here:


  [FAILED] in [AfterEach] - /codebuild/output/src3879914366/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator/operator_test.go:114 @ 06/05/24 12:37:45.98
• [FAILED] [3001.315 seconds]
Operator when we change the process group prefix [It] should add the prefix to all instances [e2e, pr]
/codebuild/output/src3879914366/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator/operator_test.go:897

  [FAILED] Timed out after 1200.001s.
  The function passed to Eventually failed at /codebuild/output/src3879914366/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator/operator_test.go:913 with:
  Expected
      <string>: log-1
  to have prefix
      <string>: banana
  In [It] at: /codebuild/output/src3879914366/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator/operator_test.go:917 @ 06/05/24 12:07:45.785

  There were additional failures detected.  To view them in detail run ginkgo -vv
------------------------------

@johscheuer johscheuer merged commit 88355fa into FoundationDB:main Jun 5, 2024
7 of 8 checks passed
@johscheuer johscheuer deleted the add-e2e-migration-test-unified-image branch June 5, 2024 14:47
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