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: bring back "broke the build" notifications #12509

Open
josharian opened this issue Sep 5, 2015 · 9 comments
Open

x/build: bring back "broke the build" notifications #12509

josharian opened this issue Sep 5, 2015 · 9 comments
Labels
Builders x/build issues (builders, bots, dashboards) FeatureRequest help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@josharian
Copy link
Contributor

I monitor the dev.ssa dashboard for build failures, with decreasing frequency these days. It'd be nice to bring back the automatic notification.

cc @bradfitz

@rsc
Copy link
Contributor

rsc commented Oct 23, 2015

Sure would be nice!

@rsc rsc added this to the Go1.6 milestone Oct 23, 2015
@bradfitz bradfitz added the Builders x/build issues (builders, bots, dashboards) label Oct 30, 2015
@bradfitz
Copy link
Contributor

@rsc, how is this a Go1.6 issue? It's not released with Go.

In any case, it's not exactly clear how this should work. Should a flake make it fire? Do you need N failures in a row first? What if the N failures in a row are different? How do you detect they're different? Parsing the text?

The easiest thing is to ignore flakes and just say any transition from ok to failure emails.

I suppose the coordinator could poll http://build.golang.org/?mode=json occasionally and post to Gerrit (which emails), since the coordinator already can post to Gerrit. By asking for the data from build.golang.org it would also catch builders like old-style builders like netbsd and solaris, which report directly to build.golang.org.

I'd prefer if people just don't break the build, though, so I've been spending my builder time primarily on making trybots better.

I'm happy to review code to resurrect this, though. I'm not sure where it lives before, or if it even makes sense to reuse any of the code. @adg?

@adg
Copy link
Contributor

adg commented Oct 30, 2015

The code is already there in the build dashboard, it's just broken and I
haven't had an opportunity to investigate why.

On 31 October 2015 at 03:25, Brad Fitzpatrick notifications@github.com
wrote:

@rsc https://github.com/rsc, how is this a Go1.6 issue? It's not
released with Go.

In any case, it's not exactly clear how this should work. Should a flake
make it fire? Do you need N failures in a row first? What if the N failures
in a row are different? How do you detect they're different? Parsing the
text?

The easiest thing is to ignore flakes and just say any transition from ok
to failure emails.

I suppose the coordinator could poll http://build.golang.org/?mode=json
occasionally and post to Gerrit (which emails), since the coordinator
already can post to Gerrit. By asking for the data from build.golang.org
it would also catch builders like old-style builders like netbsd and
solaris, which report directly to build.golang.org.

I'd prefer if people just don't break the build, though, so I've been
spending my builder time primarily on making trybots better.

I'm happy to review code to resurrect this, though. I'm not sure where it
lives before, or if it even makes sense to reuse any of the code. @adg
https://github.com/adg?


Reply to this email directly or view it on GitHub
#12509 (comment).

@rsc
Copy link
Contributor

rsc commented Dec 5, 2015

Would still like this, and it would have potentially sped the work on Go 1.6, but too late now and obviously not going to gate Go 1.6.

@rsc rsc modified the milestones: Unreleased, Go1.6 Dec 5, 2015
@bradfitz bradfitz changed the title build: bring back "broke the build" notifications x/build: bring back "broke the build" notifications Jul 7, 2017
@josharian
Copy link
Contributor Author

cc @andybons

@andybons
Copy link
Member

Indeed this would be nice.

@FiloSottile
Copy link
Contributor

This would be useful both for the dev branches and for the subrepos (so we are notified when master breaks x/crypto or x/crypto breaks on 1.9).

@bradfitz
Copy link
Contributor

bradfitz commented Sep 4, 2019

This could even be in cmd/gopherbot (which is easy to hack on locally), looking at the build.golang.org failure results and trying to not spam too early and waiting until it's confident (e.g. make.bash failing is a real failure, but a test failure might be a flake unless we saw in N times in a row).

Look at x/build/cmd/retrybuilds for code that accesses the build.golang.org failure results.

/cc @toothrot

@andybons andybons removed their assignment Nov 18, 2019
@gopherbot
Copy link

Change https://golang.org/cl/208322 mentions this issue: app/appengine: delete old "broke the build" code

gopherbot pushed a commit to golang/build that referenced this issue Nov 21, 2019
It hasn't worked in years.

This is part of a series of CLs to clean up the build.golang.org App
Engine app in prep for it to be modernized, refactored, and replaced.

Updates golang/go#34744
Updates golang/go#12509

Change-Id: I9f8445046961ccbe97f7b9c85c0772393bf7d547
Reviewed-on: https://go-review.googlesource.com/c/build/+/208322
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Andrew Gerrand <adg@golang.org>
@dmitshur dmitshur added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 19, 2020
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) FeatureRequest help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

8 participants