-
Notifications
You must be signed in to change notification settings - Fork 828
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
support community owned GCS buckets for uploading results to TestGrid #332
Comments
@BenTheElder what's the expiry settings for this bucket? (how long before the data gets wiped) |
@dims We'd need to ask @michelle192837 what the limits are there, I think it depends on the testgrid updater. Currently we haven't set one because:
|
Updater doesn't control the expiry, it should depend on the specific bucket's configuration. Is the question about the bucket where TestGrid results live or where conformance results are uploaded to? |
FWIW, any results generated by prow.k8s.io that land in the kubernetes-jenkins GCS bucket (the bulk of the proejct's CI) age out at 90 days. I think it should be way longer.
|
It doesn't control it directly, but presumably there's a lower bound on expiry or else risk of the updater not seeing the results? |
Survey of all buckets that kettle currently parses
|
I'm still confused I think, but the updater doesn't have expectations around this. Default lookback time is 24 hours, or longer if updating from scratch (days_of_results specified in the config) or max_test_runtime_hours if specified in the config. |
@BenTheElder Do we still need to implement this first? |
I would hope this would be a pretty small ask but I'm not sure. It will be hard to get everyone migrated so I'd like to not add more people to the Google controlled buckets I manage if we can avoid it. @dims what needs to happen here? |
@BenTheElder we should add a new script in https://github.com/kubernetes/k8s.io/tree/master/infra/gcp based off the existing ones that creates just a GCS bucket with the correct retention/auto-deletion. Once that's done, we can start migrating folks off of the google controlled buckets. We also have to figure out how to script the service account stuff that we give the folks that need to push to those buckets. |
ACK @dims, sorry this got buried in my inbox :( |
retention policy might just be indefinite for these? logs are not particularly large. looks like we can script service account creation with https://cloud.google.com/iam/docs/creating-managing-service-accounts#iam-service-accounts-create-gcloud
we'll also need to give that account permission to create GCS objects in the related bucket |
Any reason why we would want to keep these around? |
I'm opposed to 60d retention for test results, and would prefer to see expanded beyond the existing 90d. Such a short retention prevents us from comparing test results across quarters. |
FYI, the 90d retention on |
for conformance tests from third parties we also expect relatively low amounts of extra data and relatively low rates of testing compared to our typical test result hosting. |
We discussed this partially in the call today (2020-01-08). The suggestion was to use a production storage bucket, which would come with a 10y retention. What is the current cost associated? Context: |
Hi everyone. Currently we do have
@BenTheElder @spiffxp @dims can we mark it as done or are we missing anything here? |
/close yep. this is done. |
@dims: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
yes |
We currently have a somewhat ad-hoc process to allow uploading third party (I.E. not produced by prow.k8s.io) test results to TestGrid / testgrid.k8s.io without requiring companies / organizations to supply their own GCS buckets.
This process results in using buckets provided by one of Google's teams, in a Google owned project. Ideally these would be owned and controlled by the project instead.
Current docs are here: https://github.com/kubernetes/test-infra/tree/master/testgrid/conformance
cc @spiffxp
The text was updated successfully, but these errors were encountered: