318 Star 2.1K Fork 1K

OpenHarmony / kernel_liteos_a

 / 详情

【OpenHarmony 5.0.0.12】【内核子系统】【TOC】【Hi3516】【必现-10/10】执行ActsIpcPipeTest.bin文件失败报错

待办的
任务
创建于  
2024-03-04 14:47

【模块名_概率】简要描述:
【OpenHarmony 5.0.0.12】【内核子系统】【TOC】【Hi3516】【必现-10/10】执行ActsIpcPipeTest.bin文件失败报错
【环境信息】:
网络环境
硬件开发板型号
测试环境
Hi3516
其他
【预置条件】:
1.windos搭建nfs挂载环境
【测试步骤】:
1.烧写Hi3516开发板。
2.开发板挂载NFS服务成功。
3.在IPOP连接本机文件和开发板文件。
4.在目标目录下./ActsIpcPipeTest.bin
【预期结果】:
用例执行结果pass
【实际结果】:
用例执行结果2条fail
【恢复手段】:
无法恢复
【出现概率】:问题出现次数/实际测试次数
3/3

./ActsIpcPipeTest.bin01-01 00:02:26.991 15 109 I 05763/ConnCommon: [softbus_base_listener.c:1124] SelectTask# select task, wakeup from select, selectTrace=2, wakeupTraceId=1220, events=1

01-01 00:02:27.030 15 109 I 05763/ConnCommon: [softbus_base_listener.c:1124] SelectTask# select task, wakeup from select, selectTrace=2, wakeupTraceId=1221, events=1

Running main() from ../../../third_party/googletest/googletest/src/gtest_main.cc

[==========] Running 9 tests from 2 test suites.

[----------] Global test environment set-up.

[----------] 4 tests from FifoTest

[ RUN ] FifoTest.testHelloWorld

parent:t:ead: Hello World

child: write: Hello World

[ OK ] FifoTest.testHelloWorld (54 ms)

[ RUN ] FifoTest.testFifoAddDelete

Create fifo 0

Delete fifo 0

Create fifo 1

Delete fifo 1

Create fifo 2

Delete fifo 2

Create fifo 3

Delete fifo 3

Create fifo 4

Delete fifo 4

Create fifo 5

Delete fifo 5

Create fifo 6

Delete fifo 6

Create fifo 7

Delete fifo 7

Create fifo 8

Delete fifo 8

Create fifo 9

Delete fifo 9

Create fifo 10

Delete fifo 10

Create fifo 11

Delete fifo 11

Create fifo 12

Delete fifo 12

Create fifo 13

Delete fifo 13

Create fifo 14

Delete fifo 14

Create fifo 15

Delete fifo 15

Create fifo 16

Delete fifo 16

Create fifo 17

Delete fifo 17

Create fifo 18

Delete fifo 18

Create fifo 19

Delete fifo 19

Create fifo 20

Delete fifo 20

Create fifo 21

Delete fifo 21

Create fifo 22

Delete fifo 22

Create fifo 23

Delete fifo 23

Create fifo 24

Delete fifo 24

Create fifo 25

Delete fifo 25

Create fifo 26

Delete fifo 26

Create fifo 27

Delete fifo 27

Create fifo 28

Delete fifo 28

Create fifo 29

Delete fifo 29

Create fifo 30

Delete fifo 30

Create fifo 31

Delete fifo 31

[ OK ] FifoTest.testFifoAddDelete (6 ms)

[ RUN ] FifoTest.testFifoNonblack

parent write

../../../test/xts/acts/kernel_lite/ipc_posix/pipe_fifo/FifoTest.cpp:156: Failure

Expected equality of these values:

tmpInt

Which is: 1024

MAX_PIPE_BUFFER

Which is: 1023

parent: errno = 2

parent: write num = 1024

child read

child: tmpInt = 1024

child: errno = 2

