This looks kinda like you have old papi installed somewhere.

Please try `make test-wipe` and let me know how it goes.

Thanks,
Klement

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Dave Barach
> (dbarach)
> Sent: Thursday, March 15, 2018 10:46 PM
> To: vpp-dev@lists.fd.io
> Cc: vpp-dev@lists.fd.io
> Subject: Re: [vpp-dev] make TEST=test_ip6 test failing on multiple machines,
> when NOT run as root.
> 
> +1. Definitely try "make test" as root, and let folks know how it goes...
> 
> 
> 
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Damjan Marion
> Sent: Thursday, March 15, 2018 5:24 PM
> To: vpp-dev@lists.fd.io
> Cc: vpp-dev@lists.fd.io
> Subject: Re: [vpp-dev] make TEST=test_ip6 test failing on multiple machines,
> when NOT run as root.
> 
> 
> 
> 
> 
> OK, this doesn't look like related  to my issue. does it work with sudo?
> 
> 
> 
> 
> 
>       On 15 Mar 2018, at 21:58, Jon Loeliger <j...@netgate.com
> <mailto:j...@netgate.com> > wrote:
> 
> 
> 
>       On Thu, Mar 15, 2018 at 1:54 PM, Damjan Marion
> <dmarion.li...@gmail.com <mailto:dmarion.li...@gmail.com> > wrote:
> 
> 
> 
>               Should be fixed now, issue was happening when VPP was
> allocating buffer memory from 4K pages (running as non-root).
> 
> 
> 
> 
> 
>       Damjan,
> 
> 
> 
>       It has gotten better, but I still see these:
> 
> 
> 
>       =======================================================
> =======================
> 
>       PAPI Message parsing Test Case
> 
>       =======================================================
> =======================
> 
>       New compound type with array                                            
>  ERROR [ temp
> dir used by test case: /tmp/vpp-unittest-TestPAPIMessageParsing-Kl0Zr3 ]
> 
>       15:09:04,318 [Errno 17] File exists
> 
>       Add new types                                                           
>  ERROR [ temp dir used by
> test case: /tmp/vpp-unittest-TestPAPIMessageParsing-Kl0Zr3 ]
> 
>       Add new types 2                                                         
>  OK
> 
>       15:09:05,997 [Errno 17] File exists
> 
>       Add new message object                                                  
>  ERROR [ temp dir
> used by test case: /tmp/vpp-unittest-TestPAPIMessageParsing-Kl0Zr3 ]
> 
>       15:09:06,908 [Errno 17] File exists
> 
>       New message with array                                                  
>  ERROR [ temp dir
> used by test case: /tmp/vpp-unittest-TestPAPIMessageParsing-Kl0Zr3 ]
> 
>       Argument name                                                           
>  OK
> 
>       VLA with aribtrary length field placement                               
>  OK
> 
>       15:09:09,451 [Errno 17] File exists
> 
>       Message to byte encoding                                                
>  ERROR [ temp dir
> used by test case: /tmp/vpp-unittest-TestPAPIMessageParsing-Kl0Zr3 ]
> 
>       15:09:10,370 [Errno 17] File exists
> 
>       Nested array type                                                       
>  ERROR [ temp dir used
> by test case: /tmp/vpp-unittest-TestPAPIMessageParsing-Kl0Zr3 ]
> 
>       Old style VLA array                                                     
>  OK
> 
>       15:09:12,125 [Errno 17] File exists
> 
>       Old VLA compound type                                                   
>  ERROR [ temp dir
> used by test case: /tmp/vpp-unittest-TestPAPIMessageParsing-Kl0Zr3 ]
> 
> 
> 
> 
> 
>       MPLS IPv4 Multicast Tail                                                
>  ERROR [ temp dir
> used by test case: /tmp/vpp-unittest-TestMPLS-bWDeO0 ]
> 
> 
> 
> 
> 
>       Later, the output also has these:
> 
> 
> 
> 
> 
>       =======================================================
> =======================
> 
>       ERROR: New compound type with array
> 
>       
> ------------------------------------------------------------------------------
> 
>       Traceback (most recent call last):
> 
>         File "/home/jdl/workspace/tnsr-pkgs/work/vpp/test/test_papi.py",
> line 281, in test_add_new_compound_type_with_array
> 
>           msglist.add_type(p[0], p[1:])
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 590, in add_type
> 
>           typeonly=True)
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 545, in
> add_message
> 
>           raise ValueError('Duplicate message name: ' + name)
> 
>       ValueError: Duplicate message name: vl_api_ip4_fib_counter_t
> 
> 
> 
>       =======================================================
> =======================
> 
>       ERROR: Add new types
> 
>       
> ------------------------------------------------------------------------------
> 
>       Traceback (most recent call last):
> 
>         File "/home/jdl/workspace/tnsr-pkgs/work/vpp/test/test_papi.py",
> line 167, in test_add_new_types
> 
>           msglist.add_type(p[0], p[1:])
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 590, in add_type
> 
>           typeonly=True)
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 545, in
> add_message
> 
>           raise ValueError('Duplicate message name: ' + name)
> 
>       ValueError: Duplicate message name: vl_api_ip4_fib_counter_t
> 
> 
> 
>       =======================================================
> =======================
> 
>       ERROR: Add new message object
> 
>       
> ------------------------------------------------------------------------------
> 
>       Traceback (most recent call last):
> 
>         File "/home/jdl/workspace/tnsr-pkgs/work/vpp/test/test_papi.py",
> line 71, in test_adding_new_message_object
> 
>           msgdef = msglist.add_message(p[0], p[1:])
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 545, in
> add_message
> 
>           raise ValueError('Duplicate message name: ' + name)
> 
>       ValueError: Duplicate message name: show_version
> 
> 
> 
>       =======================================================
> =======================
> 
>       ERROR: New message with array
> 
>       
> ------------------------------------------------------------------------------
> 
>       Traceback (most recent call last):
> 
>         File "/home/jdl/workspace/tnsr-pkgs/work/vpp/test/test_papi.py",
> line 87, in test_adding_new_message_object_with_array
> 
>           msglist.add_message(p[0], p[1:])
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 545, in
> add_message
> 
>           raise ValueError('Duplicate message name: ' + name)
> 
>       ValueError: Duplicate message name: ip_address_details
> 
> 
> 
>       =======================================================
> =======================
> 
>       ERROR: Message to byte encoding
> 
>       
> ------------------------------------------------------------------------------
> 
>       Traceback (most recent call last):
> 
>         File "/home/jdl/workspace/tnsr-pkgs/work/vpp/test/test_papi.py",
> line 95, in test_message_to_bytes
> 
>           msgdef = msglist.add_message(p[0], p[1:])
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 545, in
> add_message
> 
>           raise ValueError('Duplicate message name: ' + name)
> 
>       ValueError: Duplicate message name: show_version
> 
> 
> 
>       =======================================================
> =======================
> 
>       ERROR: Nested array type
> 
>       
> ------------------------------------------------------------------------------
> 
>       Traceback (most recent call last):
> 
>         File "/home/jdl/workspace/tnsr-pkgs/work/vpp/test/test_papi.py",
> line 241, in test_nested_array_type
> 
>           msglist.add_type(p[0], p[1:])
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 590, in add_type
> 
>           typeonly=True)
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 545, in
> add_message
> 
>           raise ValueError('Duplicate message name: ' + name)
> 
>       ValueError: Duplicate message name: vl_api_bier_table_id_t
> 
> 
> 
>       =======================================================
> =======================
> 
>       ERROR: Old VLA compound type
> 
>       
> ------------------------------------------------------------------------------
> 
>       Traceback (most recent call last):
> 
>         File "/home/jdl/workspace/tnsr-pkgs/work/vpp/test/test_papi.py",
> line 447, in test_old_vla_array_compound
> 
>           msglist.add_type(p[0], p[1:])
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 590, in add_type
> 
>           typeonly=True)
> 
>         File "build/bdist.linux-x86_64/egg/vpp_papi.py", line 545, in
> add_message
> 
>           raise ValueError('Duplicate message name: ' + name)
> 
>       ValueError: Duplicate message name: vl_api_ip4_fib_counter_t
> 
> 
> 
>       =======================================================
> =======================
> 
>       ERROR: MPLS IPv4 Multicast Tail
> 
>       
> ------------------------------------------------------------------------------
> 
>       Traceback (most recent call last):
> 
>         File "/home/jdl/workspace/tnsr-pkgs/work/vpp/test/test_mpls.py",
> line 1239, in test_mcast_ip4_tail
> 
>           self.send_and_assert_no_replies(self.pg0, tx, "RPF-ID drop none")
> 
>         File "/home/jdl/workspace/tnsr-pkgs/work/vpp/test/framework.py",
> line 772, in send_and_assert_no_replies
> 
>           i.get_capture(0, timeout=timeout)
> 
>         File "/home/jdl/workspace/tnsr-
> pkgs/work/vpp/test/vpp_pg_interface.py", line 240, in get_capture
> 
>           (len(capture.res), expected_count, name))
> 
>       Exception: Captured packets mismatch, captured 1 packets, expected 0
> packets on pg3
> 
> 
> 
>       Ran 648 tests in 923.924s
> 
> 
> 
> 
> 
> 
> 
>       HTH,
> 
>       jdl
> 
> 
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#8577): https://lists.fd.io/g/vpp-dev/message/8577
View All Messages In Topic (12): https://lists.fd.io/g/vpp-dev/topic/14491547
Mute This Topic: https://lists.fd.io/mt/14491547/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to