Debian Patches
Status for lava/2026.04-5
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001-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 | ||
| 0002-Remove-deprecated-Meta.index_together.patch | Remove deprecated Meta.index_together It is getting removed in Django 5.1: https://docs.djangoproject.com/en/5.1/releases/5.1/#features-removed-in-5-1 It can be replaced with `Index()` but I am entirely sure which query does it help. That index_together was added in c3c9575764347edaf3e5a17bd05b3b1d748b3985 with a message "With this index, loading the main status page is roughly 16 times faster." However, when I check the queries the `scheduler/` does none of them use this index. Instead add 2 new indexes on `state` and `health` columns. These new indexes will help filtering jobs on their health or state. |
Igor Ponomarev <igor.ponomarev@collabora.com> | yes | https://gitlab.com/lava/lava/-/commit/4823f970f1d66f1f4ee13329699785aa1aa1e50c | 2026-03-09 | |
| 0003-Remove-deprecated-BaseUserManager.make_random_passwo.patch | Remove deprecated BaseUserManager.make_random_password Django 5.1 removed BaseUserManager.make_random_password(), causing methods using User.objects.make_random_password() to fail at runtime. Replace it with django.utils.crypto.get_random_string() which provides the same secure random string generation without relying on the removed auth manager helper. |
Christopher Obbard <christopher.obbard@linaro.org> | yes | 2026-05-12 | ||
| 0004-Remove-deprecated-length_is-template-filter.patch | Remove deprecated length_is template filter Django 5.1 removed the length_is template filter, causing templates using long_running|length_is:"0" to fail at render time. Replace it with the length filter and an explicit comparison which provides the same empty list check without relying on the removed template filter. |
Christopher Obbard <christopher.obbard@linaro.org> | yes | 2026-05-12 |
All known versions for source package 'lava'
- 2026.04-5 (sid)
- 2026.04-2~bpo13+1 (trixie-backports)
- 2026.02-3 (forky)
- 2023.01-2 (bookworm)
