验证时间:2026-10-24 03:35 ~ 03:50 | 报告文件:verification_report_WSL_libmcpp_20261024.html
静态检查(Static Analysis)
| 项目 | 状态 | 配置文件 | 总 hooks | 通过 | 失败 | 耗时 |
| pre-commit |
全部通过 |
.pre-commit-config.yaml |
10 |
10 |
0 |
3s |
| lint-runner |
未配置 |
— |
— |
— |
— |
— |
pre-commit 包含以下 hooks:conventional-commit, add-sign-off-and-change-id, check-sr, check-json, check-yaml, clang-format, trailing-whitespace, end-of-file-fixer, check-merge-conflict, check-added-large-files, check-case-conflict, detect-private-key。全部通过。
pre-commit run --all-files
2026-10-24T03:35:00 | returncode: 0 | 耗时: 3s
Check .sr Files...Passed
Check JSON...Passed
Check YAML...Passed
clang-format...Passed
trim trailing whitespace...Passed
fix end of files...Passed
check for merge conflicts...Passed
check for added large files...Passed
check for case conflicts...Passed
detect private key...Passed
find . -name '.lint-runner.*' -o -name 'lint-runner.config.*' -o -name '.lintrunner.toml'
2026-10-24T03:35:05 | returncode: 0 | 耗时: 1s
未找到 lint-runner 配置文件
ls .devcontainer/
2026-10-24T03:35:10 | returncode: 0 | 耗时: 1s
devcontainer.json
docker pull swr.cn-north-4.myhuaweicloud.com/openubmc/ubuntu:24.04.2_26.06
2026-10-24T03:36:00 | returncode: 0 | 耗时: 5s
Digest: sha256:fb8475c8c5a1ab9e4ae27348954fcb8d9e14bd52df96f5b2f4a3f19eaf8a6303
Status: Image is up to date
docker run -d --name ttfhw-libmcpp-env -v /workspace:/workspace -w /workspace swr.cn-north-4.myhuaweicloud.com/openubmc/ubuntu:24.04.2_26.06 tail -f /dev/null
2026-10-24T03:36:10 | returncode: 0 | 耗时: 2s
Container ID: 0666e08ccd0a...
docker exec: 检查镜像预装工具 (python3, pip3, git, wget, curl, unzip, bingo, conan, node)
2026-10-24T03:36:30 | returncode: 0 | 耗时: 5s
所有工具均已预装:Python 3.12.3, Conan 2.30.0, Node.js 20.18.0, bingo 可用
docker exec: conan remote auth openubmc_opensource (用户名 zh*******g,密码 ******已脱敏)
2026-10-24T03:37:00 | returncode: 0 | 耗时: 5s
Authenticated in remote 'openubmc_opensource' with user 'zh*******g'
凭证通过 CONAN_LOGIN_USERNAME_OPENUBMC_OPENSOURCE 和 CONAN_PASSWORD_OPENUBMC_OPENSOURCE 环境变量传入
docker exec: conan list '*' -r openubmc_opensource (验证远程仓库连通性)
2026-10-24T03:37:30 | returncode: 0 | 耗时: 3s
Found 4685 pkg/version recipes matching * in openubmc_opensource
cd /workspace && bingo build --stage=dev
2026-10-24T03:38:00 | returncode: 0 | 耗时: 198s
构建成功。产出 21 个 .so 文件、545 个 .h 文件、30 个 .lua 文件。
包引用: libmcpp/5.0.32@openubmc.dev/dev#3075d096eeff75c7c82188674d0fe5d2:2b73cc880fcd149b026ff8ed2ee363b7ddf0456b
cd /workspace && bingo test -ut -jit
2026-10-24T03:41:30 | returncode: 0 | 耗时: 329s
通过 67 / 67。3 个 meson 测试全部 OK。TestLibmcpp.test_cpp: 1 success, 0 failures。退出码: 0
docker stop ttfhw-libmcpp-env && docker rm ttfhw-libmcpp-env
2026-10-24T03:49:30 | returncode: 0 | 耗时: 3s
容器已停止并删除
2026-10-24T03:35:00 · start
开始验证流程
已启动
2026-10-24T03:35:05 · document_reading
读取 README.md 了解构建说明、测试命令、系统要求
成功
2026-10-24T03:35:10 · document_reading
读取 .devcontainer/devcontainer.json 和 mds/service.json 确认镜像和依赖
成功
2026-10-24T03:35:15 · static_analysis_scan
检查仓库 pre-commit 配置
已配置(10 个 hooks)
2026-10-24T03:35:18 · static_analysis_execution
执行 pre-commit run --all-files
全部通过(10/10)
2026-10-24T03:35:20 · static_analysis_scan
检查仓库 lint-runner 配置
未配置
2026-10-24T03:35:25 · devcontainer_scan
检查 .devcontainer 目录及配置
已配置
2026-10-24T03:36:00 · image_selection
选择基础镜像
swr.cn-north-4.myhuaweicloud.com/openubmc/ubuntu:24.04.2_26.06
2026-10-24T03:36:10 · container_setup
拉取镜像并启动容器
成功
2026-10-24T03:36:30 · dependency_installation
检查镜像预装依赖
已就绪(python3, bingo, conan, node, gcc 等全部预装)
2026-10-24T03:37:00 · conan_auth
Conan 远程仓库认证
成功(用户:zh*******g 已脱敏)
2026-10-24T03:38:00 · build_attempt
执行 bingo build --stage=dev
成功(21 个 .so 产物)
2026-10-24T03:41:30 · ut_execution
执行 bingo test -ut -jit
成功(67/67 通过)
2026-10-24T03:49:30 · cleanup
停止并删除容器
成功
2026-10-24T03:50:00 · report_generation
生成验证报告
成功