KernelCI Weekly Newsletter (Week 3)
Denys Fedoryshchenko <[email protected]> Wed, 15 Jan 2025 13:35:27 +0200
| Newsgroups | dev.linux.lists.kernelci |
|---|---|
| Message-ID | <[email protected]> |
**Summary** This week, we focused on the following: - Enabling full support for the GRUB bootloader, including NFS-rootfs support. - Enabling kselftests on the Aaeon x86 platform. - Fixing kselftest build issues caused by missing environment variables. - Enabling net/kselftest on x86 (amd64) and arm64 platforms. **Sysadmin** Except regular production updates, we have been working on: - Separating storage tokens for Kubernetes build clusters to allow testing of new storage solutions without impacting production. **kci-dev** As kci-dev continues to evolve, we released version 0.1.1. A special thanks to Arisu! We have been utilizing kci-dev for various purposes, and here are some examples of how it can be used: - **Running a Single Test on a Specific Platform in Real-Time** ``` kci-dev checkout --giturl https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -- branch master --tipoftree --jobfilter kbuild-gcc-12-x86-chromeos-intel --jobfilter tast-power-x86-intel --test tast-power-x86-intel -- platformfilter acer-cb317-1h-c3z6-dedede --watch ``` This command checks out the latest kernel from the master branch, builds it with GCC-12, runs the `tast-power` test on the `acer-cb317- 1h-c3z6-dedede` platform, and monitors the results in real-time. Such combinations are often used to verify the consistency of test results on specific platforms. - **Testing a Specific Tree on Staging After Configuration Changes** ``` kci-dev checkout --giturl https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git --branch fixes --tipoftree ``` This command checks out the latest kernel from the `fixes` branch of the `linux-kselftest` repository and builds it with the default configuration. It invokes the same builds and tests as in production when a new revision is pushed to the `linux-kselftest` repository. - **Initiating Bisection (Early Stage)** ``` kci-dev bisect --giturl https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -- branch master --jobfilter kbuild-gcc-12-x86-chromeos-intel --jobfilter tast-power-x86-intel --test tast-power-x86-intel --platformfilter acer- cb317-1h-c3z6-dedede --good 2f27fce67173bbb05d5a0ee03dae5c021202c912 -- bad 2d5404caa8c7bb5c4e0435f94b28834ae5456623 ``` Using this command, we can initiate a bisection on a specific platform and test, while monitoring the results in real-time. The `-- good` and `--bad` parameters correspond to Git commit hashes, following the same procedure as the `git bisect` command. We will share more examples of how to use kci-dev in the next newsletter. **Planned Work** Next week, we plan to update the production server. As a result, there will be some downtime for `storage.kernelci.org` and `docs.kernelci.org`. We will strive to minimize the downtime as much as possible.