public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Zhihang Wei <wzh@ilbers.de>
To: Andreas Naumann <anaumann@emlix.com>, isar-users@googlegroups.com
Subject: Re: [PATCH 0/4] Bootstrap from local isar-apt repo
Date: Wed, 29 Oct 2025 16:37:51 +0100	[thread overview]
Message-ID: <02730cb1-5b8c-4923-a826-56d7ac0015d7@ilbers.de> (raw)
In-Reply-To: <20250812130249.709960-1-anaumann@emlix.com>

Hello,
when testing the patch set on CI, the following test failed:
- citest.py:DevTest.test_dev:  FAIL: Bitbake failed (805.34 s)

Error log follows:
[stdlog] 2025-10-21 09:05:25,524 avocado.app cibuilder L0322 ERROR| 
ERROR: Task 
(mc:qemuarm-bookworm:virtual:sdk:/build/isar_wzh_3_fast/10/meta-isar/recipes-core/images/isar-image-base.bb:do_rootfs_postprocess) 
failed with exit code '1'
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
DEBUG: Executing python function do_rootfs_postprocess
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
DEBUG: Executing shell function rootfs_do_mounts
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
DEBUG: Shell function rootfs_do_mounts finished
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
DEBUG: Executing shell function rootfs_do_qemu
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
DEBUG: Shell function rootfs_do_qemu finished
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
DEBUG: Executing shell function sdkchroot_configscript
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Get:1 file:/isar-apt isar InRelease
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:2 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar InRelease
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:1 file:/isar-apt isar InRelease
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:3 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar Release
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Get:4 file:/isar-apt isar Release [5,060 B]
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:5 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main armhf Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Get:4 file:/isar-apt isar Release [5,060 B]
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:6 http://ftp.de.debian.org/debian bookworm InRelease
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:7 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main all Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:8 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main amd64 Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:9 http://ftp.de.debian.org/debian-security bookworm-security InRelease
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Get:10 file:/isar-apt isar Release.gpg
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:10 file:/isar-apt isar Release.gpg
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:11 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:12 http://ftp.de.debian.org/debian bookworm-updates InRelease
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:13 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US.UTF-8
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:14 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main Translation-en
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:5 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main armhf Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:7 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main all Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:8 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main amd64 Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:11 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:13 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US.UTF-8
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:14 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main Translation-en
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:5 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main armhf Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:7 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main all Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:8 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main amd64 Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:11 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:13 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US.UTF-8
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:14 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main Translation-en
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:5 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main armhf Packages
[stdlog] 2025-10-21 09:06:33,904 avocado.test cibuilder L0320 INFO | | 
Ign:7 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main all Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:8 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main amd64 Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:11 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:13 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US.UTF-8
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:14 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main Translation-en
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:5 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main armhf Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:7 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main all Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:8 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main amd64 Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:11 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:13 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US.UTF-8
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:14 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main Translation-en
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:5 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main armhf Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:7 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main all Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:8 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main amd64 Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:11 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:13 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main 
Translation-en_US.UTF-8
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:14 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main Translation-en
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Err:5 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main armhf Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | |  
  Failed to stat - stat (2: No such file or directory)
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:7 copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm isar/main all Packages
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:6 http://ftp.de.debian.org/debian bookworm InRelease
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:9 http://ftp.de.debian.org/debian-security bookworm-security InRelease
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:12 http://ftp.de.debian.org/debian bookworm-updates InRelease
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:6 http://ftp.de.debian.org/debian bookworm InRelease
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:9 http://ftp.de.debian.org/debian-security bookworm-security InRelease
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Ign:12 http://ftp.de.debian.org/debian bookworm-updates InRelease
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Err:6 http://ftp.de.debian.org/debian bookworm InRelease
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | |  
  Temporary failure resolving 'ftp.de.debian.org'
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Err:9 http://ftp.de.debian.org/debian-security bookworm-security InRelease
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | |  
  Temporary failure resolving 'ftp.de.debian.org'
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Err:12 http://ftp.de.debian.org/debian bookworm-updates InRelease
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | |  
  Temporary failure resolving 'ftp.de.debian.org'
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
Reading package lists...
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
W: Failed to fetch 
http://ftp.de.debian.org/debian/dists/bookworm/InRelease Temporary 
failure resolving 'ftp.de.debian.org'
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
W: Failed to fetch 
http://ftp.de.debian.org/debian-security/dists/bookworm-security/InRelease 
Temporary failure resolving 'ftp.de.debian.org'
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
W: Failed to fetch 
http://ftp.de.debian.org/debian/dists/bookworm-updates/InRelease 
Temporary failure resolving 'ftp.de.debian.org'
[stdlog] 2025-10-21 09:06:33,905 avocado.test cibuilder L0320 INFO | | 
E: Failed to fetch 
copy:/tmp/isar-aptJk76Vv7pNq/debian-bookworm/dists/isar/main/binary-armhf/Packages 
Failed to stat - stat (2: No such file or directory)

