[vpp-dev] vpp make test is not working

2017-02-22 Thread Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco)
Hello,

Currently all make test are failing with the same error (run locally on my 
development VM system - ubuntu16.04):

==
ERROR: setUpClass (test_ip6.TestIPv6)
--
Traceback (most recent call last):
  File "/home/vpp/Documents/vpp/test/test_ip6.py", line 31, in setUpClass
super(TestIPv6, cls).setUpClass()
  File "/home/vpp/Documents/vpp/test/framework.py", line 242, in setUpClass
cls.vapi = VppPapiProvider(cls.shm_prefix, cls.shm_prefix, cls)
  File "/home/vpp/Documents/vpp/test/vpp_papi_provider.py", line 54, in __init__
self.papi = VPP(jsonfiles)
  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 78, in __init__
self.add_message(m[0], m[1:])
  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 286, in 
add_message
args[field_name] = self.__struct(*f)
  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 151, in 
__struct
raise ValueError(1, 'Invalid message type: ' + t)
ValueError: (1, u'Invalid message type: vl_api_local_locator_t')


It seems that issue has been introduced by following commit:

vpp@vpp-VirtualBox:~/Documents/vpp$ git bisect good
694396dc589b4fe75b1fad02fde1d3c3cdaeef04 is the first bad commit
commit 694396dc589b4fe75b1fad02fde1d3c3cdaeef04
Author: Filip Tehlar 
Date:   Fri Feb 17 14:29:11 2017 +0100

Add Overlay Network Engine API

Change-Id: I6b5984df176688f0722a2888e73f05d8ed8b9310
Signed-off-by: Filip Tehlar 

:04 04 b3fb6d7c953b74ba85e0345f2987452f643b28dc 
a73d9ebb51dcda1fb4795961af1ce5fce418009b M src

So there are two questions:


1.  Could somebody have a look on this issue, please?

2.  Are these (make test) tests really part of vpp-verify-master-{os} jobs 
(i.e. part of make verify)? I didn't find any information about result of these 
tests in console output of the test 
(https://jenkins.fd.io/job/vpp-verify-master-ubuntu1604/3963/console).

Thanks,
Jan
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] vpp make test is not working

2017-02-22 Thread Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
Jan,

1. Filip is already working on a fix.
2. make test was accidentally removed from the make verify, Filip will
add it back with his fix.

Regards,
Klement

Quoting Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco) (2017-02-22 
18:30:55)
>Hello,
> 
> 
> 
>Currently all make test are failing with the same error (run locally on my
>development VM system – ubuntu16.04):
> 
> 
> 
>
> ==
> 
>ERROR: setUpClass (test_ip6.TestIPv6)
> 
>
> --
> 
>Traceback (most recent call last):
> 
>  File "/home/vpp/Documents/vpp/test/test_ip6.py", line 31, in setUpClass
> 
>    super(TestIPv6, cls).setUpClass()
> 
>  File "/home/vpp/Documents/vpp/test/framework.py", line 242, in
>setUpClass
> 
>    cls.vapi = VppPapiProvider(cls.shm_prefix, cls.shm_prefix, cls)
> 
>  File "/home/vpp/Documents/vpp/test/vpp_papi_provider.py", line 54, in
>__init__
> 
>    self.papi = VPP(jsonfiles)
> 
>  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 78, in
>__init__
> 
>    self.add_message(m[0], m[1:])
> 
>  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 286, in
>add_message
> 
>    args[field_name] = self.__struct(*f)
> 
>  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 151, in
>__struct
> 
>    raise ValueError(1, 'Invalid message type: ' + t)
> 
>ValueError: (1, u'Invalid message type: vl_api_local_locator_t')
> 
> 
> 
> 
> 
>It seems that issue has been introduced by following commit:
> 
> 
> 
>vpp@vpp-VirtualBox:~/Documents/vpp$ git bisect good
> 
>694396dc589b4fe75b1fad02fde1d3c3cdaeef04 is the first bad commit
> 
>commit 694396dc589b4fe75b1fad02fde1d3c3cdaeef04
> 
>Author: Filip Tehlar 
> 
>Date:   Fri Feb 17 14:29:11 2017 +0100
> 
> 
> 
>    Add Overlay Network Engine API
> 
>   
> 
>Change-Id: I6b5984df176688f0722a2888e73f05d8ed8b9310
> 
>    Signed-off-by: Filip Tehlar 
> 
> 
> 
>:04 04 b3fb6d7c953b74ba85e0345f2987452f643b28dc
>a73d9ebb51dcda1fb4795961af1ce5fce418009b M src
> 
> 
> 
>So there are two questions:
> 
> 
> 
>1.  Could somebody have a look on this issue, please?
> 
>2.  Are these (make test) tests really part of vpp-verify-master-{os}
>jobs (i.e. part of make verify)? I didn’t find any information about
>result of these tests in console output of the test
>([1]https://jenkins.fd.io/job/vpp-verify-master-ubuntu1604/3963/console).
> 
> 
> 
>Thanks,
> 
>Jan
> 
> References
> 
>Visible links
>1. https://jenkins.fd.io/job/vpp-verify-master-ubuntu1604/3963/console
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] vpp make test is not working

