In debian/watch no matching files for watch source https://gitlab.com/lava/lava/tags?sort=updated_desc
commit 77c7fb26df034e2ffdcef6e8f8c9a0d2957762ba Merge: 7b54c392 1057c66a Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri Sep 5 13:56:43 2025 +0000 Merge branch 'compress-overlay-no-chdir' into 'master' Do not switch working directory when running CompressOverlay See merge request lava/lava!2818 commit 1057c66a3df69d24cd2e80fb7e20f29520c42de8 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jun 2 15:58:13 2025 +0100 Do not switch working directory when running CompressOverlay Switching working directory is very thread unsafe and can lead to hard to diagnose bugs. Instead use the second argument to `tar.add` to specify the name the file will be archived under. Use `os.path.abspath("%s/%s" % (location, lava_test_results_dir))` to calculate the overlay working directory same as in other actions. The lava directory name used in archive can be calculated using `os.path.relpath(lava_path, location)`. This can handle situations where lava directory is not a root directory. commit 7b54c392bf89d595cba7b585080cc778bc84ebb3 Merge: f85dfe81 b21011d4 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri Sep 5 13:41:59 2025 +0000 Merge branch 'tests-add-compress-overlay-test' into 'master' tests: Add CompressOverlay test See merge request lava/lava!2941 commit b21011d4305323f4a8b2581251e8941c571d7f64 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Sep 5 12:34:15 2025 +0100 tests: Add CompressOverlay test Run the CompressOverlay to create the tar file and check its contents. commit f85dfe81deff3dd59159df38ce1aa809d9391d98 Merge: 0bea433f 24ea35f0 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri Sep 5 09:45:18 2025 +0000 Merge branch 'multinode-patch' into 'master' Skip collate, if 'ack' got from lava-coordinator See merge request lava/lava!2450 commit 0bea433fe8781b85bc9fe05685328db53a2bbd3d Merge: 8567d1fd b587da78 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri Sep 5 09:20:03 2025 +0000 Merge branch 'allow_cache_skip' into 'master' kisscache: more fined strategy to control the cache use See merge request lava/lava!2778 commit 8567d1fd8b2474c3648ee6063203ec694487b651 Merge: dbce927d 21bd91ab Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri Sep 5 09:08:24 2025 +0000 Merge branch 'fix-regression' into 'master' Fix regressions introduced by a60fedbef91 See merge request lava/lava!2940 commit 21bd91abf854fcdcb15381e6b42b27d61b8bb95e Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri Sep 5 11:02:46 2025 +0200 Fix regressions introduced by a60fedbef91 Found by meta-lava, see https://gitlab.com/lava/meta-lava/-/jobs/11253596619 1. Missing format argument in exception handler 2. stdout/stderr capture in subprocess.run commit dbce927d756f8660154ae15a65fe2a34d4063637 Merge: ee956478 9d8838b7 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri Sep 5 07:56:46 2025 +0000 Merge branch 'build-image' into 'master' lava_dispatcher_host: delete all related docker images on custom image build failure See merge request lava/lava!2939 commit ee95647878022f5e06590d6e664b5825bb799070 Merge: 3c6d1a6d c6ca6c3e Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri Sep 5 07:55:40 2025 +0000 Merge branch 'tftp-downloads-schema-tests' into 'master' tests: polish tftp deploy path suffix See merge request lava/lava!2938 commit b587da78b2ef22e9fc88a2469fb4df3055972cff Author: Larry Shen <larry.shen@nxp.com> Date: Fri Sep 5 15:14:00 2025 +0900 Describe new http cache rules Signed-off-by: Larry Shen <larry.shen@nxp.com> commit a5a37e0956e5fde4d0c740a004c879205f7808d9 Author: Larry Shen <larry.shen@nxp.com> Date: Fri Sep 5 15:04:35 2025 +0900 tests: add http_cache test Signed-off-by: Larry Shen <larry.shen@nxp.com> commit 5e41021621a4ae20e60ab37c241322171d3b7314 Author: Larry Shen <larry.shen@nxp.com> Date: Fri Sep 5 14:40:41 2025 +0900 kisscache: add http cache rule to enable fined strategy `http_cache_include_rules`: if specified, only url matched will use cache even cache service enabled `http_cache_exclude_rules`: if specified, url matched will be skipped even cache service enabled Signed-off-by: Larry Shen <larry.shen@nxp.com> commit c6ca6c3e39d07b8865b473a6a0cfbae3a13c1b56 Author: Chase Qi <chase.qi@linaro.org> Date: Tue Sep 2 07:33:03 2025 +0000 tests: polish tftp deploy path suffix Signed-off-by: Chase Qi <chase.qi@linaro.org> commit 9d8838b78d0c47075738dbae65a6559b5f80d88c Author: Chase Qi <chase.qi@linaro.org> Date: Thu Sep 4 17:15:32 2025 +0800 lava_dispatcher_host: delete all related docker images on custom image build failure When lava-docker-worker fails to build the custom docker image, remove all related docker images to fix potential image corruption. Signed-off-by: Chase Qi <chase.qi@linaro.org> commit 3c6d1a6d0c57c1b8b61387966d00c5e1e7f772b7 Merge: f8248c80 d6c2f838 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 14:25:32 2025 +0000 Merge branch 'debian-13-install-docker-cli-unit-tests' into 'master' Install docker-cli package for Debian 13 unit tests See merge request lava/lava!2937 commit d6c2f838065b4408393544b955e2f2c46a846ddc Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Sep 4 15:14:00 2025 +0100 Install docker-cli package for Debian 13 unit tests The `docker` command is no longer included in `docker` package since Debian 13. This results in a few unit tests being skipped. Add `docker-cli` package to Debian 13 unit tests requirements. commit f8248c80064b67ec02d25288c45c42898190c51a Merge: 10bce475 be726f94 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 14:08:08 2025 +0000 Merge branch 'cpio-no-working-directory-switch' into 'master' Avoid switching working directory when using cpio and add tests See merge request lava/lava!2813 commit 10bce4759a60a44b9dface990ba02e254aa7629c Merge: 2fb4932c 9bb481be Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 14:07:36 2025 +0000 Merge branch 'add-debian-13-ci-unittests' into 'master' Add Debian 13 CI stages See merge request lava/lava!2934 commit be726f94af3f13ca1a8b4c5983aceac812c89724 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed May 28 16:03:32 2025 +0100 Use null separated filenames for cpio Otherwise a file with a new line in the name will break the cpio archiving. commit a60fedbef91f6265a8ba6d1e0f416f821a818cee Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed May 28 15:49:28 2025 +0100 Avoid switching working directory when using cpio Switching global working directory is very thread unsafe and can cause difficult to diagnose bugs. Instead use the `cwd=` parameter when invoking `cpio` which will spawn the subprocess in the assigned working directory. Avoid having to call `find` command first and collecting all of its output. Instead spawn `find` subprocess and connect its stdout to `cpio` stdin. commit 9bb481be65d8ddbb0ff51f851ce1c20b86f1962e Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Sep 4 15:02:35 2025 +0100 Completely rename bmap-tools to bmaptool for Debian 13 Looks like just changing `name` value was not enough. commit 0be223da89da1b81f92a0af81fa383d87aa52b75 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Sep 4 11:49:15 2025 +0100 Add Debian 13 CI stages Add 3 stages: 1. Dispatcher unit tests 2. Server unit tests 3. Package build commit c257cb19da7f02b7afd93c2e113d0e88bd34dcb0 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Sep 4 12:43:09 2025 +0100 .gitlab-ci: Add Debian 13 build script commit 9e8ff4cb7faa383be47c5d34dce805582165d54b Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed May 28 15:19:01 2025 +0100 tests: Add cpio test Create an archive from a directory and then unpack it back and check that the file is still in same place. commit 2fb4932ceeeeda8294f25966563035e20211aea9 Merge: f61f2120 ff3fcee5 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 13:28:41 2025 +0000 Merge branch 'debian-13-rename-bmap-tools' into 'master' Rename bmap-tools package to bmaptool for Debian 13 See merge request lava/lava!2935 commit f61f2120a85e7c670221ad1cff40b9ab8204eafd Merge: d263a1e1 96df973d Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 13:26:21 2025 +0000 Merge branch 'lava-server-add-missing-glyphicons-fonts' into 'master' lava_server: Add missing glyphicons font formats See merge request lava/lava!2711 commit ff3fcee5e8ed3114cd8b05857582eeddf4aa3e04 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Sep 4 12:52:44 2025 +0100 Rename bmap-tools package to bmaptool for Debian 13 `bmap-tools` is a transactional package on Debian 13: https://packages.debian.org/trixie/bmap-tools commit d263a1e1b520aa8c587117910a194f312fc9c85d Merge: fc29c43d c0997754 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 13:15:55 2025 +0000 Merge branch 'gitlab-ci-dedupe-build' into 'master' .gitlab-ci: Deduplicate deb build stages using extends See merge request lava/lava!2936 commit fc29c43d9fb6d73035f6449edd4615d2e469530e Merge: 7e5d64ab ae7a0fa7 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 13:14:57 2025 +0000 Merge branch 'pyocd-select-binary-from-class' into 'master' Make FlashPyOCDAction find installed pyocd command (fix Debian 13) See merge request lava/lava!2933 commit 7e5d64abe24a8427f38a99c82092a481f8adace2 Merge: b895cd06 4dc338f5 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 13:06:37 2025 +0000 Merge branch 'wip/adalessandro/uboot-fdt-extra-commands' into 'master' u-boot: Support dynamic device tree update using fdt command See merge request lava/lava!2710 commit c09977542a6e7123e4340345d8d64f8dfaa80f99 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Sep 4 13:42:48 2025 +0100 .gitlab-ci: Deduplicate deb build stages using extends The two existing stages were copies of each other except for image used. Create a new template stage `.debian_build` and use `extends` for each build stage. commit 96df973df087cf6c8202571ccb093b5722f04a82 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Sep 4 12:25:37 2025 +0100 Revert "css: remove missing fonts" This reverts commit 2ba0a1b2e79cad455b466c56f422f8dd1b87b875. commit a6b0b40d76459bd4a54db5512f6e7e96bbf2c3e4 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Feb 3 15:34:32 2025 +0000 lava_server: Add missing glyphicons font formats When those fonts were added to LAVA source tree in e4b39c38b7a66b4a16236bcaff09a06517b509f6 only `.woff` and `.woff2` font files were added. All modern browsers can use those formats so were never had been an issue with compatibility. However, some bootstrap library files reference the alternative font formats. This becomes an issue then the `collectstatic` django command is used because it looks through all the static files and tries to rewrite references. I extracted the Debian 12 package and added the missing `.svg`, `.eot` and `.ttf` fonts. It seems like the original `.woff` files were also copied from Debian packages and match the files from the recent Debian package. https://packages.debian.org/bookworm/fonts-glyphicons-halflings commit 4dc338f55ec3316826bc40c806b3f27d3af42174 Merge: ed4c9960 b895cd06 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 11:21:38 2025 +0000 Merge branch 'master' into 'wip/adalessandro/uboot-fdt-extra-commands' # Conflicts: # etc/dispatcher-config/device-types/mt8365-genio-350-evk.jinja2 commit ae7a0fa7867deac456af10286133b92597361171 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed Sep 3 15:37:00 2025 +0100 Make FlashPyOCDAction find installed pyocd command (fix Debian 13) The issue is that in Debian 13 the `pyocd-flashtool` command was removed and in Debian 12 `pyocd flash` is not available. This makes it difficult to set a default in the device type template. Instead set the template defaults to None and make the class find the installed `pyocd`. This makes it compatible on both Debian 12 and 13. commit b895cd062ce0834212e074a743231104250b924c Merge: 6b26453c 102332ff Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 11:07:25 2025 +0000 Merge branch 'boot-cmsis-type-bind-namespace-data' into 'master' Type bind namespace data in lava_dispatcher/actions/boot/cmsis_dap.py See merge request lava/lava!2913 commit 6b26453cd453587cc811a60063e5a59caacdb978 Merge: f252464f 99c0219b Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 11:05:47 2025 +0000 Merge branch 'gitlab-ci-switch-anchors-to-extends' into 'master' .gitlab-ci.yml: Use extends instead of YAML anchors See merge request lava/lava!2777 commit 102332ff5b3fe7611d29037c7369348eed134189 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed Aug 20 16:15:53 2025 +0100 Type bind namespace data in lava_dispatcher/actions/boot/cmsis_dap.py The `get_namespace_data` can return None. Add a check so that None does not get inserted in to the file list. commit 99c0219b491d4d6e3f6e725c6d66d38a3a579458 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed Apr 16 17:44:27 2025 +0100 .gitlab-ci.yml: Use extends instead of YAML anchors Gitlab documentation recommends using the `extends` keywords where possible instead of YAML anchors. https://docs.gitlab.com/ci/yaml/yaml_optimization/ `extends` supports multiple inheritance and cross file includes which might be useful in the future. commit f252464f2881297137846931dcae58bfb180779b Merge: 06cd7416 2fde0770 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 08:28:21 2025 +0000 Merge branch 'boot-strategy-type-check' into 'master' Type check lava_dispatcher/actions/*_strategy.py files See merge request lava/lava!2917 commit 06cd7416428d1e55e4245b0407f8fb15dbd50e26 Merge: 9be0d213 b09c6b1b Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 07:30:59 2025 +0000 Merge branch 'debian-13-add-test-scripts' into 'master' Add Debian 13 CI test scripts See merge request lava/lava!2931 commit 9be0d213cfabe4b211024e37282e449323b59141 Merge: 0ad98314 7d98da4b Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 07:30:54 2025 +0000 Merge branch 'fix-has-calls-invalid-assert' into 'master' Fix 'has_calls' is not a valid assertion See merge request lava/lava!2930 commit 0ad9831473cf700ca87f60e01431fa256b0a941c Merge: 60a7d0cb a1b10d48 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Sep 4 07:29:27 2025 +0000 Merge branch 'fix-debian-13-tap13-missing-more-itertools' into 'master' Install python3-more-itertools for TAP13 support on Debian 13 See merge request lava/lava!2932 commit a1b10d488067cfb931a1fb9a7d2fed896a25b7d1 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed Sep 3 12:59:33 2025 +0100 Install python3-more-itertools for TAP13 support on Debian 13 `python3-tap` only enables TAP13 support if both `yaml` and `more_itertools` Python modules can be imported: https://github.com/python-tap/tappy/blob/ababbdc90cdac23d8137017aa6ce282c5216e7e9/src/tap/parser.py#L11 `python3-yaml` should already be a dependency through `lava-common`, however, it looks like the transitive dependency on `python3-more-itertools` was lost in Debian 13. Add an explicit dependency for lava-server package. commit 7d98da4b24e56c688357d044898941bd3d120e8b Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Tue Sep 2 16:40:34 2025 +0100 Fix 'has_calls' is not a valid assertion The proper name is `assert_has_calls`: https://docs.python.org/3.11/library/unittest.mock.html#unittest.mock.Mock.assert_has_calls This does not raise issues on Debian 12 but does cause an error on Debian 13. The `write` method is actually from `Zipfile().__enter__()` not `ZipFile.write`. commit b09c6b1b6fef546a3478672f4bbfd066a8a52e84 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Tue Sep 2 16:07:31 2025 +0100 Add Debian 13 CI test scripts This is needed to enable Debian 13 images in `ci-image` repository. commit 60a7d0cbc0b25311cfdce5bccdb695fdd9a99cb3 Merge: b63f920f 61af97e1 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 14:44:36 2025 +0000 Merge branch 'lava-action-3-11-type-hints' into 'master' Type hint lava_dispatcher/action.py using Python 3.11 features See merge request lava/lava!2883 commit 2fde0770d5fd9455b3201890a91ca7e9efeae028 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Aug 22 16:20:32 2025 +0100 Type check lava_dispatcher/actions/*_strategy.py files Use `dict[str, Any]` for device and parameters variables. LavaTestStrategy and its subclasses require `# type: ignore[override]` because `action` has incompatible signature to base class. commit b63f920f19e071f747f3ae02f56317f00f7a8a5b Merge: e49bc17a 52ccffae Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 14:39:43 2025 +0000 Merge branch 'multinode-mixin-subclass-action' into 'master' Make MultinodeMixin a proper subclass of Action See merge request lava/lava!2843 commit e49bc17a325886d0b67e9c748cdbf00af7bcf220 Merge: 9446ef8c 123a98f7 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 14:38:31 2025 +0000 Merge branch 'webui-enhancement' into 'master' lava_scheduler_app: add `Last Job` column to `tables.DeviceTable` See merge request lava/lava!2852 commit 9446ef8c77d7761bcb7b3afe11eaaeb2fd489c23 Merge: aea52337 08818a5d Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 14:31:55 2025 +0000 Merge branch 'add-debian-13-support' into 'master' Add support for Debian 13 (trixie) dependencies See merge request lava/lava!2929 commit 52ccffae569599fc60de56250d5e395fe822f4f0 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed Jun 18 15:46:38 2025 +0100 Make MultinodeMixin a proper subclass of Action The class already relied on being a subclass of Action such as using the `self.errors` and other attributes. It was also only ever mixed with other Action subclasses such as `MultinodeDockerTestShell` and `MultinodeTestAction`. commit 08818a5db93c92abec6c8f117078ce199ee32e8f Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Tue Sep 2 13:46:17 2025 +0100 Add support for Debian 13 (trixie) dependencies This is the first step in enabling Debian 13 support. Copy the `unstable` dependencies as there is no divergence at the moment. commit aea52337860fbf3e8c45c9cfa32477c205d2406b Merge: e7b86b34 4d95893d Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 12:35:54 2025 +0000 Merge branch 'zimage-bad-magic' into 'master' device-types: base: add zImage bad magic error See merge request lava/lava!2839 commit e7b86b3474d4e6a948fe79bd984b7dde9ddb3615 Merge: f2a052d3 f0899120 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 12:33:36 2025 +0000 Merge branch 'lava-dispatcher-utils-filesystems-type-check' into 'master' Type check lava_dispatcher/utils/filesystem.py See merge request lava/lava!2919 commit f2a052d3d8e1778d39b5b73ea7a2c0956b514156 Merge: 56e06bce 98d4580f Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 12:31:27 2025 +0000 Merge branch 'git-describe' into 'master' Fix version.py with recent git versions See merge request lava/lava!2928 commit 98d4580f12fb3e0177932d76b65e0d486918155a Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Feb 13 13:16:28 2023 +0100 Fix version.py with recent git versions Signed-off-by: Rémi Duraffort <remi.duraffort@linaro.org> commit f0899120afb00fe461f4a329364156faf0949042 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Aug 28 11:40:04 2025 +0100 Type check lava_dispatcher/utils/filesystem.py The `configobj` and `guestfs` modules are lacking type hints so they have to be marked with `# type: ignore[import-not-found]`. The `magic` module does have type hints. commit 56e06bce1845fa9a9e8b8d9093d1f76fef519012 Merge: 4f23b146 16f7dfc8 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 09:27:59 2025 +0000 Merge branch 'magic-use-new-api' into 'master' Use recent magic module API instead of outdated compatibility one See merge request lava/lava!2918 commit 4f23b146f2fb5b784ac8cf73660577e95edd451f Merge: 0edcfceb 10fc6ef1 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 09:26:25 2025 +0000 Merge branch 'lava-dispatcher-utils-installers-type-check' into 'master' Type check lava_dispatcher/utils/installers.py See merge request lava/lava!2921 commit 0edcfceb99c8e80cd187bc10fdd858b8cb41abcc Merge: f4f0de5a d8c54a9f Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 09:20:26 2025 +0000 Merge branch 'fix-debian-dev-build' into 'master' Fix debian-distro-info: unrecognized option `--bullseye' See merge request lava/lava!2923 commit f4f0de5a34b028c2b3c119d47f6d5722fe588252 Merge: ad5842d1 fcc17ed2 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 09:19:50 2025 +0000 Merge branch 'logs-crash' into 'master' job: fix crash when output.yaml is not json-serializable See merge request lava/lava!2927 commit d8c54a9fa606c280f1dffa65e904c84f57a92473 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Sep 1 14:22:03 2025 +0100 Fix debian-distro-info: unrecognized option `--bullseye' Example of an error: https://gitlab.com/lava/ci-images/-/jobs/11203473684 The old command was: ``` distro-info --release --bookworm ``` `--bookworm` is not a valid argument. The new command is: ``` distro-info --release --series=bookworm ``` Which is a valid command and returns `12`. The bug was caused by the fact that `distro-info --alias` often returns the name back instead of returning the cycle name. The new command is a lot more forward compatible. For example, `distro-info --release --series=duke` correctly returns `15` even though Debian 15 is multiple year away from release. commit fcc17ed2ffac1aa848997b3c049faecff944e303 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 09:47:00 2025 +0200 job: fix crash when output.yaml is not json-serializable commit ad5842d1741dd9a28594c91b8a5b3b1bdc11d233 Merge: 14880d96 5fc7866e Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 07:57:46 2025 +0000 Merge branch 'docker-gunicorn-preload-mode' into 'master' docker: Use gunicorn's --preload mode to optimize memory See merge request lava/lava!2748 commit 14880d963eec15701ed7910022a7065b47400c5f Merge: 1cd354e6 908a8c80 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 07:55:08 2025 +0000 Merge branch 'pylint-debian-13' into 'master' pylint: Use Debian 13 image and fix issues it found See merge request lava/lava!2837 commit 1cd354e6087341cc02a6856810a57b1df194acbd Merge: 41d49ccf a508fdef Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 07:02:37 2025 +0000 Merge branch 'lazy-import-configobj' into 'master' Lazy import configobj module See merge request lava/lava!2920 commit 41d49ccffa1872047639ff443c8477ead0209ac3 Merge: c86eb361 421272cf Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 06:59:39 2025 +0000 Merge branch 'shellcheck-debian-dev-build' into 'master' Fix all issues found by shellcheck in share/debian-dev-build.sh See merge request lava/lava!2924 commit c86eb361ed47427def46259cdf7cc91e95edd9f2 Merge: 393859ae 8fdb2795 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 06:58:16 2025 +0000 Merge branch 'tftp-downloads-schema' into 'master' lava_dispatcher: fix u-boot via tftp with `downloads://` schema See merge request lava/lava!2925 commit 393859ae3e9bb11c8dc89cac22e9360fd2eaf185 Merge: 20625f3c 5f009bd9 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 2 06:47:34 2025 +0000 Merge branch 'testdef-crash' into 'master' testdef: fix crash with invalid yaml See merge request lava/lava!2926 commit 5f009bd9232ea673e738d6a1fb75f7d81fa6a7be Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri Jul 11 09:41:33 2025 +0200 testdef: fix crash with invalid yaml commit 8fdb2795b627a7f02ac49a76ef7bd00c8a4a38f4 Author: Chase Qi <chase.qi@linaro.org> Date: Tue Sep 2 04:45:04 2025 +0000 lava_dispatcher: fix u-boot via tftp with `downloads://` schema * Pass kernel type to boot action to prepare kernel load address * Fix the regression introduced in commit 4d9f0ebdae9ca53baf6633f4a35e716183bd293c. Although tftp/nbd/iso-installer deploy methods do not allow to pass `uniquify` parameter for now, adding the image key to tftp loading path only when the parameter is true should be more robust. Signed-off-by: Chase Qi <chase.qi@linaro.org> commit 421272cf9d4f1df3c8b1012cdbee9f7c88fd84bc Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Sep 1 15:51:13 2025 +0100 Fix all issues found by shellcheck in share/debian-dev-build.sh Lots of missing quotes. Use bash array for `DEBUILD_OPTS` to avoid unexpected expansions. Shellcheck output before changes: ``` In ./share/debian-dev-build.sh line 14: chk=`dpkg-architecture -a$ARCH > /dev/null 2>&1 ; echo $?` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: chk=$(dpkg-architecture -a"$ARCH" > /dev/null 2>&1 ; echo $?) In ./share/debian-dev-build.sh line 16: if [ $chk != 0 ]; then ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$chk" != 0 ]; then In ./share/debian-dev-build.sh line 31: DIR=`readlink -f $OPTARG` ^-------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: DIR=$(readlink -f "$OPTARG") In ./share/debian-dev-build.sh line 53: if [ ! -d ${DIR} ]; then ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ ! -d "${DIR}" ]; then In ./share/debian-dev-build.sh line 54: mkdir ${DIR} ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mkdir "${DIR}" In ./share/debian-dev-build.sh line 59: VERSION=`python3 ./lava_common/version.py |tr - .` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: VERSION=$(python3 ./lava_common/version.py |tr - .) In ./share/debian-dev-build.sh line 66: if [ "${SUITE}" != "unstable" -a "${SUITE}" != "sid" ]; then ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. In ./share/debian-dev-build.sh line 67: RELEASE="$(distro-info --release --$(distro-info --alias=${SUITE}))" ^-----------------------------^ SC2046 (warning): Quote this to prevent word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: RELEASE="$(distro-info --release --$(distro-info --alias="${SUITE}"))" In ./share/debian-dev-build.sh line 71: LOCAL=`git diff | wc -l` ^----------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: LOCAL=$(git diff | wc -l) In ./share/debian-dev-build.sh line 72: if [ ${LOCAL} != 0 ]; then ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "${LOCAL}" != 0 ]; then In ./share/debian-dev-build.sh line 83: LOG=`git log -n1 --pretty=format:"Last change %h by %an on %aD (%s)%n" --no-merges` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: LOG=$(git log -n1 --pretty=format:"Last change %h by %an on %aD (%s)%n" --no-merges) In ./share/debian-dev-build.sh line 84: DATE=`git log -n1 --pretty=format:%aD --no-merges` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: DATE=$(git log -n1 --pretty=format:%aD --no-merges) In ./share/debian-dev-build.sh line 86: NAME=`dpkg-parsechangelog |grep Source|cut -d" " -f2` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: NAME=$(dpkg-parsechangelog |grep Source|cut -d" " -f2) In ./share/debian-dev-build.sh line 106: dch --force-distribution -b -v "${VERSION}+${RELEASE}+${SUITE}" -D ${BUILD_SUITE} "Local developer native build for ${BUILD_SUITE}" ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dch --force-distribution -b -v "${VERSION}+${RELEASE}+${SUITE}" -D "${BUILD_SUITE}" "Local developer native build for ${BUILD_SUITE}" In ./share/debian-dev-build.sh line 116: debuild ${DEBUILD_OPTS} ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: debuild "${DEBUILD_OPTS}" In ./share/debian-dev-build.sh line 121: echo ${LOG} ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "${LOG}" In ./share/debian-dev-build.sh line 127: dcmd ls ${CHANGES} ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dcmd ls "${CHANGES}" ``` commit 20625f3c43c4775014127c656fdf3b0dcd693ba7 Merge: 762071fb 33a3f72d Author: Chase Qi <chase.qi@linaro.org> Date: Fri Aug 29 14:47:39 2025 +0800 Merge branch 'boot-depthcharge-type-bind-namespace-data' into 'master' Type bind namespace data in lava_dispatcher/actions/boot/depthcharge.py See merge request lava/lava!2916 commit 762071fb055467e39e64db866f4f21f533953280 Merge: 5847f19b 7bed87d7 Author: Chase Qi <chase.qi@linaro.org> Date: Fri Aug 29 14:45:46 2025 +0800 Merge branch 'boot-avh-type-bind-namespace-data' into 'master' Type bind namespace data in lava_dispatcher/actions/boot/avh.py See merge request lava/lava!2912 commit 5847f19b3e7e03d4a69ecf57712bfe7e16ef36d3 Merge: 92c26014 44ae771f Author: Chase Qi <chase.qi@linaro.org> Date: Fri Aug 29 12:59:28 2025 +0800 Merge branch 'remove-lava-dispatcher-connection' into 'master' Merge Connection and ShellSession classes See merge request lava/lava!2458 commit 10fc6ef1fb6f0a949d0a44f8dcdd4afacff933a5 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Aug 28 15:37:29 2025 +0100 Type check lava_dispatcher/utils/installers.py Add missing type hints. commit a508fdef3638ce6b22f5830be5d453456f6f8b2e Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Aug 28 13:26:56 2025 +0100 Lazy import configobj module This module is only used for TFTP actions. There is no need to load it if TFTP is not used. commit 16f7dfc871ad75614d3d6b0150ad874ab4128c41 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Aug 28 13:00:56 2025 +0100 Use recent magic module API instead of outdated compatibility one The `magic.from_file` method results in the same string being returned as the old 3 calls. It also has type hints. The old `magic.open` method was only included for compatibility with the old python library shipped by libmagic itself. As far as Debian 11 only the new library has been included in Debian. commit 92c26014ba8a668f72e447529a8c41d8a78d97a1 Merge: 9792f3d4 55b01cc9 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Aug 28 09:45:40 2025 +0000 Merge branch 'wait-jobs' into 'master' lava_dispatcher: allow to cancel jobs when stopping lava worker See merge request lava/lava!2910 commit 44ae771fcbb7ea73a8357c10fa114e7d11ef4c96 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Apr 26 18:53:57 2024 +0500 Merge Connection and ShellSession classes The Connection only user was the ShellSession so just merge all functionality of Connection in to ShellSession and remove it. Remove unused `job` argument from `__init__`. commit 9792f3d454e8c782655f22738cb4a1de0e769acd Merge: a382c370 2f9c9791 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Aug 28 09:41:51 2025 +0000 Merge branch 'invalid-header' into 'master' lava_results_app: strip control characters from test case name See merge request lava/lava!2906 commit 61af97e1ab2e3116e17b49a932bd2adb5090921f Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 21 15:55:30 2025 +0100 Type hint lava_dispatcher/action.py using Python 3.11 features `Optional` is deprecated in favour of `X | None`. `typing.Iterator` is deprecated in favour of `collections.abc.Iterator`. commit a382c370c159eabfd5ef4f2dc7fb0d3babfaf195 Merge: b70e3eeb 93ad77af Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Aug 25 05:52:19 2025 +0000 Merge branch 'lava-dispatcher-utils-compression-type-check' into 'master' Type check lava_dispatcher/utils/compression.py See merge request lava/lava!2878 commit b70e3eeba31a8140ff3fe0d77509f86d51dd1795 Merge: ed2eecf5 6cb74803 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Aug 25 05:51:52 2025 +0000 Merge branch 'fix-link-exist' into 'master' lava-run: remove job temporary directory to start fresh See merge request lava/lava!2902 commit ed2eecf578bc6839e0dbaed63ecf26f830f24f04 Merge: bc8d73c2 a729eb6e Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Aug 25 05:50:40 2025 +0000 Merge branch 'fastboot-sn-detection' into 'master' lava_dispatcher: check if device SN detection is needed in fastboot boot See merge request lava/lava!2904 commit bc8d73c299855a9e84c8fef043e208b247739687 Merge: bf3f0323 5662711e Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Aug 25 05:49:39 2025 +0000 Merge branch 'fix_bcu_cleanup' into 'master' uuu: fix error when do bcu clean See merge request lava/lava!2914 commit bf3f0323a116a56ece363a85dbae017420126920 Merge: bfe8fb7d 4f242f31 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Aug 25 05:48:40 2025 +0000 Merge branch 'rest-job-cancel-404' into 'master' lava_rest_app: fix 500 when canceling a non-existing job See merge request lava/lava!2905 commit 33a3f72da3849a4a2a3ec298a6379d232d172aae Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Aug 22 15:47:51 2025 +0100 Type bind namespace data in lava_dispatcher/actions/boot/depthcharge.py Add checks where None will definitely raise an error. For example, `os.path.dirname(kernel_path)` will raise TypeError if `kernel_path` is None. Use JobError where it is possible for job definition to cause error and LAVABug where it is only possible because of programming error. commit 93ad77af124b00ac2c53db1ffd60017f51484921 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Jul 17 15:34:01 2025 +0100 Type check lava_dispatcher/utils/compression.py Most of the functions were already type hinted. Add missing ones. commit 5662711e35e258a9c3acf6d547ae11e57a8eb641 Author: Larry Shen <larry.shen@nxp.com> Date: Thu Aug 21 13:45:25 2025 +0900 bcu: omit bind mount when run in docker The cleanup of `UUUBootAction` require do additional bcu run, it will raise error if bcu container use bind mount in cleanup as the image maybe already been cleaned up by previous action. Signed-off-by: Larry Shen <larry.shen@nxp.com> commit 256bf2095d0c3051e84ecac9209deefc0f9142ee Author: Larry Shen <larry.shen@nxp.com> Date: Thu Aug 21 13:40:26 2025 +0900 containers: allow disable bind mount for container setup There is suituation e.g. uuu action, when run in container: the uuu tool require the bind mount while the bcu tool doesn't require bind mount. Currently `maybe_copy_to_container` means if run in non-container, don't copy while if run in container, copy it. But still we have different strategys for file mount even in container. Signed-off-by: Larry Shen <larry.shen@nxp.com> commit bfe8fb7dd030f128ce41eb8dfb19180a2a0bc7ad Merge: cd66a351 1d84667d Author: Chase Qi <chase.qi@linaro.org> Date: Thu Aug 21 09:45:45 2025 +0800 Merge branch 'lava-common-log-type-check' into 'master' Type check lava_common/log.py See merge request lava/lava!2877 commit 7bed87d7cba88e9210f42d7b2144fa27f8983970 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed Aug 20 15:57:52 2025 +0100 Type bind namespace data in lava_dispatcher/actions/boot/avh.py Namespace data is only accessed once. Make sure to not assign it to attribute before checking it for None. commit 1d84667dc2459d255ec6ac3a8e58ff8f780e5d54 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Jul 17 13:41:32 2025 +0100 Type check lava_common/log.py Use TypedDict to type hint the dictionaries passed to some of the methods. The `# type: ignore [override]` is required on certain methods because the YAMLLogger overrides the original logging.Logger API with incompatible methods. commit cd66a3512b769dca479988b5aece1b9f414190e2 Merge: b19f2980 d80506f1 Author: Chase Qi <chase.qi@linaro.org> Date: Wed Aug 20 20:04:26 2025 +0800 Merge branch 'lava-dispatcher-utils-vcs-type-check' into 'master' Type check lava_dispatcher/utils/vcs.py See merge request lava/lava!2892 commit b19f29808397538779c933c87498f8261a96b0a8 Merge: b772a3fc 16408b94 Author: Chase Qi <chase.qi@linaro.org> Date: Wed Aug 20 20:01:24 2025 +0800 Merge branch 'lava-dispatcher-utils-decorator-type-check' into 'master' Type check lava_dispatcher/utils/decorator.py See merge request lava/lava!2886 commit d80506f1c908406f062c0f54fe3f432f4ac51586 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 28 16:12:10 2025 +0100 Type check lava_dispatcher/utils/vcs.py commit 16408b94084af0705fa3cd1a8be033e107fdb59e Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Jul 28 16:30:17 2025 +0100 Use @overload for @retry decorator Only when `expected=` option is passed `None` will be added to possible return types.
Among the 1 debian patch available in version 2024.09-1.1 of the package, we noticed the following issues: