Fixes for kernel-builder with Debian 11#64
Merged
chucklever merged 7 commits intomainfrom Nov 10, 2025
Merged
Conversation
…ion"
I've observed that the "build kernel on a separate node" tasks are
now failing when my controller is Fedora 42 and the selected target
nodes are running Debian 11. Daniel has confirmed this:
TASK: Install packages we care about [kci-19183690762-181-nvme]
FAILED - RETRYING: [kci-19183690762-181-nvme -> localhost]: Install packages we care about (3 retries left).
FAILED - RETRYING: [kci-19183690762-181-nvme -> localhost]: Install packages we care about (2 retries left).
FAILED - RETRYING: [kci-19183690762-181-nvme -> localhost]: Install packages we care about (1 retries left).
⠀⠀FAILED: [kci-19183690762-181-nvme] => ['Could not detect which major revision of dnf is in use, which is required to determine module backend.', 'You should manually specify use_backend to tell the module whether to use the dnf4 or dnf5 backend})']
Error: : Task failed: Action failed: ('Could not detect which major revision of dnf is in use, which is required to determine module backend.', 'You should manually specify use_backend to tell the module whether to use the dnf4 or dnf5 backend})')
Origin: /data4-xfs/gh/actions-runner/kdevops-ci-0019/_work/kdevops/kdevops/playbooks/roles/bootlinux/tasks/install-deps/redhat/main.yml:8:3
We believe that commit 75f870367e16 ("bootlinux: Update grub on
Debian after installing debs") is the culprit. Revert that commit
so we can find a fix that doesn't break the bootlinux_builder
tasks.
Acked-by: Daniel Gomez <da.gomez@samsung.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Building bindeb-pkg requires the rsync package on some Debian systems. Enabling BTF (as the Debian 11 kernel config does) requires pahole. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This task got lost somewhere. Without artifact_paths, one or more subsequent tasks fail with "undefined variable" when building the Linux kernel on a separate builder node. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
packages.yml handles kernel RPM installation already. Now add similar support for installing kernel debs on Debian systems. Generated-by: Claude AI Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Unlike the kernel RPMs built by bin-rpmpkg, the Debian debs do not update the grub configuration. That has to be handled explicitly. Generated-by: Claude AI Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Commit 434df33 ("workflows: linux: remove explicit inventory in ansible wrappers") added "--limit 'baseline:dev' to the bootlinux Makefile invocation to exclude localhost from the list of hosts that get a kernel update. This, however, excludes the nfsd host. When it is part of a test workflow, NFSD needs to get the test kernel too. I tried adding nfsd to [baseline], but then "make nfstest" set up the test programs on the nfsd host as well as the clients. Fixes: 434df33 ("workflows: linux: remove explicit inventory in ansible wrappers") Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
When running "make pynfs" in the current directory, I get to the "Install pynfs build dependencies" task, which fails with the message "No package matching 'python3-standard-xdrlib' is available". The test system is running Debian 11. Python 3.13 removed xdrlib (PEP 594), and we recently adjusted install-deps/redhat/main.yml to accommodate that. I found that the xdrlib module is already part of Python 3.9's standard library on Debian 11. The package python3-standard-xdrlib doesn't exist on Debian 11 because xdrlib is included by default. Remove the python3-standard-xdrlib package and adopt the solution used by install-deps/redhat/main.yml, which is to pull in xdrlib3 when xdrlib is not included in the standard Python library (this should be only on Debian 13). Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I finally have a need to use Debian instead of a Red Hat-based OS on my test runners. This means that the bootlinux_builder implementation I did for RHEL/Fedora needs to be completed so that Debian works too. This series does that and throws in a few fixes for running NFS-related workflows on Debian 11.