Clean up pytest files in /tmp after test runs
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- devops, testing-qa
調査の方向性
The payload names no file in the repository. Start with the Makefile test target and the pytest setup, then check where pytest writes its /tmp/pytest-of-<user> directories. The issue lists three options (an rm after tests, tmpreaper, or a larger /tmp) and no decision has been made, so agree on an approach with maintainers first. Done means a test run leaves no pytest temp directories behind, or the chosen cleanup is documented and works.
索引モデルが issue の本文から書いたものです。
説明
Currently, tests (using pytest) can leave files around in /tmp (~ 800 MiB per pytest directory) which can then lead to /tmp completely running out of space since it is only 4 GiB in total:
jvperrin@supernova:~$ sudo du -sh /tmp/* | sort -h | tail -n 2
872M /tmp/pytest-of-gleeb
2.6G /tmp/pytest-of-dkessler
This has happened several times before, but we should have a better solution than just temporarily cleaning out space again (for instance running a rm of the relevant directory in the Makefile after running tests, or running tmpreaper on these directories periodically).
Additionally, increasing the size of /tmp on supernova would help, but given the size of these pytest outputs (~ 800 MiB per directory), that wouldn't help that much.
- 主要言語
- Python
- スター
- 46
- フォーク
- 106
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ocf/ocfweb のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 58/100
-
fix lab stats page再び着手できるかも @kafu-densha が 94 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
-
use nix to buildオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
似ている issue
-
bug(mcp): handle malformed and partial reranker responses safely対応中かも @KamilEjaz890 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kubeflow/docs-agent#301 ·
メンテナーはふだん 4 日以内に返信
-
Update the demo docsオープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
pulp/pulp_workflow#78 ·
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
pgadmin-org/pgadmin4#10797 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
gcivil-nyu-org/team5-mon-fall26#132 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
gcivil-nyu-org/team4-mon-fall26#291 ·
メンテナーはふだん 1 日以内に返信