Hello together,

 

sorry, that a gave no feedback :/

 

I finally found alittle issue, i think, i forgot to install/start zuul-merger, which seems to be a necessary part when running zuul as a gateway between gerrit and jenkins. So, the actual status quo is quite the same with the difference, that jenkins now adds the build jobs with all zuul parameters, but doesn't execute them, e.g. for the test project "jenkins" a build is planned, but not executed with the message: "waiting for next available executor", but there are 2 free executors on the master (and the only) node and the test job is the only scheduled one, so there seems to be another problem. On the other hand: Jobs triggered witht he jenkins plugin gerrit trigger get's executed immediately on the same host, same configuration (but gerrit trigger instead of gearman/zuul).

 

Any suggestions? :)

 

Freundliche Grüße
Florian Schmidt 

 

 

-----Original-Nachricht-----

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

Datum: Wed, 24 Dec 2014 12:24:20 +0100

Von: "Florian Schmidt" <[email protected]>

An: "'Dmitry Teselkin'" <[email protected]>

 

 

 

Hi,

 

about the „Not permitted“ errors see my last E-Mail :)

 

workers give me 2 (Jenkins-related) workers, “nodeName_exec-1” and “nodeName_exec-2” (I configured my Jenkins master to be able to build two jobs at one time). Both workers have all Jenkins jobs (including Jenkins-test) with a “build:” prefix (full name for Jenkins-test: “build:Jenkins-test”).

 

And status has all jobs prefixed with build:, too.

 

Von: Dmitry Teselkin [mailto:[email protected]]
Gesendet: Mittwoch, 24. Dezember 2014 12:15
An: Florian Schmidt
Cc: Abhishek Shrivastava; [email protected]
Betreff: Re: [OpenStack-Infra] [Support] Problems installing zuul for jenkins-gerrit gateway (Jenkins does not run jobs)

 

Hi,

Could you run command 'workers' instead of 'status' against zuul and check if your jenkins job is there?

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'.

And it looks like I was wrong about permissions for 'jenkins-ci' user. This user is for communications with gerrit, AFAIK.

 

On Wed, Dec 24, 2014 at 2:07 PM, Florian Schmidt <[email protected]> wrote:

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:[email protected]]
Gesendet: Mittwoch, 24. Dezember 2014 06:09
An: Florian Schmidt; [email protected]


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 <[email protected]> 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:[email protected]]
Gesendet: Dienst
ag, 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 <[email protected]> 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.

 

 

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

 

Kind regards,

Florian

 

Gesendet mit meinem HTC

 

----- Reply message -----
Von: "Abhishek Shrivastava" <[email protected]>
An: "Florian Schmidt" <[email protected]>, <[email protected]>
Cc: "Amit Das" <[email protected]>, "Punith S" <[email protected]>
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 <[email protected]>
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: [email protected]


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


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
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

 



 

--

Thanks & Regards,

Abhishek



 

--

Thanks & Regards,

Abhishek



 

--

Regards & Merry Christmas,

Abhishek


_______________________________________________
OpenStack-Infra mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra




--

Thanks,

Dmitry Teselkin
Deployment Engineer
Mirantis
http://www.mirantis.com

 

 

_______________________________________________
OpenStack-Infra mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

Reply via email to