openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #05266
Re: stable/diablo issue
-
To:
Nati Ueno <nati.ueno@xxxxxxxxx>
-
From:
corvus@xxxxxxxxxxxx (James E. Blair)
-
Date:
Wed, 02 Nov 2011 23:46:09 -0400
-
Cc:
openstack@xxxxxxxxxxxxxxxxxxx
-
In-reply-to:
<CACne486UHEw=cNhv3K5ZeuGPOR11Yy9=+DKwYpv-DdgM_ujEBw@mail.gmail.com> (Nati Ueno's message of "Wed, 2 Nov 2011 20:08:22 -0700")
-
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
Nati Ueno <nati.ueno@xxxxxxxxx> writes:
> Hi folks
>
> stable/diablo nova didn't pass pep8 now.
> https://bugs.launchpad.net/nova/+bug/885540
>
> - Can we have pep8 check automatically for diablo/stable?
> - How about unit-testing on merge props for diablo/stable?
> - Can we have Jenkins task for diablo/stable ?
Hi,
We already do all of those things. The same trunk gating jobs that run
on master also run on every other branch, including stable/diablo. And
nova is gating on pep8. The pep8 job is run via run_tests.sh in nova:
./run_tests.sh -N --pep8
That script runs pep8 with an "--ignore=E202,W602" argument, and W602 is
the warning you saw when you ran pep8 by hand.
You can see what Jenkins jobs ran for a change by looking at the
comments left by Jenkins in gerrit:
https://review.openstack.org/#change,1131
That links to this pep8 job:
https://jenkins.openstack.org/job/nova-pep8/1619/console
And I believe the job configuration (with the exact commands run for a
job) are visible in Jenkins.
As for W602, the reason it is being ignored is documented in
run_tests.sh.
-Jim
Follow ups
References