../../../test/xts/acts/kernel_lite/ipc_posix/pipe_fifo/FifoTest.cpp:161: Failure

Expected equality of these values:

exitCode

Which is: 1

0

target process should exited 0.

[ FAILED ] FifoTest.testFifoNonblack (158 ms)

[ RUN ] FifoTest.testFifoBlock

parent: write : = 2023 bytes

[ OK ] FifoTest.testFifoBlock (112 ms)

[----------] 4 tests from FifoTest (332 ms total)

[----------] 5 tests from PipeTest

[ RUN ] PipeTest.testHelloWord

[ OK ] PipeTest.testHelloWorld (101 ms)

[ RUN ] PipeTest.tesPipeNonblack

fd 3, 4

1234

5678

[ OK ] PipeTest.tesPipeNonblack (201 ms)

[ RUN ] PipeTest.testPipeBuf

abcd

fd 3, 4

efg

parent: write num = 1024

child: error : read MAX_PIPE_BUFFER = 1024, not 1023

../../../test/xts/acts/kernel_lite/ipc_posix/pipe_fifo/PipeTest.cpp:174: Failure

Expected equality of these values:

exitCode

Which is: 1

0

target process should exited 0.

[ FAILED ] PipeTest.testPipeBuf (132 ms)

[ RUN ] PipeTest.testPipeBlock

parent: write num = 2023

01-01 00:02:28.120 15 108 D 05708/CommAdapter: [softbus_adapter_thread.c:442] SoftBusCondWait# SoftBusCondTimedWait timeout, ret=110

01-01 00:02:28.120 15 108 D 05707/CommUtils: [message_handler.c:147] LoopTask# LoopTask get message. name=Lane-looper, handle=transLaneLooper, what=6, arg1=0, msgSize=0, time=148120313

01-01 00:02:28.120 15 108 D 05707/CommUtils: [message_handler.c:165] LoopTask# LoopTask HandleMessage message. name=Lane-looper, handle=transLaneLooper, what=6

01-01 00:02:28.120 15 108 D 05707/CommUtils: [message_handler.c:276] PostMessageAtTimeParamVerify# PostMessageAtTime name=Lane-looper, what=6, time=150120643us

01-01 00:02:28.120 15 108 D 05707/CommUtils: [message_handler.c:333] PostMessageAtTime# PostMessageAtTime insert. name=Lane-looper

01-01 00:02:28.120 15 108 D 05707/CommUtils: [message_handler.c:241] DumpLooperLocked# DumpLooper. i=0, handler=transLaneLooper, what=6, arg1=0, arg2=0, time=150120643

01-01 00:02:28.120 15 108 D 05707/CommUtils: [message_handler.c:177] LoopTask# LoopTask after HandleMessage message. name=Lane-looper, what=6, arg1=0

[ OK ] PipeTest.testPipeBlock (162 ms)

[ RUN ] PipeTest.testBrotherHelloWorld

[ OK ] PipeTest.testBrotherHelloWorld (102 ms)

[----------] 5 tests from PipeTest (703 ms total)

[----------] Global test environment tear-down

[==========] 9 tests from 2 test suites ran. (1036 ms total)

[ PASSED ] 7 tests.

[ FAILED ] 2 tests, listed below:

[ FAILED ] FifoTest.testFifoNonblack

[ FAILED ] PipeTest.testPipeBuf

2 FAILED TESTS

OHOS #

评论 (1)

renwany 创建了任务

感谢提交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 优先级设置为主要
Public_OpenHarmonyTest 添加了
 
Integration_Test
标签
Public_OpenHarmonyTest 移除了
 
waiting_for_assign
标签
Public_OpenHarmonyTest 关联项目设置为OpenHarmony
Public_OpenHarmonyTest 里程碑交付音频播放 修改为未设置
Public_OpenHarmonyTest 关联分支设置为weekly_20240219

登录 后才可以发表评论

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

搜索帮助