Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Tang Chen
, 2015 12:50 AM *To:* openstack-dev@lists.openstack.org *Subject:* Re: [openstack-dev] [CI] How to set a proxy for zuul. On 07/21/2015 03:35 PM, Abhishek Shrivastava wrote: Hi Tang, Can you please send me the whole job snippet you wrote. In /etc/jenkins_jobs/config/ examples.yaml, that

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Tang Chen
From:*Tang Chen [mailto:tangc...@cn.fujitsu.com] *Sent:* Tuesday, July 21, 2015 12:23 AM *To:* openstack-dev@lists.openstack.org *Subject:* Re: [openstack-dev] [CI] How to set a proxy for zuul. Hi Asselin, Abhishek, I got some problems when I was trying to write a jenkins job. I found that when zu

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Asselin, Ramy
sdrop.openstack.org/#Third_Party_Meeting From: Tang Chen [mailto:tangc...@cn.fujitsu.com] Sent: Tuesday, July 21, 2015 12:50 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [CI] How to set a proxy for zuul. On 07/21/2015 03:35 PM, Abhishek Shrivastava wrote: Hi Tang, Can you pleas

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Asselin, Ramy
[openstack-dev] [CI] How to set a proxy for zuul. Hi Asselin, Abhishek, I got some problems when I was trying to write a jenkins job. I found that when zuul received the notification from gerrit, jenkins didn't run the test. I added something to noop-check-communication in /etc

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Abhishek Shrivastava
Its just because what kind of file are you creating, as "touch /tmp/noop-check-communication" doesn't makes any sense to it. On Tue, Jul 21, 2015 at 2:48 PM, Tang Chen wrote: > > On 07/21/2015 04:05 PM, Abhishek Shrivastava wrote: > > If you want to create a new job then refer " > *dsvm-cinder-

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Tang Chen
On 07/21/2015 04:05 PM, Abhishek Shrivastava wrote: If you want to create a new job then refer "*dsvm-cinder-driver.yaml.sample*", and regarding "*noop-check-communication*" its just for testing the first time don't modify it. Well, I understand. But I don't think this little change will c

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Abhishek Shrivastava
If you want to create a new job then refer "*dsvm-cinder-driver.yaml.sample*", and regarding "*noop-check-communication*" its just for testing the first time don't modify it. On Tue, Jul 21, 2015 at 1:19 PM, Tang Chen wrote: > > On 07/21/2015 03:35 PM, Abhishek Shrivastava wrote: > > Hi Tang, >

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Tang Chen
On 07/21/2015 03:35 PM, Abhishek Shrivastava wrote: Hi Tang, Can you please send me the whole job snippet you wrote. In /etc/jenkins_jobs/config/ examples.yaml, that's all. - job-template: name: 'noop-check-communication' node: '{node}' builders: - shell: | #!/bi

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Abhishek Shrivastava
Hi Tang, Can you please send me the whole job snippet you wrote. On Tue, Jul 21, 2015 at 12:52 PM, Tang Chen wrote: > Hi Asselin, Abhishek, > > I got some problems when I was trying to write a jenkins job. > > I found that when zuul received the notification from gerrit, jenkins > didn't run t

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-21 Thread Tang Chen
Hi Asselin, Abhishek, I got some problems when I was trying to write a jenkins job. I found that when zuul received the notification from gerrit, jenkins didn't run the test. I added something to noop-check-communication in /etc/jenkins_jobs/config/ examples.yaml, just touched a file under

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-20 Thread Asselin, Ramy
/gerrit.py#n61 From: Tang Chen [mailto:tangc...@cn.fujitsu.com] Sent: Sunday, July 19, 2015 10:48 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [CI] How to set a proxy for zuul. Hi Asselin, Abhishek, Thanks for the reply. :) On 07/19/2015 02:41

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-20 Thread Asselin, Ramy
...@cn.fujitsu.com] Sent: Sunday, July 19, 2015 11:06 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [CI] How to set a proxy for zuul. On 07/19/2015 02:41 AM, Asselin, Ramy wrote: HI Abhi & Tang, Sorry I missed this thread. Let me know if yo

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-19 Thread Abhishek Shrivastava
For writing a Jenkins Job you can refer "*dsvm-cinder-driver.yaml.sample*" as a reference. On Mon, Jul 20, 2015 at 12:04 PM, Tang Chen wrote: > Hi Abhishek, > > On 07/20/2015 02:09 PM, Abhishek Shrivastava wrote: > > .. > > > > ​ Quite a nice explanation +1 for all the things you have don

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-19 Thread Tang Chen
Hi Abhishek, On 07/20/2015 02:09 PM, Abhishek Shrivastava wrote: .. Quite a nice explanation +1 for all the things you have done. Just one more thing to ask, have you made your slave node static? Not yet. And I haven't made my nodepool. :) These are my next step. But before I start

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-19 Thread Abhishek Shrivastava
join 3rd party ci IRC meetings on freenode [4]. It’s > a great place to ask questions and meet others setting up or maintaining > these systems. > > > > Thanks, > > Ramy > > IRC: asselin > > > > [1] > https://github.com/rasselin/os-ext-testing/commit/dafe

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-19 Thread Tang Chen
List (not for usage questions) *Subject:* Re: [openstack-dev] [CI] How to set a proxy for zuul. Also if you want to change it you will need to talk with Asselin Ramy who is the owner of the repo you followed. On Tue, Jul 14, 2015 at 12:18 PM, Abhishek Shrivastava mailto:abhis...@cloudby

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-19 Thread Tang Chen
penstack-dev/ci-sandbox/ [4] http://eavesdrop.openstack.org/#Third_Party_Meeting *From:*Abhishek Shrivastava [mailto:abhis...@cloudbyte.com] *Sent:* Monday, July 13, 2015 11:51 PM *To:* OpenStack Development Mailing List (not for usage questions) *Subject:* Re: [openstack-dev] [CI] How to se

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-18 Thread Asselin, Ramy
From: Asselin, Ramy Sent: Saturday, July 18, 2015 11:41 AM To: OpenStack Development Mailing List (not for usage questions) Subject: RE: [openstack-dev] [CI] How to set a proxy for zuul. HI Abhi & Tang, Sorry I missed this thread. Let me know if you’ve resolved your issues. My repo is underg

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-18 Thread Asselin, Ramy
sage questions) Subject: Re: [openstack-dev] [CI] How to set a proxy for zuul. Also if you want to change it you will need to talk with Asselin Ramy who is the owner of the repo you followed. On Tue, Jul 14, 2015 at 12:18 PM, Abhishek Shrivastava mailto:abhis...@cloudbyte.com>> wrote: ​Ba

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Abhishek Shrivastava
Also if you want to change it you will need to talk with Asselin Ramy who is the owner of the repo you followed. On Tue, Jul 14, 2015 at 12:18 PM, Abhishek Shrivastava < abhis...@cloudbyte.com> wrote: > ​Basically it is not required, and if you see /etc/jenkins_jobs/config > folder you will find

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Abhishek Shrivastava
​Basically it is not required, and if you see /etc/jenkins_jobs/config folder you will find one dsvm-cinder-tempest.yaml which is to be used basically not examples.yaml. So its not an issue.​ On Tue, Jul 14, 2015 at 12:07 PM, Tang Chen wrote: > > On 07/14/2015 01:46 PM, Abhishek Shrivastava wrot

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Tang Chen
On 07/14/2015 01:46 PM, Abhishek Shrivastava wrote: Instead of it use reusable_node option. Thanks. Problem resolved. :) BTW, single_use_node is written in layout.yaml by default. If it doesn't exist anymore, do we need a patch to fix it ? For someone who uses CI for the first time, it is re

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Abhishek Shrivastava
Instead of it use reusable_node option. On Tue, Jul 14, 2015 at 9:12 AM, Tang Chen wrote: > Hi Abhishek, All, > > I found the problem. > > My /etc/zuul/layout/layout.yaml has the following config: > > jobs: > - name: ^dsvm-tempest.*$ > parameter-function: single_use_node > > But in _parse

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Tang Chen
Hi Abhishek, All, I found the problem. My /etc/zuul/layout/layout.yaml has the following config: jobs: - name: ^dsvm-tempest.*$ parameter-function: single_use_node But in _parseConfig() in zuul/scheduler.py, it failed to find single_use_node(). fname = config_job.get('para

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Tang Chen
Hi Abhishek, I printed the self.layout.projects in zuul/scheduler.py, it is empty. So the project was not found. But I did do the jenkins-jobs --flush-cache update /etc/jenkins_jobs/config/ And I did configure openstack-dev/sandbox in layout.yaml. Do you have any idea what's wrong here ? Thank

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Tang Chen
On 07/13/2015 04:35 PM, Abhishek Shrivastava wrote: Updating jobs using "sudo jenkins-jobs --flush-cache update /etc/jenkins_jobs/config/". Also update the myvendor in examples.yaml Sorry, I updated the jobs, restart the whole machine. But it still doesn't work. By the way, there is no ve

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Abhishek Shrivastava
Updating jobs using "sudo jenkins-jobs --flush-cache update /etc/jenkins_jobs/config/". Also update the myvendor in examples.yaml On Mon, Jul 13, 2015 at 1:45 PM, Tang Chen wrote: > > On 07/13/2015 03:50 PM, Abhishek Shrivastava wrote: > > ​Use tester or something, also are you updating the jo

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Tang Chen
On 07/13/2015 03:50 PM, Abhishek Shrivastava wrote: Use tester or something, also are you updating the jobs or not? I used tester as my vendor. It doesn't work. And what do you mean by updating the jobs ? I built the noop-check-cimmunitication job once in Jenkins UI. Does it matter ? All th

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Abhishek Shrivastava
​Use tester or something, also are you updating the jobs or not?​ On Mon, Jul 13, 2015 at 1:16 PM, Tang Chen wrote: > Hi Abhishek, > > Thanks for the quick reply. > > On 07/13/2015 03:16 PM, Abhishek Shrivastava wrote: > > Also check that Gearman is connecting or not through Jenkins UI. > > On

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Tang Chen
Hi Abhishek, Thanks for the quick reply. On 07/13/2015 03:16 PM, Abhishek Shrivastava wrote: Also check that Gearman is connecting or not through Jenkins UI. On Mon, Jul 13, 2015 at 12:45 PM, Abhishek Shrivastava mailto:abhis...@cloudbyte.com>> wrote: First of all, change the "vendor" t

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Abhishek Shrivastava
Also check that Gearman is connecting or not through Jenkins UI. On Mon, Jul 13, 2015 at 12:45 PM, Abhishek Shrivastava < abhis...@cloudbyte.com> wrote: > First of all, change the "vendor" to your vendor name in > /etc/jenkins_jobs/config/projects.yaml file. Also, restart the zuul and > zuul merg

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Abhishek Shrivastava
First of all, change the "vendor" to your vendor name in /etc/jenkins_jobs/config/projects.yaml file. Also, restart the zuul and zuul merger. On Mon, Jul 13, 2015 at 12:29 PM, Tang Chen wrote: > Hi all, > > I have constructed my CI system. > When I tested it with sandbox project, I posted a pat

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-13 Thread Tang Chen
Hi all, I have constructed my CI system. When I tested it with sandbox project, I posted a patch to Gerrit. https://review.openstack.org/201002 But I got this error in zuul scheduler: 2015-07-14 14:07:24,921 DEBUG zuul.Scheduler: Run handler awake 2015-07-14 14:07:24,921 DEBUG zuul.Scheduler:

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-08 Thread Tang Chen
On 07/09/2015 11:42 AM, Tang Chen wrote: On 07/08/2015 05:58 PM, Abhishek Shrivastava wrote: So as per my understanding this is happening after CI master VM installation. Yes, Jenkins master has been constructed and works fine. And as an example, I can clone the sandbox repertory, and commi

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-08 Thread Tang Chen
On 07/08/2015 05:58 PM, Abhishek Shrivastava wrote: So as per my understanding this is happening after CI master VM installation. Yes, Jenkins master has been constructed and works fine. And as an example, I can clone the sandbox repertory, and commit code to Gerrit. But since zuul cannot co

Re: [openstack-dev] [CI] How to set a proxy for zuul.

2015-07-08 Thread Abhishek Shrivastava
So as per my understanding this is happening after CI master VM installation. On Wed, Jul 8, 2015 at 3:26 PM, Tang Chen wrote: > Hi all, > > I'm now installing constructing CI system following this document: > > https://github.com/rasselin/os-ext-testing > > When running zuul, I got this error: