Re: [openstack-dev] [infra][devstack] stable/kilo devstack fails with pkg_resources.ContextualVersionConflict

2016-04-23 Thread Matt Riedemann

On 4/22/2016 3:56 PM, Felipe Reyes wrote:

On Thu, 21 Apr 2016 15:12:53 +1000
Tony Breeds  wrote:


On Tue, Apr 19, 2016 at 01:14:34PM +0200, Lajos Katona wrote:

Hi,

In our internal CI system we realized that stable/kilo devstack
fails with the following stack trace:





It seems that the root cause is that testresources has a new
version 2.0.0 from 18 April.

I tried to find similar errors on openstack infra, but for me
http://logstash.openstack.org/ gives back no result.

I have a patch in requirements
(https://review.openstack.org/307174) but I got the same error for
those runs.


Thanks for you help!


Could somebody help to find a solution for this?


This should be resolved now, with the release of oslo.db 1.7.5


I'm experiencing this same problem in stable/liberty for heat[0], I
pushed a patch for review at https://review.openstack.org/#/c/309570/ .
But I'm getting an error with the 'releasenotes' tox environment[1]:

2016-04-22 19:58:15.356 | + tox -v -ereleasenotes
2016-04-22 19:58:15.656 | using tox.ini: 
/home/jenkins/workspace/gate-oslo.db-releasenotes/tox.ini
2016-04-22 19:58:15.657 | ERROR: unknown environment 'releasenotes'

Am I doing something wrong?

Best,

[0] 
http://logs.openstack.org/93/306293/1/check/gate-grenade-dsvm-heat/dd51751/logs/old/devstacklog.txt.gz
[1] 
http://logs.openstack.org/70/309570/1/check/gate-oslo.db-releasenotes/da73a88/console.html



__
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



There are a few issues here:

1. Heat on stable/liberty apparently runs the releasenotes job but 
doesn't have the releasenotes target in it's tox.ini. So either backport 
that or exclude running the releasenotes job for Heat on stable/liberty 
(in the project-config repo). That might be fixed now actually:


https://github.com/openstack/heat/commit/bd4dbd24b8e4a0acdb107e6e6c61d4443129affc

2. Heat is also apparently not using upper-constraints when running 
tests in stable/liberty (or stable/mitaka or master for that matter). We 
aren't going to cap testresources<2.0 in global-requirements in 
stable/liberty because it's already effectively capped at 1.0.0 in 
upper-constraints in stable/liberty:


https://github.com/openstack/requirements/blob/stable/liberty/upper-constraints.txt#L314

--

Thanks,

Matt Riedemann


__
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] [infra][devstack] stable/kilo devstack fails with pkg_resources.ContextualVersionConflict

2016-04-23 Thread Matt Riedemann

On 4/23/2016 1:02 PM, Matt Riedemann wrote:

On 4/22/2016 3:56 PM, Felipe Reyes wrote:

On Thu, 21 Apr 2016 15:12:53 +1000
Tony Breeds  wrote:


On Tue, Apr 19, 2016 at 01:14:34PM +0200, Lajos Katona wrote:

Hi,

In our internal CI system we realized that stable/kilo devstack
fails with the following stack trace:





It seems that the root cause is that testresources has a new
version 2.0.0 from 18 April.

I tried to find similar errors on openstack infra, but for me
http://logstash.openstack.org/ gives back no result.

I have a patch in requirements
(https://review.openstack.org/307174) but I got the same error for
those runs.


Thanks for you help!


Could somebody help to find a solution for this?


This should be resolved now, with the release of oslo.db 1.7.5


I'm experiencing this same problem in stable/liberty for heat[0], I
pushed a patch for review at https://review.openstack.org/#/c/309570/ .
But I'm getting an error with the 'releasenotes' tox environment[1]:

2016-04-22 19:58:15.356 | + tox -v -ereleasenotes
2016-04-22 19:58:15.656 | using tox.ini:
/home/jenkins/workspace/gate-oslo.db-releasenotes/tox.ini
2016-04-22 19:58:15.657 | ERROR: unknown environment 'releasenotes'

Am I doing something wrong?

Best,

[0]
http://logs.openstack.org/93/306293/1/check/gate-grenade-dsvm-heat/dd51751/logs/old/devstacklog.txt.gz

[1]
http://logs.openstack.org/70/309570/1/check/gate-oslo.db-releasenotes/da73a88/console.html




__

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



There are a few issues here:

1. Heat on stable/liberty apparently runs the releasenotes job but
doesn't have the releasenotes target in it's tox.ini. So either backport
that or exclude running the releasenotes job for Heat on stable/liberty
(in the project-config repo). That might be fixed now actually:

https://github.com/openstack/heat/commit/bd4dbd24b8e4a0acdb107e6e6c61d4443129affc


Sorry, this is actually oslo.db that's failing on stable/liberty because 
of the releasenotes job, not Heat.





2. Heat is also apparently not using upper-constraints when running
tests in stable/liberty (or stable/mitaka or master for that matter). We
aren't going to cap testresources<2.0 in global-requirements in
stable/liberty because it's already effectively capped at 1.0.0 in
upper-constraints in stable/liberty:

https://github.com/openstack/requirements/blob/stable/liberty/upper-constraints.txt#L314





--

Thanks,

Matt Riedemann


__
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] [infra][devstack] stable/kilo devstack fails with pkg_resources.ContextualVersionConflict

