Open
fix: 仅复位当前器件而不复位前级链路 #14
Acook1eAdd on 11 days ago
fix: 仅复位当前器件而不复位前级链路 #14
Open
Acook1eAdd on 11 days ago
Acook1e
11 days ago

当前PR是否有AI参与:

[x] 否

[] 是

PR功能描述 / 为什么需要这个合入:

配合 openUBMC/hwproxy#6 的PCA9545异常恢复调整,将hwproxy的复位范围限定为当前器件自身,避免当前器件触发复位时同时对前级链路器件执行复位。
PCA9545复位等待时间调整为400ms及复位日志记录由runtime_accessor配套PR实现。

修改方案:

  1. 移除chip:reset()中沿l_chip链路逐级调用reset()的逻辑。
  2. 保留当前器件自身的复位accessor调用及原有异常处理。
  3. 当前器件未配置有效复位accessor时直接返回,不再触发前级器件复位。
  4. 组件版本由1.140.3更新至1.140.4,并更新CHANGELOG。

验证方案:

通过Bingo执行:
bingo test --stage stable -ut -it

运行现有单元测试和集成测试,回归器件访问、错误处理及相关服务交互。

测试建议:

  1. 在具有多级器件链路的环境触发当前器件异常恢复,确认只调用当前器件的复位accessor。
  2. 确认前级链路器件不会因当前器件复位而被连带复位。
  3. 当前器件未配置复位accessor时,确认不会复位前级器件。
  4. 当前器件复位失败时,确认原有异常处理行为保持不变。
  5. 配合runtime_accessor对应版本验证PCA9545的400ms复位等待及复位日志。
  6. 重点评估上游MUX自身故障时的恢复路径,确认取消前级链式复位符合预期。

自验证报告:

通过UT与IT
实机测试日志存在.

该PR关联的issue

fixes https://gitcode.com/openUBMC/hwproxy/issues/6

希望检视人员了解:

本PR合入之前需要合入https://gitcode.com/openUBMC/runtime_accessor/pull/17

likedislike
Merge blocked
AAcook1e
11 days ago Created pull request, commit de6f9314
AAcook1e
11 days ago Associated issue: [缺陷]: 调整9545异常复位等待时长为400ms,并增加复位日志,记录器件名、复位accessor和执行结果
openUBMC-robotopenUBMC-robotCollaborators
11 days ago Set zjp99,chendanming as approver
openUBMC-robotopenUBMC-robotCollaborators
11 days ago Added label: sig/sig-framework
openUBMC-robot
openUBMC-robotCollaborators
11 days ago Comments:

欢迎来到 openUBMC 社区

Hey @Acook1e , 感谢你对社区的贡献.

机器人使用手册

有关指令的使用,可以点击 说明文档 或 论坛 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。您可以自助配置此仓库的 PR 合并规则,更多详情,请参阅机器人自助配置使用手册。

联系指引

有疑问可以联系 SIG: sig-framework ,
维护者是: @chendanming, @zjp99 ,
优秀贡献者是: @leessential, @qq_32768419 .

likedislike
openUBMC-robotopenUBMC-robotCollaborators
11 days ago Added label: openUBMC-cla/yes
openUBMC-robotopenUBMC-robotCollaborators
11 days ago Added label: needs-issue
openUBMC-robot
openUBMC-robotCollaborators
11 days ago Comments:

关联 Issue 通知

@Acook1e , 提交的PR需要关联issue,指导链接:https://forum.openubmc.cn/t/topic/208
如果已经关联了issue, 但是needs-issue标签仍然存在,你可以在评论 /check-issue 来移除它。

likedislike
Oopenubmc-ci-botCollaborators
11 days ago Added label: ci-running
openubmc-ci-botCollaborators
11 days ago Comments:

CI已开始运行,查看流水线详情:流水线链接

