vault/.github/workflows
Vault Automation 7808c301e2
feat(enos): migrate vault_verify_replication to blackbox tests (#14963) (#15112)
* feat(enos): migrate vault_verify_replication to blackbox tests

Convert vault_verify_replication from bash scripts to blackbox SDK tests.

Changes:
- Created vault/external_tests/blackbox/verify/replication_test.go with TestReplicationAvailability
- Updated enos-scenario-smoke.hcl to use vault_run_blackbox_test module
- Removed enos/modules/vault_verify_replication module and bash script

The new test verifies:
- CE: replication mode is 'disabled'
- ENT: DR and performance replication are available

Fixes: Converts bash-based verification to Go-based blackbox tests for better maintainability

* Add detailed error messages to replication test for debugging

* Add debug logging to replication test

* Exclude TestReplicationAvailability from race detection

The TestReplicationAvailability test requires a live Vault instance with
VAULT_ADDR and VAULT_TOKEN environment variables set. This test is not
compatible with race detection runs in CI which don't have these
prerequisites configured.

Add //go:build !race tag to exclude this test from race detection runs.

* Revert "Exclude TestReplicationAvailability from race detection"

This reverts commit 5afc7c1bf243e7e833864288cdd5bd16c9ed3018.

* Fix replication test to read from root namespace

The test was failing because it tried to read sys/replication/status
from within the test's isolated namespace. Replication status is only
available at the root namespace level.

Changes:
- Use WithRootNamespace() to read replication status from root
- Add proper error handling for the namespace operation
- Add api import for WithRootNamespace return type

* Add testonly build tag and update CI workflow pattern for verify tests

* Add missing ip_version parameter to vault_run_blackbox_test calls

Co-authored-by: hashigator <280075563+hashigator@users.noreply.github.com>
2026-06-05 17:31:03 +00:00
..
actionlint.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
add-hashicorp-contributed-label.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
benchmark-prevent-performance-degradations.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
build-artifacts-ce.yml actions: pin to latest actions (#12060) (#12069) 2026-01-29 10:07:15 -08:00
build-artifacts-ent.yml [VAULT-34830] actions: update CE workflows for unified enterprise repository (#31425) 2025-08-07 14:35:18 -06:00
build-hcp-image.yml Backport [VAULT-41857] pipeline(find-artifact): add support for finding artifacts from branches into ce/main (#11971) 2026-01-26 22:27:10 +00:00
build.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
changelog-checker.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
ci.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
code-checker.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
copy-external-contributor-pull-request-ce.yml actions: pin to latest actions (#12060) (#12069) 2026-01-29 10:07:15 -08:00
copywrite.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
do-not-merge-checker.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
enos-lint.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
enos-release-testing-oss.yml actions: pin to latest actions (#12060) (#12069) 2026-01-29 10:07:15 -08:00
mend-pr-scan.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
milestone-checker.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
oss.yml actions: update actions to the latest versions (#13056) (#13143) 2026-03-19 15:51:50 +00:00
plugin-update-check.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
plugin-update.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
remove-labels.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
security-scan.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
test-acc-dockeronly-nightly.yml Add GitHub workflow concurrency controls (#22610) 2023-08-30 14:39:50 -07:00
test-ci-bootstrap.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
test-ci-cleanup.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
test-enos-scenario-ui.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
test-go.yml feat(enos): migrate vault_verify_replication to blackbox tests (#14963) (#15112) 2026-06-05 17:31:03 +00:00
test-run-acc-tests-for-path.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
test-run-enos-scenario-cloud.yml Backport [VAULT-41857] pipeline(find-artifact): add support for finding artifacts from branches into ce/main (#11971) 2026-01-26 22:27:10 +00:00
test-run-enos-scenario-containers.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
test-run-enos-scenario-matrix.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
test-run-enos-scenario.yml use ubuntu-22.04 everywhere to access more hot runner pools 2026-05-28 10:26:55 -06:00
test-ui.yml actions: update actions to the latest versions (#13056) (#13143) 2026-03-19 15:51:50 +00:00