2016-04-22 Thread Felipe Reyes
On Thu, 21 Apr 2016 15:12:53 +1000
Tony Breeds  wrote:

> On Tue, Apr 19, 2016 at 01:14:34PM +0200, Lajos Katona wrote:
> > Hi,
> > 
> > In our internal CI system we realized that stable/kilo devstack
> > fails with the following stack trace:  
> 
> 
> 
> > It seems that the root cause is that testresources has a new
> > version 2.0.0 from 18 April.
> > 
> > I tried to find similar errors on openstack infra, but for me
> > http://logstash.openstack.org/ gives back no result.
> > 
> > I have a patch in requirements
> > (https://review.openstack.org/307174) but I got the same error for
> > those runs.  
> 
> Thanks for you help!
>  
> > Could somebody help to find a solution for this?  
> 
> This should be resolved now, with the release of oslo.db 1.7.5

I'm experiencing this same problem in stable/liberty for heat[0], I
pushed a patch for review at https://review.openstack.org/#/c/309570/ .
But I'm getting an error with the 'releasenotes' tox environment[1]:

2016-04-22 19:58:15.356 | + tox -v -ereleasenotes
2016-04-22 19:58:15.656 | using tox.ini: 
/home/jenkins/workspace/gate-oslo.db-releasenotes/tox.ini
2016-04-22 19:58:15.657 | ERROR: unknown environment 'releasenotes'

Am I doing something wrong?

Best,

[0] 
http://logs.openstack.org/93/306293/1/check/gate-grenade-dsvm-heat/dd51751/logs/old/devstacklog.txt.gz
[1] 
http://logs.openstack.org/70/309570/1/check/gate-oslo.db-releasenotes/da73a88/console.html

-- 
Felipe Reyes (GPG:0x9B1FFF39)
http://tty.cl
lp:~freyes | freyes@freenode | freyes@github


pgpitOOquDjkf.pgp
Description: OpenPGP digital signature
__
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] [infra][devstack] stable/kilo devstack fails with pkg_resources.ContextualVersionConflict

2016-04-20 Thread Tony Breeds
On Tue, Apr 19, 2016 at 01:14:34PM +0200, Lajos Katona wrote:
> Hi,
> 
> In our internal CI system we realized that stable/kilo devstack fails with
> the following stack trace:



> It seems that the root cause is that testresources has a new version 2.0.0
> from 18 April.
> 
> I tried to find similar errors on openstack infra, but for me
> http://logstash.openstack.org/ gives back no result.
> 
> I have a patch in requirements (https://review.openstack.org/307174) but I
> got the same error for those runs.

Thanks for you help!
 
> Could somebody help to find a solution for this?

This should be resolved now, with the release of oslo.db 1.7.5

Yours Tony.


signature.asc
Description: PGP signature
__
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-dev] [infra][devstack] stable/kilo devstack fails with pkg_resources.ContextualVersionConflict

2016-04-19 Thread Lajos Katona

Hi,

In our internal CI system we realized that stable/kilo devstack fails 
with the following stack trace:

2016-04-18 13:11:30.344 | + /usr/local/bin/*keystone-manage db_sync*
2016-04-18 13:11:31.142 | Traceback (most recent call last):
2016-04-18 13:11:31.142 | File "/usr/local/bin/keystone-manage", line 4, 
in 
2016-04-18 13:11:31.142 | 
__import__('pkg_resources').require('keystone==2015.1.4.dev4')
2016-04-18 13:11:31.142 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
2927, in 

2016-04-18 13:11:31.143 | @_call_aside
2016-04-18 13:11:31.143 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
2913, in _call_aside

2016-04-18 13:11:31.143 | f(*args, **kwargs)
2016-04-18 13:11:31.143 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
2940, in _initialize_master_working_set

2016-04-18 13:11:31.144 | working_set = WorkingSet._build_master()
2016-04-18 13:11:31.144 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
637, in _build_master

2016-04-18 13:11:31.144 | return cls._build_from_requirements(__requires__)
2016-04-18 13:11:31.144 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
650, in _build_from_requirements

2016-04-18 13:11:31.145 | dists = ws.resolve(reqs, Environment())
2016-04-18 13:11:31.145 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
834, in resolve
2016-04-18 13:11:31.145 | raise VersionConflict(dist, 
req).with_context(dependent_req)
2016-04-18 13:11:31.145 | *pkg_resources.ContextualVersionConflict: (pbr 
0.11.1 (/usr/local/lib/python2.7/dist-packages), 
Requirement.parse('pbr>=1.8'), set(['testresources']))*


It seems that the root cause is that testresources has a new version 
2.0.0 from 18 April.


I tried to find similar errors on openstack infra, but for me 
http://logstash.openstack.org/ gives back no result.


I have a patch in requirements (https://review.openstack.org/307174) but 
I got the same error for those runs.


Could somebody help to find a solution for this?

Regards
Lajos

__
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