2017-02-22 Thread Florin Coras
Jan, 

Could you try with master again? For reference, the patch is here [1]

Thanks, 
Florin

[1] https://gerrit.fd.io/r/#/c/5477/ 

> On Feb 22, 2017, at 11:11 AM, Klement Sekera -X (ksekera - PANTHEON 
> TECHNOLOGIES at Cisco)  wrote:
> 
> Jan,
> 
> 1. Filip is already working on a fix.
> 2. make test was accidentally removed from the make verify, Filip will
> add it back with his fix.
> 
> Regards,
> Klement
> 
> Quoting Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco) (2017-02-22 
> 18:30:55)
>>   Hello,
>> 
>>
>> 
>>   Currently all make test are failing with the same error (run locally on my
>>   development VM system – ubuntu16.04):
>> 
>>
>> 
>>   
>> ==
>> 
>>   ERROR: setUpClass (test_ip6.TestIPv6)
>> 
>>   
>> --
>> 
>>   Traceback (most recent call last):
>> 
>> File "/home/vpp/Documents/vpp/test/test_ip6.py", line 31, in setUpClass
>> 
>>   super(TestIPv6, cls).setUpClass()
>> 
>> File "/home/vpp/Documents/vpp/test/framework.py", line 242, in
>>   setUpClass
>> 
>>   cls.vapi = VppPapiProvider(cls.shm_prefix, cls.shm_prefix, cls)
>> 
>> File "/home/vpp/Documents/vpp/test/vpp_papi_provider.py", line 54, in
>>   __init__
>> 
>>   self.papi = VPP(jsonfiles)
>> 
>> File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 78, in
>>   __init__
>> 
>>   self.add_message(m[0], m[1:])
>> 
>> File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 286, in
>>   add_message
>> 
>>   args[field_name] = self.__struct(*f)
>> 
>> File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 151, in
>>   __struct
>> 
>>   raise ValueError(1, 'Invalid message type: ' + t)
>> 
>>   ValueError: (1, u'Invalid message type: vl_api_local_locator_t')
>> 
>>
>> 
>>
>> 
>>   It seems that issue has been introduced by following commit:
>> 
>>
>> 
>>   vpp@vpp-VirtualBox:~/Documents/vpp$ git bisect good
>> 
>>   694396dc589b4fe75b1fad02fde1d3c3cdaeef04 is the first bad commit
>> 
>>   commit 694396dc589b4fe75b1fad02fde1d3c3cdaeef04
>> 
>>   Author: Filip Tehlar 
>> 
>>   Date:   Fri Feb 17 14:29:11 2017 +0100
>> 
>>
>> 
>>   Add Overlay Network Engine API
>> 
>>  
>> 
>>   Change-Id: I6b5984df176688f0722a2888e73f05d8ed8b9310
>> 
>>   Signed-off-by: Filip Tehlar 
>> 
>>
>> 
>>   :04 04 b3fb6d7c953b74ba85e0345f2987452f643b28dc
>>   a73d9ebb51dcda1fb4795961af1ce5fce418009b M src
>> 
>>
>> 
>>   So there are two questions:
>> 
>>
>> 
>>   1.  Could somebody have a look on this issue, please?
>> 
>>   2.  Are these (make test) tests really part of vpp-verify-master-{os}
>>   jobs (i.e. part of make verify)? I didn’t find any information about
>>   result of these tests in console output of the test
>>   ([1]https://jenkins.fd.io/job/vpp-verify-master-ubuntu1604/3963/console 
>> ).
>> 
>>
>> 
>>   Thanks,
>> 
>>   Jan
>> 
>> References
>> 
>>   Visible links
>>   1. https://jenkins.fd.io/job/vpp-verify-master-ubuntu1604/3963/console 
>> 
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io 
> https://lists.fd.io/mailman/listinfo/vpp-dev 
> 
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] vpp make test is not working

