Skip to content
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

podutils: Add more verbose metadata #10544

Closed
cblecker opened this issue Dec 21, 2018 · 13 comments
Closed

podutils: Add more verbose metadata #10544

cblecker opened this issue Dec 21, 2018 · 13 comments
Assignees
Labels
area/prow/pod-utilities Issues or PRs related to prow's pod-utilities component area/prow Issues or PRs related to prow kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@cblecker
Copy link
Member

What would you like to be added:
podutils jobs don't provide much in the way of metadata details in either their started or finished json files.

bootstrap + scenario example with metadata:
https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/72177/pull-kubernetes-verify/116969/finished.json

podutils example with very little metadata:
https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/72177/pull-kubernetes-typecheck/34990/finished.json

Why is this needed:
Of particular value would be the repo commits (what is HEAD of PR branch, and what is HEAD of base branch), and the infra-commit.

/kind feature
/area prow prow/pod-utilities

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. area/prow Issues or PRs related to prow area/prow/pod-utilities Issues or PRs related to prow's pod-utilities component labels Dec 21, 2018
@cblecker
Copy link
Member Author

@BenTheElder
Copy link
Member

@krzyzacy was looking into this. I've definitely held off migrating release blocking CI in particular while we sort this out. What's the current state Sen?

@spiffxp
Copy link
Member

spiffxp commented Jan 3, 2019

/milestone v1.14
hopefully?

ref: #7364 (sortof a dupe?) and #3412 (why not doc the metadata while we're at it)

@k8s-ci-robot k8s-ci-robot added this to the v1.14 milestone Jan 3, 2019
@stevekuznetsov
Copy link
Contributor

Yeah I would love to see a straightforward doc of what tools use what fields ... from my external viewpoint the metadata is a huge mess of legacy right now...

@stevekuznetsov
Copy link
Contributor

And nobody ever helped me understand it two years ago in #3412

@krzyzacy
Copy link
Member

krzyzacy commented Jan 3, 2019

I think two things:

  • gubernator & spyglass will display the metadata.
  • you can also set custom column headers in testgrid from the metadata you have.

You can put whatever fields you want there, and it is not a must-have today.

@krzyzacy
Copy link
Member

krzyzacy commented Jan 3, 2019

Oh didn't read the issue body - we should have all the repo info in https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/72529/pull-kubernetes-typecheck/35614/clone-records.json, maybe we can clean that up a little bit and display some info from there? @stevekuznetsov

@BenTheElder
Copy link
Member

discussed a possible path forward on this today: we can put the resolved refs after checkout into the clone-records.json, thread here: https://kubernetes.slack.com/archives/CDECRSC5U/p1547584185236700

@cjwagner, thoughts on this? @stevekuznetsov seems OK with it, and I spoke to @krzyzacy about it.

@cjwagner
Copy link
Member

👍
Would we then have initupload include the resolved refs from clone-records.json in started.json? Otherwise consumers will need to read clone-records.json in addition to started.json and finished.json.

@krzyzacy
Copy link
Member

/assign
/assign @fejta

@krzyzacy
Copy link
Member

I'll backfill more data for now, and resolve #10359 separately.

@krzyzacy
Copy link
Member

Most of the metadata here is now backfilled in started.json, we still need to make downstream consume these. Maybe worth a separate issue.

/close

@k8s-ci-robot
Copy link
Contributor

@krzyzacy: Closing this issue.

In response to this:

Most of the metadata here is now backfilled in started.json, we still need to make downstream consume these. Maybe worth a separate issue.

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/prow/pod-utilities Issues or PRs related to prow's pod-utilities component area/prow Issues or PRs related to prow kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

8 participants