System clock updates can cause a TinyPilot update to time out
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- python, raspberry-pi
調査の方向性
まず scripts/update-service を読み、特に issue でリンクされているタイムアウトのロジックを確認し、Python の time.monotonic のドキュメントを確認してください。更新中にシステムクロックが更新されても、10 分間のタイムアウトが発生しなくなっていることを検証してください。期待される失敗のコンテキストとして issue の例を使用してください。
索引モデルが issue の本文から書いたものです。
説明
TinyPilot's update service times out if the update takes longer than 10 minutes.
The problem is that TinyPilot has no real time clock and relies on NTP to set time. Every time the Pi shuts off, its system clock falls behind until it contacts NTP to get the latest time.
If the system time updates in the middle of a TinyPilot update, the time jump forward will fool the update process into thinking that the update has timed out.
Example: https://github.com/tiny-pilot/tinypilot/issues/1392#issuecomment-1571733803
It's probably possible to avoid this by timing out based on a monotonic timer that doesn't change due to system time updates like time.monotonic.
- 主要言語
- Python
- スター
- 3.5k
- フォーク
- 292
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tiny-pilot/tinypilot のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
tiny-pilot/tinypilot#1929 · コメント 3 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
tiny-pilot/tinypilot#1899 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
tiny-pilot/tinypilot#1896 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
tiny-pilot/tinypilot#1882 ·
-
Provide canonical dev setup再び着手できるかも @jotaen4tinypilot が 251 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
tiny-pilot/tinypilot#1876 · コメント 9 件 · 担当者 1 名 ·
tiny-pilot/tinypilot の issue をすべて見る
似ている issue
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
workflow: a tick's dispatch counts as 'only this step', and no review self-grants a round unattendedオープンworkflow
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kristofdegrave/homeassistant-smart-charging#1505 ·
メンテナーはふだん 1 日以内に返信
-
metadata submission
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
canonical/content-cache-operator#163 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[submission]オープンsubmission
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
leanprover/lean-eval-submissions#1852 ·
メンテナーはふだん 1 日以内に返信