likedislike
AAcook1e
11 days ago Modify description of pull request
Oopenubmc-ci-botCollaborators
11 days ago Removed label: ci-running
openubmc-ci-botCollaborators
11 days ago Comments:
任务名称结果
pre-commit检查✅ SUCCESS
PR描述检查❌ FAILED
防投毒检查✅ SUCCESS
开源合规检查✅ SUCCESS
编译构建✅ SUCCESS
UT测试✅ SUCCESS
IT测试✅ SUCCESS
代码覆盖率✅ SUCCESS
头文件检查✅ SUCCESS
ARM UT测试✅ SUCCESS
likedislike
Oopenubmc-ci-botCollaborators
11 days ago Added label: ci-failed
Acook1e
11 days ago Comments:

/check-issue

likedislike
openUBMC-robot
openUBMC-robotCollaborators
11 days ago Comments:

Issue状态不符合预期

PR关联的Issue状态不符合预期, 请检查关联的Issue并确保至少有一个在允许的状态中。允许的Issue状态: 修复中,待验收。

likedislike
Acook1e
11 days ago Comments:

/check-issue

likedislike
openUBMC-robotopenUBMC-robotCollaborators
11 days ago Removed label: needs-issue
6 event messages are collapsed here。 See more
Oopenubmc-ci-botCollaborators
11 days ago Added label: ci-running
openubmc-ci-botCollaborators
11 days ago Comments:

CI已开始运行,查看流水线详情:流水线链接

likedislike
Oopenubmc-ci-botCollaborators
11 days ago Removed label: ci-running
openubmc-ci-botCollaborators
11 days ago Comments:
任务名称结果
pre-commit检查✅ SUCCESS
PR描述检查✅ SUCCESS
防投毒检查✅ SUCCESS
开源合规检查✅ SUCCESS
编译构建✅ SUCCESS
UT测试✅ SUCCESS
IT测试✅ SUCCESS
代码覆盖率✅ SUCCESS
头文件检查✅ SUCCESS
ARM UT测试✅ SUCCESS
likedislike
Oopenubmc-ci-botCollaborators
11 days ago Added label: ci-successful
AAcook1e
9 days ago Pre merge succeeded (commit_id: 2ae83cd13696519f544178a8369f1a92bd2babfc)
AAcook1e
9 days ago Force-pushed 5 commits:598372b7-4 commits from branch main,d7cebfd3-fix: 仅复位当前器件而不复位前级链路
AAcook1e
9 days ago Pre merge succeeded (commit_id: cb4bc53e311e3bd49156b61f76c0c05d1c062cb4)
openUBMC-robotopenUBMC-robotCollaborators
9 days ago Removed label: openUBMC-cla/yes
openUBMC-robotopenUBMC-robotCollaborators
9 days ago Added label: openUBMC-cla/yes
openUBMC-robot
openUBMC-robotCollaborators
9 days ago Comments:

CLA 签署成功

Acook1e, 感谢您的代码贡献。 所有的代码贡献者都已完成了 CLA 签署。 👍

likedislike
openUBMC-robotopenUBMC-robotCollaborators
9 days ago Removed label: ci-successful
Oopenubmc-ci-botCollaborators
9 days ago Added label: ci-running
openubmc-ci-botCollaborators
9 days ago Comments:

CI已开始运行,查看流水线详情:流水线链接

likedislike
Oopenubmc-ci-botCollaborators
9 days ago Removed label: ci-running
openubmc-ci-botCollaborators
9 days ago Comments:
任务名称结果
pre-commit检查✅ SUCCESS
PR描述检查✅ SUCCESS
防投毒检查✅ SUCCESS
开源合规检查✅ SUCCESS
编译构建✅ SUCCESS
UT测试✅ SUCCESS
IT测试✅ SUCCESS
代码覆盖率✅ SUCCESS
头文件检查✅ SUCCESS
ARM UT测试✅ SUCCESS
likedislike
Oopenubmc-ci-botCollaborators
9 days ago Added label: ci-successful