From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "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: Mon, 24 Feb 2025 18:10:22 +0100 [thread overview]
Message-ID: <D80UCEFULALJ.1FXZODPDU20BJ@bootlin.com> (raw)
In-Reply-To: <4961407c133c3579acf66ca5deefa6f680c4f391.camel@siemens.com>
On Mon Feb 24, 2025 at 2:11 PM CET, Stefan Koch wrote:
> On Mon, 2025-02-24 at 13:55 +0100, Stefan Koch wrote:
> > On Mon, 2025-02-24 at 12:58 +0100, Mathieu Dubois-Briand wrote:
> > > On Thu Feb 20, 2025 at 6:27 PM CET, Stefan via
> > > lists.openembedded.org
> > > Koch wrote:
> > > > When `ud.shallow == 1`:
> > > > - Prefer an initial shallow clone over an initial full bare
> > > > clone,
> > > > while still utilizing any already existing full bare clones.
> > > >
> > > > This improves:
> > > > - Resolve timeout issues during initial clones on slow internet
> > > > connections
> > > > by reducing the amount of data transferred.
> > > > - Eliminate the need to use an HTTPS tarball `SRC_URI`
> > > > to reduce data transfer.
> > > > - Allow SSH-based authentication (e.g. cert and agent-based) when
> > > > using non-public repos, so additional HTTPS tokens may not be
> > > > required.
> > > >
> > > > Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
> > > > ---
> > >
> > > Hi Stefan,
> > >
> > > Thanks for your patch.
> > >
> > > We got a new failure on the autobuilder, specifically with the
> > > oe-selftest-ubuntu build. I'm not entirely sure this comes from
> > > this
> > > series, so I will try a build without it to confirm.
> > >
> > > Here is the error:
> > >
> > > NOTE: Running task 2 of 4 (/srv/pokybuild/yocto-worker/oe-selftest-
> > > ubuntu/build/build-st-3502943/meta-selftest/recipes-test/git-
> > > submodule-test/git-submodule-test.bb:do_fetch)
> > > NOTE: recipe git-submodule-test-1.0-r0: task do_fetch: Started
> > > 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;subp
> > > at
> > > h=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="/srv/pokybuild/yocto-
> > > worker/oe-selftest-ubuntu/build/build-st-3502943/tmp/sysroots-
> > > uninative/x86_64-linux/usr/bin:/srv/pokybuild/yocto-worker/oe-
> > > selftest-ubuntu/build/scripts:/srv/pokybuild/yocto-worker/oe-
> > > selftest-ubuntu/build/build-st-3502943/tmp/work/core2-64-poky-
> > > linux/git-submodule-test/1.0/recipe-sysroot-native/usr/bin/x86_64-
> > > poky-linux:/srv/pokybuild/yocto-worker/oe-selftest-
> > > ubuntu/build/build-st-3502943/tmp/work/core2-64-poky-linux/git-
> > > submodule-test/1.0/recipe-
> > > sysroot/usr/bin/crossscripts:/srv/pokybuild/yocto-worker/oe-
> > > selftest-
> > > ubuntu/build/build-st-3502943/tmp/work/core2-64-poky-linux/git-
> > > submodule-test/1.0/recipe-sysroot-
> > > native/usr/sbin:/srv/pokybuild/yocto-worker/oe-selftest-
> > > ubuntu/build/build-st-3502943/tmp/work/core2-64-poky-linux/git-
> > > submodule-test/1.0/recipe-sysroot-
> > > native/usr/bin:/srv/pokybuild/yocto-worker/oe-selftest-
> > > ubuntu/build/build-st-3502943/tmp/work/core2-64-poky-linux/git-
> > > submodule-test/1.0/recipe-sysroot-native/sbin:/srv/pokybuild/yocto-
> > > worker/oe-selftest-ubuntu/build/build-st-3502943/tmp/work/core2-64-
> > > poky-linux/git-submodule-test/1.0/recipe-sysroot-
> > > native/bin:/srv/pokybuild/yocto-worker/oe-selftest-
> > > ubuntu/build/bitbake/bin:/srv/pokybuild/yocto-worker/oe-selftest-
> > > ubuntu/build/build-st-3502943/tmp/hosttools"; export
> > > HOME="/srv/pokybuild"; 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
> > >
> > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/54/builds/1031/steps/14/logs/stdio
> > >
> > > Can you have a look at this issue please?
> > Do you using 1716ad67bbe9f4cecf1e3bcfc2007b150ba77741 from bitbakes
> > master-next branch? Because that is PATCH v2 with that issue
> > specially
> > on ubuntu 20.04...
> Sorry, v3 is meant.
> v4 PATCH from Friday should fix this.
> > >
> >
Sorry, I sent this in the wrong mail thread, but I confirm I was indeed
using the v4.
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2025-02-24 17:10 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 [this message]
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
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=D80UCEFULALJ.1FXZODPDU20BJ@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.