Skip to content

Conversation

@chucklever
Copy link
Contributor

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.

…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 <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
@chucklever chucklever merged commit e80f0da into main Nov 10, 2025
22 checks passed
@chucklever chucklever deleted the cel/kernel-builder-fixes branch November 10, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants