Skip to content

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

Closed
@cagedmantis

Description

@cagedmantis

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

Activity

added
Buildersx/build issues (builders, bots, dashboards)
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
on Oct 29, 2024
added this to the Unreleased milestone on Oct 29, 2024
self-assigned this
on Oct 29, 2024
dmitshur

dmitshur commented on Oct 29, 2024

@dmitshur
Member

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.

moved this to In Progress in Go Releaseon Oct 29, 2024
mknyszek

mknyszek commented on Oct 29, 2024

@mknyszek
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

cagedmantis commented on Oct 29, 2024

@cagedmantis
ContributorAuthor

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

gopherbot commented on Oct 31, 2024

@gopherbot
Contributor

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

added
NeedsFixThe path to resolution is known, but the work has not been done.
and removed
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
on Oct 31, 2024
moved this from In Progress to Done in Go Releaseon Nov 1, 2024
added a commit that references this issue on Nov 16, 2024
58f5650
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Buildersx/build issues (builders, bots, dashboards)NeedsFixThe path to resolution is known, but the work has not been done.

Type

No type

Projects

Status

Done

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @cagedmantis@mknyszek@dmitshur@gopherbot@gabyhelp

      Issue actions

        x/build/cmd/watchflakes: currently in a CrashLoopBackOff state · Issue #70091 · golang/go