[OpenStack-Infra] [Zuul] Understanding dequeue-on-new-patchset

trinath.somanchi at freescale.com trinath.somanchi at freescale.com
Tue Aug 26 13:11:31 UTC 2014


Hi -

I have finally got it.

Whenever a build is in progress and a new patchset is checked in, then the build is getting aborted. Saving a lot of time.

Thanks a lot to Jim, Doug

--
Trinath Somanchi - B39208
trinath.somanchi at freescale.com | extn: 4048

-----Original Message-----
From: trinath.somanchi at freescale.com [mailto:trinath.somanchi at freescale.com] 
Sent: Saturday, August 23, 2014 9:55 AM
To: Doug Wiegley; James E. Blair
Cc: openstack-infra at lists.openstack.org
Subject: Re: [OpenStack-Infra] [Zuul] Understanding dequeue-on-new-patchset

You mean, the blog post of jaypipes. I too used these instructions to make my CI. That time its was this version I installed.

I need to check my CI with latest Zuul version and stop gearman server. But There are many jobs in pipeline for testing. 

Waiting for a good time to stop the CI for this test.

Thanks for the help.

--
Trinath Somanchi - B39208
trinath.somanchi at freescale.com | extn: 4048

-----Original Message-----
From: Doug Wiegley [mailto:dougw at a10networks.com]
Sent: Saturday, August 23, 2014 8:28 AM
To: Somanchi Trinath-B39208; James E. Blair
Cc: openstack-infra at lists.openstack.org
Subject: Re: [OpenStack-Infra] [Zuul] Understanding dequeue-on-new-patchset

I’m sure someone in infra can give you an exact answer, but I installed in July, and it has it:

$ zuul --version
Zuul version: 2.0.0.215.gda3a074

… and I was using blog instructions from a year or two prior, which referenced it being in there as well.


Doug



On 8/22/14, 8:54 PM, "trinath.somanchi at freescale.com"
<trinath.somanchi at freescale.com> wrote:

>Which version of Zuul has that, I want to upgrade to the that version 
>and stop gearman server.
>
>
>
>--
>Trinath Somanchi - B39208
>trinath.somanchi at freescale.com | extn: 4048
>
>-----Original Message-----
>From: Doug Wiegley [mailto:dougw at a10networks.com]
>Sent: Saturday, August 23, 2014 8:13 AM
>To: Somanchi Trinath-B39208; James E. Blair
>Cc: openstack-infra at lists.openstack.org
>Subject: Re: [OpenStack-Infra] [Zuul] Understanding 
>dequeue-on-new-patchset
>
>Yes, there’s one built into the zuul process.  You don’t have to run a 
>separate gearman.
>
>doug
>
>On 8/22/14, 8:29 PM, "trinath.somanchi at freescale.com"
><trinath.somanchi at freescale.com> wrote:
>
>>Hi Jim-
>>
>>Zuul itself has a gearman server?
>>
>>" Note that for OpenStack, we use Zuul's internal gearman server." I'm 
>>confused here.
>>
>>--
>>Trinath Somanchi - B39208
>>trinath.somanchi at freescale.com | extn: 4048
>>
>>-----Original Message-----
>>From: James E. Blair [mailto:corvus at inaugust.com]
>>Sent: Friday, August 22, 2014 11:30 PM
>>To: Somanchi Trinath-B39208
>>Cc: openstack-infra at lists.openstack.org
>>Subject: Re: [OpenStack-Infra] [Zuul] Understanding 
>>dequeue-on-new-patchset
>>
>>"trinath.somanchi at freescale.com" <trinath.somanchi at freescale.com> writes:
>>
>>> Hi Jim-
>>>
>>> As you said,
>>>
>>> [  Strictly speaking, that will mean that every patchset will go 
>>>through the merger and Jenkins.
>>>    But if testing for a patchset is in progress when a new patchset is
>>>   uploaded, the tests will abort. ]
>>>
>>>
>>> This above is not happening in my case. Though there are latest 
>>>patchsets in queue, the Build in Jenkins is not aborted.
>>>
>>> When I check the Zuul debug log, I get this error 
>>>http://paste.openstack.org/show/98555/ which was reported when Zuul 
>>>tried to abort a build with Jenkins.
>>>
>>> My Zuul Layout.yaml is here http://paste.openstack.org/show/98556/.
>>>
>>> I feel there is something wrong with Gearman and Jenkins linkage for 
>>>cancelling a job.
>>>
>>> Kindly guide me resolve the issue.
>>
>>2014-08-22 06:03:23,716 DEBUG zuul.Gearman: Response to cancel build 
>><Build 7a405e1de0f140fb8e2b99d7e6887d72 of Freescale-FWaaS-Plugin on 
>><Worker Unknown>> request: ERR UNKNOWN_COMMAND
>>Unknown+server+commandcancel
>>
>>What gearman server are you running?  If you are using the one from 
>>https://launchpad.net/gearmand I believe you will need a relatively 
>>recent version that includes the cancel command.
>>
>>Note that for OpenStack, we use Zuul's internal gearman server.
>>
>>-Jim
>>
>>_______________________________________________
>>OpenStack-Infra mailing list
>>OpenStack-Infra at lists.openstack.org
>>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
>

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


More information about the OpenStack-Infra mailing list