kernelci / kernelci/kernelci-core
Adjust parameters passed to kselftest jobs
- Dominant language
- Python
- Stars
- 120
- Forks
- 107
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 21
Description
Currently the set of parameters passed to kselftest suite run in the new system is limited to `job_timeout`, kselftest `collections` and specific `tests` (case name). Following steps should allow extending this set:
1. Make sure that requested parameters are supported in the [`run_kselftest.sh`](https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/tree/tools/testing/selftests/run_kselftest.sh)
2. Add these parameters in the [`kselftest.sh` runner](https://github.com/kernelci/test-definitions/blob/491dd1c8015ae06e22bfb5093a16e34e747a2e48/automated/linux/kselftest/kselftest.sh#L192)
4. Add parameters to the [LAVA test definition template](https://github.com/kernelci/test-definitions/blob/491dd1c8015ae06e22bfb5093a16e34e747a2e48/automated/linux/kselftest/kselftest.yaml#L63)
5. Add parameters to the [LAVA test step template](https://github.com/kernelci/kernelci-core/pull/2417/files#diff-414f5f85bd455fff00c59c1bf9413e06136da37c9635c043fa875efb67e48497R22)
6. Finally set parameters in the [Pipeline configuration](https://github.com/kernelci/kernelci-pipeline/pull/448/files#diff-ee2150cd1504091b3cc4440523177ab60eed7d756009edceb3ba3eb46be1a423R229)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by checking the supported parameters in tools/testing/selftests/run_kselftest.sh. Then trace the existing parameter handling through automated/linux/kselftest/kselftest.sh, kselftest.yaml, the LAVA test step template, and the pipeline configuration referenced in the issue. Done means the requested supported parameters are passed through each layer and set in the pipeline.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell, yaml
- Domain
- ci-cd, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100