In debian/watch no matching files for watch line https://gitlab.com/lava/lava/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.*
commit 7c33f2be53cc7802fee6ec7007c21de6265f9414 Merge: 3250b4a 089d050 Author: Chase Qi <chase.qi@linaro.org> Date: Wed May 21 10:17:38 2025 +0800 Merge branch 'compression-zstd-quiet' into 'master' Capture {de}compression process stderr and append it to exception See merge request lava/lava!2806 commit 089d050ce44e929f823014ba4c5267e21f2503fa Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Tue May 20 11:29:58 2025 +0100 Switch decompression subprocess exception to JobError The most common issue is user specifying the wrong compression method which is job specific. InfrastructureError is be misleading as it is usually used when something is wrong with device or worker hardware. Keep compression subprocess error as InfrastructureError because compression usually happens internally inside the job. For example, when the ramdisk has to be compressed again after adding LAVA overlay. Requested by @chase-qi. commit aaa5cfe6ae49ee54819a0e074d099f1103e67d9b Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon May 19 16:06:16 2025 +0100 Capture {de}compression process stderr and append it to exception If a {de}compression subprocess fails for whatever reason it will usually print the actual reason to its stderr. Previously the stderr of the subprocess was not captured which resulted in it escaping to the lava-run command stderr. This captured output would then be added as a warning to the job details page. This stderr escape also happens with the zstd even if it does not raise any errors as it seems like it print progress to stderr when not attached to a pipe as stderr. Instead use `stderr=subprocess.PIPE` to capture subprocess stderr. When a CalledProcessError gets raised the captured stderr will be added as the `.stderr` attribute. When raising `InfrastructureError` add that stderr to it so that the failure reason would be seen in the raised exception. Move the `try` statement above `with` which will allow for any `OSError` raised by `open` functions to be converted to `InfrastructureError`. Also add unit test to verify the `InfrastructureError` actually gets raised. commit c000fa9e0c44faa0ebfaa4199fda65d09074f9e6 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon May 19 14:40:40 2025 +0100 Use multithreaded zstd {de}compression The `-T0` argument enables multithreaded zstd with an automatic selection of number of threads. commit 004b4b922581fbea57d20dd7568ecfeba2d63881 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon May 19 14:09:16 2025 +0100 Use immutable containers for {de}compression args Instead of having a unit test to check if compression arguments were modified simply use immutable tuple to ensure no modification can occur. commit 38053f6be81bd27f1b0c26ab8e75b9ed927c8c58 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon May 19 13:58:02 2025 +0100 Do not rely on decompression auto naming This is equivalent to the 44c99781a546e7c76a8097ee20b1a0965abf506e but for decompression. While currently no compression algorithm has issues with decompression auto naming it is better to make LAVA have authority over the file names. Also add type hints. The `compression` argument can be None which should result in the file not being decompressed at all. commit 3250b4a1b498116adf7b23903138ad04f4842e84 Merge: bda7db0 7e4a0c6 Author: Chase Qi <chase.qi@linaro.org> Date: Tue May 20 09:53:31 2025 +0800 Merge branch 'fix-device-type-s32g399a-rdb3' into 'master' s32g399a-rdb3: Fix retry for dhcp Closes #678 See merge request lava/lava!2807 commit bda7db0b0c9ed8ec646e53c6d0a1a53daefc6128 Merge: 1b11bc7 1e38a5b Author: Chase Qi <chase.qi@linaro.org> Date: Tue May 20 09:35:40 2025 +0800 Merge branch 'a527-cubie-a5e-rename' into 'master' device-types: rename sun55i-a527-radxa-a5e to new upstream name See merge request lava/lava!2802 commit 7e4a0c6fbd0ba67e4ad51e1b13ba377e5242c4f0 Author: Vincent Guittot <vincent.guittot@linaro.org> Date: Mon May 19 16:38:27 2025 +0200 s32g399a-rdb3: Fix retry for dhcp The 1st TIMEOUT returned by a failing dhcp command is caught by lava which cancels the job before trying the 2nd dhcp command. Remove 'TIMEOUT' from the list of uboot error message and echo a new log 'DHCP failed' after the 2nd try. Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> commit 1b11bc7b1c749dffe69e1ff8ab9dc311469d38d8 Merge: 5fed2b9 44c9978 Author: Chase Qi <chase.qi@linaro.org> Date: Mon May 19 19:15:11 2025 +0800 Merge branch 'compression-do-not-rely-on-auto-naming' into 'master' Do not rely on compression auto naming (fix .zst vs .zstd) See merge request lava/lava!2776 commit 1e38a5b182f0f96fea1f26b597cc675bd7514794 Author: Corentin LABBE <clabbe@baylibre.com> Date: Fri May 16 12:11:18 2025 +0000 device-types: rename sun55i-a527-radxa-a5e to new upstream name The upstream DTB name was renamed during rc cycle. Signed-off-by: Corentin LABBE <clabbe@baylibre.com> commit 44c99781a546e7c76a8097ee20b1a0965abf506e Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed Apr 16 12:18:54 2025 +0100 Do not rely on compression auto naming (fix .zst vs .zstd) The previous code delegated naming the compressed file to the called binary and then assumed it was called `{filename}.{compression_name}`. This worked for `gz` but Zstandard encountered the issue. LAVA expected the `.zstd` suffix but the `zstd` command added `.zst`. This resulted in compressed files being ignored. Fix this issue by not letting the compression binaries pick names. Instead attach the compression subprocess stdout to the correct file opened by LAVA. This means the final file name will be fully controlled by LAVA. Add a unit test to verify that all known compression algorithms will work with stdout being attached to the final file. Add compression binaries packages to unit tests requirements as they might not be installed on the system. commit 5fed2b9cc4e23283923cdb8a501bc91133ff598d Merge: 5173800 8399d5a Author: Chase Qi <chase.qi@linaro.org> Date: Wed May 14 17:29:00 2025 +0800 Merge branch 'fix_bcu_reset_pattern' into 'master' bcu: improve bcu switch pattern detect See merge request lava/lava!2798 commit 8399d5a3563deaba5e35e14d690b97f2d76e74ad Author: Larry Shen <larry.shen@nxp.com> Date: Wed May 14 12:14:59 2025 +0900 bcu: improve bcu switch pattern detect Latest bcu support more parameters e.g. `-keep` when switch to serial download mode, that means both `bcu reset usb` and `bcu reset usb -keep` should be detected in lava. Signed-off-by: Larry Shen <larry.shen@nxp.com> commit 517380020ac073ebce681ac8cbf68bdbbe370090 Merge: 1b0a3fd ccdb80b Author: Chase Qi <chase.qi@linaro.org> Date: Wed May 14 15:37:45 2025 +0800 Merge branch 'fix_dt' into 'master' device-types: update bcu boardname See merge request lava/lava!2799 commit ccdb80b25244cdf7b54fe19491e17817cd1abc8d Author: Larry Shen <larry.shen@nxp.com> Date: Wed May 14 13:22:26 2025 +0900 device-types: update bcu boardname Signed-off-by: Larry Shen <larry.shen@nxp.com> commit 1b0a3fd8ebd23fb77368f74a255906f4b487a8d5 Merge: 7f7f6c4 538995b Author: Chase Qi <chase.qi@linaro.org> Date: Fri May 9 18:42:05 2025 +0800 Merge branch 'depthcharge-allow-commands-override' into 'master' depthcharge: Fix not being able to override boot commands See merge request lava/lava!2749 commit 7f7f6c4bfb7761694d39bb5efaaed277ef8958b7 Merge: 9bd2ac6 76a039f Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Fri May 9 07:02:53 2025 +0000 Merge branch 'flasher-uniquify' into 'master' lava_dispatcher: allow flasher deploy method to pass uniquify parameter See merge request lava/lava!2795 commit 9bd2ac6e0ea0682d5b68aad5a49ee4fa8423dbf1 Merge: 4e49381 8d546a2 Author: Chase Qi <chase.qi@linaro.org> Date: Fri May 9 11:18:43 2025 +0800 Merge branch 'depthcharge-reuse-substitutions-dict' into 'master' depthcharge: Reuse kernel command line substitutions dict See merge request lava/lava!2752 commit 4e49381e0082d9f3c63ffed76d94aac73eb374ae Merge: dc73edd 08f4aa9 Author: Chase Qi <chase.qi@linaro.org> Date: Wed May 7 18:31:19 2025 +0800 Merge branch 'black-reduce-trailing-commas' into 'master' Reduce number of trailing commas See merge request lava/lava!2793 commit 76a039fcca9d70a77ce840781fa93d01267d9fea Author: Chase Qi <chase.qi@linaro.org> Date: Wed May 7 08:19:04 2025 +0000 lava_dispatcher: allow flasher deploy method to pass uniquify parameter In commit 4d9f0ebdae9ca53baf6633f4a35e716183bd293c, the assumption about image path is used with image key is too strong. A flasher script may expect a flat directory structure with a set of images. Although the commit breaks use cases like this, unifying default download behavior probably still is the right way to go. This change allows the flasher deploy method to provide the `uniquify` parameter like below for downloading images to a flat directory. ``` - deploy: to: flasher images: image1: url: https://example.com/image1 image2: url: https://example.com/image2 uniquify: false ``` Signed-off-by: Chase Qi <chase.qi@linaro.org> commit dc73edd8d1816cb546397db1e9d35b93dc7be34c Merge: cd1f0fc 531aaf8 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue May 6 09:07:17 2025 +0000 Merge branch 'pixel-6' into 'master' device-type: add pixel 6 See merge request lava/lava!2792 commit 531aaf868d03a33d97a8f6168be41c8dfa5910c9 Author: Terry Tritton <terry.tritton@linaro.org> Date: Mon Apr 28 13:14:46 2025 +0100 device-types: add pixel 6 (gs101-oriole) commit cd1f0fc5820fc2d0afb43db98bd93a95d0c90378 Merge: e841838 6e9c1fd Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon May 5 09:22:39 2025 +0000 Merge branch 'lava-dispatcher-prefix' into 'master' lava_dispatcher: add LAVA_DISPATCHER_PREFIX to test shell env See merge request lava/lava!2790 commit e8418380a141092ad90fda5caac218de6fb9ae09 Merge: 4d0e154 f81e686 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon May 5 09:21:26 2025 +0000 Merge branch 'docs-artefacts-vs-artifacts' into 'master' docs: Standardize on "artifact" instead of "artifact" See merge request lava/lava!2781 commit 08f4aa9f58e77f1f45f67ff13ffe18db23e7df19 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu May 1 16:12:11 2025 +0100 Reduce number of trailing commas `black` has a `--skip-magic-trailing-comma` option to reformat all code and ignore a trailing comma. Apply this mode where it looks better than currently. commit 6e9c1fd6994704cac04c40932b4a59474aaf9d84 Author: Chase Qi <chase.qi@linaro.org> Date: Wed Apr 30 10:36:31 2025 +0800 lava_dispatcher: add LAVA_DISPATCHER_PREFIX to test shell env When lava dispatcher prefix is set, it is needed in test shell to assemble the relative path for file downloading via http. Signed-off-by: Chase Qi <chase.qi@linaro.org> commit 4d0e154e340d052ffb460576e5d9de495157828b Merge: e70e7c7 b8eb8a9 Author: Chase Qi <chase.qi@linaro.org> Date: Tue Apr 29 19:26:31 2025 +0800 Merge branch 'update_imx943' into 'master' device-types: update bcu_board_name for imx943 See merge request lava/lava!2786 commit b8eb8a9f9fd7365ef96567a4636fce3cabd5a987 Author: Larry Shen <larry.shen@nxp.com> Date: Fri Apr 25 15:48:52 2025 +0900 device-types: update bcu_board_name for imx943 Signed-off-by: Larry Shen <larry.shen@nxp.com> commit f81e6864beebd2e6fcd0365aa4160145083b9179 Author: Emanuele Aina <emanuele.aina@collabora.com> Date: Wed Apr 23 13:11:45 2025 +0200 docs: Standardize on "artifact" instead of "artifact" The "artifact" spelling is in widespread use in British English as well and the docs already uses it in more places than "artefact", so let's make everything a bit more consistent. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com> commit e70e7c7e9f91ac1deeab0d85272f5133cc9477ad Merge: dcc558f eedeeb0 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Apr 24 13:02:37 2025 +0000 Merge branch 'dispatcher-parameter' into 'master' dispcather.yaml: mention the new dispatcher_download_dir variable See merge request lava/lava!2785 commit eedeeb0e423ad0404599bb3e431f06ae453e42a2 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Apr 24 11:33:37 2025 +0200 dispcather.yaml: mention the new dispatcher_download_dir variable commit dcc558f9fe97f4679cce04fec38861d565288587 Merge: 3de3470 dbfb42c Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Apr 24 12:46:35 2025 +0000 Merge branch 's32g399a-rdb3' into 'master' s32g399a-rdb3: Add .jinja2 file in device-types See merge request lava/lava!2784 commit dbfb42cb91874a7a23df3c5ebecabbec265e91e3 Author: Vincent Guittot <vincent.guittot@linaro.org> Date: Wed Apr 23 18:13:26 2025 +0200 s32g399a-rdb3: Add retry for dhcp ethernet@4033c000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! It sometimes happens that PHY fails to setup. In such case, a retry is enough to fix the problem. Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> commit 6643a57269aa6c0462a7405bc763bd8e8adfdd25 Author: Vincent Guittot <vincent.guittot@linaro.org> Date: Wed Apr 23 16:18:15 2025 +0200 s32g399a-rdb3: Add .jinja2 file in device-types Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> commit 3de34706952fb3045f03de6b36cfe667f41180e1 Merge: 1bb3dd6 7393496 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Apr 24 08:31:47 2025 +0000 Merge branch 'sun55i-a527-radxa-a5e' into 'master' device-types: add sun55i-a527-radxa-a5e See merge request lava/lava!2780 commit 1bb3dd6d8174d0c51cf2279ba23913c2efe97099 Merge: 9ec852a 7f40a41 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Thu Apr 24 08:01:05 2025 +0000 Merge branch 'qcs6490-rb3gen2' into 'master' device-types: add 10ms character delays for qcs6490-rb3gen2 See merge request lava/lava!2782 commit 7f40a419a52719739219dbcecb9cf8e8de1bcaeb Author: Chase Qi <chase.qi@linaro.org> Date: Thu Apr 24 15:21:40 2025 +0800 device-types: add 10ms character delays for qcs6490-rb3gen2 Signed-off-by: Chase Qi <chase.qi@linaro.org> commit 7393496b4d2a7bdc731e4bb7f56dbc8585e286bc Author: Corentin LABBE <clabbe@baylibre.com> Date: Tue Apr 22 08:20:34 2025 +0000 device-types: add sun55i-a527-radxa-a5e Signed-off-by: Corentin LABBE <clabbe@baylibre.com> commit 8d546a2246a073aabdb023fe6eb054df7c9fa533 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Mon Mar 24 17:33:01 2025 +0000 depthcharge: Reuse kernel command line substitutions dict Instead of copy pasting the NFS substitutions logic from the `BootloaderCommandOverlay.run()` retrieve the substitutions dictionary it has already saved to the namespace data and use it. Also make the cmdline file creation robust to the missing kernel file. If kernel is not present indicated by missing namespace data skip creating the cmdline file. commit 538995b2b9a0401a7eb0e2be710e2a91ae8fe5c6 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Mar 21 13:43:11 2025 +0000 depthcharge: Fix not being able to override boot commands The issue was `DepthchargeCommandOverlay.validate` always assumed that `commands` parameter can only be a string. However, the job definition allows overriding the boot commands defined by a device dictionary by passing a list to the `commands` parameter. This caused the `DepthchargeCommandOverlay` to raise a `TypeError: unhashable type: 'list'` exception. Add a check to the `validate` method to only fetch the `cmdline` from the device dictionary if the `commands` is a single string. If a list gets passed assume that the `cmdline` is empty.
Among the 1 debian patch available in version 2024.09-1.1 of the package, we noticed the following issues: