Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
12
Star
0
Fork
9
src-openEuler
/
unixbench
Closed
Code
Issues
2
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
升级openEuler unixbench版本5.1.3->6.0.0
Done
#ICVOKF
Bug
zhengzengkai
Opened this issue
2025-09-01 10:48
**【缺陷描述】:请补充详细的缺陷问题现象描述** 5.1.3 unixbench版本过时且运行有闪退bug** **一、缺陷信息** **【缺陷所属的os版本】(如openEuler-22.03-LTS,参考命令"cat /etc/os-release"结果)** openEuler-22.03-LTS-SP3 openEuler-22.03-LTS-SP4 openEuler-24.03-LTS openEuler-24.03-LTS-SP1 openEuler-24.03-LTS-SP2 openEuler-25.03 **【内核版本】(如kernel-5.10.0-60.138.0.165,参考命令"uname -r"结果)** openEuler 5.10 6.6 **【缺陷所属软件及版本号】(如kernel-5.10.0-60.138.0.165,参考命令"rpm -q 包名"结果)** unixbench-5.1.3.3 **【环境信息】** 硬件信息 鲲鹏及x86环境等核数大于16的环境均涉及 - 提供跟硬件相关的信息,如架构、cpu和内存规格等 - 虚拟机场景,额外补充宿主机os版本类型 软件信息 - 跟缺陷所属软件相关的其它软件版本信息(如软件包构建失败由gcc引起,请填写gcc的版本号) 网络信息 - 如果有特殊组网,请提供网络拓扑信息以及网络数据走向 **【问题复现步骤】:请描述具体的操作步骤** yum install安装unixbench rpm包后,进入/opt/unixbench目录,执行./Run -c 96 -i 1 **【实际结果】**,请描述出问题的结果和影响 [root@localhost unixbench]# ./Run -c 96 -i 1 ``` ------------------------------------------------------------------------ Benchmark Run: Mon Sep 01 2025 10:30:02 - 10:30:02 0 CPUs in system; running 96 parallel copies of tests [root@localhost unixbench]# ``` 执行如上Run命令后闪退 **【期望结果】**,正常执行完Run命令并完成相关测试 **【其他相关附件信息】** 比如系统message日志/组件日志、dump信息、图片等 **【缺陷详情及分析指导参考链接】** 由于2011年前服务器环境核数大于16的不多,所以Run脚本中指定了maxCopies为16, 而当今服务器普遍核数众多,maxCopies定为16已不合适 相关代码,Run脚本中如下函数: ``` # Run the named benchmarks. sub runTests { my ( $tests, $verbose, $logFile, $copies ) = @_; # Run all the requested tests and gather the results. my $results = { 'start' => time(), 'copies' => $copies }; foreach my $bench (@$tests) { # Get the parameters for this benchmark. my $params = $testParams->{$bench}; if (!defined($params)) { abortRun("unknown benchmark \"$bench\""); } # If the benchmark doesn't want to run with this many copies, skip it. my $cat = $params->{'cat'}; my $maxCopies = $testCats->{$cat}{'maxCopies'}; next if ($copies > $maxCopies); <------------------旧版本5.1.3 release代码中当指定-c 大于16时将退出runTests执行 # Run the benchmark. my $bresult = runBenchmark($bench, $params, $verbose, $logFile, $copies); $results->{$bench} = $bresult; } ``` **二、缺陷分析结构反馈** 影响性分析说明: 5.1.3unixbench版本过时且运行有闪退bug,需升级6.0.0解决 缺陷严重等级:(Critical/High/Moderate/Low) High 缺陷根因说明: 由于2011年前服务器环境核数大于16的不多,所以Run脚本中指定了maxCopies为16,而当今服务器普遍核数众多,maxCopies定为16已不合适 受影响版本排查(受影响/不受影响): openEuler-20.03-LTS-SP4:不受影响 openEuler-22.03-LTS-SP3:受影响 openEuler-22.03-LTS-SP4:受影响 openEuler-24.03-LTS:受影响 openEuler-24.03-LTS-SP1:受影响 openEuler-24.03-LTS-SP2:受影响 修复是否涉及abi变化(是/否): openEuler-20.03-LTS-SP4:否 openEuler-22.03-LTS-SP3:否 openEuler-22.03-LTS-SP4:否 openEuler-24.03-LTS:否 openEuler-24.03-LTS-SP1:否 openEuler-24.03-LTS-SP2:否
**【缺陷描述】:请补充详细的缺陷问题现象描述** 5.1.3 unixbench版本过时且运行有闪退bug** **一、缺陷信息** **【缺陷所属的os版本】(如openEuler-22.03-LTS,参考命令"cat /etc/os-release"结果)** openEuler-22.03-LTS-SP3 openEuler-22.03-LTS-SP4 openEuler-24.03-LTS openEuler-24.03-LTS-SP1 openEuler-24.03-LTS-SP2 openEuler-25.03 **【内核版本】(如kernel-5.10.0-60.138.0.165,参考命令"uname -r"结果)** openEuler 5.10 6.6 **【缺陷所属软件及版本号】(如kernel-5.10.0-60.138.0.165,参考命令"rpm -q 包名"结果)** unixbench-5.1.3.3 **【环境信息】** 硬件信息 鲲鹏及x86环境等核数大于16的环境均涉及 - 提供跟硬件相关的信息,如架构、cpu和内存规格等 - 虚拟机场景,额外补充宿主机os版本类型 软件信息 - 跟缺陷所属软件相关的其它软件版本信息(如软件包构建失败由gcc引起,请填写gcc的版本号) 网络信息 - 如果有特殊组网,请提供网络拓扑信息以及网络数据走向 **【问题复现步骤】:请描述具体的操作步骤** yum install安装unixbench rpm包后,进入/opt/unixbench目录,执行./Run -c 96 -i 1 **【实际结果】**,请描述出问题的结果和影响 [root@localhost unixbench]# ./Run -c 96 -i 1 ``` ------------------------------------------------------------------------ Benchmark Run: Mon Sep 01 2025 10:30:02 - 10:30:02 0 CPUs in system; running 96 parallel copies of tests [root@localhost unixbench]# ``` 执行如上Run命令后闪退 **【期望结果】**,正常执行完Run命令并完成相关测试 **【其他相关附件信息】** 比如系统message日志/组件日志、dump信息、图片等 **【缺陷详情及分析指导参考链接】** 由于2011年前服务器环境核数大于16的不多,所以Run脚本中指定了maxCopies为16, 而当今服务器普遍核数众多,maxCopies定为16已不合适 相关代码,Run脚本中如下函数: ``` # Run the named benchmarks. sub runTests { my ( $tests, $verbose, $logFile, $copies ) = @_; # Run all the requested tests and gather the results. my $results = { 'start' => time(), 'copies' => $copies }; foreach my $bench (@$tests) { # Get the parameters for this benchmark. my $params = $testParams->{$bench}; if (!defined($params)) { abortRun("unknown benchmark \"$bench\""); } # If the benchmark doesn't want to run with this many copies, skip it. my $cat = $params->{'cat'}; my $maxCopies = $testCats->{$cat}{'maxCopies'}; next if ($copies > $maxCopies); <------------------旧版本5.1.3 release代码中当指定-c 大于16时将退出runTests执行 # Run the benchmark. my $bresult = runBenchmark($bench, $params, $verbose, $logFile, $copies); $results->{$bench} = $bresult; } ``` **二、缺陷分析结构反馈** 影响性分析说明: 5.1.3unixbench版本过时且运行有闪退bug,需升级6.0.0解决 缺陷严重等级:(Critical/High/Moderate/Low) High 缺陷根因说明: 由于2011年前服务器环境核数大于16的不多,所以Run脚本中指定了maxCopies为16,而当今服务器普遍核数众多,maxCopies定为16已不合适 受影响版本排查(受影响/不受影响): openEuler-20.03-LTS-SP4:不受影响 openEuler-22.03-LTS-SP3:受影响 openEuler-22.03-LTS-SP4:受影响 openEuler-24.03-LTS:受影响 openEuler-24.03-LTS-SP1:受影响 openEuler-24.03-LTS-SP2:受影响 修复是否涉及abi变化(是/否): openEuler-20.03-LTS-SP4:否 openEuler-22.03-LTS-SP3:否 openEuler-22.03-LTS-SP4:否 openEuler-24.03-LTS:否 openEuler-24.03-LTS-SP1:否 openEuler-24.03-LTS-SP2:否
Comments (
17
)
Sign in
to comment
Status
Done
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
caodongxia
caodongxia
Assignee
Collaborator
+Assign
+Mention
Labels
sig/dev-utils
DEFECT/FIXED
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(4)
1
https://gitee.com/src-openeuler/unixbench.git
git@gitee.com:src-openeuler/unixbench.git
src-openeuler
unixbench
unixbench
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register