已开启
oech未工具适配openeuler 24.03 SP2 #60
openeuler-ci-bot创建于  2025年12月5日
openeuler-ci-bot
openeuler-ci-bot成员
2025年12月5日 创建

【场景描述】(如构建场景/测试场景/发布场景/分析场景/其他场景)

我是新华三集团员工,负责我司服务器与欧拉OS的互认证相关事项
【ISSUE描述】

输入图片说明
输入图片说明
我在做我司H3C UniServer R3950 G6与openeuler 24.03 SP2的互认证时,通过OS下自带的repo源下载oech工具,版本为1.1.7。
查看支持内核版本,发现SP2未包含在内。
执行测试项时,system测试项报错如图。
想咨询图中报错是否是因为为工具未适配? 如果是,oech工具是否有适配计划? 计划何时适配openeuler 24.03 SP2?

-- submitted by 1***@qq.com

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2025年12月5日 评论:

Hi openeuler-ci-bot, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Others, and any of the maintainers: @jimmy_hero , @small_leek , any of the committers: @gitee-cmd , @wang--ge , @wk333

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2025年12月5日 创建了任务
openeuler-ci-botopeneuler-ci-bot成员
2025年12月5日 添加了   sig/Others 标签
Venland1
Venland1
2025年12月5日 评论:

应该需要使用1.1.8版本的软件包,已经添加24.04-LTS-openEuler-SP2的支持
commit:https://gitee.com/src-openeuler-fork/oec-hardware/commit/e73964259ecc24e764bf221aa70cbceae90de9fe

likedislike
wk333成员
2025年12月5日 评论:

应该需要使用1.1.8版本的软件包,已经添加24.04-LTS-openEuler-SP2的支持
commit:https://gitee.com/src-openeuler-fork/oec-hardware/commit/e73964259ecc24e764bf221aa70cbceae90de9fe

那应该是没升级,应该把这个issue转到 oec-hardware 仓库
https://gitee.com/src-openeuler/oec-hardware/tree/openEuler-24.03-LTS-SP2/

likedislike
Wwk333成员
2025年12月5日 将关联仓库从 src-openEuler/conmon 修改为src-openEuler/oec-hardware
wk333成员
2025年12月10日 评论:

【1.1.8版本oech-hardware工具system测试项,运行提示内核文件被修改】
https://gitee.com/src-openeuler-fork/oec-hardware/commit/e73964259ecc24e764bf221aa70cbceae90de9fe
一、make && make install 方式
下载该版本工具上传到OS内,解压make && make install 后,执行“pip install concurrent_log_handler pyyaml”补包,可查询工具版本为1.1.7,且支持24.03SP2.
输入图片说明

执行system测试项后报错提示oec-hardware包未安装,仍内核被修改
输入图片说明

二、编译rpm包
路径下执行rpmbuild命令编译rpm包,报错如下图
输入图片说明
修改时间格式、打包资源包后放置在路径下后编译rpm包。

再用dnf命令安装rpm包自动补齐依赖。

运行system测试项仍提示内核被修改
输入图片说明

那可能1.1.8涉及内核相关的适配,你可以本地试试以patch的方式,把上面的commit打入1.1.7版本的tar里,再本地rpmbuild编译
https://gitee.com/openeuler/oec-hardware/commit/e73964259ecc24e764bf221aa70cbceae90de9fe

likedislike
wk333成员
2025年12月10日 评论:

【1.1.8版本oech-hardware工具system测试项,运行提示内核文件被修改】
https://gitee.com/src-openeuler-fork/oec-hardware/commit/e73964259ecc24e764bf221aa70cbceae90de9fe
一、make && make install 方式
下载该版本工具上传到OS内,解压make && make install 后,执行“pip install concurrent_log_handler pyyaml”补包,可查询工具版本为1.1.7,且支持24.03SP2.
输入图片说明

执行system测试项后报错提示oec-hardware包未安装,仍内核被修改
输入图片说明

二、编译rpm包
路径下执行rpmbuild命令编译rpm包,报错如下图
输入图片说明
修改时间格式、打包资源包后放置在路径下后编译rpm包。

再用dnf命令安装rpm包自动补齐依赖。

运行system测试项仍提示内核被修改
输入图片说明

再或者直接同步 https://gitee.com/src-openeuler/oec-hardware/pulls/292 到SP2,之前不知道为啥没同步
目前看SP3都到1.1.9了 https://gitee.com/src-openeuler/oec-hardware/pulls/301

likedislike
Venland1
Venland1
2025年12月10日 评论:

【1.1.8版本oech-hardware工具system测试项,运行提示内核文件被修改】
https://gitee.com/src-openeuler-fork/oec-hardware/commit/e73964259ecc24e764bf221aa70cbceae90de9fe
一、make && make install 方式
下载该版本工具上传到OS内,解压make && make install 后,执行“pip install concurrent_log_handler pyyaml”补包,可查询工具版本为1.1.7,且支持24.03SP2.
输入图片说明

执行system测试项后报错提示oec-hardware包未安装,仍内核被修改
输入图片说明

二、编译rpm包
路径下执行rpmbuild命令编译rpm包,报错如下图
输入图片说明
修改时间格式、打包资源包后放置在路径下后编译rpm包。

再用dnf命令安装rpm包自动补齐依赖。

运行system测试项仍提示内核被修改
输入图片说明

是否可以让cicd那边手动触发下eulermaker的编译,我看1.1.8的同步pr已经合入了,应该可以解决这个问题

likedislike
Venland1
Venland1
2025年12月10日 评论:

@Venland @wk333 老师们能否帮忙看下,这个问题是hardware这边解决,还是说转到kernel仓处理呢

https://eulermaker.compass-ci.openeuler.openatom.cn/package/overview?osProject=openEuler-24.03-LTS-SP2:everything&packageName=oec-hardware
可以来这边看下,如果有编译出来比1.1.7版本高的可以下载下来手动安装之后应该就可以了

likedislike
wk333成员
2025年12月10日 评论:

【1.1.8版本oech-hardware工具system测试项,运行提示内核文件被修改】
https://gitee.com/src-openeuler-fork/oec-hardware/commit/e73964259ecc24e764bf221aa70cbceae90de9fe
一、make && make install 方式
下载该版本工具上传到OS内,解压make && make install 后,执行“pip install concurrent_log_handler pyyaml”补包,可查询工具版本为1.1.7,且支持24.03SP2.
输入图片说明

执行system测试项后报错提示oec-hardware包未安装,仍内核被修改
输入图片说明

二、编译rpm包
路径下执行rpmbuild命令编译rpm包,报错如下图
输入图片说明
修改时间格式、打包资源包后放置在路径下后编译rpm包。

再用dnf命令安装rpm包自动补齐依赖。

运行system测试项仍提示内核被修改
输入图片说明

目前看SP2还是没同步上 https://gitee.com/src-openeuler/oec-hardware/tree/openEuler-24.03-LTS-SP2/

likedislike
wk333成员
2025年12月10日 评论:

@Venland @wk333 老师们能否帮忙看下,这个问题是hardware这边解决,还是说转到kernel仓处理呢

根据提交和合并记录,你应该联系 @yang-standby @ygn-ndwd-official 两位老师看看

likedislike
wk333成员
2025年12月12日 评论:

@Venland @wk333 老师们能否帮忙看下,这个问题是hardware这边解决,还是说转到kernel仓处理呢

你可以提一下问问,这个我也不太了解

likedislike