You can redo the test on your machine using avocado:
1. Have a clean clone of isar, checkout to branch next and apply your 
patches:
$ git clone -b next https://github.com/ilbers/isar.git
$ cd isar
$ git am /path-to/0001-my-contribution-to-isar.patch
2.Run kas shell, setup CI prerequisites (avocado, qemu) and cleanup:
$ ./kas/kas-container shell kas/isar.yaml --command \
     "rm -rf /work/build/conf && /work/scripts/ci_setup.sh"
3.Run the failed test:
$ cd /work/testsuite
$ avocado run citest.py:DevTest.test_dev$

Best regards,
Zhihang

On 8/12/25 15:02, Andreas Naumann wrote:
> We have a use case where the bootstrapping takes place using the
> contents of the internal isar-apt repo only and not depend on an
> external distro repo. (This does not exclude depending on the
> underlying fileserver).
>
> In order to achieve that, an number of dpkg-prebuilt packages
> are created and deployed to isar-apt before bootstrapping. (out of
> scope for this patchset).
>
> The patchset here is to introduce an option which allows for isar-apt
> to be used instead of a remote distro source repo.
>
> Notes:
> ISAR_USE_CACHED_BASE_REPO was considered but unfortunately is not
> exactly what's needed.
>
>
> Andreas Naumann (4):
>    mmdebstrap: Make use of defined variables
>    mmdebstrap: Include isar-apt in bootstrapping sources
>    mmdebstrap: Allow for DISTRO_SOURCE to be empty
>    mmdebstrap: lock isar-apt while bootstrapping
>
>   meta/classes/bootstrap.bbclass                |  2 +
>   .../isar-mmdebstrap/isar-mmdebstrap.inc       | 37 +++++++++++++------
>   2 files changed, 28 insertions(+), 11 deletions(-)
>

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/02730cb1-5b8c-4923-a826-56d7ac0015d7%40ilbers.de.

      parent reply	other threads:[~2025-10-29 15:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-12 13:02 Andreas Naumann
2025-08-12 13:02 ` [PATCH 1/4] mmdebstrap: Make use of defined variables Andreas Naumann
2025-08-12 13:02 ` [PATCH 2/4] mmdebstrap: Include isar-apt in bootstrapping sources Andreas Naumann
2025-08-12 13:02 ` [PATCH 3/4] mmdebstrap: Allow for DISTRO_SOURCE to be empty Andreas Naumann
2025-08-12 13:02 ` [PATCH 4/4] mmdebstrap: lock isar-apt while bootstrapping Andreas Naumann
2025-10-29 15:37 ` Zhihang Wei [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02730cb1-5b8c-4923-a826-56d7ac0015d7@ilbers.de \
    --to=wzh@ilbers.de \
    --cc=anaumann@emlix.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox