402 Star 1.4K Fork 1.4K

GVPopenEuler / kernel

 / 详情

test_sockmap 在测试时阻塞在第5个子用例

待办的
缺陷
创建于  
2024-02-02 10:25

内核版本:92dfc9bbd612 (tag: 5.10.0-106.19.0) xfrm: Reinject transport-mode packets through workqueue

测试步骤:

  1. 进入内核源码并:cd tools/testing/selftests/bpf
  2. make test_sockmap ;make test_progs
  3. 运行 ./test_sockmap ,测试用例测完子程序 # 4/ 6 sockmap::txmsg test ingress redirect:OK 接着无输出,会卡在第5个子测试用例。
  4. 查看系统中的sockmap进程:ps fax |grep sockmap
    13076 pts/0 S+ 0:00 | _ ./test_sockmap
    13129 pts/0 S+ 0:00 | _ ./test_sockmap
    13130 pts/0 Z+ 0:00 | _ [test_sockmap]
    13237 pts/1 S+ 0:00 _ grep --color=auto sockmap
    可以判断是因为子进程 13129 睡眠未完成导致。
  5. 此问题在上游 5.10 lts 也存在,是在backport 5.15的补丁才引入该bug的,在5.10 lts 上的commit id是:c842a4c4ae7f bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
  6. 这个问题应该是上游lts也没有正确回合补丁,肯定是缺了一部分补丁导致的,请研发的同学可以根据以上线索可以确认,并试着修复下。

评论 (1)

Hi lucienwyb, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

王毅博 创建了缺陷
openeuler-ci-bot 添加了
 
sig/Kernel
标签
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助

344bd9b3 5694891 D2dac590 5694891