2017-02-22 Thread Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco)
Hello Florin, Klement, all,

Great, it works again:
…
Ran 133 tests in 148.545s

OK (skipped=7)
make[1]: Leaving directory '/home/vpp/Documents/vpp/test'

Thanks for quick fix.

Regards,
Jan

From: Florin Coras [mailto:fcoras.li...@gmail.com]
Sent: Wednesday, February 22, 2017 20:20
To: Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco) 

Cc: Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco) 
; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] vpp make test is not working

Jan,

Could you try with master again? For reference, the patch is here [1]

Thanks,
Florin

[1] https://gerrit.fd.io/r/#/c/5477/

On Feb 22, 2017, at 11:11 AM, Klement Sekera -X (ksekera - PANTHEON 
TECHNOLOGIES at Cisco) mailto:ksek...@cisco.com>> wrote:

Jan,

1. Filip is already working on a fix.
2. make test was accidentally removed from the make verify, Filip will
add it back with his fix.

Regards,
Klement

Quoting Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco) (2017-02-22 
18:30:55)

  Hello,



  Currently all make test are failing with the same error (run locally on my
  development VM system – ubuntu16.04):



  ==

  ERROR: setUpClass (test_ip6.TestIPv6)

  --

  Traceback (most recent call last):

File "/home/vpp/Documents/vpp/test/test_ip6.py", line 31, in setUpClass

  super(TestIPv6, cls).setUpClass()

File "/home/vpp/Documents/vpp/test/framework.py", line 242, in
  setUpClass

  cls.vapi = VppPapiProvider(cls.shm_prefix, cls.shm_prefix, cls)

File "/home/vpp/Documents/vpp/test/vpp_papi_provider.py", line 54, in
  __init__

  self.papi = VPP(jsonfiles)

File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 78, in
  __init__

  self.add_message(m[0], m[1:])

File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 286, in
  add_message

  args[field_name] = self.__struct(*f)

File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 151, in
  __struct

  raise ValueError(1, 'Invalid message type: ' + t)

  ValueError: (1, u'Invalid message type: vl_api_local_locator_t')





  It seems that issue has been introduced by following commit:



  vpp@vpp-VirtualBox:~/Documents/vpp$ git bisect good

  694396dc589b4fe75b1fad02fde1d3c3cdaeef04 is the first bad commit

  commit 694396dc589b4fe75b1fad02fde1d3c3cdaeef04

  Author: Filip Tehlar mailto:fteh...@cisco.com>>

  Date:   Fri Feb 17 14:29:11 2017 +0100



  Add Overlay Network Engine API



  Change-Id: I6b5984df176688f0722a2888e73f05d8ed8b9310

  Signed-off-by: Filip Tehlar mailto:fteh...@cisco.com>>



  :04 04 b3fb6d7c953b74ba85e0345f2987452f643b28dc
  a73d9ebb51dcda1fb4795961af1ce5fce418009b M src



  So there are two questions:



  1.  Could somebody have a look on this issue, please?

  2.  Are these (make test) tests really part of vpp-verify-master-{os}
  jobs (i.e. part of make verify)? I didn’t find any information about
  result of these tests in console output of the test
  ([1]https://jenkins.fd.io/job/vpp-verify-master-ubuntu1604/3963/console).



  Thanks,

  Jan

References

  Visible links
  1. https://jenkins.fd.io/job/vpp-verify-master-ubuntu1604/3963/console
___
vpp-dev mailing list
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
https://lists.fd.io/mailman/listinfo/vpp-dev

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev