Re: [openstack-dev] [nova] novaclient 'stable-compat-jobs-{name}' broken

2015-04-15 Thread melanie witt
On Apr 14, 2015, at 12:03, Jeremy Stanley fu...@yuggoth.org wrote:

 Our regular integration testing jobs do this by default. When a
 change is proposed to a stable branch of a project, devstack-gate
 checks out the same branch name for the other projects being tested
 with it and updates requirements based on the global requirements
 list for that branch.
 
 The backward-compatibility jobs were a workaround for the fact that
 by default changes proposed to the master branch of a project are
 only tested with the master branches of other projects.

Oh, that makes it easy then! Thanks Jeremy.

-melanie (irc: melwitt)







signature.asc
Description: Message signed with OpenPGP using GPGMail
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] novaclient 'stable-compat-jobs-{name}' broken

2015-04-14 Thread Andrey Kurilin
Given that, is it okay if I propose a patch to remove the
'stable-compat-jobs-{name}' build jobs for python-novaclient in
project-config?

I suppose we should remove 'stable-compat-jobs-{name}', since novaclient is
already blocked for one week and it looks like there are no another
solutions for now.

On Fri, Apr 10, 2015 at 8:02 AM, melanie witt melwi...@gmail.com wrote:

 Hi all,

 The following 'stable-compat-jobs-{name}' build jobs have been broken the
 past two days, blocking all novaclient patches from passing jenkins checks:

 gate-tempest-dsvm-neutron-src-python-novaclient-icehouse
 gate-tempest-dsvm-neutron-src-python-novaclient-juno

 The original purpose of these jobs was to check that patches proposed to
 master wouldn't break in stable branches. This was before we started
 pinning novaclient versions on stable branches. Now that we've pinned, the
 way these jobs were passing was by installing the current novaclient, then
 uninstalling it, then installing a version from pypi that fits within the
 global requirements for the branch in question (icehouse or juno), then
 running the tests.

 Well, recently this stopped working because for some reason, devstack is
 no longer able to uninstall the latest version:

 Found existing installation: python-novaclient 2.23.0.post14
 Can't uninstall 'python-novaclient'. No files were found to uninstall.

 And then I see the following error as a result:

 pkg_resources.ContextualVersionConflict: (python-novaclient 2.23.0.post14
 (/opt/stack/new/python-novaclient),
 Requirement.parse('python-novaclient=2.20.0,=2.18.0'),
 set(['ceilometer']))

 I asked about this in #openstack-infra and was told we really shouldn't be
 running the src build jobs on patches proposed to master anyhow, and that
 it's not the right flow for devstack to install the latest, then uninstall
 it, then install an older global reqs compatible version anyway.

 Given that, is it okay if I propose a patch to remove the
 'stable-compat-jobs-{name}' build jobs for python-novaclient in
 project-config?

 Then after that, how are we supposed to go about cutting stable branches
 for novaclient? And how can we get the 'stable-compat-jobs-{name}' jobs
 running on only those respective branches? In project-config I didn't
 understand how to limit build jobs to only patches proposed to a stable
 branch.

 I'd appreciate any insights.

 Thanks,
 melanie (melwitt)





 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
Best regards,
Andrey Kurilin.
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] novaclient 'stable-compat-jobs-{name}' broken

