/ 详情

[openEuler 20.03 LTS SP1/arm64]baseos_proc_t测试用例dirty_bytes执行失败

Done
Bug
Opened this issue  
2021-04-30 09:42

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
【环境信息】
硬件信息:
1) 裸机场景提供出问题的硬件信息;
2) 虚机场景提供虚机XML文件或者配置信息
[root@localhost kernel_test_bin]# lscpu
Architecture: aarch64
CPU op-mode(s): 64-bit
Byte Order: Little Endian
CPU(s): 96
On-line CPU(s) list: 0-95
Thread(s) per core: 1
Core(s) per socket: 48
Socket(s): 2
NUMA node(s): 4
Vendor ID: HiSilicon
Model: 0
Model name: Kunpeng-920
Stepping: 0x1

软件信息:
1) OS版本及分支
cat /etc/openEuler-release
openEuler release 20.03 (LTS-SP1)

2) 内核信息
3) 发现问题的组件版本信息
如果有特殊组网,请提供网络拓扑图
【问题复现步骤】
具体操作步骤
cd /home/install/kernel_test_bin/bin/baseos_proc_t/testcases/bin
./dirty_bytes.sh
出现概率(是否必现,概率性错误)
【预期结果】
pass
【实际结果】
[root@localhost bin]# ./dirty_bytes.sh
Test case 1 Passed !
./dirty_bytes.sh: line 19: echo: write error: Invalid argument
Test case 2 Passed !
./dirty_bytes.sh: line 29: echo: write error: Invalid argument
Test case 3 Failed !
./dirty_bytes.sh: line 39: echo: write error: Invalid argument
Test case 4 Failed !
./dirty_bytes.sh: line 49: echo: write error: Invalid argument
Test case 5 Passed !
./dirty_bytes.sh: line 66: echo: write error: Invalid argument
Test Failed !

【附件信息】
比如系统message日志/组件日志、dump信息、图片等

Attachments

Comments (3)

汪可可 created缺陷
汪可可 set related repository to openEuler/kernel
展开全部操作日志

Hey wang_keke, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

dirty_bytes 内核中最小的值是两个基础页的大小,4k对应的大小就是8192,基础页变更之后,测试用例失败。
因此需要更改测试用例以适配不同大小的基础页的情况

修改后的用例pass

汪可可 changed issue state from 待办的 to 已完成

Sign in to comment

状态
Assignees
Projects
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
确定
参与者(3)
5329419 openeuler ci bot 1578984659