已合并
[New Image] Add onednn 3.13 for openEuler 24.03-lts-sp4 #3258
[New Image] Add onednn 3.13 for openEuler 24.03-lts-sp4 #3258
已合并
jcccx创建于 7 天前
jcccx
7 天前

Summary

Add onednn 3.13 built from the pinned upstream source for openEuler 24.03-lts-sp4.

  • Validated run: 31464782108.
  • Candidate SHA256: 3e464cfab4dd04df8048a6fd0277644ee63a3dd8401c792c97eecac5d0656182.

Changes

Status File
Modified Others/image-list.yml
Added Others/onednn/3.13/24.03-lts-sp4/Dockerfile
Added Others/onednn/README.md
Added Others/onednn/meta.yml
Added Others/onednn/results/3.13/24.03-lts-sp4/aarch64.junit.xml
Added Others/onednn/results/3.13/24.03-lts-sp4/version_info.json
Added Others/onednn/results/3.13/24.03-lts-sp4/x86_64.junit.xml
Added Others/onednn/tests/test.sh

Adversarial review

Testcase review

  • Final result: approved after 1 round.
  • Coverage score: 0.9.
  • Round 1: approved — Suite verifies binary presence, exact 3.13.0 library version via ONEDNN_VERBOSE header, and a real CPU ReLU compute path with 'Example passed on CPU.' and exit 0; all command evidence verified against pinned v3.13 sources, no lifecycle/Docker/readiness violations, no blockers or major gaps.
    • Review input: full.

Fixer process

  • Native Fixer invocations: 1.
  • Round 1, attempt 1: fixed — Fixed the build failure by correcting the doc directory path in the final stage COPY to match the actual cmake install location.
    • Trigger: native_validation_failure; failed architectures: x86_64, aarch64.
    • Change: Others/onednn/3.13/24.03-lts-sp4/Dockerfile — Changed COPY source/destination from /usr/local/share/doc/onednn to /usr/local/share/doc/dnnl
  • Final outcome: the repaired candidate passed sealed native validation on x86_64 and aarch64.

Repository checks

Architecture Platform Image ID Duration Passed checks
x86_64 linux/amd64 sha256:d6583d9ea6e5a29c1006396cc7a2d96d07aac54cdbcf2b8391ddeeccc5496f60 6.11s native_build, runtime_test
aarch64 linux/arm64 sha256:64efb693b85494df12f6e7a401c14eea81f6adad2b687994353dda29c6444428 7.51s native_build, runtime_test
  • Promoted from validated run 31464782108.
  • Deterministic target contract: passed
  • Hadolint: 3 advisory findings.
    • /home/openeuler/actions-runner/_work/_temp/phase1-target/Others/onednn/3.13/24.03-lts-sp4/Dockerfile:6 DL3041 warning: Specify version with dnf install -y -.
    • /home/openeuler/actions-runner/_work/_temp/phase1-target/Others/onednn/3.13/24.03-lts-sp4/Dockerfile:20 SC2046 warning: Quote this to prevent word splitting.
    • /home/openeuler/actions-runner/_work/_temp/phase1-target/Others/onednn/3.13/24.03-lts-sp4/Dockerfile:46 DL3002 warning: Last USER should not be root

Confidence Score

  • Score: 0.94 (auto-merge).
  • Inputs: both native builds passed; both required runtime test sets passed; Hadolint advisories: 3; final metadata contract passed.
  • Target base SHA: 5ef4f651e74bec5d8be9678f60831891244ab115.
  • Task ID: new-image-others-onednn-3.13-24.03-lts-sp4.
  • Target evidence: version_info.json, x86_64.junit.xml, aarch64.junit.xml.
  • Production candidate evidence: reports/results.json.
  • Candidate integrity: verified before delivery.

Checklist

  • Version and upstream source are pinned
  • Changed files are restricted to the task scope
  • x86_64 native validation passed
  • aarch64 native validation passed
  • Adversarial review records are preserved
  • Native Fixer process is recorded
  • Candidate integrity was verified before delivery
likedislike
Pull Request已成功合入, 合并人@openeuler-ci-bot
(感谢 jcccx 的贡献)
Jjcccx
7 天前 创建了 pull request,commit d452387d
atomgit-bot
atomgit-bot
7 天前 评论:

变更摘要

此 PR 为 openEuler 24.03-lts-sp4 新增 onednn 3.13 容器镜像,基于 oneDNN v3.13 上游固定版本构建。变更包括:在镜像清单中注册新镜像、编写多阶段 Dockerfile 完成从源码编译到运行时镜像的构建流程、添加版本元数据映射、以及提供覆盖二进制存在性、精确版本校验和 CPU ReLU 计算路径的自动化测试脚本。该镜像已在 x86_64aarch64 架构上通过原生构建和运行时验证。

