test: add live ingest verification gate
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
This commit is contained in:
@@ -238,6 +238,22 @@ SELECT COUNT(*) FROM telemetry_fields;
|
||||
|
||||
健康检查已确认三个服务均返回 `{"status":"UP"}`。
|
||||
|
||||
可重复运行 live 验收工具:
|
||||
|
||||
```bash
|
||||
python3 tools/vehicle_ingest_live_verify.py \
|
||||
--tdengine-rest-url 'http://115.29.185.82:6041/rest/sql/vehicle_ts' \
|
||||
--tdengine-username root \
|
||||
--tdengine-password '<tdengine-password>' \
|
||||
--history-base-url 'http://127.0.0.1:20200' \
|
||||
--date-from '2026-06-29 00:00:00' \
|
||||
--date-to '2026-06-29 23:59:59' \
|
||||
--jt808-peer-like '222.66.200.68:%' \
|
||||
--gb32960-peer-like '115.29.187.205:%'
|
||||
```
|
||||
|
||||
该工具输出 `pass`、`warn` 或 `fail`:当前正式 GB32960 只有平台登录、没有车辆 `0x02` 时会输出 `warn`,避免把平台在线误判为车辆数据在线。正式车辆数据验收时增加 `--require-gb32960-vehicle-realtime`,缺少非测试 VIN 的 `0x02` 会直接返回非 0 退出码。
|
||||
|
||||
JT808 真实转发链路已验证:
|
||||
|
||||
- 本机 TCP `808` 有外部平台 `222.66.200.68` 持续发送 JT808 报文。
|
||||
|
||||
Reference in New Issue
Block a user