No, you patch I've mentioned failed in "cache-deb-src" task, but in
NoCrossTest.test_nocross_rpi_debsrc, and with a different error:
[stdlog] 2025-03-07 12:48:01,379 avocado.test INFO | | DEBUG: Executing
shell function cache_deb_src
[stdlog] 2025-03-07 12:48:01,379 avocado.test INFO | |
[stdlog] 2025-03-07 12:48:01,379 avocado.test INFO | | W: Unable to
read directory
/workspace/build/isar_ub_devel/119/build/tmp/work/raspios-bookworm-
armhf/isar-image-base-rpi-arm-v7l/1.0-
r0/rootfs/var/cache/apt/archives/partial
[stdlog] 2025-03-07 12:48:01,379 avocado.test INFO | | Reading package
lists...
[stdlog] 2025-03-07 12:48:01,379 avocado.test INFO | | E: Can not find
version '2023.3+deb12u1' of package 'debian-archive-keyring'
[stdlog] 2025-03-07 12:48:01,379 avocado.test INFO | | E: Unable to
find a source package for debian-archive-keyring
>
> Would you be able to send a full CI log?
>
Attached archive with both logs:
isar_ub_devel_119: full CI logs with "deb-dl-dir: remove
excessive calls to dpkg-deb in debsrc_download" applied.
isar_ub_devel_fast_214: fast CI logs with "image: move deb-src-
caching functionality after image creation" applied.
Some additional info.
For the latest patch, I tried to debug it:
- added `BASE_REPO_FEATURES = "cache-deb-src"` to local.conf (that is
the line CrossTest.test_cross_debsrc test adds; the line was removed in
the followed tests).
- chrooted to "isar-image-ci-qemuarm64" rootfs, where error happend.
- executed "apt-get -y --download-only --only-source source gcc-
12=12.2.0-14 download-src" - the same that failed in CI.
Result:
```
# apt-get -y --download-only --only-source source gcc-12=12.2.0-14
download-src
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list
```
At the same time, sources.list looked fine:
```
# cat /etc/apt/sources.list.d/bootstrap.list
deb
http://deb.debian.org/debian bookworm main contrib non-free-
firmware non-free
deb-src
http://deb.debian.org/debian bookworm main contrib non-free-
firmware non-free
deb
http://deb.debian.org/debian-security bookworm-security main
contrib non-free-firmware non-free
deb-src
http://deb.debian.org/debian-security bookworm-security main
contrib non-free-firmware non-free
deb
http://deb.debian.org/debian bookworm-updates main contrib non-
free-firmware non-free
deb-src
http://deb.debian.org/debian bookworm-updates main contrib non-
free-firmware non-free
```
After executing "apt-get update" in this chroot, error gone.
It looks like despite proper sources list, internal apt cache was not
complete and didn't know anything about "deb-src" records. Why - I
still don't clearly understand.
> >
> > > > Many thanks,
> > > > Srinu
> > > >
> > >
> > > --
> > > Best regards,
> > > Uladzimir.
> >
>
> --
> Cedric Hombourger
> Siemens AG
>
http://www.siemens.com/
--
Best regards,
Uladzimir.