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/watchflakes: currently in a CrashLoopBackOff state #70091

Closed
cagedmantis opened this issue Oct 29, 2024 · 5 comments
Closed

x/build/cmd/watchflakes: currently in a CrashLoopBackOff state #70091

cagedmantis opened this issue Oct 29, 2024 · 5 comments
Assignees
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@cagedmantis
Copy link
Contributor

Watchflakes is continuously crashing.

watchflakes-deployment-68796dfdb7-th9zv 0/1 CrashLoopBackOff 986 (3m28s ago) 15d

The last logged item is:
watchflakes: 2024/10/29 17:21:46 repo mismatch: tools go https://ci.chromium.org/b/8733044805650708721

@golang/release

@cagedmantis cagedmantis added Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Oct 29, 2024
@cagedmantis cagedmantis added this to the Unreleased milestone Oct 29, 2024
@cagedmantis cagedmantis self-assigned this Oct 29, 2024
@dmitshur
Copy link
Contributor

dmitshur commented Oct 29, 2024

The input of the LUCI build 8733044805650708721 is https://go.googlesource.com/tools/+/889abb17e125bb0f5d8de61bb80ef15fbe2a130d, which is indeed a revision in x/tools, yet the builder "gotip-..." is for the main Go repo, not x/tools.

It's also the very first build of that builder – maybe it was triggered manually and the "tools" part of revision was intended to be "go". After all x/tools doesn't have a commit with that ID, but the main Go repo does. The second build's revision is in the right repo. CC @mknyszek.

In any case, it seems watchflakes can handle this case of a strange build (mismatch of project between builder definition and input revision) by skipping over the build. It's probably not possible to do anything more in the general case.

@dmitshur dmitshur moved this to In Progress in Go Release Oct 29, 2024
@mknyszek
Copy link
Contributor

Oh no! Yes, it's totally possible I triggered this build manually and erroneously, as I did trigger manual builds on that date.

Perhaps such builds should error out sooner. They will work, but they don't make much sense.

@cagedmantis
Copy link
Contributor Author

I deployed a version which ignores the mismatch case. I'm only seeing two CLs where this is an issue:

watchflakes: 2024/10/29 19:10:22 repo mismatch: tools go https://ci.chromium.org/b/8733044805650708721
watchflakes: 2024/10/29 19:10:22 repo mismatch: tools go https://ci.chromium.org/b/8733044811246345153

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/623995 mentions this issue: cmd/watchflakes: do not exit in the case of a mismatch

@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Oct 31, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Go Release Nov 1, 2024
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
Archived in project
Development

No branches or pull requests

5 participants