Test-infra: slackevents manual merge notifier noise

Created on 20 Nov 2017  路  17Comments  路  Source: kubernetes/test-infra

The slackevents plugin that warns about manual merges looks like it's mostly been firing for benign or known events. It would be helpful if we could identify and ignore these.

I'm guessing this is related to creating the release-1.9 branch

Warning: @dashpole manually merged https://github.com/kubernetes/kubernetes/commit/02128d6b5f9e
Warning: @dashpole manually merged https://github.com/kubernetes/kubernetes/commit/550d1d0bf0bc
Warning: @dashpole manually merged https://github.com/kubernetes/kubernetes/compare/release-1.9
Warning: @dashpole manually merged https://github.com/kubernetes/kubernetes/compare/b79e3d14d180...a82460d772b9

Not sure what this is, but looks like a branch deletion and tag creation

Warning: @enisoc manually merged https://github.com/kubernetes/kubernetes/compare/3297b54a78f8...000000000000
Warning: @enisoc manually merged https://github.com/kubernetes/kubernetes/compare/v1.10.0-alpha.0

Not entirely sure what this is

Warning: @david-mcmahon manually merged https://github.com/kubernetes/kubernetes/compare/e7258eecaa67...a0fb3baa71f1
Warning: @david-mcmahon manually merged https://github.com/kubernetes/kubernetes/compare/f78896aab2f1...a0fb3baa71f1

Pretty sure this is a patch release happening

Warning: @jpbetz manually merged https://github.com/kubernetes/kubernetes/compare/v1.8.4
Warning: @jpbetz manually merged https://github.com/kubernetes/kubernetes/commit/5db1551cf500
Warning: @jpbetz manually merged https://github.com/kubernetes/kubernetes/compare/9befc2b8928a...f130273be313
Warning: @jpbetz manually merged https://github.com/kubernetes/kubernetes/compare/2cbb07a4394e...1ab3e7d40903

Another one I don't have an example of right now is when someone creates a revert through github's UI


The quickest and easiest fix for now might be to whitelist branch managers https://github.com/kubernetes/test-infra/blob/18e99bd24bafa3dee1257debc3755d1f84a944ff/prow/plugins.yaml#L55-L61

WDYT?

areprow kinbug

All 17 comments

Warning: @shyamjvs manually merged https://github.com/kubernetes/kubernetes/compare/db64d027efed...000000000000

-- this message doesn't make any sense though, and the link does not show anything :-)

Hmm, Is it some flavors of GitHub push events that we should skip? Logic so far is simple check on whitelist and not merged by bot.

Here's another one, from running branchff (which we're going to start doing every business day):

https://github.com/kubernetes/kubernetes/compare/87dad50b0be0...622e0c1f0b4f

new one: creating a revert PR using the GitHub button creates a warning.

@BenTheElder that may be from the fact that the revert PR button creates a new branch on the repo?

@stevekuznetsov perhaps, but it's not what the bot is intended to alert about IMHO and seems to fall under this.

/kind bug

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

we now have a branch specific whitelist of users that should not activate alerts at least, so branch managers do not trigger notifications when they manage their branches..

/remove-lifecycle rotten
/reopen
we keep talking about this a bunch in slack whenever these errant warning come up

/help

I wish we would make it say "fejta deleted the whatever branch" rather than "pushed 203948029842098....000000000000000000"

Would be a great place to start

@cblecker tackled this already I think

Yup. I think it's not deployed yet, but was fixed in https://github.com/kubernetes/test-infra/pull/10147

/remove-help

screenshot 2018-11-20 11 13 28

It works!

/close

@cblecker: Closing this issue.

In response to this:

screenshot 2018-11-20 11 13 28

It works!

/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.

Was this page helpful?
0 / 5 - 0 ratings