[OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)

Florian Schmidt florian.schmidt.welzow at t-online.de
Wed Dec 24 11:07:41 UTC 2014


Hi,

 

big thanks for your help! If you (or any other) need more information about something, please just ask :)

 

Kind regards,

Florian

 

Von: Abhishek Shrivastava [mailto:abhishek at cloudbyte.com] 
Gesendet: Mittwoch, 24. Dezember 2014 06:09
An: Florian Schmidt; openstack-infra at lists.openstack.org
Betreff: Re: [OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)

 

Hi,

 

Thanks for the information, I'll follow as you did and will come back to you as soon as I find the solution.

 

On Wed, Dec 24, 2014 at 2:54 AM, Florian Schmidt <florian.schmidt.welzow at t-online.de <mailto:florian.schmidt.welzow at t-online.de> > wrote:

Hi,

 

thanks again! I’m not sure, if the document/script helps me, because i don’t want to install an external testing for openstack. Maybe this was not “clear”, but I want to use zuul as the bridge between my own gerrit and my own Jenkins installation (without openstack or any other upstream projects).

 

Nevertheless, I think I checked the settings, which are set by puppet (as good as I can without much puppet knowledge) and can’t find any difference :/

 

Kind regards and merry Christmas!

Florian

 

Von: Abhishek Shrivastava [mailto:abhishek at cloudbyte.com <mailto:abhishek at cloudbyte.com> ] 
Gesendet: Dienstag, 23. Dezember 2014 10:53
An: Florian Schmidt
Betreff: Re: [OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)

 

Hi Florian,

 

Thanks for this article, but since we haven't got any issues like yours in our setup, therefore I am sending you one automated procedure document for setting up the CI environment that we are following. I hope it can help. 

 

On Tue, Dec 23, 2014 at 3:00 PM, Florian Schmidt <florian.schmidt.welzow at t-online.de <mailto:florian.schmidt.welzow at t-online.de> > wrote:

Hello,

 

thanks for your answer. For Jenkins i used this wiki article to install it on Ubuntu server [1] and added Jobs via the Jenkins web frontend (if you need the parameter for the test job, i can attach it, but not now, cause i'm in a train :/)

 

In order to install zuul i downloaded the gearman plugin from openstack's git and build it with marven (clean install), uploaded the resulting plugin binary to jenkins (again via the web frontned), test the connection in the settings (works) and enabled gearman.

 

[1] https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu

 

If you have further questions, i'm happy to answer :)

 

Kind regards,

Florian

 

Gesendet mit meinem HTC

 

----- Reply message -----
Von: "Abhishek Shrivastava" <abhishek at cloudbyte.com <mailto:abhishek at cloudbyte.com> >
An: "Florian Schmidt" <florian.schmidt.welzow at t-online.de <mailto:florian.schmidt.welzow at t-online.de> >, <openstack-infra at lists.openstack.org <mailto:openstack-infra at lists.openstack.org> >
Cc: "Amit Das" <amit.das at cloudbyte.com <mailto:amit.das at cloudbyte.com> >, "Punith S" <punith.s at cloudbyte.com <mailto:punith.s at cloudbyte.com> >
Betreff: [OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)
Datum: Di., Dez. 23, 2014 07:35

 

Hi Florian,

 

Can you please tell me the procedure which you have followed for setting up the CI environment, so that I can be clear with your zuul problem. 

 

---------- Forwarded message ----------
From: Florian Schmidt <florian.schmidt.welzow at t-online.de <mailto:florian.schmidt.welzow at t-online.de> >
Date: Mon, Dec 22, 2014 at 7:04 PM
Subject: [OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)
To: openstack-infra at lists.openstack.org <mailto:openstack-infra at lists.openstack.org> 


Hello all together,

i hope, someone of you can help me with my little problem. Actually I use
Gerrit Trigger 8Jenkins plugin) to trigger Jenkins jobs for specific Gerrit
events. Now I want to migrate from Gerrit Trigger to zuul (easier, layout
based configuration and more trigger options and different pipelines).

I installed zuul with this Blog post as a basis:
http://ritchey98.blogspot.jp/2014/02/openstack-third-party-testing-how-to.ht <http://ritchey98.blogspot.jp/2014/02/openstack-third-party-testing-how-to.html> 
ml

You can find my zuul configuration here[1] and my initial layout.yaml
here[2]

Now I have the problem, that it seems, that Jenkins doesn't run jobs added
In gearman (they don't appear in Jenkins web frontend). Zuul's status page
lists the change (added via a "recheck" comment) and the status of the job
"Jenkins-test" is "queued" forever. That's why I think there is a problem
somewhere between Jenkins and zuul, but I can't find it. I hope, that
someone from here can assist me to find out the problem? I cleared the log
and restarted Jenkins and zuul (stopped both and started zuul first and then
Jenkins) and added a new comment "recheck" to my test change in gerrit to
trigger a new build. I uploaded my log files here[3], maybe it helps to find
out the problem. I have anonymized the domain to be "example.com <http://example.com> " in the log
files.

I'm also online in #openstack-infra on freenode (nick: FlorianSW), so feel
free to contact me there, I would be very grateful to get help to solve this
problem :)

[1] https://gist.github.com/Florianschmidtwelzow/ed0e3047f0ef0c5e5554
[2] https://gist.github.com/Florianschmidtwelzow/a101a87d653d5bbc6de6
[3] https://gist.github.com/Florianschmidtwelzow/12fff7c4530805dece0c

Kind regards,
Florian


_______________________________________________
OpenStack-Infra mailing list
OpenStack-Infra at lists.openstack.org <mailto:OpenStack-Infra at lists.openstack.org> 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

 





 

-- 

Thanks & Regards,

Abhishek





 

-- 

Thanks & Regards,

Abhishek





 

-- 

Regards & Merry Christmas,

Abhishek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20141224/f47b74e3/attachment-0001.html>


More information about the OpenStack-Infra mailing list