vault/enos/modules
Ryan Cragun 9afd5e52ae
[QT-602] Don't fail if scenarios cannot completely destroy infra (#23473)
Sometimes destroying resources in AWS will fail because of unexpected
dependency violations or other such nonsense. When this happens the
behavior of Vault that we wanted to verify has already been successfully
accomplished, however the required workflow will fail. This change
allows us to succeed if `enos scenario launch` completes but allows
`enos scenario destroy` to fail. We still notify our slack channel on
destroy failures so that we can investigate issues, however it won't
require a PR author to retry.

* Execute `enos scenario launch` instead of `enos scenario run` to allow
  for very occasional issues when tearing down test infrastructure.
* Improve an error message when getting secondary cluster IP addresses.
* Don't race to get secondary cluster IP addresses.
* Add secondary token to replication scenario outputs.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2023-10-03 13:04:55 -06:00
..
autopilot_upgrade_storageconfig [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
backend_consul [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
backend_raft [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
build_crt [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
build_local Onboard Vault to CRT version bump automation (#18311) 2023-09-06 17:08:48 +01:00
create_vpc [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
ec2_info [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
generate_secondary_token [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
get_local_metadata [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
k8s_deploy_vault [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
k8s_vault_verify_build_date [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
k8s_vault_verify_replication [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
k8s_vault_verify_ui [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
k8s_vault_verify_version [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
k8s_vault_verify_write_data [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
load_docker_image [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
local_kind_cluster [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
read_license [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
replication_data [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
shutdown_multiple_nodes [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
shutdown_node [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
target_ec2_fleet [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
target_ec2_instances [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
target_ec2_shim [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
target_ec2_spot_fleet [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
vault_agent [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_artifactory_artifact [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_cluster test: restart socket sink if it's not listening (#23397) 2023-09-28 22:20:24 +00:00
vault_get_cluster_ips [QT-602] Don't fail if scenarios cannot completely destroy infra (#23473) 2023-10-03 13:04:55 -06:00
vault_proxy [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_raft_remove_peer [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_setup_perf_primary [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_setup_perf_secondary [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
vault_test_ui [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
vault_unseal_nodes [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_upgrade [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_agent_output [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_autopilot [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_performance_replication replication: wait longer for replication to resync (#23336) 2023-09-27 20:50:28 +00:00
vault_verify_raft_auto_join_voter [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_read_data [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_replication [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_ui [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_undo_logs [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_unsealed [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_version [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_verify_write_data [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00
vault_wait_for_leader [QT-602] Run proxy and agent test scenarios (#23176) 2023-09-26 15:37:28 -06:00