153 Star 687 Fork 533

OpenHarmony / kernel_liteos_m

 / 详情

【OpenHarmony5.0.0.15】【内核子系统】【ToD】【m4】【必现-3/3】在m4上执行shell命令hwi测试没有数据结果

待办的
任务
创建于  
2024-03-19 10:09

【模块名_概率】简要描述:
【OpenHarmony5.0.0.15】【内核子系统】【ToD】【m4】【必现-3/3】在m4上执行shell命令hwi测试没有数据结果
【环境信息】:

网络环境
硬件开发板型号
软件版本信息或tag节点
master主干代码
测试环境
qemu-m4
其他
【预置条件】:
1.ubuntu搭建qemu环境
2.搭建对应的m4环境
【测试步骤】:
1.拉取master主干代码,选择hb set 选择qemu_mini_system_demo
2.按照文档配置shell命令测试套
3.返回根目录,执行./qemu_mini_system_demo
4.在qemu上运行
【预期结果】:
用例全部通过执行shell命令 st -s、st -e、hwi等都有内容。
【实际结果】:
4.在OHOS:执行shell hwi,只显示标题,无具体数据
【恢复手段】:
无法恢复
【出现概率】:问题出现次数/实际测试次数
3/3

[OHOS INFO] Cost time: 0:00:07
renwy@ISS:~/openHarmony/openHarmonyMaster$ ./qemu-run
board: arm_mps2_an386

Enter to start qemu[y/n]:y
entering kernel init...
LfsLowLevelInit: DiskPartition succeed
LfsLowLevelInit: PartitionFormat succeed
LfsLowLevelInit: mount fs on '/littlefs' succeed
LfsLowLevelInit: mkdir '/littlefs' succeed
tcpip_init start
tcpip_init end
netif init succeed!
Entering scheduler
OHOS # st -s
OHOS # st 0

Usage: st -h
OHOS # st -s
OHOS # st e

Usage: st -h
OHOS # stack 0
Task 0, SP 0x21037aa4, WaterLine 0xdc
0x21037aa4: *210358d0 2102ff78 00000000 21037ae8
0x21037ab4: 00000000 21037b38 21037b34 00000000
0x21037ac4: 00000000 e000ed04 10000000 00000000
0x21037ad4: 00000000 00000000 21019dd9 21019dd8
0x21037ae4: 610f0000 21037b34 21037b34 00000000
0x21037af4: 21037b38 21037b18 ffffffff 2102e8c4
0x21037b04: 00001c84 00000000 21019f67 ffffffff
0x21037b14: 2102925d 00000000 00000000 2102665d
0x21037b24: 21037b30 2102e8cc 2101afdf cacacaca
0x21037b34: 0000000c 21000d7d 00000000 00000000
0x21037b44: 21029560 07070707 2102ff78 21000175
0x21037b54: 2101bf45 21037b70 00000000 00000000
0x21037b64: 00000000 00000000 2101bf59 03030303
0x21037b74: 12121212 01000000 21000175
OHOS # st -e
sched 1334 time, last 200 is:
RunTaskID RunTaskName NewTaskID NewTaskName
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 0 Swt_Task
0 Swt_Task, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 0 Swt_Task
0 Swt_Task, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 3 ShellTaskEntry
3 ShellTaskEntry, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 3 ShellTaskEntry
3 ShellTaskEntry, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 0 Swt_Task
0 Swt_Task, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 0 Swt_Task
0 Swt_Task, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 0 Swt_Task
0 Swt_Task, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 3 ShellTaskEntry
3 ShellTaskEntry, 1 IdleCore000
1 IdleCore000, 0 Swt_Task
0 Swt_Task, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 3 ShellTaskEntry
3 ShellTaskEntry, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 0 Swt_Task
0 Swt_Task, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 0 Swt_Task
0 Swt_Task, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 0 Swt_Task
0 Swt_Task, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 3 ShellTaskEntry
3 ShellTaskEntry, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 2 tcpip_thread
2 tcpip_thread, 1 IdleCore000
1 IdleCore000, 3 ShellTaskEntry

OHOS # hwi
InterruptNo Count ATime(us) MTime(us) CPUUSE1s CPUUSE10s Name
OHOS # task

TID Priority Status StackSize WaterLine StackPoint TopOfStack EventMask SemID CPUUSE CPUUSE10s CPUUSE1s TaskEntry name


0 0 Pend 0x1000 0xdc 0x21037aa4 0x21036b80 0 0xffff 0.0 0.0 0.0 0x2101afad Swt_Task
1 31 Ready 0x500 0x5c 0x21038064 0x21037bc0 0 0xffff 98.8 99.7 99.8 0x2101b7d1 IdleCore000
2 5 PendTime 0x6000 0xdc 0x2183f424 0x21839500 0 0xffff 0.1 0.1 0.1 0x21016e5d tcpip_thread
3 3 Running 0x1000 0x610 0x2184043c 0x2183f520 0x1 0xffff 1.0 0.1 0.0 0x21017ac1 ShellTaskEntry
OHOS # memusage
Mem WaterLine: 8486528
OHOS # task

TID Priority Status StackSize WaterLine StackPoint TopOfStack EventMask SemID CPUUSE CPUUSE10s CPUUSE1s TaskEntry name


0 0 Pend 0x1000 0xdc 0x21037aa4 0x21036b80 0 0xffff 0.0 0.0 0.0 0x2101afad Swt_Task
1 31 Ready 0x500 0x5c 0x21038064 0x21037bc0 0 0xffff 99.2 99.7 99.8 0x2101b7d1 IdleCore000
2 5 PendTime 0x6000 0xdc 0x2183f424 0x21839500 0 0xffff 0.1 0.1 0.1 0x21016e5d tcpip_thread
3 3 Running 0x1000 0x610 0x2184043c 0x2183f520 0x1 0xffff 0.6 0.1 0.0 0x21017ac1 ShellTaskEntry
OHOS # memusage
Mem WaterLine: 8486528
OHOS #
OHOS #

board: arm_mps2_an386

Enter to start qemu[y/n]:y
entering kernel init...
LfsLowLevelInit: DiskPartition succeed
LfsLowLevelInit: PartitionFormat succeed
LfsLowLevelInit: mount fs on '/littlefs' succeed
LfsLowLevelInit: mkdir '/littlefs' succeed
tcpip_init start
tcpip_init end
netif init succeed!
Entering scheduler
OHOS # hwi
InterruptNo Count ATime(us) MTime(us) CPUUSE1s CPUUSE10s Name
OHOS #

评论 (1)

梁晓英 创建了任务

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @zhushengle @LeonChan @JerryH 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @zhushengle @LeonChan @JerryH for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci 添加了
 
waiting_for_assign
标签
Public_OpenHarmonyTest 关联项目设置为OpenHarmony
Public_OpenHarmonyTest 移除了
 
waiting_for_assign
标签
Public_OpenHarmonyTest 添加了
 
Integration_Test
标签
Public_OpenHarmonyTest 优先级设置为主要

登录 后才可以发表评论

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

搜索帮助