主要改动

  • 镜像注册: 在 Others/image-list.yml 中新增 onednn: onednn 条目,将新镜像纳入镜像清单管理。
  • Dockerfile 构建流程: 新增 Others/onednn/3.13/24.03-lts-sp4/Dockerfile,采用两阶段构建:builder 阶段从 GitHub 下载 v3.13 源码,使用 cmake 编译安装到 /usr/local,并编译 getting_started.cpp 示例为 onednn-getting-started 二进制;最终阶段仅复制运行时必需的库、头文件、二进制及文档(修正后路径为 /usr/local/share/doc/dnnl),并配置 ldconfig
  • 版本元数据映射: 新增 Others/onednn/meta.yml,建立 3.13-oe2403sp43.13/24.03-lts-sp4/Dockerfile 的路径映射。
  • 自动化测试: 新增 Others/onednn/tests/test.sh,实现三个测试用例:test_binary_exists 检查二进制是否在 PATH 中、test_exact_version 通过 ONEDNN_VERBOSE=1 输出校验库版本是否为 3.13.0test_core_function 验证 CPU ReLU 计算路径输出 "Example passed on CPU." 并正常退出。
  • 验证结果记录: 新增 aarch64.junit.xmlx86_64.junit.xml 记录两个架构的测试通过状态,以及 version_info.json 记录构建时的软件版本和环境信息。
likedislike
atomgit-bot
atomgit-bot
7 天前 评论:

代码审查

✅ 未发现问题

likedislike
openeuler-ci-botopeneuler-ci-bot成员
7 天前 添加了label:openeuler-cla/yes
openeuler-ci-bot
openeuler-ci-bot成员
7 天前 评论:

CLA Signature Pass

qq_42020325, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
openeuler-ci-botopeneuler-ci-bot成员
7 天前 将weibaohui,yangzhao_kl,jimmieme,duguhaotian,wonleing,zmr_2020,gaodaweiky,lu-wei-army,zhaoyifan28设为审查人
openeuler-ci-botopeneuler-ci-bot成员
7 天前 添加了label:sig/sig-CloudNative
openeuler-ci-bot
openeuler-ci-bot成员
7 天前 评论:

Welcome To openEuler Community

Hey @qq_42020325 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: sig-CloudNative ,
and any of the maintainers: @duguhaotian, @gaodaweiky, @jimmieme, @lu-wei-army, @weibaohui, @wonleing, @yangzhao_kl, @zhaoyifan28, @zmr_2020 ,

likedislike
Jjcccx
7 天前 关联了issue:【new-image】add oneDNN docker image on openEuler 24.03-LTS-SP4
openeuler-ci-botopeneuler-ci-bot成员
7 天前 添加了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
7 天前 评论:

门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/openeuler-docker-images/2967/console

likedislike
openeuler-ci-botopeneuler-ci-bot成员
7 天前 删除了label:ci_processing
lu-wei-army成员
14 小时前 评论:

/retest

likedislike
openeuler-ci-botopeneuler-ci-bot成员
14 小时前 添加了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
14 小时前 评论:

门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/openeuler-docker-images/3003/console

likedislike
openeuler-ci-botopeneuler-ci-bot成员
14 小时前 删除了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
14 小时前 评论:
Check Name Build Result 详情 Build Details
check_sca SUCCESS #3003
check_package_license WARNING • 仓库copyright检查未通过: 缺少项目级Copyright声明文件
x86_64 check_build SUCCESS #2944
aarch64 check_build SUCCESS #2889
likedislike
openeuler-ci-botopeneuler-ci-bot成员
14 小时前 添加了label:ci_successful
openeuler-ci-bot
openeuler-ci-bot成员
14 小时前 评论:
likedislike
lu-wei-army成员
14 小时前 评论:

/lgtm
/approve

likedislike
openeuler-ci-botopeneuler-ci-bot成员
14 小时前 添加了label:approvedlgtm
openeuler-ci-bot
openeuler-ci-bot成员
14 小时前 评论:

Review Code Feedback

  • The label lgtm, approved was added to this pull request. It means that lu-wei-army reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄
likedislike
openeuler-ci-botopeneuler-ci-bot成员
14 小时前 合入了pull request,合并节点 SHA:20316e32bb0209411e9ba4f54514b8894d86a8fd
openeuler-ci-botopeneuler-ci-bot成员
14 小时前 删除了label:ci_successful
openeuler-ci-botopeneuler-ci-bot成员
14 小时前 添加了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
14 小时前 评论:

门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/openeuler-docker-images/3009/console

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
14 小时前 评论:
Image Tag Publish Result
onednn:3.13-oe2403sp4 :white_check_mark:SUCCESS
Others/onednn/README.md :white_check_mark:SUCCESS
likedislike
openeuler-ci-botopeneuler-ci-bot成员
14 小时前 删除了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
14 小时前 评论:
Check Name Build Result 详情 Build Details
check_sca SUCCESS #3009
check_package_license WARNING • 仓库copyright检查未通过: 缺少项目级Copyright声明文件
x86_64 check_build SUCCESS #2950
aarch64 check_build SUCCESS #2895
likedislike
openeuler-ci-botopeneuler-ci-bot成员
14 小时前 添加了label:ci_successful
openeuler-ci-bot
openeuler-ci-bot成员
14 小时前 评论:
likedislike