Bug 4807 - [Anolis OS 7 ARM64] [ARM64] 4.19.91-27.1.an8.aarch64 版本kernel 运行 blktest 报错
Summary: [Anolis OS 7 ARM64] [ARM64] 4.19.91-27.1.an8.aarch64 版本kernel 运行 blktest 报错
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-4.19 (show other bugs) kernel - anck-4.19
Version: 8.2
Hardware: aarch64 Linux
: P3-Medium S3-normal
Target Milestone: beta
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-23 10:20 UTC by helloparadise
Modified: 2023-04-23 15:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description helloparadise 2023-04-23 10:20:48 UTC
Description of problem:
用blktest 测试工具测试nvme 相关的测试用例的时候 nvme 目录下的030测试用用例报错。

报错信息如下:

nvme/030 (ensure the discovery generation counter is updated appropriately) [failed]
    runtime  0.234s  ...  0.207s
    --- tests/nvme/030.out      2023-04-19 10:19:06.679477970 +0800
    +++ /root/blktests/results/nodev/nvme/030.out.bad   2023-04-19 10:41:27.710415077 +0800
    @@ -1,2 +1,5 @@
     Running nvme/030
    +tests/nvme/030: line 25: ((: 2 <= Generation counter not incremented when clearing attr_allow_any_host (2 <= 2)
    +2 : syntax error in expression (error token is "counter not incremented when clearing attr_allow_any_host (2 <= 2)
    +2 ")
     Test complete

Version-Release number of selected component (if applicable):

kernel version : 4.19.91-27.1.an8.aarch64

在阿里云创建的anolis os的虚拟机,并重新安装的 这个版本的kernel.
How reproducible:
下载 https://github.com/osandov/blktests.git
添加.config 文件,在配置文件中添加TEST_DEVS=(/dev/nvme1n1)这一行。
Steps to Reproduce:
1.执行 ./check nvme
2.
3.

Actual results:
[failed]
    runtime  0.234s  ...  0.207s
    --- tests/nvme/030.out      2023-04-19 10:19:06.679477970 +0800
    +++ /root/blktests/results/nodev/nvme/030.out.bad   2023-04-19 10:41:27.710415077 +0800
    @@ -1,2 +1,5 @@
     Running nvme/030
    +tests/nvme/030: line 25: ((: 2 <= Generation counter not incremented when clearing attr_allow_any_host (2 <= 2)
    +2 : syntax error in expression (error token is "counter not incremented when clearing attr_allow_any_host (2 <= 2)
    +2 ")
     Test complete

Expected results:

Running nvme/030
Test complete

Additional info:
NO