New "Weather Item" process with full preparation on topic and verification instead of breaking the world (RELENG-101)

[RELENG-119] Run (something like?) the bot directly on existing multipatch job? Created: 08/May/18  Updated: 22/Nov/19  Resolved: 22/Nov/19

Status: Resolved
Project: releng
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Medium
Reporter: Michael Vorburger Assignee: Luis Gomez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

ecelgp in a comment on the parent task raised this idea, which I think I worth this new sub-task to discussion that further in its own right here:

I wonder whether we could enhance the existing multipatch job to:

  • Get a topic and figure out the patch-list (same you do in your bot).
  • Send an automatic mail when a project build fails (same we do for AR failure).

I also wonder whether the above could be done by just running a bash/python script from jenkins.



 Comments   
Comment by Michael Vorburger [ 08/May/18 ]

> I also wonder whether the above could be done by just running a bash/python script from jenkins.

you would have to rewrite what I did in https://github.com/vorburger/opendaylight-bot (in Java) in a ash/python script... the last week has taught me that interacting with the Gerrit REST API and doing things like correctly ordering the list of changes etc. etc. is not so trivial. Why would you want to restart a new effort to do the same?

I have an another idea... if you don't like The Bot's current Web UI (hosted, currently, on http://opendaylight-bot-opendaylight-bot.6923.rh-us-east-1.openshiftapps.com), then would you be interested in instead simply running it yourself as a CLI build locally, e.g. at the start of the multipatch job? This may be quite trivial - would you be interested in making this issue dependant on RELENG-118 and motivate me to provide that?

Comment by Luis Gomez [ 08/May/18 ]

For item 1) create list of patches from topic, this patch should work:
https://git.opendaylight.org/gerrit/#/c/71857

For item 2) automatic mail, it will take me some time to go through this script, but it is feasible imo:
https://git.opendaylight.org/gerrit/gitweb?p=releng/builder.git;a=blob;f=jjb/autorelease/notify-build-failure.sh

BR/Luis

Comment by Michael Vorburger [ 22/May/18 ]

ecelgp so 1) is done, and 2) is still pending here, right? Do you want to assign this issue to you to do 2) some time?

Comment by Luis Gomez [ 22/May/18 ]

Thats fine, I have an internal peak right now but I can eventually take care of this next week.

Comment by Luis Gomez [ 22/Nov/19 ]

This was added few releases back.

Generated at Wed Feb 07 20:37:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.