<div dir="ltr"><div><div><div>Hi,<br></div>Could you run command 'workers' instead of 'status' against zuul and check if your jenkins job is there?<br></div>This morning I had similar issue with 'queued' jobs in zuul, and I found that although the jobs were in output from 'status' command, they weren't be in 'workers'.<br><br></div>And it looks like I was wrong about permissions for 'jenkins-ci' user. This user is for communications with gerrit, AFAIK.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 24, 2014 at 2:07 PM, Florian Schmidt <span dir="ltr"><<a href="mailto:florian.schmidt.welzow@t-online.de" target="_blank">florian.schmidt.welzow@t-online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="DE"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">big thanks for your help! If you (or any other) need more information about something, please just ask :)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">Kind regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">Florian<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Abhishek Shrivastava [mailto:<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>] <br><b>Gesendet:</b> Mittwoch, 24. Dezember 2014 06:09<br><b>An:</b> Florian Schmidt; <a href="mailto:openstack-infra@lists.openstack.org" target="_blank">openstack-infra@lists.openstack.org</a></span></p><div><div class="h5"><br><b>Betreff:</b> Re: [OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)<u></u><u></u></div></div><p></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks for the information, I'll follow as you did and will come back to you as soon as I find the solution.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Wed, Dec 24, 2014 at 2:54 AM, Florian Schmidt <<a href="mailto:florian.schmidt.welzow@t-online.de" target="_blank">florian.schmidt.welzow@t-online.de</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">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).</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">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 :/</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">Kind regards and merry Christmas!</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">Florian</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> Abhishek Shrivastava [mailto:<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>] <br><b>Gesendet:</b> Dienst</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">ag, 23. Dezember 2014 10:53<br><b>An:</b> Florian Schmidt<br><b>Betreff:</b> Re: [OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">Hi Florian,<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Thanks for this article, but since we haven't got any issues like yours in our setup, therefore I am sending you one <b><i>automated procedure document</i></b> for setting up the CI environment that we are following. I hope it can help. <u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">On Tue, Dec 23, 2014 at 3:00 PM, Florian Schmidt <<a href="mailto:florian.schmidt.welzow@t-online.de" target="_blank">florian.schmidt.welzow@t-online.de</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Hello,</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">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 :/)</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">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.</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">[1] <a href="https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu" target="_blank">https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu</a></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">If you have further questions, i'm happy to answer :)</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Kind regards,</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Florian</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Gesendet mit meinem HTC</span><u></u><u></u></p></div><div><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"> </span><u></u><u></u></p><div><p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">----- Reply message -----<br>Von: "Abhishek Shrivastava" <<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>><br>An: "Florian Schmidt" <<a href="mailto:florian.schmidt.welzow@t-online.de" target="_blank">florian.schmidt.welzow@t-online.de</a>>, <<a href="mailto:openstack-infra@lists.openstack.org" target="_blank">openstack-infra@lists.openstack.org</a>><br>Cc: "Amit Das" <<a href="mailto:amit.das@cloudbyte.com" target="_blank">amit.das@cloudbyte.com</a>>, "Punith S" <<a href="mailto:punith.s@cloudbyte.com" target="_blank">punith.s@cloudbyte.com</a>><br>Betreff: [OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)<br>Datum: Di., Dez. 23, 2014 07:35</span><u></u><u></u></p></div></div></div></div><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">Hi Florian,<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">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 <b><i>zuul</i></b> problem.<b> </b><u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p><div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><div><div><div><p class="MsoNormal">---------- Forwarded message ----------<br>From: <b>Florian Schmidt</b> <<a href="mailto:florian.schmidt.welzow@t-online.de" target="_blank">florian.schmidt.welzow@t-online.de</a>><br>Date: Mon, Dec 22, 2014 at 7:04 PM<br>Subject: [OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)<br>To: <a href="mailto:openstack-infra@lists.openstack.org" target="_blank">openstack-infra@lists.openstack.org</a><br><br><br>Hello all together,<br><br>i hope, someone of you can help me with my little problem. Actually I use<br>Gerrit Trigger 8Jenkins plugin) to trigger Jenkins jobs for specific Gerrit<br>events. Now I want to migrate from Gerrit Trigger to zuul (easier, layout<br>based configuration and more trigger options and different pipelines).<br><br>I installed zuul with this Blog post as a basis:<br><a href="http://ritchey98.blogspot.jp/2014/02/openstack-third-party-testing-how-to.html" target="_blank">http://ritchey98.blogspot.jp/2014/02/openstack-third-party-testing-how-to.ht<br>ml</a><br><br>You can find my zuul configuration here[1] and my initial layout.yaml<br>here[2]<br><br>Now I have the problem, that it seems, that Jenkins doesn't run jobs added<br>In gearman (they don't appear in Jenkins web frontend). Zuul's status page<br>lists the change (added via a "recheck" comment) and the status of the job<br>"Jenkins-test" is "queued" forever. That's why I think there is a problem<br>somewhere between Jenkins and zuul, but I can't find it. I hope, that<br>someone from here can assist me to find out the problem? I cleared the log<br>and restarted Jenkins and zuul (stopped both and started zuul first and then<br>Jenkins) and added a new comment "recheck" to my test change in gerrit to<br>trigger a new build. I uploaded my log files here[3], maybe it helps to find<br>out the problem. I have anonymized the domain to be "<a href="http://example.com" target="_blank">example.com</a>" in the log<br>files.<br><br>I'm also online in #openstack-infra on freenode (nick: FlorianSW), so feel<br>free to contact me there, I would be very grateful to get help to solve this<br>problem :)<br><br>[1] <a href="https://gist.github.com/Florianschmidtwelzow/ed0e3047f0ef0c5e5554" target="_blank">https://gist.github.com/Florianschmidtwelzow/ed0e3047f0ef0c5e5554</a><br>[2] <a href="https://gist.github.com/Florianschmidtwelzow/a101a87d653d5bbc6de6" target="_blank">https://gist.github.com/Florianschmidtwelzow/a101a87d653d5bbc6de6</a><br>[3] <a href="https://gist.github.com/Florianschmidtwelzow/12fff7c4530805dece0c" target="_blank">https://gist.github.com/Florianschmidtwelzow/12fff7c4530805dece0c</a><br><br>Kind regards,<br>Florian<br><br><br>_______________________________________________<br>OpenStack-Infra mailing list<br><a href="mailto:OpenStack-Infra@lists.openstack.org" target="_blank">OpenStack-Infra@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><u></u><u></u></p></div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></blockquote></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><p class="MsoNormal">Thanks & Regards,<u></u><u></u></p></div><p class="MsoNormal">Abhishek<u></u><u></u></p></div></div></div></div></div></div></div></blockquote></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><p class="MsoNormal">Thanks & Regards,<u></u><u></u></p></div><p class="MsoNormal">Abhishek<u></u><u></u></p></div></div></div></div></div></div></div></div></div></blockquote></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><p class="MsoNormal">Regards & Merry Christmas,<u></u><u></u></p></div><p class="MsoNormal">Abhishek<u></u><u></u></p></div></div></div></div></div></div></div></div><br>_______________________________________________<br>
OpenStack-Infra mailing list<br>
<a href="mailto:OpenStack-Infra@lists.openstack.org">OpenStack-Infra@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Thanks,</div>Dmitry Teselkin<br>Deployment Engineer<br>
Mirantis<br>
<a href="http://www.mirantis.com/" target="_blank">http://www.mirantis.com</a></div></div>
</div>