merge: fix/nightly-datadir-rw
This commit is contained in:
@@ -33,8 +33,9 @@ Gitea nightly run#21 使用 `PI_AGENT_RUNNER_URL=http://127.0.0.1:18865`(dev P
|
||||
|
||||
### Nightly 重跑
|
||||
|
||||
- 见 Gitea Actions 最新 `nightly-real-pi` run(dispatch 后回填 run id / verdict)
|
||||
- Verdict: 待运行完成后更新本节
|
||||
- run#25 (`89ce3cc`): DATA_DIR=dev 已对齐,但 `/host-agent-data` 曾 `:ro` → `mkdir ... read-only file system` → `product_fail`(误分类,已改 compose rw + classify infra)
|
||||
- 修复后重新 `workflow_dispatch`;见最新 run
|
||||
- Verdict: 配置 FAIL→FIX;待 green
|
||||
|
||||
## 六、 自动化测试套件汇总 (Test Suite Execution)
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ write_receipt() {
|
||||
classify_test_log() {
|
||||
local log_file="$1"
|
||||
# Heuristics: auth/network/timeout/unavailable → infra; assertion/FAIL → product
|
||||
if grep -Eiq 'context deadline exceeded|connection refused|401 Unauthorized|Unauthorized|runner not available|no such host|i/o timeout|TLS handshake|dial tcp' "${log_file}"; then
|
||||
if grep -Eiq 'context deadline exceeded|connection refused|401 Unauthorized|Unauthorized|runner not available|no such host|i/o timeout|TLS handshake|dial tcp|read-only file system|mkdir .* read-only' "${log_file}"; then
|
||||
echo infra
|
||||
return
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user