In debian/watch no matching files for watch line https://gitlab.com/lava/lava/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.*
commit 51e5a58494b226c266d1fe6b189b0d014e4e1e2f Merge: b04f9308 5ea78294 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Jul 15 16:00:56 2025 +0000 Merge branch 'lava-common-type-checks' into 'master' Type check lava_common/*.py files See merge request lava/lava!2872 commit b04f93083ef9e19ff84fc1f34c6a90b47794194b Merge: c27a282c ed71f255 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Jul 15 15:56:37 2025 +0000 Merge branch 'ci-mypy-use-bash-arrays' into 'master' ci: Use bash and its arrays for mypy shell script See merge request lava/lava!2874 commit 5ea782942d737e54671b63923211b2fa92c08b34 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 14 16:56:18 2025 +0100 Type check lava_common/jinja.py The existing type checks already worked. commit d49907f2f7241ceb4e553e74f806ede39b38c227 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 14 16:15:40 2025 +0100 Type check lava_common/converters.py The `JobIdConverter` class is used by django internally so its type hints aren't really relevant. Type everything with Any. commit 10c8d998341a659e7f8f9459c8559da3a59ad41f Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 14 15:25:23 2025 +0100 Type check lava_common/utils.py All functions take a string and return a string. commit a068d66c18d4be2428ce8d6a9716e0d39a90a471 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 14 15:04:45 2025 +0100 Type check lava_common/yaml.py Fix type checked branch not importing the `SafeDumper`. commit 44736b863b10a5c6fa3463411a801c44354c1d90 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 14 11:45:46 2025 +0100 Type check lava_common/worker.py `sentry_sdk` module has its own native type hints. https://github.com/getsentry/sentry-python/commit/e2aabc1005747fb2e7147c57ae16dd326bf769f3 commit 15cf81adb9f6ae7e71e940d6121823317b8c439b Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 14 11:34:03 2025 +0100 Type check lava_common/version.py commit 5c9cc7b0cd7e35dc0ef242ea5a19459417d80a85 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 14 11:26:31 2025 +0100 Type check simple lava_common files Those files do not need any type annotations because they consist of simple variable and class declarations. commit 3ed11637ac9ed29912d2c78710071385cb380183 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 14 11:19:12 2025 +0100 Type check lava_common/decorators.py This file contains a simple decorator which should return the same type that it was called with. commit ed71f255bc9185a6f065373e6f688330223c4615 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Tue Jul 15 15:49:49 2025 +0100 ci: Use bash and its arrays for mypy shell script Bash supports the arrays which means the list of files to check can be defined with each file on a line. This makes it much easier to have different merge requests add different files to the list. Without arrays a single line has to be modified by multiple merge requests which creates nasty merge conflicts. commit c27a282c20dd7264074c7dc63381fab71481d064 Merge: 8b28dfe4 c69bf4a0 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Jul 15 14:40:52 2025 +0000 Merge branch 'logger-close' into 'master' Ensure job logger handlers are properly closed See merge request lava/lava!2865 commit 8b28dfe42f279521e33ad379d174ea5affcc26c5 Merge: d74fc2ff 93a4b870 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Jul 15 14:38:34 2025 +0000 Merge branch 'lava-dispatcher-utils-containers-deferred-annotations' into 'master' Use deferred typing annotations in lava_dispatcher.utils.containers See merge request lava/lava!2846 commit d74fc2ffc0c84ccddc27f0973a5753c0b6f2852d Merge: 80db96c4 a9a61272 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Jul 15 14:36:39 2025 +0000 Merge branch 'improve-logger-debugging' into 'master' lava_common: record log post result for debugging See merge request lava/lava!2866 commit 80db96c4b1e3bbcfd2c025a8928258820646ba39 Merge: ee30b0e9 e8e04b19 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Jul 15 13:32:47 2025 +0000 Merge branch 'lava-timeout-improve-type-checking' into 'master' Improve Timeout class type checking See merge request lava/lava!2873 commit ee30b0e976ceb6132a323ac7e987e82fd331825a Merge: bbb74ad8 024c90bf Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Jul 15 13:31:03 2025 +0000 Merge branch 'add-socket-timeout-in-multinode-protocol' into 'master' Add socket timeout in multinode protocol See merge request lava/lava!2859 commit e8e04b1945b5035378620be44b0d79a638ddcfd2 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Tue Jul 15 11:53:25 2025 +0100 Improve Timeout class type checking Use `X | None` instead of `Optional[X]`. This is a new syntax but it won't be evaluated on Debian 11 because of `from __future__ import annotations`. `can_skip` method: Add a type ignore for returning Any. This can only be fixed once action parameters are typed. Make `action_max_end_time` parameter take a float or a None. Chaining timeouts is very common which means a yield type of float will be used to as `action_max_end_time` of another timeout. The root timeout of the job will be called with None. Add extra check to the if statement to prevent the action being called with the parent action but without `action_max_end_time` float value. commit a9a61272ca26ac157b919aa8a972c3d04ffbb08d Author: Chase Qi <chase.qi@linaro.org> Date: Tue Jul 8 18:19:52 2025 +0800 lava-run: preserve the job log file until the job is finished Signed-off-by: Chase Qi <chase.qi@linaro.org> 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 3406bfd86a9759079e670005fbca9ea699080c4c Author: Chase Qi <chase.qi@linaro.org> Date: Tue Jul 8 17:56:57 2025 +0800 lava_common: record log post result for debugging Signed-off-by: Chase Qi <chase.qi@linaro.org> commit c69bf4a03c03ec4e82ce5b5cf9ac33fdb06951b8 Author: Chase Qi <chase.qi@linaro.org> Date: Mon Jul 7 17:08:04 2025 +0800 Ensure job logger handlers are properly closed Signed-off-by: Chase Qi <chase.qi@linaro.org> 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 024c90bf55b30f09df966f58decd917313a11364 Author: Jean-Marc BOUCHE <jean-marc.bouche@st.com> Date: Thu Jul 3 18:48:13 2025 +0200 socket.timeout is deprecated for TimeoutError Reference: https://docs.python.org/3/library/socket.html#socket.timeout 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 d3c6b71911afaeb1edcdf61ed015328493375136 Author: Jean-Marc BOUCHE <jean-marc.bouche@st.com> Date: Thu Jul 3 10:00:16 2025 +0200 Add socket timeout in multinode protocol Signed-off-by: Jean-Marc BOUCHE <jean-marc.bouche@st.com> 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 93a4b8702e86a5f4a285875cfa3e8b29242eb7b8 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Jun 19 13:42:22 2025 +0100 Use deferred typing annotations in lava_dispatcher.utils.containers This means the `job: Job` can be used instead of `job: "Job"`. 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.
Among the 1 debian patch available in version 2024.09-1.1 of the package, we noticed the following issues: