Standardize the way kernel's testing modules report results
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
調査の方向性
まず tools/testing/selftests/kselftest_module.h と tools/testing/selftests/kselftest/module.sh を確認し、次に一覧にある lib のテストモジュールと drivers/lkdtm スイートを調査します。これらのモジュールが現在どのようにロード、アンロードされ、結果を報告しているかを、チェックリストで参照されている test_strscpy の変換も含めて比較します。既存のログおよびステータス報告のパターンを文書化し、標準的なアプローチを提案すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
We discussed that all kernel testing modules should use a standard way to report results. The log messages should be informative at the same time. Initially, we need to see which kind of logs are being outputted by the current models. Based on this, better improvements should be suggested.
Non-exhaustive list of test suites using test modules:
bpf, sparc
<skip>
lib
test_bitmap
prime_numbers
test_printf
test_scanf
test_strscpy
lkdm
lkdtm module
lock
test-ww_mutex module
net
test_blackhole_dev
user
test_user_copy
firmware
test_firmware
static_keys
test_static_key_base
test_static_keys
memory-hotplug
memory-notifier-error-inject
drivers
test-drm_mm
fpu
test_fpu
ntb
ntb_msi_test
ftrace
trace-printk
ftrace-direct-too
rust
rust_minimal
rust_print
The kselftest only loads and unloads the module. It doesn't check the status of executed tests to decide if test passed or failed.
These tests can be divided into 2 categories of their dependence:
tools/testing/selftests/kselftest_module.handtools/testing/selftests/kselftest/module.shprovide a standard way to write a test module which can be loaded from kselftest. These modules are found in thelib/. One such example islibtest suite. It 5 tests. Each test just loads the test module and exits successfully. It doesn't check the status of the modules if the module test got passed or failed. Every test module has a separate config option to turn on and off.- The second type of test modules are scattered around the kernel code. They are enabled by separate config options as needed.
lkdtmsuite is one example. Its module is found in thedrivers/lkdtm.
- [] 41eefc46a3a4682976afb5f8c4b9734ed6bfd406 has converted test_strscpy selftest to kunit test. remove strscpy selftest.
- 主要言語
- Python
- スター
- 14
- フォーク
- 32
- 平均マージ
- 13時間 53分
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kernelci/kernelci-project のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
kernelci/kernelci-project#585 ·
-
question sysadmin
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
kernelci/kernelci-project#580 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
kernelci/kernelci-project#579 ·
-
Make sure kunit tests working properly, especially crypto再び着手できるかも @nuclearcat が 183 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
kernelci/kernelci-project#568 · 担当者 1 名 ·
-
Proposal for weekly conference calls (and probably others)再び着手できるかも @nuclearcat が 266 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
kernelci/kernelci-project#562 · コメント 10 件 · 担当者 1 名 ·
kernelci/kernelci-project の issue をすべて見る
似ている issue
-
`image_generation`: `max_retries` is ignored for OpenAI-compatible providers (always 2 retries)対応中かも @ericz7900 が今日担当しました。 オープンllm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
rheeloaded/paperpull#117 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
agenda-tech-brasil/agenda-tech-brasil#1619 · コメント 1 件 ·
-
process
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
pyrite-wiki/pyrite#1036 ·
メンテナーはふだん 1 日以内に返信