Bug 5391 - [Anolis 23 GA] [x86_64/aarch64]在海光和飞腾服务器上运行2023版ltpstres运行2小时左右后中断
Summary: [Anolis 23 GA] [x86_64/aarch64]在海光和飞腾服务器上运行2023版ltpstres运行2小时左右后中断
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 23.0
Hardware: All Linux
: P3-Medium S2-major
Target Milestone: rc
Assignee: maqiao_mq
QA Contact: huangcong
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-02 16:53 UTC by sunqingwei
Modified: 2023-06-30 11:49 UTC (History)
3 users (show)

See Also:


Attachments
飞腾日志 (2.19 MB, application/zip)
2023-06-02 16:53 UTC, sunqingwei
Details
海光日志 (2.79 MB, application/zip)
2023-06-02 16:54 UTC, sunqingwei
Details
海光D进程 (14.01 KB, image/png)
2023-06-02 16:55 UTC, sunqingwei
Details
飞腾起服务方式运行ltp (3.85 MB, application/zip)
2023-06-05 09:35 UTC, sunqingwei
Details
海光起服务方式运行ltp (2.77 MB, application/zip)
2023-06-05 09:36 UTC, sunqingwei
Details
起服务运行文件 (5.07 KB, application/zip)
2023-06-05 09:36 UTC, sunqingwei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunqingwei uniontech_group 2023-06-02 16:53:53 UTC
Created attachment 742 [details]
飞腾日志

【环境信息】:
镜像下载地址:
http://8.131.87.1/kojifiles/output/nightly/anolis-23-20230524.6/compose/BaseOS/aarch64/iso/
http://8.131.87.1/kojifiles/output/nightly/anolis-23-20230524.6/compose/BaseOS/x86_64/iso/
服务器信息:
飞腾
[root@ltptest home]# lscpu
Architecture:           aarch64
  CPU op-mode(s):       64-bit
  Address sizes:        44 bits physical, 48 bits virtual
  Byte Order:           Little Endian
CPU(s):                 128
  On-line CPU(s) list:  0-127
Vendor ID:              Phytium
  BIOS Vendor ID:       PHYTIUM
  Model name:           FTC663
    BIOS Model name:    S2500 NULL CPU @ 2.1GHz
    BIOS CPU family:    257
    Model:              3
    Thread(s) per core: 1
    Core(s) per socket: 64
    Socket(s):          2
    Stepping:           0x1
    BogoMIPS:           100.00
    Flags:              fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid

海光
[root@ltptest home]# lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         48 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  128
  On-line CPU(s) list:   0-127
Vendor ID:               HygonGenuine
  BIOS Vendor ID:        Chengdu Hygon
  Model name:            Hygon C86 7280 32-core Processor
    BIOS Model name:     Hygon C86 7280 32-core Processor  CPU @ 2.0GHz
    BIOS CPU family:     1
    CPU family:          24
    Model:               1
    Thread(s) per core:  2
    Core(s) per socket:  32
    Socket(s):           2
    Stepping:            1
    Frequency boost:     enabled
    CPU(s) scaling MHz:  57%
    CPU max MHz:         2000.0000
    CPU min MHz:         1200.0000
    BogoMIPS:            4000.20

【测试步骤】
安装ltp测试依赖:
先配置好转测源后,执行
yum clean all
yum makecache
yum install gcc git make pkgconf autoconf automake bison flex m4 glibc-headers psmisc

ltp 测试环境设置
hostnamectl set-hostname ltptest
export LANG="en_US.UTF-8" 
export LC_ALL="en_US.UTF-8"
export LTP_TIMEOUT_MUL=3

将工具包上传至/home路径,解压,并编译
cd /home/ltp-full-20230127
./configure 
make 
make install  
执行用例:
打开bmc,登录桌面,打开终端执行:
TMOUT=0
export LANG="en_US.UTF-8" 
export LC_ALL="en_US.UTF-8"
export LTP_TIMEOUT_MUL=3
cd /opt/ltp
nohup ./runltp -p -l /home/result.log -d /home/ -t 168h &

【测试结果】
两个服务器运行2小时左右服务中断

【预期结果】
可正常运行7天,且服务器无异常
Comment 1 sunqingwei uniontech_group 2023-06-02 16:54:17 UTC
Created attachment 743 [details]
海光日志
Comment 2 sunqingwei uniontech_group 2023-06-02 16:55:22 UTC
Created attachment 744 [details]
海光D进程
Comment 3 sunqingwei uniontech_group 2023-06-05 09:34:43 UTC
起服务方式运行ltp
1、先配置好转测源后,执行
yum clean all
yum makecache
yum install gcc git make pkgconf autoconf automake bison flex m4 glibc-headers psmisc
2、ltp 测试环境设置
hostnamectl set-hostname ltptest
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
3、编译之前需要打上针对memcg_stress-patch的补丁,具体方法见附件ltp-memcg_stress-patch.zip
4、执行用例:
打开bmc,登录桌面,打开终端执行:
ltp拉起使用service方法,详见附件ltp-service.zip :
1)将ltp.service放到/usr/lib/systemd/system/
2)执行systemctl start ltp
3)ps -ef |grep ltp 确认runltp已经运行
Comment 4 sunqingwei uniontech_group 2023-06-05 09:35:30 UTC
Created attachment 748 [details]
飞腾起服务方式运行ltp
Comment 5 sunqingwei uniontech_group 2023-06-05 09:36:05 UTC
Created attachment 749 [details]
海光起服务方式运行ltp
Comment 6 sunqingwei uniontech_group 2023-06-05 09:36:54 UTC
Created attachment 750 [details]
起服务运行文件
Comment 7 happy_orange alibaba_cloud_group 2023-06-29 21:39:58 UTC
稳定性问题转交 马乔 处理。该问题需要声明到 anolis os 23 的已知问题中,并且在社区中以用户的角度继续追踪该问题。
Comment 8 Jacob admin 2023-06-30 11:49:08 UTC
1) 根据日志分析,日志信息杂乱。参考意义不大(有的 Log 现实是正常退出)。需要进一步分析。

```
Total Tests: 2379
Total Skipped Tests: 170
Total Failures: 8
Kernel Version: 5.10.134-14.an23.x86_64
Machine Architecture: x86_64
Hostname: ltptest
```

2) 根据 Bug 定级规则,通过和内核研发沟通,没有引起内核奔溃性错误,评定等级应该是 P3. 

3) 初步怀疑是 runltp 的行为有问题。 猜测是 case 不稳定的原因(第一个 case fail导致整体退出)。需要测试协助接下来初步分析。