Skip to content

Conversation

akankshamahajan15
Copy link
Contributor

Description

Enable encryption in backup operator test.

Type of change

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

Discussion

Testing

CLEANUP=false NAMESPACE=ak make -C e2e test_operator_backups.run

Documentation

Follow-up

@akankshamahajan15
Copy link
Contributor Author

akankshamahajan15 commented Aug 22, 2025

The backup test is failing because of #2332

In order to test encryption changes, I reverted that PR locally and tested encryption changes.

@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 8e290a8
  • Duration 0:03:09
  • Result: ❌ FAILED
  • Error: git checkout failed with exit status 128: fatal: unable to read tree (8e290a86d787f9f551536508b9dbda27e5a9dbdb) for primary source and source version 8e290a86d787f9f551536508b9dbda27e5a9dbdb
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 421ed56
  • Duration 2:28:07
  • 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
Copy link
Member

The backup test is failing because of #2332

In order to test encryption changes, I reverted that PR locally and tested encryption changes.

I would be surprised, the newly added test case was not running 🤔

@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 3deabc9
  • Duration 1:53:03
  • 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)

@akankshamahajan15 akankshamahajan15 force-pushed the temp-branch branch 2 times, most recently from 9c46831 to 5469188 Compare September 16, 2025 18:28
@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: cc24571
  • Duration 0:03:37
  • Result: ❌ FAILED
  • Error: git checkout failed with exit status 128: fatal: unable to read tree (cc245718d8dba17a7e29e263a4a4948a7bfbba32) for primary source and source version cc245718d8dba17a7e29e263a4a4948a7bfbba32
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@akankshamahajan15
Copy link
Contributor Author

akankshamahajan15 commented Sep 16, 2025

Tested this changes on top of PR - #2364
and both tests without encryption and with encryption passed successfully.

Will wait for that PR to merge.

Command run:
FDB_VERSION="7.4.3" CLEANUP=false UPGRADE_VERSIONS="" VERBOSE=true FEATURE_UNIFIED_IMAGE=true NAMESPACE=ak DUMP_OPERATOR_STATE=false CLUSTER_NAME=ak-backup REGISTRY="112664522426.dkr.ecr.us-west-2.amazonaws.com" OPERATOR_IMAGE="foundationdb/fdb-kubernetes-operator:akm" CONTEXT="arn:aws:eks:us-west-2:112664522426:cluster/foundationdb-chaos-0" FDB_VERSION_TAG_MAPPING="7.4.3:7.4.0-nightly-main-86b30933" FEATURE_DNS=true make -C e2e test_operator_backups.run

@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 9c46831
  • Duration 0:03:14
  • Result: ❌ FAILED
  • Error: git checkout failed with exit status 128: fatal: unable to read tree (9c468316e4ea2e52ef318ba8b7b5869ead89e98e) for primary source and source version 9c468316e4ea2e52ef318ba8b7b5869ead89e98e
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 5469188
  • Duration 2:29:24
  • 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)

@akankshamahajan15 akankshamahajan15 force-pushed the temp-branch branch 2 times, most recently from 0c9aea0 to 2723d3b Compare September 17, 2025 17:39
@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 0c9aea0
  • Duration 2:30:29
  • 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
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 2723d3b
  • Duration 2:14:06
  • 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
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 897ca5d
  • Duration 3:05:47
  • 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
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: d790e4c
  • Duration 1:50: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)

@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: ef0e549
  • Duration 2:00: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)

@akankshamahajan15
Copy link
Contributor Author

Failure:

--seaweedfs-image=chrislusf/seaweedfs:3.73  \
  | grep -v 'constructing many client instances from the same exec auth config can cause performance problems during cert rotation' &> /codebuild/output/src4132661220/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/../logs/test_operator_velocity.log
make: *** [Makefile:184: test_operator_plugin.run] Error 1
make: Target 'pr-tests' not remade because of errors.
make: Leaving directory '/codebuild/output/src4132661220/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e'

[Container] 2025/09/22 20:03:26.794766 Command did not exit successfully TEST_USERNAME=pr-${CODEBUILD_BUILD_NUMBER} make -kj -C e2e pr-tests exit status 2
[Container] 2025/09/22 20:03:26.862677 Running command export fail_test=false

[Container] 2025/09/22 20:03:26.872341 Running command if $(grep -q -- "--- FAIL:" ${CODEBUILD_SRC_DIR}/logs/*.log); then echo "TESTS FAILED SEE THESE LOGS:"; echo ; grep -l -- "--- FAIL:" ${CODEBUILD_SRC_DIR}/logs/*.log; export fail_test=true; fi
TESTS FAILED SEE THESE LOGS:

/codebuild/output/src4132661220/src/github.com/FoundationDB/fdb-kubernetes-operator/logs/test_operator_plugin.log

[Container] 2025/09/22 20:03:28.296465 Running command for f in $(grep -L -- "SUCCESS\!" ${CODEBUILD_SRC_DIR}/logs/*.log); do if ! grep -q -- "--- FAIL:" $f; then echo "This test has timed out or had a panic: $f"; export fail_test=true; fi ;  done

[Container] 2025/09/22 20:03:28.589684 Running command if $fail_test; then exit 1; fi

[Container] 2025/09/22 20:03:28.596751 Command did not exit successfully if $fail_test; then exit 1; fi exit status 1
[Container] 2025/09/22 20:03:28.606695 Phase complete: BUILD State: FAILED_WITH_CONTINUE
[Container] 2025/09/22 20:03:28.607877 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: if $fail_test; then exit 1; fi. Reason: exit status 1
[Container] 2025/09/22 20:03:28.752114 Entering phase POST_BUILD
[Container] 2025/09/22 20:03:28.753301 Running command echo "post_build phase"
post_build phase

[Container] 2025/09/22 20:03:28.762975 Running command 

[Container] 2025/09/22 20:03:28.772192 Running command 

[Container] 2025/09/22 20:03:28.781400 Running command 

[Container] 2025/09/22 20:03:28.790680 Running command TEST_USERNAME=pr-${CODEBUILD_BUILD_NUMBER} make -kj -C e2e destroy-my-namespaces
make: Entering directory '/codebuild/output/src4132661220/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e'
./scripts/remove_namespaces pr-1542 
start deleting namespace pr-1542-operator-ha-upgrades-7554894h-remote-sat
start deleting namespace pr-1542-operator-ha-upgrades-7554894h-remote
start deleting namespace pr-1542-operator-ha-upgrades-7554894h-primary-sat
start deleting namespace pr-1542-operator-ha-upgrades-7554894h-primary
namespace "pr-1542-operator-ha-upgrades-7554894h-primary-sat" deleted
namespace "pr-1542-operator-ha-upgrades-7554894h-remote-sat" deleted
namespace "pr-1542-operator-ha-upgrades-7554894h-primary" deleted
namespace "pr-1542-operator-ha-upgrades-7554894h-remote" deleted
remove all chaos experiments for user
No resources found
No resources found
No resources found
No resources found
No resources found
No resources found
make: Leaving directory '/codebuild/output/src4132661220/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e'

@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 34dc371
  • Duration 2:30:13
  • 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
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: ef0e549
  • Duration 2:23:55
  • 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 enabled auto-merge (squash) September 23, 2025 04:22
Copy link
Member

@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.

LGTM 👍 Thanks!

@johscheuer johscheuer merged commit 4961e65 into FoundationDB:main Sep 23, 2025
17 checks passed
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