[OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)
Dmitry Teselkin
dteselkin at mirantis.com
Tue Dec 23 09:32:33 UTC 2014
Hi Florian,
I had almost the same problem with zuul recently, here are some step that
might help you to identify what's wrong:
* You're created a job with name 'Jenkins-test' in your Jenkins, aren't you?
* Check the status of gearman: on your zuul node telnet to 127.0.0.1 port
4730, and issue command 'status' to get status info about jobs registered
in gearman. You can use the command below if you want to use grep:
echo 'status' | nc 127.0.0.1 4730 -w 1 | grep 'something'
Output from 'status' command should contain jobs from Jenkins node,
'Jenkins-test' in your case.
* Check that jenkins can connect to the zuul's gearman: Open 'Manage
Jenkins' -> 'Configure System' on your Jenkins, scroll down to the 'Gearman
plugin' and press 'Test connection'. You can start 'tcpdump' on port 4730
on your zuul server prior to this, to check that there is trafic between
the hosts.
* Try to disable gearman plugin in jenkins, save configuration, then enable
it back.
Hope this helps.
On Tue, Dec 23, 2014 at 12:30 PM, Florian Schmidt <
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>
> An: "Florian Schmidt" <florian.schmidt.welzow at t-online.de>, <
> openstack-infra at lists.openstack.org>
> Cc: "Amit Das" <amit.das at cloudbyte.com>, "Punith S" <
> 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.
>
> On Mon, Dec 22, 2014 at 7:55 PM, Amit Das <amit.das at cloudbyte.com> wrote:
>
>>
>> Hey Guys,
>>
>> Can we send some kind of info/help to this email thread... e.g. becoming
>> more relevant in the community.
>>
>> I know I have been stressing a lot on these :)
>> These will help us to get an exception request approved in the coming
>> months for our check-in.
>>
>> Regards,
>> Amit
>> *CloudByte Inc.* <http://www.cloudbyte.com/>
>>
>> ---------- Forwarded message ----------
>> From: Florian Schmidt <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
>>
>>
>> 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
>> ml
>> <http://ritchey98.blogspot.jp/2014/02/openstack-third-party-testing-how-to.html>
>>
>> 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" 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
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
>>
>>
>
>
> --
> Thanks & Regards,
> Abhishek
>
> _______________________________________________
> OpenStack-Infra mailing list
> OpenStack-Infra at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
>
>
--
Thanks,
Dmitry Teselkin
Deployment Engineer
Mirantis
http://www.mirantis.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20141223/3ab16838/attachment-0001.html>
More information about the OpenStack-Infra
mailing list