- 同步失败台账:MES/WMS 双端新增台账与页面,跨系统通知失败落台账、人工重试或标记已处理,不自动重传;重试前先判对端终态;叫料、配送、出库回写失败提示指向台账;补幂等建表脚本与菜单权限。 - 拧紧枪:新增按工位配置页,展示控制器地址与三把枪通道号(仅供查看,不参与采集校验);「允许手填」由全局开关改为每工位开关,关闭时校验该工位已配控制器;终端启动/登录上报配置并按本工位拉取,扭矩手填框按本工位置灰;补全局值迁移到各工位的脚本。 - 工位体系:终端未配置工位号时登录页可选(含虚拟工位),固定工位模式保留;虚拟/线下位不叫料、不退料、不作转产目标,未采集绑定放行并说明原因;叫料期望接驳台改为选填。 - AGV与出库:补「出库单已送达」回写;空车回充、接驳台传感器失联、配送状态更新失败均落预警或留痕并提示人工核对;人工出库不引入送达状态;出库单支持目标工位/接驳台并扩展导出列。 - 基础设施:看板缓存由Redis改为MES进程内实现,文档与启动脚本同步去Redis;扫码监听支持多地址、端口被占自动降级;PLC对账与工位报警在MES不可达时降级放行并留日志。 - 文档与帮助:案例与部署手册按实测订正(工位绑定、菜单名称、补料由班组长代提、菜单覆盖对照、虚拟工位);迁移脚本改为本地即时执行并登记7个已执行脚本;三端页面帮助改为「业务/操作/影响范围/后果」四要素。 - 测试:新增独立Go模块,按三个业务场景做真实HTTP与真实写库的流水测试,含运行报告。
307 lines
12 KiB
JSON
307 lines
12 KiB
JSON
{
|
||
"runBatch": "RUN20261107-01",
|
||
"scenario": "场景1",
|
||
"startedAt": "2026-11-07 22:40:59",
|
||
"finishedAt": "2026-11-07 22:40:59",
|
||
"probes": [
|
||
{
|
||
"name": "MES",
|
||
"url": "http://127.0.0.1:8888",
|
||
"ok": false,
|
||
"detail": "不可达:Get \"http://127.0.0.1:8888/api/v1/login\": dial tcp 127.0.0.1:8888: connectex: No connection could be made because the target machine actively refused it."
|
||
},
|
||
{
|
||
"name": "WMS",
|
||
"url": "http://127.0.0.1:8890",
|
||
"ok": false,
|
||
"detail": "不可达:Get \"http://127.0.0.1:8890/api/health\": dial tcp 127.0.0.1:8890: connectex: No connection could be made because the target machine actively refused it."
|
||
},
|
||
{
|
||
"name": "工位终端",
|
||
"url": "http://127.0.0.1:8892",
|
||
"ok": false,
|
||
"detail": "不可达:Get \"http://127.0.0.1:8892/api/health\": dial tcp 127.0.0.1:8892: connectex: No connection could be made because the target machine actively refused it."
|
||
},
|
||
{
|
||
"name": "看板",
|
||
"url": "http://127.0.0.1:5173",
|
||
"ok": false,
|
||
"detail": "不可达:Get \"http://127.0.0.1:5173/\": dial tcp 127.0.0.1:5173: connectex: No connection could be made because the target machine actively refused it."
|
||
}
|
||
],
|
||
"loginErrors": [
|
||
"MES 登录失败:Post \"http://127.0.0.1:8888/api/v1/login\": dial tcp 127.0.0.1:8888: connectex: No connection could be made because the target machine actively refused it.",
|
||
"WMS 登录失败:Post \"http://127.0.0.1:8890/api/auth/login\": dial tcp 127.0.0.1:8890: connectex: No connection could be made because the target machine actively refused it.",
|
||
"工位终端 登录失败:Post \"http://127.0.0.1:8892/api/auth/login\": dial tcp 127.0.0.1:8892: connectex: No connection could be made because the target machine actively refused it."
|
||
],
|
||
"dbErrors": null,
|
||
"results": [
|
||
{
|
||
"stepId": "S1-00",
|
||
"caseLine": "案例.md:59,136",
|
||
"layer": "L1 接口响应",
|
||
"expect": "预检:主数据前提(工位3/6/12 启用、工艺 ACTIVE、三库连通)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-01",
|
||
"caseLine": "案例.md:62 / 流水1-1 :135-141",
|
||
"layer": "L1 接口响应",
|
||
"expect": "建物料档案(原材料四件套 + 成品)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-02",
|
||
"caseLine": "案例.md:65-66 / 流水1-2 :143-149",
|
||
"layer": "L1 接口响应",
|
||
"expect": "入库与来料检验(8/8/8 + 20 颗 SN,Z02,判合格)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-03",
|
||
"caseLine": "案例.md:69-70 / 流水1-3 :151-157",
|
||
"layer": "L1 接口响应",
|
||
"expect": "建工单、自动排产、下发并开工",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-04",
|
||
"caseLine": "案例.md:73 / 流水1-4 :159-165",
|
||
"layer": "L1 接口响应",
|
||
"expect": "看备料清单(只读,实时计算不落台账)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-05",
|
||
"caseLine": "案例.md:76-82 / 流水1-5 :167-173",
|
||
"layer": "L1 接口响应",
|
||
"expect": "上线建档与叫料(按包提交、分次补叫)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-06",
|
||
"caseLine": "案例.md:85-87 / 流水1-6 :175-181",
|
||
"layer": "L1 接口响应",
|
||
"expect": "完成备料、生成出库单、建配送单",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-07",
|
||
"caseLine": "案例.md:88-89 / 流水1-7 :183-189",
|
||
"layer": "L1 接口响应",
|
||
"expect": "送货派车与 AGV 步进(人工确认装车/卸货)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-08",
|
||
"caseLine": "案例.md:92 / 流水1-8 :191-197",
|
||
"layer": "L1 接口响应",
|
||
"expect": "接料确认",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-09",
|
||
"caseLine": "案例.md:93 / 流水1-9 :199-205",
|
||
"layer": "L1 接口响应",
|
||
"expect": "报工(工位3→6→12、装配绑定、拧紧)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-10",
|
||
"caseLine": "案例.md:94-95 / 流水1-10 :207-213",
|
||
"layer": "L1 接口响应",
|
||
"expect": "下线完工、反冲扣账、成品回流、工单完工",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-11",
|
||
"caseLine": "案例.md:112 / 流水1-11 :215-221",
|
||
"layer": "L1 接口响应",
|
||
"expect": "绩效报表(含工单损耗)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-12",
|
||
"caseLine": "案例.md:113 / 流水1-12 :223-229",
|
||
"layer": "L1 接口响应",
|
||
"expect": "工件追溯(3→6→12 时间线)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-13",
|
||
"caseLine": "案例.md:114 / 流水1-13 :231-237",
|
||
"layer": "L1 接口响应",
|
||
"expect": "生产流程卡(主卡 + PDF/Excel/打印导出)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-14",
|
||
"caseLine": "案例.md:98-102 / 流水1-14 :239-245",
|
||
"layer": "L1 接口响应",
|
||
"expect": "余料退库(两张分批退料单 + 库管确认收货)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-15",
|
||
"caseLine": "案例.md:105 / 流水1-15 :247-253",
|
||
"layer": "L1 接口响应",
|
||
"expect": "下班收尾(左右接驳台空台校验)",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "S1-16",
|
||
"caseLine": "案例.md:109-110",
|
||
"layer": "L1 接口响应",
|
||
"expect": "收口核对:库存汇总 + 四类单据终态",
|
||
"actual": "未执行(前置条件不满足)",
|
||
"pass": false,
|
||
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
|
||
"status": "阻断"
|
||
},
|
||
{
|
||
"stepId": "C-01",
|
||
"caseLine": "案例.md:540-545",
|
||
"layer": "L4 交付物",
|
||
"expect": "叫料时接驳台非必填(允许空值行)(期望 \u003e=0)",
|
||
"actual": "select count(*) from material_request where target_dock is null or target_dock='' → \"0\"",
|
||
"pass": true,
|
||
"failReason": "",
|
||
"status": "通过"
|
||
},
|
||
{
|
||
"stepId": "C-02",
|
||
"caseLine": "案例.md:543,601-611",
|
||
"layer": "L4 交付物",
|
||
"expect": "退料必须指定左/右接驳台(空值行应为 0)(期望 0)",
|
||
"actual": "select count(*) from return_orders where return_dock is null or return_dock='' → \"0\"",
|
||
"pass": true,
|
||
"failReason": "",
|
||
"status": "通过"
|
||
},
|
||
{
|
||
"stepId": "C-03",
|
||
"caseLine": "案例.md:544,282",
|
||
"layer": "L4 交付物",
|
||
"expect": "叫料池按工位×物料聚合、不认工单(期望 \u003e=0)",
|
||
"actual": "select count(*) from call_pool → \"0\"",
|
||
"pass": true,
|
||
"failReason": "",
|
||
"status": "通过"
|
||
},
|
||
{
|
||
"stepId": "C-04",
|
||
"caseLine": "案例.md:551-560",
|
||
"layer": "L4 交付物",
|
||
"expect": "AGV 任务按配送单驱动(biz_no 关联配送单)(期望 \u003e=0)",
|
||
"actual": "select count(*) from agv_tasks → \"4\"",
|
||
"pass": true,
|
||
"failReason": "",
|
||
"status": "通过"
|
||
},
|
||
{
|
||
"stepId": "C-05",
|
||
"caseLine": "案例.md:613-617",
|
||
"layer": "L4 交付物",
|
||
"expect": "损耗原因在 WMS 确认收货时落账(期望 \u003e=0)",
|
||
"actual": "select count(*) from return_orders where loss_reason is not null and loss_reason\u003c\u003e'' → \"0\"",
|
||
"pass": true,
|
||
"failReason": "",
|
||
"status": "通过"
|
||
},
|
||
{
|
||
"stepId": "C-06",
|
||
"caseLine": "案例.md:623-625",
|
||
"layer": "L4 交付物",
|
||
"expect": "MES 物料副本与 WMS 主数据源同源(期望 同源)",
|
||
"actual": "MES=6 / WMS=6(差集需按 code 逐条核)",
|
||
"pass": true,
|
||
"failReason": "",
|
||
"status": "通过"
|
||
},
|
||
{
|
||
"stepId": "C-07",
|
||
"caseLine": "案例.md:547-549",
|
||
"layer": "L4 交付物",
|
||
"expect": "设备失联降级动作有事件日志留痕(期望 \u003e=0)",
|
||
"actual": "select count(*) from event_log → \"160\"",
|
||
"pass": true,
|
||
"failReason": "",
|
||
"status": "通过"
|
||
},
|
||
{
|
||
"stepId": "C-08",
|
||
"caseLine": "案例.md:449,547-549",
|
||
"layer": "L4 交付物",
|
||
"expect": "工位终端本地无离线队列/重试缓存表(期望 0)",
|
||
"actual": "select count(*) from sqlite_master where type='table' and name in ('report_queue','torque_results') → \"0\"",
|
||
"pass": true,
|
||
"failReason": "",
|
||
"status": "通过"
|
||
},
|
||
{
|
||
"stepId": "C-09",
|
||
"caseLine": "案例.md:619-621",
|
||
"layer": "L4 交付物",
|
||
"expect": "看板免登录可读、报喜不报忧",
|
||
"actual": "看板不可达:GET http://127.0.0.1:5173/:Get \"http://127.0.0.1:5173/\": dial tcp 127.0.0.1:5173: connectex: No connection could be made because the target machine actively refused it.(耗时 1ms)",
|
||
"pass": false,
|
||
"failReason": "看板服务未启动",
|
||
"status": "失败"
|
||
}
|
||
],
|
||
"summary": {
|
||
"total": 26,
|
||
"pass": 8,
|
||
"fail": 1,
|
||
"block": 17,
|
||
"passRate": "30.8%"
|
||
}
|
||
} |