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

x/build/cmd/fetchlogs: add a -since flag #54776

Open
findleyr opened this issue Aug 30, 2022 · 0 comments
Open

x/build/cmd/fetchlogs: add a -since flag #54776

findleyr opened this issue Aug 30, 2022 · 0 comments
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@findleyr
Copy link
Contributor

When searching for test faillures, my workflow is as follows:

> fetchlogs -repo tools -n <some large number, usually 3000>

Followed by

> greplogs -md -l -e 'FAIL: TestName' -since=<date>

The problem is, if my -n value is too small I may silently miss test failures in my -since range. Also, without doing a bit of digging it's not easy to see how far back fetchlogs results go.

A nice solution to this problem would be to add a -since flag to fetchlogs, telling it to keep searching dashboards until it finds a build where both the repo revision date and go revision date are too old.

CC @bcmills

@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Aug 30, 2022
@gopherbot gopherbot added this to the Unreleased milestone Aug 30, 2022
@heschi heschi added the NeedsFix The path to resolution is known, but the work has not been done. label Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants