Debian Patches

Status for lava/2026.02-6

Patch Description Author Forwarded Bugs Origin Last update
0001-tests-lava_server-Force-per-job-output_dir.patch tests: lava_server: Force per-job output_dir
In this test case TestJob.output_dir resolves to a shared job-output
directory. Because of this, when running `lava-server manage jobs rm`
removing one job also deletes the other job's logs, breaking the
rm-by-age/user/favorite tests.

Patch TestJob.output_dir for this test case to use a per-job directory
(<tmp>/job-output/<job-id>) and save the job's output under that path.
Christopher Obbard <obbardc@debian.org> yes 2026-02-22
0002-tests-Skip-development-container-image-check-on-unsu.patch tests: Skip development container image check on unsupported archs
The development container image test currently hard-fails with
NotImplementedError on any architecture other than x86_64/aarch64 which
causes autopkgtest failures on Debian CI for other arches.

Skip the test when there is no container image for the current
platform.machine().
Christopher Obbard <christopher.obbard@linaro.org> yes 2026-03-01
0003-debian12-Use-__-path-separator-in-tables-accessors-i.patch debian12+: Use __ path separator in tables accessors instead of .
The `.` is deprecated and will be removed in django-tables 3.

Debian 11 only supported the `.`.
Igor Ponomarev <igor.ponomarev@collabora.com> no https://gitlab.com/lava/lava/-/commit/6965322726dcf39839823c9b7630096f8619d02c 2026-02-17
0004-templates-handle-django-tables2-2.9-querystring-tag-.patch templates: handle django-tables2 2.9 querystring tag rename
django-tables2 2.9.0 introduced a breaking change by renaming the
querystring template tag to querystring_replace to avoid shadowing
Django's built-in tag. LAVA's custom tables template still used the
old tag name, causing scheduler views to fail with TemplateSyntaxError
when running with newer django-tables2 versions.

Add a local lava_querystring template tag and switch the custom tables
template to use it instead of django-tables2's querystring tag.

Implement the query string update logic locally so the template remains
compatible across django-tables2 versions without depending on the
upstream tag name.
Christopher Obbard <christopher.obbard@linaro.org> yes 2026-04-13
0005-lava_dispatcher-overlay-skip-copying-SSH-key-when-au.patch lava_dispatcher: overlay: skip copying SSH key when authorisation is inactive

Return early from SshAuthorize.run() when SSH authorisation is not
active before attempting to copy the identity key into the overlay.

The method already treated inactive authorisation as a no-op for
secondary connections but only after copying the private and public
key files. This made the inactive path perform unnecessary work copying
the SSH keys into the overlay when they are not needed.

Treat the inactive case the same as the missing-identity case and
return immediately, avoiding copying keys unnecessarily when no SSH
authorisation is requested.

This also caused the test_docker_test to fail in
tests/lava_dispatcher/actions/test/test_docker_test.py::test_run with

PermissionError: [Errno 13] Permission denied:
/usr/lib/python3/dist-packages/lava_dispatcher/dynamic_vm_keys/lava

due to the permissions of the default SSH key files not be readable by
the user running the test. The test's device dictionary (based on
base-fastboot.jinja2) set SSH as a deployment method but never set the
`authorize` parameter so inherited the default keys.
Christopher Obbard <christopher.obbard@linaro.org> yes 2026-04-13

All known versions for source package 'lava'

Links