I am trying to run "make test" on a CentOS bare metal server. I'm getting
"Exception: Illegal syntax for IP address". What do I need to
setup/configure on my server before running "make test"?

Thanks,
Billy McFall


$ make test V=2
make -C /home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root PLATFORM=vpp
TAG=vpp vpp-install
make[1]: Entering directory
`/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root'
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for dpdk @@@@
@@@@ Makefile fragment found in
/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-data/packages/dpdk.mk @@@@
@@@@ Source found in /home/bmcfall/dev/2017_08_14_VPP_Master/vpp/dpdk @@@@
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for vpp @@@@
@@@@ Makefile fragment found in
/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-data/packages/vpp.mk @@@@
@@@@ Source found in /home/bmcfall/dev/2017_08_14_VPP_Master/vpp/src @@@@
@@@@ Configuring dpdk: nothing to do @@@@
@@@@ Building dpdk: nothing to do @@@@
@@@@ Installing dpdk: nothing to do @@@@
@@@@ Configuring vpp: nothing to do @@@@
@@@@ Building vpp: nothing to do @@@@
@@@@ Installing vpp: nothing to do @@@@
make[1]: Leaving directory
`/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root'
make -C test TEST_DIR=/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/test
VPP_TEST_BUILD_DIR=/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/build-vpp-native
VPP_TES
T_BIN=/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/install-vpp-native/vpp/bin/vpp
VPP_TEST_PLUGIN_PATH=/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/i
nstall-vpp-native/vpp/lib/vpp_plugins:/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins
VPP_TEST_INSTALL_PATH=/home/bmcfall
/dev/2017_08_14_VPP_Master/vpp/build-root/install-vpp-native/
LD_LIBRARY_PATH=/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/install-vpp-native/vpp/lib/:/home/bm
cfall/dev/2017_08_14_VPP_Master/vpp/build-root/install-vpp-native/vpp/lib64/
EXTENDED_TESTS= PYTHON= test
make[1]: Entering directory
`/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/test'
Traceback (most recent call last):
  File "sanity_run_vpp.py", line 7, in <module>
    from framework import VppTestCase, KeepAliveReporter
  File "/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/test/framework.py",
line 20, in <module>
    from vpp_pg_interface import VppPGInterface
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/test/vpp_pg_interface.py",
line 8, in <module>
    from vpp_interface import VppInterface
  File "/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/test/vpp_interface.py",
line 4, in <module>
    from util import Host, mk_ll_addr
  File "/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/test/util.py", line 7,
in <module>
    from scapy.layers.inet6 import in6_mactoifaceid
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/python/virtualenv/lib/python2.7/site-packages/scapy/layers/inet6.py",
line 56, in <module>
    import scapy.route6
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/python/virtualenv/lib/python2.7/site-packages/scapy/route6.py",
line 273, in <module>
    conf.route6 = Route6()
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/python/virtualenv/lib/python2.7/site-packages/scapy/route6.py",
line 31, in __init__
    self.resync()
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/python/virtualenv/lib/python2.7/site-packages/scapy/route6.py",
line 44, in resync
    self.routes = read_routes6()
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/python/virtualenv/lib/python2.7/site-packages/scapy/arch/linux.py",
line 283, in read_routes6
    cset = scapy.utils6.construct_source_candidate_set(d, dp, devaddrs,
LOOPBACK_NAME)
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/python/virtualenv/lib/python2.7/site-packages/scapy/utils6.py",
line 50, in construct_source_candidate_set
    if in6_isgladdr(addr) or in6_isuladdr(addr):
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/python/virtualenv/lib/python2.7/site-packages/scapy/utils6.py",
line 708, in in6_isgladdr
    return in6_isincluded(str, '2000::', 3)
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/python/virtualenv/lib/python2.7/site-packages/scapy/utils6.py",
line 651, in in6_isincluded
    temp = inet_pton(socket.AF_INET6, addr)
  File
"/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root/python/virtualenv/lib/python2.7/site-packages/scapy/pton_ntop.py",
line 40, in inet_pton
    raise Exception("Illegal syntax for IP address")
Exception: Illegal syntax for IP address
*******************************************************************
* Sanity check failed, cannot run vpp
*******************************************************************
make[1]: *** [sanity] Error 1
make[1]: Leaving directory
`/home/bmcfall/dev/2017_08_14_VPP_Master/vpp/test'
make: *** [test] Error 2


On Thu, Jul 6, 2017 at 6:26 AM, Maciek Konstantynowicz (mkonstan) <
mkons...@cisco.com> wrote:

> +vpp-dev.
>
> yes, vpp make-test.
>
> https://docs.fd.io/csit/rls1704/report/vpp_unit_tests/index.html
> https://docs.fd.io/vpp/17.04/vpp_make_test/html/
>
> -Maciek
>
> On 6 Jul 2017, at 10:34, wang.hu...@zte.com.cn wrote:
>
> Hi all
>
> Does vpp has some kind of UT test framework , and how to use it ?
>
> Thanks.
>
>
>
>
>
> 王辉 wanghui
>
>
> IT开发工程师 IT Development Engineer
> 虚拟化南京四部/无线研究院/无线产品经营部 NIV Nanjing Dept. IV/Wireless Product R&D
> Institute/Wireless Product Operation Division
>
>
>
>
>
> _______________________________________________
> csit-dev mailing list
> csit-...@lists.fd.io
> https://lists.fd.io/mailman/listinfo/csit-dev
>
>
>
> _______________________________________________
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev
>



-- 
*Billy McFall*
SDN Group
Office of Technology
*Red Hat*
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
  • Re: [vpp-dev]... Maciek Konstantynowicz (mkonstan)
    • Re: [vpp... Billy McFall
      • Re: ... Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
        • ... Billy McFall
          • ... Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
            • ... Billy McFall
              • ... Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)

Reply via email to