Description of problem: kernel源码包中tools/testing/selftests/bpf目录下Makefile在install阶段少拷贝文件,导致执行bpf.test_tcpbpf_user报错./tcp_server.py: No such file or directory 报错日志如下: selftests: bpf: test_tcpbpf_user sh: ./tcp_server.py: No such file or directory FAILED: TCP server not ok 1..10 selftests: bpf: test_tcpbpf_user [FAIL] tools/testing/selftests/bpf目录Makefile相关内容===========缺少tcp_client.py和tcp_server.py文件的拷贝动作 # Order correspond to 'make run_tests' order TEST_PROGS := test_kmod.sh \ test_libbpf.sh \ test_xdp_redirect.sh \ test_xdp_meta.sh \ test_offload.py \ test_sock_addr.sh \ test_tunnel.sh \ test_lwt_seg6local.sh \ test_lirc_mode2.sh \ test_skb_cgroup_id.sh How reproducible: 手动必现 Steps to Reproduce: 下载当前内核对应的kernel源码包 rpm -ivh xxx.src.rpm 默认安装到/root下 yum-builddep -y rpmbuild/SPECS/kernel.spec 自动安装前置依赖包,需要yum-utils rpmbuild -bp ./rpmbuild/SPECS/kernel.spec cd rpmbuild/BUILD/kernel-xxx/linux-xxx/ 接下来就可以编译测试了 cd ./tools/testing/selftests/bpf/ make cd .. ./kselftest_install.sh $dir=======拷贝执行文件到指定目录 在指定目录下执行测试用例 ./test_tcpbpf_user Actual results: 用例执行失败 Expected results: 用例执行通过 Additional info: # uname -r 4.19.91-263.git.c452e2d70d27.an8.x86_64 # cat /etc/os-release NAME="Anolis OS" VERSION="8.6" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.6" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.6" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/"