Hi All,

We are trying to understand the VPP test framework. To get started we ran
an example suite (ip4 test) but it seems that the dependent executable(vpp)
is missing.
Please find the logs below.

*sudo make test TEST=test_ip4 vpp-install*
make -C /home/supervisor/libvpp/build-root PLATFORM=vpp TAG=vpp vpp-install
make[1]: Entering directory '/home/supervisor/libvpp/build-root'
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for external @@@@
@@@@ Makefile fragment found in /home/supervisor/libvpp/build-data/packages/
external.mk @@@@
@@@@ Source found in /home/supervisor/libvpp/build @@@@
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for vpp @@@@
@@@@ Makefile fragment found in /home/supervisor/libvpp/build-data/packages/
vpp.mk @@@@
@@@@ Source found in /home/supervisor/libvpp/src @@@@
find: ‘/home/supervisor/libvpp/build-root/config.site’: No such file or
directory
@@@@ Configuring external: nothing to do @@@@
@@@@ Building external: nothing to do @@@@
@@@@ Installing external: nothing to do @@@@
find: ‘/home/supervisor/libvpp/build-root/config.site’: No such file or
directory
@@@@ Configuring vpp: nothing to do @@@@
@@@@ Building vpp: nothing to do @@@@
@@@@ Installing vpp: nothing to do @@@@
make[1]: Leaving directory '/home/supervisor/libvpp/build-root'
make -C test
VPP_BUILD_DIR=/home/supervisor/libvpp/build-root/build-vpp-native
VPP_BIN=/home/supervisor/libvpp/build-root/install-vpp-native/vpp/bin/vpp
VPP_PLUGIN_PATH=/home/supervisor/libvpp/build-root/install-vpp-native/vpp/lib/vpp_plugins:/home/supervisor/libvpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins
VPP_TEST_PLUGIN_PATH=/home/supervisor/libvpp/build-root/install-vpp-native/vpp/lib/vpp_api_test_plugins:/home/supervisor/libvpp/build-root/install-vpp-native/vpp/lib64/vpp_api_test_plugins
VPP_INSTALL_PATH=/home/supervisor/libvpp/build-root/install-vpp-native/
LD_LIBRARY_PATH=/home/supervisor/libvpp/build-root/install-vpp-native/vpp/lib/:/home/supervisor/libvpp/build-root/install-vpp-native/vpp/lib64/
EXTENDED_TESTS= PYTHON= OS_ID=ubuntu RND_SEED=1643973244.1148973
CACHE_OUTPUT= test
make[1]: Entering directory '/home/supervisor/libvpp/test'

*11:14:05,997 Subprocess returned with OS error: (2) No such file or
directory:
'/home/supervisor/libvpp/build-root/install-vpp-native/vpp/bin/vpp'*Traceback
(most recent call last):
  File "sanity_run_vpp.py", line 34, in <module>
    tc.setUpClass()
  File "/home/supervisor/libvpp/test/framework.py", line 688, in setUpClass
    raise e
  File "/home/supervisor/libvpp/test/framework.py", line 636, in setUpClass
    cls.run_vpp()
  File "/home/supervisor/libvpp/test/framework.py", line 536, in run_vpp
    stderr=subprocess.PIPE)
  File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/home/supervisor/libvpp/build-root/install-vpp-native/vpp/bin/vpp':
'/home/supervisor/libvpp/build-root/install-vpp-native/vpp/bin/vpp'
*******************************************************************
* Sanity check failed, cannot run vpp
*******************************************************************
Makefile:178: recipe for target 'sanity' failed
make[1]: *** [sanity] Error 1
make[1]: Leaving directory '/home/supervisor/libvpp/test'
Makefile:409: recipe for target 'test' failed
make: *** [test] Error 2


*supervisor@rajith_fs6104>srv3.nbg1.rtbrick.net:~/libvpp/build-root/install-vpp-native/vpp/bin
$ ll*total 5784
drwxr-xr-x 2 root root    4096 Feb  4 11:28 ./
drwxr-xr-x 7 root root    4096 Feb  4 11:28 ../
-rwxr-xr-x 1 root root   66992 Feb  4 10:48 svmdbtool*
-rwxr-xr-x 1 root root  108224 Feb  4 10:48 svmtool*
-rwxr-xr-x 1 root root   29688 Feb  4 10:41 vapi_c_gen.py*
-rwxr-xr-x 1 root root    8682 Feb  4 10:41 vapi_cpp_gen.py*
-rwxr-xr-x 1 root root 3145776 Feb  4 10:50 vapi_cpp_test*
-rwxr-xr-x 1 root root  539176 Feb  4 10:50 vapi_c_test*
-rwxr-xr-x 1 root root   19351 Feb  4 10:41 vapi_json_parser.py*
-rwxr-xr-x 1 root root  136400 Feb  4 10:50 vat2*
-rwxr-xr-x 1 root root   38530 Feb  4 10:41 vppapigen*
-rwxr-xr-x 1 root root 1174696 Feb  4 10:50 vpp_api_test*
-rwxr-xr-x 1 root root   39680 Feb  4 10:49 vppctl*
-rwxr-xr-x 1 root root  458096 Feb  4 10:50 vpp_echo*
-rwxr-xr-x 1 root root   26024 Feb  4 10:49 vpp_get_metrics*
-rwxr-xr-x 1 root root   28968 Feb  4 10:50 vpp_get_stats*
-rwxr-xr-x 1 root root   32912 Feb  4 10:50 vpp_prometheus_export*
-rwxr-xr-x 1 root root   23256 Feb  4 10:49 vpp_restart*

We use the *sudo make build-release* command for building. Can you let us
know what to see for the missing vpp executable?

Thanks,
Rajith

-- 
NOTICE TO
RECIPIENT This e-mail message and any attachments are 
confidential and may be
privileged. If you received this e-mail in error, 
any review, use,
dissemination, distribution, or copying of this e-mail is 
strictly
prohibited. Please notify us immediately of the error by return 
e-mail and
please delete this message from your system. For more 
information about Rtbrick, please visit us at www.rtbrick.com 
<http://www.rtbrick.com>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20818): https://lists.fd.io/g/vpp-dev/message/20818
Mute This Topic: https://lists.fd.io/mt/88904997/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to