All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>,
	"Koch, Stefan" <stefan-koch@siemens.com>,
	"bitbake-devel@lists.openembedded.org"
	<bitbake-devel@lists.openembedded.org>
Cc: "Sudler, Simon" <simon.sudler@siemens.com>,
	"richard.purdie@linuxfoundation.org"
	<richard.purdie@linuxfoundation.org>,
	"Kiszka, Jan" <jan.kiszka@siemens.com>,
	"alex.kanavin@gmail.com" <alex.kanavin@gmail.com>
Subject: Re: [bitbake-devel] [PATCH v3 1/4] fetch2/git: Add support for fast initial shallow fetch
Date: Wed, 26 Feb 2025 10:24:46 +0100	[thread overview]
Message-ID: <D829P08052QS.1AVBHIBJKXZQP@bootlin.com> (raw)
In-Reply-To: <D828Q3C1GEJQ.22EIS7ZR8OKI3@bootlin.com>

On Wed Feb 26, 2025 at 9:39 AM CET, Mathieu Dubois-Briand wrote:
> On Tue Feb 25, 2025 at 6:04 PM CET, Stefan Koch wrote:
> > So far, I can't reproduce the issue using a ubuntu 20.04 container.
> > git clone git://git.yoctoproject.org/poky
> > Patching subdir bitbake/
> > oe-selftest -r devtool.DevtoolUpdateTests.test_devtool_git_submodules
> > bitbake git-submodule-test
> >
> > The current master-next branch from bitbake contains the v4 patches,
> > now. Do you still have the issue?
> > >
> >
> > --
> > Stefan Koch
> > Siemens AG
> > http://www.siemens.com/
>
>
> Hi Stefan,
>
> Yes, it does look like Richard had the same issue on his branch:
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/54/builds/1045/steps/14/logs/stdio
>
> I will try to provide you with an easy way to reproduce this failure.

I successfully reproduced this on uubuntu 20.04 with the following
commands:

git clone git://git.yoctoproject.org/poky-ci-archive -b autobuilder.yoctoproject.org/valkyrie/a-full-1069
. poky-ci-archive/oe-init-build-env
echo "SANITY_TESTED_DISTROS = ''" >> conf/local.conf
oe-selftest -r archiver.Archiver.test_archiver_mode_mirror_gitsm_shallow

WARNING: git-submodule-test-1.0-r0 do_fetch: Creating fast initial shallow clone failed, try initial regular clone now.
WARNING: git-submodule-test-1.0-r0 do_fetch: Failed to fetch URL gitsm://git.openembedded.org/bitbake;protocol=git;name=bitbake;subpath=bitbake;nobranch=1;lfs=False;bareclone=1;nobranch=1, attempting MIRRORS if available
ERROR: git-submodule-test-1.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/mdubois-briand/swat/fetch2-issue/build-st/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/mdubois-briand/swat/fetch2-issue/poky-ci-archive/scripts:/home/mdubois-briand/swat/fetch2-issue/build-st/tmp/work/core2-64-poky-linux/git-submodule-test/1.0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/mdubois-briand/swat/fetch2-issue/build-st/tmp/work/core2-64-poky-linux/git-submodule-test/1.0/recipe-sysroot/usr/bin/crossscripts:/home/mdubois-briand/swat/fetch2-issue/build-st/tmp/work/core2-64-poky-linux/git-submodule-test/1.0/recipe-sysroot-native/usr/sbin:/home/mdubois-briand/swat/fetch2-issue/build-st/tmp/work/core2-64-poky-linux/git-submodule-test/1.0/recipe-sysroot-native/usr/bin:/home/mdubois-briand/swat/fetch2-issue/build-st/tmp/work/core2-64-poky-linux/git-submodule-test/1.0/recipe-sysroot-native/sbin:/home/mdubois-briand/swat/fetch2-issue/build-st/tmp/work/core2-64-poky-linux/git-submodule-test/1.0/recipe-sysroot-native/bin:/home/mdubois-briand/swat/fetch2-issue/poky-ci-archive/bitbake/bin:/home/mdubois-briand/swat/fetch2-issue/build-st/tmp/hosttools"; export HOME="/home/build"; git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all -c clone.defaultRemoteName=origin fetch origin 52a144a7daa94b2bd239d582cb71d1f03119918f --depth 1 failed with exit code 1, output:
error: Server does not allow request for unadvertised object 52a144a7daa94b2bd239d582cb71d1f03119918f

