test/command failure with filtered `listxattr` syscall
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
調査の方向性
障害は shell スクリプト tests/dumpdir の 56 行目付近にあり、listxattr が返す ENOTSUP エラーが処理されていません。コミット b23247f87cd6ad818ba381917236c6d0d58de135 で tests/gendir が同じ障害をどう扱っているかと比較してください。完了の条件は、dumpdir が gendir と同様に ENOTSUP のケースを許容すること、そして listxattr をフィルタした場合にテストスイートが通ることです。
索引モデルが issue の本文から書いたものです。
説明
As reported by https://github.com/NixOS/nixpkgs/issues/567933, the test suite does not handle a disabled listxattr syscall.
Specifically the gendir script does handle failures: https://github.com/composefs/composefs/commit/b23247f87cd6ad818ba381917236c6d0d58de135
But the dumpdir script does not:
https://github.com/composefs/composefs/blob/main/tests/dumpdir#L56
This kept working because the gendir never generated extended attributes due to the fallback mentioned above, so listxattr was always empty and so getxattr was never called. But now the listxattr call also throws an ENOTSUP and this failure mode gets triggered.
- 主要言語
- C
- スター
- 694
- フォーク
- 55
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
composefs/composefs のほかの issue
-
Dependency Dashboardオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
-
mkcomposefs: building from a directory silently loses hardlinks対応中かも @cgwalters が 78 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
composefs/composefs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
area:gates bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
InauguralSystems/EigenScript#1782 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fluent/fluent-bit#12579 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
obsproject/obs-studio#14036 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信