Cap SDK tests fail
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 活躍
- 技術堆疊
- lua
- 領域
- embedded-iot, testing
研究方向
執行 make test,並從 unit/hal/sdk_cap_spec.lua 和 unit/update/test_active_policy.lua 開始,著重處理列出的失敗:缺少 wait_for_cap 方法,以及未預期的 staging 狀態。將這些測試預期追溯到相關實作,然後重新執行受影響的測試和 make test;當列出的所有失敗都通過時即表示完成。
由索引模型根據 Issue 內容生成。
描述
Failure summary:
- unit.hal.sdk_cap_spec :: cap_sdk_curated_listener_accepts_available_status_payload [0.001s]
./unit/hal/sdk_cap_spec.lua:60: attempt to call method 'wait_for_cap' (a nil value) - unit.hal.sdk_cap_spec :: cap_sdk_curated_listener_accepts_available_true_payload [0.002s]
./unit/hal/sdk_cap_spec.lua:88: attempt to call method 'wait_for_cap' (a nil value) - unit.hal.sdk_cap_spec :: cap_sdk_curated_listener_ignores_removed_status_payload [0.001s]
./unit/hal/sdk_cap_spec.lua:116: attempt to call method 'wait_for_cap' (a nil value) - unit.hal.sdk_cap_spec :: cap_sdk_raw_host_listener_and_ref_follow_raw_host_topics [0.003s]
./unit/hal/sdk_cap_spec.lua:146: attempt to call method 'wait_for_cap' (a nil value) - unit.hal.sdk_cap_spec :: cap_sdk_raw_member_listener_and_ref_follow_raw_member_topics [0.003s]
./unit/hal/sdk_cap_spec.lua:220: attempt to call method 'wait_for_cap' (a nil value) - unit.update.test_active_policy :: test_artifact_missing_stage_resume_moves_mcu_job_to_reconcile [0.000s]
./unit/update/test_active_policy.lua:7: expected awaiting_return, got staging - unit.update.test_active_policy :: test_artifact_missing_stage_resume_without_identity_still_fails [0.000s]
./unit/update/test_active_policy.lua:7: expected failed, got staging
make: *** [Makefile:93: test] Error 1
- 主要語言
- Lua
- 星號
- 1
- 分支
- 0
- 平均合併
- 5 天 15 小時
- 30 天內合併 PR
- 3
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
jangala-dev/devicecode-lua 的其他 Issue
-
wifi: 40 MHz HE/VHT htmodes unusable — validator only accepts HE40±/VHT40±, which OpenWrt 24.10 ignores (silent 20 MHz)可能已有人在做 @rslater-cs 於 2 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 78/100
jangala-dev/devicecode-lua#344 · 已指派 1 人 ·
-
enhancement
難度 5/5 一週以上 新手友好度 8/100
jangala-dev/devicecode-lua#339 ·
-
wired: comma-separated VLAN lists cause false missing-VLAN alerts可能重新可做 @rslater-cs 於 44 天前認領,目前沒有進行中的 PR。 未關閉
jangala-dev/devicecode-lua#333 · 已指派 2 人 ·
-
Reduce network startup and reconnect delays可能重新可做 @rslater-cs 於 44 天前認領,目前沒有進行中的 PR。 未關閉
jangala-dev/devicecode-lua#332 · 已指派 2 人 ·
-
難度 4/5 3-5 天 新手友好度 35/100
jangala-dev/devicecode-lua#330 · 1 則留言 ·
查看 jangala-dev/devicecode-lua 的全部 Issue
相似的 Issue
-
enhancement
難度 2/5 1-3 小時 新手友好度 78/100
-
enhancement severity: low
難度 2/5 1-3 小時 新手友好度 78/100
luainkernel/lunatik#2091 ·
維護者通常 1 天內回覆
-
Wrong step: Ashenvale, Wetlands & Stonetalon Mountains, step 49可能已有人在做 @b7216309-jpg 於 1 天前認領。 未關閉guide has-pr
難度 2/5 1-3 小時 新手友好度 68/100
fitzforge/polestar#699 · 2 則留言 ·
維護者通常 1 天內回覆
-
Fails to load with Crushing Industry when its crushed ores are disabled可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 77/100
-
難度 1/5 1 小時以內 新手友好度 92/100
LuaLS/lua-language-server#3484 ·