ERROR: git-submodule-test-1.0-r0 do_fetch: gitsm: submodule download failed: FetchError Fetcher failure for URL: 'gitsm://git.openembedded.org/bitbake;protocol=git;name=bitbake;subpath=bitbake;nobranch=1;lfs=False;bareclone=1;nobranch=1'. Unable to fetch URL from any source.
WARNING: git-submodule-test-1.0-r0 do_fetch: Failed to fetch URL gitsm://git.yoctoproject.org/bitbake-gitsm-test1;protocol=git;name=bitbake-gitsm-test1;subpath=bitbake-gitsm-test1;nobranch=1;lfs=True;bareclone=1;nobranch=1, attempting MIRRORS if available
NOTE: recipe git-submodule-test-1.0-r0: task do_fetch: Succeeded
NOTE: Running task 3 of 4 (/home/mdubois-briand/swat/fetch2-issue/build-st/meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb:do_ar_mirror)
NOTE: recipe git-submodule-test-1.0-r0: task do_ar_mirror: Started
WARNING: git-submodule-test-1.0-r0 do_ar_mirror: Mirror tarballs are listed for a source but none are present. Falling back to original download.
SRC_URI = gitsm://git.openembedded.org/bitbake;protocol=git;name=bitbake;subpath=bitbake;nobranch=1;lfs=False;bareclone=1;nobranch=1
WARNING: git-submodule-test-1.0-r0 do_ar_mirror: Mirror tarballs are listed for a source but none are present. Falling back to original download.
SRC_URI = gitsm://git.yoctoproject.org/bitbake-gitsm-test2;protocol=git;name=bitbake-gitsm-test2;subpath=bitbake-gitsm-test2;nobranch=1;lfs=False;bareclone=1;nobranch=1
ERROR: git-submodule-test-1.0-r0 do_ar_mirror: Original download is missing for a source.
SRC_URI = gitsm://git.yoctoproject.org/bitbake-gitsm-test2;protocol=git;name=bitbake-gitsm-test2;subpath=bitbake-gitsm-test2;nobranch=1;lfs=False;bareclone=1;nobranch=1
ERROR: Logfile of failure stored in: /home/mdubois-briand/swat/fetch2-issue/build-st/tmp/work/core2-64-poky-linux/git-submodule-test/1.0/temp/log.do_ar_mirror.982
NOTE: recipe git-submodule-test-1.0-r0: task do_ar_mirror: Failed
ERROR: Task (/home/mdubois-briand/swat/fetch2-issue/build-st/meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb:do_ar_mirror) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and 1 failed.


-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



      parent reply	other threads:[~2025-02-26  9:24 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-20 17:27 [PATCH v3 1/4] fetch2/git: Add support for fast initial shallow fetch Stefan Koch
2025-02-20 17:27 ` [PATCH v3 2/4] bitbake-user-manual: Update documentation for fast `BB_GIT_SHALLOW` Stefan Koch
2025-02-21 10:52   ` [bitbake-devel] " Quentin Schulz
2025-02-21 16:23     ` Koch, Stefan
2025-02-21 16:31       ` Quentin Schulz
2025-02-21 16:35         ` Koch, Stefan
2025-02-21 16:47           ` Quentin Schulz
2025-02-20 17:27 ` [PATCH v3 3/4] tests/fetch: Adapt test cases for fast shallow fetches Stefan Koch
2025-02-20 17:27 ` [PATCH v3 4/4] tests/fetch: Add an additional test case to check whether the fast fetch is shallow Stefan Koch
2025-02-21  8:09 ` [PATCH v3 1/4] fetch2/git: Add support for fast initial shallow fetch Richard Purdie
2025-02-21 16:40   ` Koch, Stefan
2025-02-21 17:11     ` Richard Purdie
2025-02-21 17:18       ` Koch, Stefan
2025-02-21 17:22         ` Richard Purdie
2025-02-21 17:31           ` Koch, Stefan
2025-02-21 17:35             ` Richard Purdie
2025-02-24 11:58 ` [bitbake-devel] " Mathieu Dubois-Briand
2025-02-24 12:55   ` Koch, Stefan
2025-02-24 13:11     ` Koch, Stefan
2025-02-24 17:10       ` Mathieu Dubois-Briand
2025-02-25 17:04         ` Koch, Stefan
2025-02-26  8:39           ` Mathieu Dubois-Briand
2025-02-26  8:58             ` Richard Purdie
2025-02-27 16:52               ` Koch, Stefan
2025-02-26  9:24             ` Mathieu Dubois-Briand [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=D829P08052QS.1AVBHIBJKXZQP@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=alex.kanavin@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=jan.kiszka@siemens.com \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=simon.sudler@siemens.com \
    --cc=stefan-koch@siemens.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.