生成时间: 2026-09-08T09:16:00 | 仓库: https://gitcode.com/openUBMC/webui.git | 报告文件: verification_report_WSL_webui_20260908.json
swr.cn-north-4.myhuaweicloud.com/openubmc/ubuntu:24.04.2_26.06x86-64(amd64)
swr.cn-north-4.myhuaweicloud.com/openubmc/ubuntu:24.04.2_26.06
cd /home/workspace/webui && bingo build --stage=dev
npm run lint && npx vue-tsc --noEmit && npx vitest run
npm run dev(启动开发服务器,默认 http://localhost:5173)
bingo build --stage=dev| 名称 | 路径 | 大小 |
|---|---|---|
| webui Conan 包 | opt/bmc/web/htdocs/ | 4.4 MB(打包后) |
| dist 构建产物 | dist/ | 14 MB(构建中间产物) |
| 样例名称 | 状态 | 输出摘要 | 耗时 |
|---|---|---|---|
| 构建产物冒烟测试 | 成功 | index.html 内容正确,assets 目录含 333 个文件(261 个 gzip 压缩文件),打包后 4.4M,包路径 opt/bmc/web/htdocs/ | 5秒 |
| 时间戳 | 命令 | 状态 | 退出码 | 耗时 | 输出/错误 |
|---|---|---|---|---|---|
| 2026-09-08T09:03:00 | 读取 README.md 了解构建说明 |
成功 | 0 | 1m0s | README 明确仅支持 Ubuntu 24.04 LTS,推荐镜像 swr.cn-north-4.myhuaweicloud.com/openubmc/ubuntu:24.04.2_26.06,构建命令 bingo build --stage=dev,测试命令 npm run lint 和 npx vue-tsc --noEmit |
| 2026-09-08T09:04:00 | 读取 conanfile.py 确认构建流程 |
成功 | 0 | 30s | conanfile.py build() 方法执行:生成 configure.ts 和 feature-routes.ts -> npm install -> npm run build(vite build + gzip + post-build);package() 方法执行 npm install --production 并打包 dist 到 opt/bmc/web/htdoc |
| 2026-09-08T09:04:30 | 检查 .pre-commit-config.yaml 静态检查配置 |
成功 | 0 | 5s | 已配置 pre-commit,共 3 个 repo、8 个 hooks(conventional-commit、add-signoff-and-change-id、check-sr、check-json、check-yaml、prettier、trailing-whitespace、end-of-file-fixer、check-merge-conflict、check-added-large-f |
| 2026-09-08T09:04:35 | 搜索 lint-runner 配置文件 |
成功 | 0 | 1s | 未找到 lint-runner 相关配置文件(.lint-runner.yaml / .lint-runner.json / lint-runner.config.* / .lintrunner.toml) |
| 2026-09-08T09:04:36 | 检查 .devcontainer/ 目录 |
成功 | 0 | 1s | 存在 .devcontainer/devcontainer.json,指定镜像 swr.cn-north-4.myhuaweicloud.com/openubmc/ubuntu:24.04.2_26.06,工作目录 /workspace,配置了 VS Code 扩展 |
| 2026-09-08T09:05:00 | docker pull swr.cn-north-4.myhuaweicloud.com/openubmc/ubuntu:24.04.2_26.06 |
成功 | 0 | 1s | Image is up to date(镜像已本地缓存,15.9GB) |
| 2026-09-08T09:05:02 | docker run -d --name ttfhw-webui-env -v <repo>:/webui-src:ro -w /home/workspace <image> tail -f /dev/null |
成功 | 0 | 2s | 容器启动成功,ID: 4e6f323352e9 |
| 2026-09-08T09:05:10 | 检查容器预装工具 |
成功 | 0 | 10s | git 2.43.0, python3 3.12.3, pip3 24.0, bingo 已安装, conan 2.30.0, node v20.18.0, npm 10.8.2, /opt/RTOS/208.11.0 存在, /opt/hcc_arm64le 交叉编译器存在, Conan profiles 已配置(default/profile.dt.ini/profile.luajit.ini |
| 2026-09-08T09:05:30 | conan remote login openubmc_opensource <user> -p '<password>' |
成功 | 0 | 5s | Authenticated in remote 'openubmc_opensource' with user 'zh***eng',Conan 远程仓库认证成功 |
| 2026-09-08T09:06:00 | cp -a /webui-src/. /home/workspace/webui/ (保留 .git,排除 build/node_modules/dist) |
成功 | 0 | 10s | webui 源码复制到容器 /home/workspace/webui,git remote 为 https://gitcode.com/openUBMC/webui.git |
| 2026-09-08T09:07:08 | bingo build --stage=dev |
成功 | 0 | 2m37s | Conan create webui/1.100.113@openubmc.dev/dev -> npm install(1034 packages in 2m)-> npm run build(vite build: 4414 modules transformed, built in 39.41s)-> gzip(426 files compressed)-> post |
| 2026-09-08T09:10:00 | npm install(在 /home/workspace/webui 安装完整依赖含 devDependencies,用于执行测试) |
成功 | 0 | 1m39s | added 1032 packages in 2m(含 vitest、eslint、vue-tsc 等开发依赖) |
| 2026-09-08T09:12:07 | npx eslint "src/**/*.{js,ts,vue,jsx,tsx}" --fix |
失败 | 1 | 34s | ESLint 检查完成,发现 284 个问题(256 errors, 28 warnings),主要错误类型:max-lines-per-function(函数行数超限)、complexity(圈复杂度超限)、max-len(行长度超限)、camelcase(命名规范) 284 problems (256 errors, 28 warnings),涉及文件包括 KvmH5/virtualKeyboard/index.vue、VideoPlayer.vue、VncH5.vue、header.service.ts、port-service.ts、utils.ts 等 |
| 2026-09-08T09:13:28 | npx vue-tsc --noEmit |
失败 | 2 | 33s | TypeScript 类型检查执行,32.3 秒完成 tsconfig.json(17,5): error TS5101: Option 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption 'ignoreDeprecations: 5.0' to silence this error. |
| 2026-09-08T09:14:11 | npx vitest run |
失败 | 1 | 17s | Test Files: 1 failed | 9 passed (10);Tests: 1 failed | 210 passed (211);Duration: 3.16s。失败用例: tests/unit/utils/date.spec.ts > Date.prototype.pattern Tests > should format hour correctly(expected 1 个测试失败:date.spec.ts 中 should format hour correctly 断言失败,期望 pattern('HH') 返回 '20',实际返回 '12' |
| 2026-09-08T09:14:30 | 冒烟测试:验证构建产物 index.html 和 assets |
成功 | 0 | 5s | 构建产物验证通过:index.html 内容正确,assets 目录含 333 个文件(含 261 个 gzip 压缩文件),打包后总大小 4.4M,包路径 opt/bmc/web/htdocs/ |
| 2026-09-08T09:15:00 | docker rm -f ttfhw-webui-env |
成功 | 0 | 2s | 容器已停止并删除 |