Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower constraints

2018-04-17 Thread Slawomir Kaplonski
Hi,

Just for information to all who sends patches for Neutron.
Patch [1] is now merged so if in Your patch lower-constraints job is still 
failing with error like in this thread, please rebase Your patch on top of [1] 
instead of just rechecking which probably will not help.

[1] https://review.openstack.org/#/c/561579/

> Wiadomość napisana przez Slawomir Kaplonski <skapl...@redhat.com> w dniu 
> 16.04.2018, o godz. 12:41:
> 
> I just sent a patch to bump Ryu version in Neutron’s requirements to fix 
> lower constraints job there also: https://review.openstack.org/#/c/561579/
> 
> 
>> Wiadomość napisana przez Gary Kotton <gkot...@vmware.com> w dniu 16.04.2018, 
>> o godz. 09:13:
>> 
>> Please see https://review.openstack.org/561443
>> 
>> On 4/16/18, 2:31 AM, "IWAMOTO Toshihiro" <iwam...@valinux.co.jp> wrote:
>> 
>>   On Sun, 15 Apr 2018 21:02:42 +0900,
>>   Gary Kotton wrote:
>>> 
>>> [1  ]
>>> [1.1  ]
>>> Hi,
>>> That sounds reasonable. I wonder if the RYU folk can chime in here.
>>> Thanks
>> 
>>   I don't fully understand the recent g-r change yet, but
>>   I guess neutron-dynamic-routing should  also have ryu>=4.24.
>>   I'll check this tommorrow.
>> 
>>> From: Akihiro MOTOKI <amot...@gmail.com>
>>> Reply-To: OpenStack List <openstack-dev@lists.openstack.org>
>>> Date: Sunday, April 15, 2018 at 12:43 PM
>>> To: OpenStack List <openstack-dev@lists.openstack.org>
>>> Subject: Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower 
>>> constraints
>>> 
>>> Gary,
>>> 
>>> I think this is caused by the recent pip change and pip no longer cannot 
>>> import pip from code. The right solution seems to bump the minimum version 
>>> of ryu.
>>> 
>>> Thought?
>>> 
>>> http://lists.openstack.org/pipermail/openstack-dev/2018-March/128939.html
>>> 
>>> Akihiro
>>> 
>>> 2018/04/15 午後6:06 "Gary Kotton" 
>>> <gkot...@vmware.com<mailto:gkot...@vmware.com>>:
>>> Hi,
>>> It seems like ther RYU import is breaking the project:
>>> 
>>> 
>>> 2018-04-15 
>>> 08:41:34.654681<http://logs.openstack.org/43/561443/3/check/openstack-tox-lower-constraints/087c168/job-output.txt.gz#_2018-04-15_08_41_34_654681>
>>>  | ubuntu-xenial | b'--- import errors ---\nFailed to import test module: 
>>> neutron_dynamic_routing.tests.unit.services.bgp.driver.ryu.test_driver\nTraceback
>>>  (most recent call last):\n  File 
>>> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
>>>  line 456, in _find_test_path\nmodule = 
>>> self._get_module_from_name(name)\n  File 
>>> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
>>>  line 395, in _get_modu
>>le_from_name\n__import__(name)\n  File 
>> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py<http://git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py>",
>>  line 21, in \nfrom ryu.services.protocols.bgp import 
>> bgpspeaker\n  File 
>> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py>",
>>  line 21, in \nfrom ryu.lib.packet.bgp import (\n  File 
>> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/l
>>
>> ower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py>", 
>> line 6, in \nfrom . import (ethernet, arp, icmp, icmpv6, ipv4, 
>> ipv6, lldp, mpls, packet,\n  File 
>> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routin

Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower constraints

2018-04-16 Thread Slawomir Kaplonski
I just sent a patch to bump Ryu version in Neutron’s requirements to fix lower 
constraints job there also: https://review.openstack.org/#/c/561579/


> Wiadomość napisana przez Gary Kotton <gkot...@vmware.com> w dniu 16.04.2018, 
> o godz. 09:13:
> 
> Please see https://review.openstack.org/561443
> 
> On 4/16/18, 2:31 AM, "IWAMOTO Toshihiro" <iwam...@valinux.co.jp> wrote:
> 
>On Sun, 15 Apr 2018 21:02:42 +0900,
>Gary Kotton wrote:
>> 
>> [1  ]
>> [1.1  ]
>> Hi,
>> That sounds reasonable. I wonder if the RYU folk can chime in here.
>> Thanks
> 
>I don't fully understand the recent g-r change yet, but
>I guess neutron-dynamic-routing should  also have ryu>=4.24.
>I'll check this tommorrow.
> 
>> From: Akihiro MOTOKI <amot...@gmail.com>
>> Reply-To: OpenStack List <openstack-dev@lists.openstack.org>
>> Date: Sunday, April 15, 2018 at 12:43 PM
>> To: OpenStack List <openstack-dev@lists.openstack.org>
>> Subject: Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower 
>> constraints
>> 
>> Gary,
>> 
>> I think this is caused by the recent pip change and pip no longer cannot 
>> import pip from code. The right solution seems to bump the minimum version 
>> of ryu.
>> 
>> Thought?
>> 
>> http://lists.openstack.org/pipermail/openstack-dev/2018-March/128939.html
>> 
>> Akihiro
>> 
>> 2018/04/15 午後6:06 "Gary Kotton" 
>> <gkot...@vmware.com<mailto:gkot...@vmware.com>>:
>> Hi,
>> It seems like ther RYU import is breaking the project:
>> 
>> 
>> 2018-04-15 
>> 08:41:34.654681<http://logs.openstack.org/43/561443/3/check/openstack-tox-lower-constraints/087c168/job-output.txt.gz#_2018-04-15_08_41_34_654681>
>>  | ubuntu-xenial | b'--- import errors ---\nFailed to import test module: 
>> neutron_dynamic_routing.tests.unit.services.bgp.driver.ryu.test_driver\nTraceback
>>  (most recent call last):\n  File 
>> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
>>  line 456, in _find_test_path\nmodule = 
>> self._get_module_from_name(name)\n  File 
>> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
>>  line 395, in _get_modu
> le_from_name\n__import__(name)\n  File 
> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py<http://git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py>",
>  line 21, in \nfrom ryu.services.protocols.bgp import 
> bgpspeaker\n  File 
> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py>",
>  line 21, in \nfrom ryu.lib.packet.bgp import (\n  File 
> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/l
> 
> ower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py>", 
> line 6, in \nfrom . import (ethernet, arp, icmp, icmpv6, ipv4, 
> ipv6, lldp, mpls, packet,\n  File 
> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py>",
>  line 18, in \nfrom . import vlan\n  File 
> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py>",
>  line 21, in \nfrom . import ipv4\n  File 
> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-con

Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower constraints

2018-04-16 Thread Gary Kotton
Please see https://review.openstack.org/561443

On 4/16/18, 2:31 AM, "IWAMOTO Toshihiro" <iwam...@valinux.co.jp> wrote:

On Sun, 15 Apr 2018 21:02:42 +0900,
Gary Kotton wrote:
> 
> [1  ]
> [1.1  ]
> Hi,
> That sounds reasonable. I wonder if the RYU folk can chime in here.
> Thanks

I don't fully understand the recent g-r change yet, but
I guess neutron-dynamic-routing should  also have ryu>=4.24.
I'll check this tommorrow.

> From: Akihiro MOTOKI <amot...@gmail.com>
> Reply-To: OpenStack List <openstack-dev@lists.openstack.org>
> Date: Sunday, April 15, 2018 at 12:43 PM
> To: OpenStack List <openstack-dev@lists.openstack.org>
> Subject: Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower 
constraints
> 
> Gary,
> 
> I think this is caused by the recent pip change and pip no longer cannot 
import pip from code. The right solution seems to bump the minimum version of 
ryu.
> 
> Thought?
> 
> http://lists.openstack.org/pipermail/openstack-dev/2018-March/128939.html
> 
> Akihiro
> 
> 2018/04/15 午後6:06 "Gary Kotton" 
<gkot...@vmware.com<mailto:gkot...@vmware.com>>:
> Hi,
> It seems like ther RYU import is breaking the project:
> 
> 
> 2018-04-15 
08:41:34.654681<http://logs.openstack.org/43/561443/3/check/openstack-tox-lower-constraints/087c168/job-output.txt.gz#_2018-04-15_08_41_34_654681>
 | ubuntu-xenial | b'--- import errors ---\nFailed to import test module: 
neutron_dynamic_routing.tests.unit.services.bgp.driver.ryu.test_driver\nTraceback
 (most recent call last):\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
 line 456, in _find_test_path\nmodule = self._get_module_from_name(name)\n  
File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
 line 395, in _get_modu
 le_from_name\n__import__(name)\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py<http://git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py>",
 line 21, in \nfrom ryu.services.protocols.bgp import bgpspeaker\n  
File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py>",
 line 21, in \nfrom ryu.lib.packet.bgp import (\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/l
 ower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py>", 
line 6, in \nfrom . import (ethernet, arp, icmp, icmpv6, ipv4, 
ipv6, lldp, mpls, packet,\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py>",
 line 18, in \nfrom . import vlan\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py>",
 line 21, in \nfrom . import ipv4\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ipv4.py",
 line 23, in \nfrom . import tcp\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/tcp.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/tcp.py>",
 line 24, in \nfrom . import bgp\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron

Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower constraints

2018-04-15 Thread IWAMOTO Toshihiro
On Sun, 15 Apr 2018 21:02:42 +0900,
Gary Kotton wrote:
> 
> [1  ]
> [1.1  ]
> Hi,
> That sounds reasonable. I wonder if the RYU folk can chime in here.
> Thanks

I don't fully understand the recent g-r change yet, but
I guess neutron-dynamic-routing should  also have ryu>=4.24.
I'll check this tommorrow.

> From: Akihiro MOTOKI <amot...@gmail.com>
> Reply-To: OpenStack List <openstack-dev@lists.openstack.org>
> Date: Sunday, April 15, 2018 at 12:43 PM
> To: OpenStack List <openstack-dev@lists.openstack.org>
> Subject: Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower 
> constraints
> 
> Gary,
> 
> I think this is caused by the recent pip change and pip no longer cannot 
> import pip from code. The right solution seems to bump the minimum version of 
> ryu.
> 
> Thought?
> 
> http://lists.openstack.org/pipermail/openstack-dev/2018-March/128939.html
> 
> Akihiro
> 
> 2018/04/15 午後6:06 "Gary Kotton" 
> <gkot...@vmware.com<mailto:gkot...@vmware.com>>:
> Hi,
> It seems like ther RYU import is breaking the project:
> 
> 
> 2018-04-15 
> 08:41:34.654681<http://logs.openstack.org/43/561443/3/check/openstack-tox-lower-constraints/087c168/job-output.txt.gz#_2018-04-15_08_41_34_654681>
>  | ubuntu-xenial | b'--- import errors ---\nFailed to import test module: 
> neutron_dynamic_routing.tests.unit.services.bgp.driver.ryu.test_driver\nTraceback
>  (most recent call last):\n  File 
> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
>  line 456, in _find_test_path\nmodule = 
> self._get_module_from_name(name)\n  File 
> "/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
>  line 395, in _get_modu
 le_from_name\n__import__(name)\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py<http://git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py>",
 line 21, in \nfrom ryu.services.protocols.bgp import bgpspeaker\n  
File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py>",
 line 21, in \nfrom ryu.lib.packet.bgp import (\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/l
 ower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py>", 
line 6, in \nfrom . import (ethernet, arp, icmp, icmpv6, ipv4, 
ipv6, lldp, mpls, packet,\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py>",
 line 18, in \nfrom . import vlan\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py>",
 line 21, in \nfrom . import ipv4\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ipv4.py",
 line 23, in \nfrom . import tcp\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/tcp.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/tcp.py>",
 line 24, in \nfrom . import bgp\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/bgp.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/bg

Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower constraints

2018-04-15 Thread Gary Kotton
Hi,
That sounds reasonable. I wonder if the RYU folk can chime in here.
Thanks
Gary

From: Akihiro MOTOKI <amot...@gmail.com>
Reply-To: OpenStack List <openstack-dev@lists.openstack.org>
Date: Sunday, April 15, 2018 at 12:43 PM
To: OpenStack List <openstack-dev@lists.openstack.org>
Subject: Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower 
constraints

Gary,

I think this is caused by the recent pip change and pip no longer cannot import 
pip from code. The right solution seems to bump the minimum version of ryu.

Thought?

http://lists.openstack.org/pipermail/openstack-dev/2018-March/128939.html

Akihiro

2018/04/15 午後6:06 "Gary Kotton" <gkot...@vmware.com<mailto:gkot...@vmware.com>>:
Hi,
It seems like ther RYU import is breaking the project:


2018-04-15 
08:41:34.654681<http://logs.openstack.org/43/561443/3/check/openstack-tox-lower-constraints/087c168/job-output.txt.gz#_2018-04-15_08_41_34_654681>
 | ubuntu-xenial | b'--- import errors ---\nFailed to import test module: 
neutron_dynamic_routing.tests.unit.services.bgp.driver.ryu.test_driver\nTraceback
 (most recent call last):\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
 line 456, in _find_test_path\nmodule = self._get_module_from_name(name)\n  
File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py>",
 line 395, in _get_module_from_name\n__import__(name)\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py<http://git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py>",
 line 21, in \nfrom ryu.services.protocols.bgp import bgpspeaker\n  
File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py>",
 line 21, in \nfrom ryu.lib.packet.bgp import (\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py>",
 line 6, in \nfrom . import (ethernet, arp, icmp, icmpv6, ipv4, 
ipv6, lldp, mpls, packet,\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py>",
 line 18, in \nfrom . import vlan\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py>",
 line 21, in \nfrom . import ipv4\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ipv4.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ipv4.py>",
 line 23, in \nfrom . import tcp\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/tcp.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/tcp.py>",
 line 24, in \nfrom . import bgp\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/bgp.py<http://git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/bgp.py>",
 line 52, in \nfrom ryu.utils import binary_str\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/utils.py<http://git.openstack.org/openstack/n

Re: [openstack-dev] [neutron][dynamic routing] RYU Breaks lower constraints

2018-04-15 Thread Akihiro Motoki
Gary,

I think this is caused by the recent pip change and pip no longer cannot
import pip from code. The right solution seems to bump the minimum version
of ryu.

Thought?

http://lists.openstack.org/pipermail/openstack-dev/2018-March/128939.html

Akihiro

2018/04/15 午後6:06 "Gary Kotton" :

Hi,

It seems like ther RYU import is breaking the project:



2018-04-15 08:41:34.654681

| ubuntu-xenial | b'--- import errors ---\nFailed to import test
module: 
neutron_dynamic_routing.tests.unit.services.bgp.driver.ryu.test_driver\nTraceback
(most recent call last):\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py",
line 456, in _find_test_path\nmodule =
self._get_module_from_name(name)\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py",
line 395, in _get_module_from_name\n__import__(name)\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py",
line 21, in \nfrom ryu.services.protocols.bgp import
bgpspeaker\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py",
line 21, in \nfrom ryu.lib.packet.bgp import (\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py",
line 6, in \nfrom . import (ethernet, arp, icmp, icmpv6,
ipv4, ipv6, lldp, mpls, packet,\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py",
line 18, in \nfrom . import vlan\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py",
line 21, in \nfrom . import ipv4\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ipv4.py",
line 23, in \nfrom . import tcp\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/tcp.py",
line 24, in \nfrom . import bgp\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/bgp.py",
line 52, in \nfrom ryu.utils import binary_str\n  File
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/utils.py",
line 23, in \nfrom pip import req as pip_req\nImportError:
cannot import name \'req\'\n'



Any suggestions?

Thanks

Gary
__
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


[openstack-dev] [neutron][dynamic routing] RYU Breaks lower constraints

2018-04-15 Thread Gary Kotton
Hi,
It seems like ther RYU import is breaking the project:


2018-04-15 
08:41:34.654681
 | ubuntu-xenial | b'--- import errors ---\nFailed to import test module: 
neutron_dynamic_routing.tests.unit.services.bgp.driver.ryu.test_driver\nTraceback
 (most recent call last):\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py",
 line 456, in _find_test_path\nmodule = self._get_module_from_name(name)\n  
File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/unittest2/loader.py",
 line 395, in _get_module_from_name\n__import__(name)\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp/driver/ryu/test_driver.py",
 line 21, in \nfrom ryu.services.protocols.bgp import bgpspeaker\n  
File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/services/protocols/bgp/bgpspeaker.py",
 line 21, in \nfrom ryu.lib.packet.bgp import (\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/__init__.py",
 line 6, in \nfrom . import (ethernet, arp, icmp, icmpv6, ipv4, 
ipv6, lldp, mpls, packet,\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ethernet.py",
 line 18, in \nfrom . import vlan\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/vlan.py",
 line 21, in \nfrom . import ipv4\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/ipv4.py",
 line 23, in \nfrom . import tcp\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/tcp.py",
 line 24, in \nfrom . import bgp\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/lib/packet/bgp.py",
 line 52, in \nfrom ryu.utils import binary_str\n  File 
"/home/zuul/src/git.openstack.org/openstack/neutron-dynamic-routing/.tox/lower-constraints/lib/python3.5/site-packages/ryu/utils.py",
 line 23, in \nfrom pip import req as pip_req\nImportError: cannot 
import name \'req\'\n'

Any suggestions?
Thanks
Gary
__
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