-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Integration tests for s3_logging #63257
Conversation
@tremble, just so you are aware we have a dedicated Working Group for aws. |
The tests pass when I run them locally against CI but are failing in shippable, will have to dig into this more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the CI failures are related to eventual consistency. Adding pauses for the specified times at the noted locations in the test seemed to be working.
Out of curiosity, which region do you 'locally' test on. I was running in us-west-2 and had no problems... |
@tremble, also us-west-2 but it was showing up intermittently - if CI hadn't failed I would have probably missed it to be honest. I have a simple bash script I use for things like this that loops 50x over a test and once I started looping this one it was coming up maybe 1 in 5 times, roughly. |
Hm, still getting occasional failures when looping at:
These tests are likely to be unstable as-is, will need to dive into this again as the pauses might not be what we need after all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shipit
SUMMARY
SSIA: add integration tests from s3_logging
The tests are pretty basic, it doesn't provide any form of output beyond returning changed
ISSUE TYPE
COMPONENT NAME
lib/ansible/modules/cloud/amazon/s3_logging.py
test/sanity/ignore.txt
hacking/aws_config/testing_policies/storage-policy.json
ADDITIONAL INFORMATION
Depends on mattclay/aws-terminator#65