Mr. Roboto / Jenkins / KGS .... and sorry for the SPAM

Ramon Navarro Bosch <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAAnL+SZ49pZsuC15mKNGvDQTJHcUr_dWy5LjbOOe7hefi1aAZw@mail.gmail.com>
Hey Everybody,

After some days of working on a better solution on jenkins test env we
implemented a way to have a better answer. In order to explain everybody
what's happening now on a push to GH I'll try to explain here ( and is
going to be documented on the CI rules Timo is writing )

When a push happens on GH mr.roboto is triggered so starts to analyze the
push.

* If it's on buildout-coredev it starts the job of the branch that has been
pushed. In this case we send to plone-cvs the commit to keep track of the
commits on that list.
* If it's on a package that's on the sources.cfg of a buildout-coredev it
starts the coredev jobs that are linked to that package and a kgs job with
that package. This kgs job is a snapshoot of the last working version of
the buildout.coredev with the newest version of the package that is
involved on the push. This jobs are really fast as we only test the package
applied to the kgs plone/python version coredev buildout.
* If it's on a plip specification it runs the job that is configured TTW on
mr.roboto interface. (http://jenkins.plone.org/roboto/plips/)


When jenkins finish a job i callsback mr.roboto and :

* If it comes from a coredev job all the coredev jobs related to that push
are finished  writes a comment on the github commit with all the
information ( once and with all the information so no more empty mails from
gh notification system )

* If it comes from a kgs job and all the kgs jobs are finished (that may
take max 10 min) and some has failed we send a mail to testbot mailing list
saying that a commit failed on kgs job. We also send a mail to plone-cvs
with the information to keep track of all the commits.

* If it comes from a kgs job and all the kgs jobs are finished and all are
working we send a mail to plone-cvs with the information to keep track of
all the commits.

For all kgs jobs jenkins sends a mail to the author with the results when
is finished.

All the notifications has a url like :
http://jenkins.plone.org/roboto/get_info?push=9a183de85b3f48abb363fa8286928a10

on this url there is the commit, who, the diff, the files and the result
for each jenkins job.

So ...
* plone-testbot mailing list is receiving only when a test fails on kgs env
and may take max 10 min from the push.
* plone-cvs always has the commit there with the diff and the information
and may take 10 min to get there after the push.
* author receives the results of tests failing agains kgs on 10 min

In case of integration errors with other packages that may fail because of
the push kgs will not be aware of that, so it's important that at the end (
and after the 50' that takes the coredev jobs you also check the latest
version of coredev with your push)

I hope that it works !

R
-- 
Ramon a.k.a bloodbare

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.