In debian/watch no matching files for watch source https://gitlab.com/lava/lava/tags?sort=updated_desc
commit b797602f3ded38f8b288f95f267d73068276af6d Merge: 42c02ba4 a2cae9c6 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 16 13:23:51 2025 +0000 Merge branch 'disable-auto-login' into 'master' Do not try to match login messages when auto-login is disabled See merge request lava/lava!2958 commit a2cae9c6b0b2a70f350bca5fde1a22d14d8ad8ad Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 16 14:26:48 2025 +0200 Do not try to match login messages when auto-login is disabled This can mess-up with the pipeline state when matching a login timeout while auto-login is not configured. commit 42c02ba4df995b1153c99da0b8e0fa4e494f3900 Merge: 62d01756 487b7d36 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 16 07:45:10 2025 +0000 Merge branch 'signal-match-float-directly' into 'master' Convert string to float directly for SignalMatch See merge request lava/lava!2943 commit 62d01756cd0c325862b6d5e7906134bb20abc7c6 Merge: 36455632 b5ac543a Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 15 15:30:32 2025 +0000 Merge branch 'codespell-commit-messages-no-branch-comparision' into 'master' Spell check commits without branch comparison Closes #672 See merge request lava/lava!2726 commit b5ac543af9a994f04920e94e33ca32c52d1ef27e Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu Feb 27 14:59:59 2025 +0000 Spell check commits without branch comparison Instead of pulling the master branch and then spell checking only commits which are different between it and the CI branch simply list last 100 commits and spell check them all. This will eliminate the need for contributors to keep their master branch updated. However, this method also has a few downsides. Someone can sneak in a bad spelling commit by forking old LAVA version and creating an MR from it. LAVA repository currently does not enforce any limits on how old MR source can be. If this happens all new MRs will fail even if their commits will not have spelling issues. In this case the `--since` option of `git log` can be modified to avoid the bad commit. Another issue is that this method can skip type checking commits if their MR has more than 100 commit. However, it is very unlikely that there will be any MR with this large number of commits. commit 487b7d367fd33a7f63460007768a466cfe49b3d9 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Sep 5 14:35:22 2025 +0100 Convert string to float directly for SignalMatch Instead of using `decimal.Decimal` simply call `float` on the string. Using decimal does not give anything as float will lose precision anyway. Originally LAVA was saving Decimal to the output put to make the output YAML serializable it was changed to float in 548e464f6f68040ca5d092a510670ba4194dc152 Also use `.items()` to iterate over keys and values at the same time instead of doing lookups all the time. commit 36455632aeb94a988d341edacf08650546afb623 Merge: bc68f969 e4cdee44 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 15 13:30:09 2025 +0000 Merge branch 'shell-session-no-read-delay' into 'master' Remove delay after read from ShellCommand See merge request lava/lava!2955 commit bc68f969f57d4046657b5ec8ec396e72002fcba3 Merge: ae28e96c 2bd983c1 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 15 13:27:56 2025 +0000 Merge branch 'lava-dispatcher-connection-type-check' into 'master' Type check lava_dispatcher/connection.py See merge request lava/lava!2942 commit 2bd983c1b958f82c009c05993e4bed913ce71a83 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Sep 5 13:51:15 2025 +0100 Type check lava_dispatcher/connection.py `SignalMatch.match` is called with the `match.groupdict()` which has the `dict[str, str | None]` type. Add extra type checking for None. `Protocol.accepts` was missing from the base class. commit e4cdee4473d0a8de30903d8bd9525d7ee87e1de3 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Sep 12 13:27:37 2025 +0100 Remove delay after read from ShellCommand This delay is for multi-threaded Python programs where GIL (global interpreter lock) might not be released between read calls. This could result in other threads being blocked from executing. However, `lava-run` is a single threaded application so this sleep only slows down execution. See: https://github.com/pexpect/pexpect/pull/313 commit ae28e96c745ce7acb3871af21540340caab05d89 Merge: ff3d3caf 962599d8 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 15 06:52:22 2025 +0000 Merge branch 'tests-fix-test-message-race' into 'master' tests: Fix TestBootMessages not closing pexpect.spawn instances Closes #682 See merge request lava/lava!2952 commit ff3d3caf14530a8d00be9a78fdc41a2594861d23 Merge: e162d263 0a3131ff Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 15 06:51:24 2025 +0000 Merge branch 'shell-session-no-send-delay' into 'master' Disable pexpect's builtin send delay as LAVA has its own See merge request lava/lava!2956 commit e162d263685fde083d73fe64e8bea8aa73682384 Merge: ede931bc a8ccac9c Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 15 06:50:07 2025 +0000 Merge branch 'kernel-message-no-trace-sendline' into 'master' Remove unreachable sendline on trace from kernel messages parser See merge request lava/lava!2954 commit 0a3131ff04156b1f16a0b0e6821b4acadf1a11ed Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Sep 12 13:44:59 2025 +0100 Disable pexpect's builtin send delay as LAVA has its own Avoid double sleeping. Make LAVA's delay be the only authority. commit a8ccac9c32108a7b28306de2dd3dfd6cb0e2d2aa Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Fri Sep 12 11:51:35 2025 +0100 Remove unreachable sendline on trace from kernel messages parser This statement would only ever execute if the matched message had the kind set to `trace`. However, ever since 6c2e661296ea83912fafe0eb2fe984b915250822 no message had kind set to `trace` which makes this code unreachable. commit 962599d8ec84a74a70217ff484a8332b1d7c484a Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Wed Sep 10 15:56:30 2025 +0100 tests: Fix TestBootMessages not closing pexpect.spawn instances The issue is that `pexpect.spawn` use threads that sometimes call common functions like `time.sleep`. This can interfere with other unit tests that sometimes replace `time.sleep` with mocks. Add `addCleanup` call to force close connections once the test completes. commit ede931bcc0738c3001b4c876ec1bd5e31d937aa8 Merge: 01d3a91a e6c4d3f5 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 9 13:23:58 2025 +0000 Merge branch 'worker-logging' into 'master' logging: log time in UTC See merge request lava/lava!2950 commit e6c4d3f502c7a322dff9c87a3f15ccc0df0f7c42 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 9 15:17:22 2025 +0200 logging: log time in UTC Fix regression introduced in 2018 (b61a58e522f343041f080d4f1d62093e1322b11b). Using UTC will make reading logs easier. commit 01d3a91a5152baedb953d3962e2e557fa9cc2a1a Merge: 917ad889 95ca242d Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 9 12:54:42 2025 +0000 Merge branch 'fix-cpio-regression' into 'master' Revert "Use null separated filenames for cpio" See merge request lava/lava!2949 commit 95ca242d45611ae210ba1c0ae0adc352c05f8b48 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 9 14:44:08 2025 +0200 cpio: fix regression introduced by be726f94af3f13ca1a8b4c5983aceac812c89724 Remove cpio parameter `-depth` which is apparently not compatible with old u-boot With `-depth`, beaglebone-black and apq8016-sbc-uboot are failing to boot with `Kernel panic - not syncing: No working init found`. Found by lavafed. See https://staging.validation.linaro.org/scheduler/job/397173 vs https://staging.validation.linaro.org/scheduler/job/397157 commit 917ad88979c7b4423d0ca5d1fd2d9a32572cbee2 Merge: 6c80fc90 a68f32bb Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 9 12:49:39 2025 +0000 Merge branch 'action-timeout' into 'master' lava_dispatcher: defer action timeout and job timeout comparison Closes #681 See merge request lava/lava!2948 commit a68f32bb0ef68ab5ebb96c107881a562966d078a Author: Chase Qi <chase.qi@linaro.org> Date: Tue Sep 9 18:26:46 2025 +0800 lava_dispatcher: defer action timeout and job timeout comparison The comparison should be done with the final action timeout not with every levels. Fixes https://gitlab.com/lava/lava/-/issues/681 Signed-off-by: Chase Qi <chase.qi@linaro.org> commit 6c80fc9006637f2290b2c3323c88a3744c4b15d5 Merge: a8667437 5ea63f0b Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 9 08:10:37 2025 +0000 Merge branch 'overlay' into 'master' lava_dispatcher: check job context first for getting constant See merge request lava/lava!2946 commit a866743799b90a83cde668812d15b71c8b18f2f3 Merge: 2d7eb576 862ab529 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 9 07:52:58 2025 +0000 Merge branch 'prepare_guestfs-tmpdir' into 'master' prepare_guestfs: move tmp files into the job tmp dir See merge request lava/lava!2947 commit 862ab529420bac697aef1b56dc4d6db2cee1c2fe Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 9 09:30:47 2025 +0200 prepare_guestfs: move tmp files into the job tmp dir commit 5ea63f0bcacefc9840d62a514fe6ea1a94078aa9 Author: Chase Qi <chase.qi@linaro.org> Date: Tue Sep 9 14:48:40 2025 +0800 lava_dispatcher: check job context first for getting constant This ensures that the constant defined in job context, e.g. lava_test_results_dir, has a higher priority than the one defined in os preset configure. Signed-off-by: Chase Qi <chase.qi@linaro.org> commit 2d7eb576293709a6594b500138989f21955af0a5 Merge: 494f1a8a a34396a9 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Tue Sep 9 06:26:21 2025 +0000 Merge branch 'overlay' into 'master' lava_dispatcher: fix CompressOverlay action for custom lava_test_results_dir See merge request lava/lava!2945 commit a34396a9d6ce2a2dca8b54ee2202f5068c6863e8 Author: Chase Qi <chase.qi@linaro.org> Date: Tue Sep 9 14:04:46 2025 +0800 lava_dispatcher: fix CompressOverlay action for custom lava_test_results_dir When `lava_test_results_dir` is not under root, e.g., `/opt/lava-%s`, `os.path.basename(lava_test_results_dir)` ensures that only the bottom-level dir is archived; while the current code archives `opt/lava-%s` and leads to `FileNotFoundError`. The issue is introduced by 1057c66a3df69d24cd2e80fb7e20f29520c42de8. Signed-off-by: Chase Qi <chase.qi@linaro.org> commit 494f1a8afd0f6f53b44df0d7150964301a210834 Merge: 2f925e28 8d064448 Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 8 13:17:22 2025 +0000 Merge branch 'connection-add-custom-error-parameter' into 'master' Make ShellSession.wait JobError message controllable See merge request lava/lava!2506 commit 2f925e2886531793da1997ba006fd2a7ffb681f3 Merge: ede3df5f 0a5d9c4e Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 8 13:03:45 2025 +0000 Merge branch 'fallback_origin_url' into 'master' download: Fallback to original URL if caching service is unavailable See merge request lava/lava!2867 commit 0a5d9c4e11a6f49bb179ce140bc2eeb31d817bfa Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 8 11:46:20 2025 +0200 Rename fallback_origin_url to http_cache_fallback_origin_url This is consistent with the naming of the other parameters. commit 636f7bcb7a3a03cfc45ef94a28a92b36a59899a9 Author: Andy Sabathier <andy.sabathier@nxp.com> Date: Tue Jul 8 17:29:17 2025 +0200 download: add optional fallback to origin URL when caching system is unavailable If the caching service URL fails (due to timeout, connection error, or non-2xx status), you can now enable a fallback to the original, non-cached URL by setting the fallback_origin_url(default: False) parameter. This prevents hard failures when the cache is down or misbehaving, and improves system resilience — but only if explicitly configured. commit ede3df5f18c7988aed27c1a1138e7ba559cc1381 Merge: 77c7fb26 cb0325df Author: Rémi Duraffort <remi.duraffort@linaro.org> Date: Mon Sep 8 06:30:44 2025 +0000 Merge branch 'dt-multiple-devices' into 'master' lava_scheduler_app: avoid duplicate device records in the device type view See merge request lava/lava!2944 commit cb0325df2441061e5deb0d7c3eb7bc5ca76cf764 Author: Chase Qi <chase.qi@linaro.org> Date: Mon Sep 8 12:11:11 2025 +0800 lava_scheduler_app: avoid duplicate device records in the device type view When multiple tags are added for a device, searching the device on the device type view returns the same device multiple times. One record for each tag. It should be caused by the database join with the `prefetch_related("tags")`. `distinct()` removes duplicate rows and aligns the device type view with devices view that is already using the method. Signed-off-by: Chase Qi <chase.qi@linaro.org> commit 8d064448fddc097cb3b9babff37eb021a79bd8d2 Author: Igor Ponomarev <igor.ponomarev@collabora.com> Date: Thu May 23 18:50:33 2024 +0500 Make ShellSession.wait JobError message controllable Use it for LinuxKernelMessages.parse_failures(). When a kernel panic happens a board can reboot faster than the end of the kernel panic could be printed. This will result the job error becoming "wait for prompt timed out" which is very misleading. Using this new parameter the error message will be "Kernel panic - not syncing" even if matching the end of kernel panic fails. 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
Among the 1 debian patch available in version 2024.09-1.1 of the package, we noticed the following issues: