Skip to content

Commit

Permalink
Add comments to the disabled/unsupported integration test aliase files (
Browse files Browse the repository at this point in the history
#411)

Add some additional comments so we know *why* the various tests aren't running.  Looks like most of them just need policy updates
  • Loading branch information
tremble authored Feb 13, 2021
1 parent 2534412 commit 0d24559
Show file tree
Hide file tree
Showing 27 changed files with 114 additions and 29 deletions.
6 changes: 5 additions & 1 deletion tests/integration/targets/aws_config/aliases
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
cloud/aws
# reason: missing-policy
# We don't have CI or 'unsupported' policy for AWS config
disabled

cloud/aws
shippable/aws/group2

aws_config_aggregation_authorization
aws_config_aggregator
aws_config_delivery_channel
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/targets/aws_eks_cluster/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: unknown
unsupported

cloud/aws
4 changes: 3 additions & 1 deletion tests/integration/targets/aws_secret/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: missing-policy
unsupported

cloud/aws
6 changes: 5 additions & 1 deletion tests/integration/targets/aws_waf_web_acl/aliases
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# reason: broken
# ansible/ansible#38258
unsupported

cloud/aws

aws_waf_info
aws_waf_web_acl
aws_waf_web_match
aws_waf_web_rule
unsupported
5 changes: 4 additions & 1 deletion tests/integration/targets/cloudformation_stack_set/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# reason: broken
# Tests rely on additional non-standard secondary_aws_ credentials
disabled

cloud/aws
unsupported
4 changes: 3 additions & 1 deletion tests/integration/targets/cloudfront_distribution/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# reason: broken
disabled

cloud/aws
unsupported
4 changes: 3 additions & 1 deletion tests/integration/targets/cloudtrail/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: missing-policy
unsupported

cloud/aws
8 changes: 6 additions & 2 deletions tests/integration/targets/connection_aws_ssm/aliases
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# reason: unstable
# reason: slow
disabled

cloud/aws
destructive
shippable/aws/group4

destructive
non_local
needs/root
needs/target/connection
disabled
4 changes: 3 additions & 1 deletion tests/integration/targets/dms_endpoint/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: missing-policy
unsupported

cloud/aws
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: missing-policy
unsupported

cloud/aws
6 changes: 5 additions & 1 deletion tests/integration/targets/ec2_asg/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
cloud/aws
# reason: slow
# reason: broken
# Tests take around 30 minutes
unsupported

cloud/aws
6 changes: 5 additions & 1 deletion tests/integration/targets/ecs_cluster/aliases
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# reason: slow
# Tests take around 15 minutes to run
unsupported

cloud/aws

ecs_service_info
ecs_task
ecs_taskdefinition
ecs_taskdefinition_info
unsupported
5 changes: 4 additions & 1 deletion tests/integration/targets/ecs_tag/aliases
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# reason: missing-policy
unsupported

cloud/aws

ecs_tag
unsupported
6 changes: 5 additions & 1 deletion tests/integration/targets/efs/aliases
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
cloud/aws
# reason: missing-policy
# ansible/ansible#36520 - attempts were made to get it running in CI but were unsuccessful
unsupported

cloud/aws

efs_info
4 changes: 3 additions & 1 deletion tests/integration/targets/elb_network_lb/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason:
unsupported

cloud/aws
4 changes: 3 additions & 1 deletion tests/integration/targets/elb_target_info/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: missing-policy
unsupported

cloud/aws
5 changes: 5 additions & 0 deletions tests/integration/targets/iam_group/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# reason: missing-policy
# It should be possible to test iam_groups by limiting which policies can be
# attached to the groups as well as which users can be added to the groups.
# Careful review is needed prior to adding this to the main CI.
unsupported

cloud/aws
6 changes: 5 additions & 1 deletion tests/integration/targets/iam_password_policy/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
cloud/aws
# reason: missing-policy
# IAM Password Policies configure account-wide settings, this makes then
# difficult to safely test
unsupported

cloud/aws
9 changes: 7 additions & 2 deletions tests/integration/targets/iam_policy/aliases
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
iam_policy_info
cloud/aws
# reason: missing-policy
# It's not possible to control what permissions are granted to a policy.
# This makes securely testing iam_policy very difficult
unsupported

cloud/aws

iam_policy_info
8 changes: 7 additions & 1 deletion tests/integration/targets/iam_role/aliases
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
iam_role_info
# reason: missing-policy
# It should be possible to test iam_role by limiting which policies can be
# attached to the roles.
# Careful review is needed prior to adding this to the main CI.
unsupported

cloud/aws

iam_role_info
4 changes: 3 additions & 1 deletion tests/integration/targets/iam_saml_federation/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: missing-policy
unsupported

cloud/aws
8 changes: 7 additions & 1 deletion tests/integration/targets/iam_user/aliases
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# reason: missing-policy
# It should be possible to test iam_user by limiting which policies can be
# attached to the users.
# Careful review is needed prior to adding this to the main CI.
unsupported

cloud/aws

iam_user_info
unsupported
4 changes: 3 additions & 1 deletion tests/integration/targets/rds_instance/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: missing-policy
unsupported

cloud/aws
5 changes: 4 additions & 1 deletion tests/integration/targets/s3_lifecycle/aliases
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# reason: broken
# ansible/ansible#59311
disabled

cloud/aws
shippable/aws/group1
disabled
6 changes: 4 additions & 2 deletions tests/integration/targets/s3_logging/aliases
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# reason: unstable
# When running tests a failure rate of around 20% was observed
unsupported

cloud/aws
#shippable/aws/group1
# when running tests we saw an ~20% failure rate
unsupported
4 changes: 3 additions & 1 deletion tests/integration/targets/sns/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: missing-policy
unsupported

cloud/aws
4 changes: 3 additions & 1 deletion tests/integration/targets/sns_topic/aliases
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cloud/aws
# reason: missing-policy
unsupported

cloud/aws

0 comments on commit 0d24559

Please sign in to comment.