2015-04-14 Thread Feodor Tersin
I proposed a solution (https://review.openstack.org/#/c/172522/)
But i have no idea how to push it.

btw. As i see, glanceclient developers decided to just remove these jobs (
https://review.openstack.org/#/c/172999/)


On Tue, Apr 14, 2015 at 11:47 AM, Andrey Kurilin akuri...@mirantis.com
wrote:

 Given that, is it okay if I propose a patch to remove the
 'stable-compat-jobs-{name}' build jobs for python-novaclient in
 project-config?

 I suppose we should remove 'stable-compat-jobs-{name}', since novaclient
 is already blocked for one week and it looks like there are no another
 solutions for now.

 On Fri, Apr 10, 2015 at 8:02 AM, melanie witt melwi...@gmail.com wrote:

 Hi all,

 The following 'stable-compat-jobs-{name}' build jobs have been broken the
 past two days, blocking all novaclient patches from passing jenkins checks:

 gate-tempest-dsvm-neutron-src-python-novaclient-icehouse
 gate-tempest-dsvm-neutron-src-python-novaclient-juno

 The original purpose of these jobs was to check that patches proposed to
 master wouldn't break in stable branches. This was before we started
 pinning novaclient versions on stable branches. Now that we've pinned, the
 way these jobs were passing was by installing the current novaclient, then
 uninstalling it, then installing a version from pypi that fits within the
 global requirements for the branch in question (icehouse or juno), then
 running the tests.

 Well, recently this stopped working because for some reason, devstack is
 no longer able to uninstall the latest version:

 Found existing installation: python-novaclient 2.23.0.post14
 Can't uninstall 'python-novaclient'. No files were found to uninstall.

 And then I see the following error as a result:

 pkg_resources.ContextualVersionConflict: (python-novaclient 2.23.0.post14
 (/opt/stack/new/python-novaclient),
 Requirement.parse('python-novaclient=2.20.0,=2.18.0'),
 set(['ceilometer']))

 I asked about this in #openstack-infra and was told we really shouldn't
 be running the src build jobs on patches proposed to master anyhow, and
 that it's not the right flow for devstack to install the latest, then
 uninstall it, then install an older global reqs compatible version anyway.

 Given that, is it okay if I propose a patch to remove the
 'stable-compat-jobs-{name}' build jobs for python-novaclient in
 project-config?

 Then after that, how are we supposed to go about cutting stable branches
 for novaclient? And how can we get the 'stable-compat-jobs-{name}' jobs
 running on only those respective branches? In project-config I didn't
 understand how to limit build jobs to only patches proposed to a stable
 branch.

 I'd appreciate any insights.

 Thanks,
 melanie (melwitt)





 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




 --
 Best regards,
 Andrey Kurilin.

 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] novaclient 'stable-compat-jobs-{name}' broken

2015-04-14 Thread Gorka Eguileor
On Fri, Apr 10, 2015 at 04:26:01PM +0800, ZhiQiang Fan wrote:
 not pyhton-novaclient only, all openstack project clients have fail gate
 for stable/icehouse and stable/juno
 
In some cases stable/icehouse doesn't fail (like in cinderclient), but
you are right, they are failing everywhere.

 since we have pinned them in global requirements, so new changes in master
 should not run stable gate any more, otherwise, version conflict will be
 raised.

When you say they should not be run anymore you mean from now on or for
the moment?

Because I've seen in some cases that they mention they will add them
later once a stable/juno branch is added to the client.

I have seen in some cases that requirements have been changed, for
example from =1.1.0 to 1.2.0, to be able to keep running these tests
[1][2]. Is this not a recommended change?

I'm asking because that's the path I've taken to fix this in
cinderclient [3][4]


Cheers,
Gorka.

[1] https://review.openstack.org/#/c/172718/
[2] https://review.openstack.org/#/c/172150/
[3] https://review.openstack.org/173250
[4] https://review.openstack.org/173256

 
 On Fri, Apr 10, 2015 at 1:02 PM, melanie witt melwi...@gmail.com wrote:
 
  Hi all,
 
  The following 'stable-compat-jobs-{name}' build jobs have been broken the
  past two days, blocking all novaclient patches from passing jenkins checks:
 
  gate-tempest-dsvm-neutron-src-python-novaclient-icehouse
  gate-tempest-dsvm-neutron-src-python-novaclient-juno
 
  The original purpose of these jobs was to check that patches proposed to
  master wouldn't break in stable branches. This was before we started
  pinning novaclient versions on stable branches. Now that we've pinned, the
  way these jobs were passing was by installing the current novaclient, then
  uninstalling it, then installing a version from pypi that fits within the
  global requirements for the branch in question (icehouse or juno), then
  running the tests.
 
  Well, recently this stopped working because for some reason, devstack is
  no longer able to uninstall the latest version:
 
  Found existing installation: python-novaclient 2.23.0.post14
  Can't uninstall 'python-novaclient'. No files were found to uninstall.
 
  And then I see the following error as a result:
 
  pkg_resources.ContextualVersionConflict: (python-novaclient 2.23.0.post14
  (/opt/stack/new/python-novaclient),
  Requirement.parse('python-novaclient=2.20.0,=2.18.0'),
  set(['ceilometer']))
 
  I asked about this in #openstack-infra and was told we really shouldn't be
  running the src build jobs on patches proposed to master anyhow, and that
  it's not the right flow for devstack to install the latest, then uninstall
  it, then install an older global reqs compatible version anyway.
 
  Given that, is it okay if I propose a patch to remove the
  'stable-compat-jobs-{name}' build jobs for python-novaclient in
  project-config?
 
  Then after that, how are we supposed to go about cutting stable branches
  for novaclient? And how can we get the 'stable-compat-jobs-{name}' jobs
  running on only those respective branches? In project-config I didn't
  understand how to limit build jobs to only patches proposed to a stable
  branch.
 
  I'd appreciate any insights.
 
  Thanks,
  melanie (melwitt)
 
 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] novaclient 'stable-compat-jobs-{name}' broken

