lava (2024.09-1.1)
[PTS] [DDPO]
NEW: VCS has unreleased changes: 2025.06-1 > 2024.09-1.1
- Git: https://gitlab.com/lava/lava.git
-
- Branch: master
- Path: debian/changelog
- Repo size: 14299136
- Browser: https://gitlab.com/lava/lava
- Last scan: 2025-07-14 21:37:03+00
- Next scan: 2025-07-16 00:24:00+00
- Debian changelog in Git:
lava (2025.06-1) unstable; urgency=medium
* LAVA Software 2025.06 release
-- Rémi Duraffort <remi.duraffort@linaro.org> Tue, 24 Jun 2025 15:12:27 +0200
- This branch is 42 commits ahead of tag 2025.06
- Git log:
commit bbb74ad8abcbe8157c2675f39815b528cbd0181c
Merge: a3b8d614 02db553f
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jul 10 14:42:03 2025 +0000
Merge branch 'drop-aml-s905d3-cc' into 'master'
Drop aml-s905d3-cc that duplicates meson-sm1-s905d3-libretech-cc
See merge request lava/lava!2871
commit a3b8d614a5411eb8a990cfe492efe746c2641ae3
Merge: c9602e92 2f3a0be4
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jul 10 14:41:29 2025 +0000
Merge branch 'docker-registry-cleanup' into 'master'
docker cleanup: fix gitlab project numbers
See merge request lava/lava!2870
commit 02db553f2e455ed9daa54413ce780f6ab0472f28
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jul 10 16:35:39 2025 +0200
Drop aml-s905d3-cc that duplicates meson-sm1-s905d3-libretech-cc
commit 2f3a0be49f088eba0fbc8c84fb796e138be7da5d
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jul 10 09:26:03 2025 +0200
docker cleanup: fix gitlab project numbers
commit c9602e922f99dce5e98aafc930726ec3a92d4f04
Merge: 09c8aee5 ceace441
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jul 10 12:08:59 2025 +0000
Merge branch 'testcase-extra-none' into 'master'
lava_results_app: fix crash when metadata file is empty for testcase view
See merge request lava/lava!2869
commit ceace441630283ad4b0bae251eaf5e4aa37fd6d0
Author: Chase Qi <chase.qi@linaro.org>
Date: Thu Jul 10 16:03:58 2025 +0800
lava_results_app: fix crash when metadata file is empty for testcase view
0acaecc94f8863fbd8090be334834f99a1153742 fixed the APIs for exporting
results. This change fixes the testcase view.
Signed-off-by: Chase Qi <chase.qi@linaro.org>
commit 09c8aee557f94abc886f0164eddc1acdbd94a99b
Merge: da1b7d89 0acaecc9
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Jul 10 07:31:25 2025 +0000
Merge branch 'fix-results-crash' into 'master'
results: fix crash when metadata file is empty
See merge request lava/lava!2868
commit 0acaecc94f8863fbd8090be334834f99a1153742
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Tue Jul 8 14:49:44 2025 +0200
results: fix crash when metadata file is empty
commit da1b7d8962d97cf48564c4bf3763c98d9fa30394
Merge: 5b78e0cc 85d13aa7
Author: Chase Qi <chase.qi@linaro.org>
Date: Mon Jul 7 18:30:52 2025 +0800
Merge branch 'version-robust-git-call' into 'master'
Make lava_common.version fallback to VERSION file on any git failure
See merge request lava/lava!2841
commit 5b78e0ccf6f9725ff47b5f6b73c2074ae9dd6597
Merge: 7bae5d86 4c6a9edd
Author: Chase Qi <chase.qi@linaro.org>
Date: Mon Jul 7 18:17:53 2025 +0800
Merge branch 'mypy-ci' into 'master'
Add mypy CI stage
See merge request lava/lava!2842
commit 7bae5d8674bb24f47492fa8ef2fbe9c82f4efdcf
Merge: 9f9cae14 bada1e0b
Author: Chase Qi <chase.qi@linaro.org>
Date: Mon Jul 7 18:09:35 2025 +0800
Merge branch 'adding_rock4d_template' into 'master'
Adding Radxa rock 4d device-type template
See merge request lava/lava!2860
commit 9f9cae145f7fd3cf0efc5e3042348149f469d37b
Merge: d2ab7cf5 051c78f3
Author: Chase Qi <chase.qi@linaro.org>
Date: Mon Jul 7 18:06:53 2025 +0800
Merge branch 'am62-mallow' into 'master'
device-types: Add k3-am625-verdin-wifi-mallow
See merge request lava/lava!2864
commit d2ab7cf54e5a454e4239883a95c8039d7b918d2e
Merge: 0fed759e 53855a77
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Sun Jul 6 18:11:14 2025 +0000
Merge branch 'tweaks-job-output-sender' into 'master'
lava_common: remove redundant log post exception handler
See merge request lava/lava!2862
commit 0fed759e0111c6a08ec5e15724670ada1f7cecd2
Merge: 9eada6dc 811a7a1c
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Sun Jul 6 18:10:22 2025 +0000
Merge branch 'log-sender-mp-queue' into 'master'
lava_common: switch to multiprocessing Queue for sending logs
See merge request lava/lava!2863
commit 051c78f39a3b989e3eadceed5c41e742bbe547a6
Author: Mark Brown <broonie@kernel.org>
Date: Sun Jul 6 13:24:50 2025 +0100
device-types: Add k3-am625-verdin-wifi-mallow
This is a Toradex board, it's a carrier with a pluggable module so
there's a whole bunch of variants but this is the one I have.
Signed-off-by: Mark Brown <broonie@kernel.org>
commit 53855a773b366f97960bc6f9b7774c32ef4b62f1
Author: Chase Qi <chase.qi@linaro.org>
Date: Fri Jul 4 20:09:22 2025 +0800
tests: add unit test for log too large to post handler
Signed-off-by: Chase Qi <chase.qi@linaro.org>
commit df1b0b64b81bfb78b4435fd083d96d31160c422c
Author: Chase Qi <chase.qi@linaro.org>
Date: Fri Jul 4 20:06:33 2025 +0800
lava_common: skip return status check on log post exceptions
Signed-off-by: Chase Qi <chase.qi@linaro.org>
commit 699de20d2ea4db86695a87b680bcea66e8536689
Author: Chase Qi <chase.qi@linaro.org>
Date: Fri Jul 4 19:58:02 2025 +0800
lava_common: remove redundant log post exception handler
Since all exception will be captured by the inner `except Exception`
block, the outer exception suppression is redundant now.
Signed-off-by: Chase Qi <chase.qi@linaro.org>
commit 811a7a1cee443f85e8b33cc30112f808300d39ee
Author: Chase Qi <chase.qi@linaro.org>
Date: Fri Jul 4 15:21:44 2025 +0800
lava_common: switch to multiprocessing Queue for sending logs
The pipe buffer is managed by the underlying OS and is not easy to
configure. When the buffer is full, job execution can be blocked.
In contrast, `multiprocessing.Queue` uses a unlimited queue as a
internal buffer and a separate thread to feed the pipe. It helps prevent
job execution from being blocked when logs are not consumed from the
pipe in time.
Signed-off-by: Chase Qi <chase.qi@linaro.org>
commit bada1e0bc00b371d5c35b0135b32b30b142dc9bb
Author: Doug Targett <doug.targett@collabora.com>
Date: Wed Jul 2 10:18:59 2025 +0100
Adding Radxa rock 4d device-type template
commit 9eada6dc81838bee4a43612bc7c30b1f4fc2c8a7
Merge: 9cb9d807 d6ad5928
Author: Chase Qi <chase.qi@linaro.org>
Date: Wed Jul 2 19:36:23 2025 +0800
Merge branch 'fix-init-sentry-sdk-type-hints' into 'master'
Fix init_sentry_sdk return type hints
See merge request lava/lava!2857
commit 9cb9d8070fd542f08556557b220fa7b7b09ccf27
Merge: 7751f7f3 aa721960
Author: Chase Qi <chase.qi@linaro.org>
Date: Wed Jul 2 19:13:06 2025 +0800
Merge branch 'master_fix_link_udev' into 'master'
docker test: rm symlinks in devices list when share_device_with_container
See merge request lava/lava!2849
commit aa72196058fa9737c32a51d82cf45fb2e6f5f8b5
Author: Xiaoxing Liu <xiaoxing.liu@cixtech.com>
Date: Fri Jun 20 17:23:36 2025 +0800
docker test: rm symlinks in devices list when share_device_with_container
Some adb devices appear as symlinks and should not be shared with the
container. This patch skips such devices and logs the decision.
Signed-off-by: Xiaoxing Liu <xiaoxing.liu@cixtech.com>
commit 7751f7f339b45497481ef25d1068922055c104d7
Merge: d37484c6 90cb2e7f
Author: Chase Qi <chase.qi@linaro.org>
Date: Wed Jul 2 10:35:55 2025 +0800
Merge branch 'fix-log-upload' into 'master'
Fix the broken job log uploading pipe
See merge request lava/lava!2858
commit 90cb2e7fcffe88c18bd92b7750f0b2caacb3d855
Author: Chase Qi <chase.qi@linaro.org>
Date: Wed Jul 2 10:27:48 2025 +0800
Fix the broken job log uploading pipe
It is a regression introduced by 975019ec7e205c889924424d7aa4119999cef650.
Now the `run_output_sender` requires the `job_id` as the 5th argument.
Signed-off-by: Chase Qi <chase.qi@linaro.org>
commit d37484c69869bbf27a451077392f96db2e899501
Merge: 08dba3a3 bd1c07e5
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Tue Jul 1 14:20:43 2025 +0000
Merge branch 'null-chars' into 'master'
lava-worker: replace null-characters in stderr and description.yaml
See merge request lava/lava!2856
commit bd1c07e54353add6f0fcd4e9dc1456965398e8f0
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Thu Apr 24 11:32:17 2025 +0200
lava-worker: replace null-characters in stderr and description.yaml
PgSQL refuses to save such characters in the database anyway.
commit d6ad5928d03b47fdb74ae7e43e21b0210ab99e52
Author: Igor Ponomarev <igor.ponomarev@collabora.com>
Date: Tue Jul 1 15:00:55 2025 +0100
Fix init_sentry_sdk return type hints
The `NoReturn` should only be used for function that always raise
an exception. For functions that don't use the `return` statement
`None` should be used because they return it implicitly.
https://docs.python.org/3/library/typing.html#typing.NoReturn
commit 08dba3a3fdfe5d363de686979f6d2fdb4e659a86
Merge: 8505d7a0 975019ec
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Tue Jul 1 12:07:11 2025 +0000
Merge branch 'pass-job-id-to-logs-http-handler' into 'master'
Pass job id to HTTPHandler
See merge request lava/lava!2855
commit 8505d7a0fd6799c03025fe152b50a483664f23e2
Merge: aba4ef87 53171787
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Tue Jul 1 12:06:03 2025 +0000
Merge branch 'magic-lazy-import' into 'master'
Lazy import magic module
See merge request lava/lava!2851
commit 975019ec7e205c889924424d7aa4119999cef650
Author: Igor Ponomarev <igor.ponomarev@collabora.com>
Date: Tue Jul 1 11:48:02 2025 +0100
Pass job id to HTTPHandler
This avoids having to akwardly split and extract the job id from
the URL when the 404 HTTP code is encountered. It also makes it
more future proof if the URL format changes.
Use string as this is what lava-run uses for the job id.
commit 5317178768e39cd050b45a9d9008ae2e6b93965b
Author: Igor Ponomarev <igor.ponomarev@collabora.com>
Date: Mon Jun 23 14:10:36 2025 +0100
Lazy import magic module
It is only used in `is_sparse_image` function. Avoid having it
always be imported as it will slow down startup and increase
used memory.
commit aba4ef87690b2fc9050cdaed3816bf8f9fd9d763
Merge: 3e21a5c9 8c50912d
Author: Chase Qi <chase.qi@linaro.org>
Date: Tue Jul 1 14:56:07 2025 +0800
Merge branch 'job-output-uploader-use-class' into 'master'
Organise job output sender subprocess in to a class
See merge request lava/lava!2660
commit 3e21a5c9a584bb8cb07837e664d6874e415a9140
Merge: 02f06bac 4d6d2213
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Tue Jul 1 06:30:52 2025 +0000
Merge branch 'acer-cpe794-cp714-rex-device-types' into 'master'
device-types: add acer-cp714-1hn-rex and acer-cpe794-1n-rex
See merge request lava/lava!2853
commit 02f06bac9af36d3912ea27ddb153b43d22f4648f
Merge: 23d726de 14473cb4
Author: Rémi Duraffort <remi.duraffort@linaro.org>
Date: Tue Jul 1 06:30:38 2025 +0000
Merge branch 'lazy-import-guestfs' into 'master'
Lazy import guestfs Python module
See merge request lava/lava!2854
commit 8c50912dd62c5582dd7ecf3589a5a9925bf032a7
Author: Igor Ponomarev <igor.ponomarev@collabora.com>
Date: Mon Nov 4 14:11:57 2024 +0000
Organise job output sender subprocess in to a class
Instead of using a giant function with multiple closures and `nonlocal`
use a new class. Use class attributes where the function variables
were used before. All logic is ported as is.
commit 23d726de1e1e23bd4d27338b190995054859c044
Merge: 93b54179 4449e040
Author: Chase Qi <chase.qi@linaro.org>
Date: Mon Jun 30 21:18:49 2025 +0800
Merge branch 'job-errors-partial-index' into 'master'
Create a partial TestCase index to help Job Errors page performance
See merge request lava/lava!2018
commit 14473cb4c2bbb4e2da1ddec037f5c62e0a6eb35a
Author: Igor Ponomarev <igor.ponomarev@collabora.com>
Date: Fri Jun 27 19:06:18 2025 +0100
Lazy import guestfs Python module
Improves startup time and reduces used memory if not used.
commit 4d6d2213c26ddb86e6ff279897a0bcc158781c86
Author: Laura Nao <laura.nao@collabora.com>
Date: Thu Jun 26 16:20:38 2025 +0200
device-types: add acer-cp714-1hn-rex and acer-cpe794-1n-rex
Add device types for the Acer Chromebook Plus Spin 714 and Acer
Chromebook Plus Enterprise Spin 714 karis Chromebooks.
Signed-off-by: Laura Nao <laura.nao@collabora.com>
commit 4449e04003ba71295ae3f9112a235afed93ff261
Author: Igor Ponomarev <igor.ponomarev@collabora.com>
Date: Tue Mar 7 20:13:42 2023 +0600
Create a partial TestCase index to help Job Errors page performance
This index contains only TestCases that passed the metadata string
comparison test. This eliminates the need to scan metadata every
time the page is loaded.
However, this means that the index has to be updated every time
the Job Errors query is changed.
In the commit 927b09f4cfc5409829ac4903aad0ca8cc642793e the string
matching was changed from regex to LIKE. However, it looks like
Django fails to emit proper SQL when creating the partial index
with LIKE method. (it emits double %% percent signs) Reverting
to regex might cause a slightly worse performance but having
and index completely compesates that.
Also change the Job Errors page sorting. The previous
`suite__job__id DESC` sorting had to load all the entries to
memory before sorting because it was sorted on key in a different
table. New sorting uses the TestSuite primary key in descending
order which the new index is ordered by from the TestCase perspective.
Subquery is no longer necessary. The by using `filter()` with cross
relation filter it is possible to create the joins of TestJob on
TestSuite on TestCase. The metadata can then be obtained using
the `F` expression combined with `ExpressionWrapper`.
commit 4c6a9edd227714915d3fd28a88100998eebc927c
Author: Igor Ponomarev <igor.ponomarev@collabora.com>
Date: Wed Jun 18 13:17:53 2025 +0100
Add mypy CI stage
`mypy` is a type checker to verify that the functions and methods
take and return the expected objects. For example, a function might
return None but the code does not verify that case.
To add type checking incrementally keep a list of files that can
be type checked and gradually add new files as type hints are added
to them. Use `--follow-imports=silent` to prevent mypy from printing
errors found in the imported files.
Use `--python-version 3.11` as Debian 12 ships Python 3.11.
commit 85d13aa7969b6064473325f0dbfdbdb230adb51b
Author: Igor Ponomarev <igor.ponomarev@collabora.com>
Date: Tue Jun 17 16:17:17 2025 +0100
Make lava_common.version fallback to VERSION file on any git failure
This fixes the need to have the latest git tags pushed to your
repository.
The fallback was already used when git was not installed or when
run from a non git folder.