2015-04-14 Thread melanie witt
Thanks all who responded. I have put up a patch to remove the jobs:

https://review.openstack.org/#/c/173547/

And then next we need to get some stable branches cut and get some guidance 
from infra on how we can run stable-compat-jobs only on changes proposed to 
stable branches for novaclient.


signature.asc
Description: Message signed with OpenPGP using GPGMail
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] novaclient 'stable-compat-jobs-{name}' broken

2015-04-14 Thread Jeremy Stanley
On 2015-04-14 11:52:14 -1000 (-1000), melanie witt wrote:
[...]
 And then next we need to get some stable branches cut and get some
 guidance from infra on how we can run stable-compat-jobs only on
 changes proposed to stable branches for novaclient.

Our regular integration testing jobs do this by default. When a
change is proposed to a stable branch of a project, devstack-gate
checks out the same branch name for the other projects being tested
with it and updates requirements based on the global requirements
list for that branch.

The backward-compatibility jobs were a workaround for the fact that
by default changes proposed to the master branch of a project are
only tested with the master branches of other projects.
-- 
Jeremy Stanley

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] novaclient 'stable-compat-jobs-{name}' broken

2015-04-14 Thread Joe Gordon
On Thu, Apr 9, 2015 at 10:02 PM, melanie witt melwi...@gmail.com wrote:

 Hi all,

 The following 'stable-compat-jobs-{name}' build jobs have been broken the
 past two days, blocking all novaclient patches from passing jenkins checks:

 gate-tempest-dsvm-neutron-src-python-novaclient-icehouse
 gate-tempest-dsvm-neutron-src-python-novaclient-juno

 The original purpose of these jobs was to check that patches proposed to
 master wouldn't break in stable branches. This was before we started
 pinning novaclient versions on stable branches. Now that we've pinned, the
 way these jobs were passing was by installing the current novaclient, then
 uninstalling it, then installing a version from pypi that fits within the
 global requirements for the branch in question (icehouse or juno), then
 running the tests.

 Well, recently this stopped working because for some reason, devstack is
 no longer able to uninstall the latest version:

 Found existing installation: python-novaclient 2.23.0.post14
 Can't uninstall 'python-novaclient'. No files were found to uninstall.

 And then I see the following error as a result:

 pkg_resources.ContextualVersionConflict: (python-novaclient 2.23.0.post14
 (/opt/stack/new/python-novaclient),
 Requirement.parse('python-novaclient=2.20.0,=2.18.0'),
 set(['ceilometer']))

 I asked about this in #openstack-infra and was told we really shouldn't be
 running the src build jobs on patches proposed to master anyhow, and that
 it's not the right flow for devstack to install the latest, then uninstall
 it, then install an older global reqs compatible version anyway.

 Given that, is it okay if I propose a patch to remove the
 'stable-compat-jobs-{name}' build jobs for python-novaclient in
 project-config?


++



 Then after that, how are we supposed to go about cutting stable branches
 for novaclient? And how can we get the 'stable-compat-jobs-{name}' jobs
 running on only those respective branches? In project-config I didn't
 understand how to limit build jobs to only patches proposed to a stable
 branch.


cutting a branch for novaclient is easy, anyone with release powers can do
it. Just find the right sha1 to create a new branch from and go. We should
do this for Kilo in fact. As for the proper project-config settings, not
sure off the top of my head but it is doable.



 I'd appreciate any insights.

 Thanks,
 melanie (melwitt)





 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev