public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: steve@sakoman.com, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH 2/2] oeqa/sdk/cases/autotools.py: use gnu mirror instead of main server
Date: Thu, 09 Oct 2025 09:43:59 +0100	[thread overview]
Message-ID: <e892df0828506e1129448bca78c7511461fafff1.camel@linuxfoundation.org> (raw)
In-Reply-To: <20251009023123.245604-2-steve@sakoman.com>

On Wed, 2025-10-08 at 19:31 -0700, Steve Sakoman via lists.openembedded.org wrote:
> ftp.gnu.org is the main server of the GNU project, however download speed
> can vary greatly based on one's location.
> 
> Using ftpmirror.gnu.org should redirect the request to the closest up-to-date mirror,
> which should result sometimes in significantly faster download speed, depending
> on one's location. This should also distribute the traffic more across the mirrors.
> 
> This information was sourced from https://www.gnu.org/prep/ftp.html
> 
> Signed-off-by: Steve Sakoman <steve@sakoman.com>
> ---
>  meta/lib/oeqa/sdk/cases/autotools.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/lib/oeqa/sdk/cases/autotools.py b/meta/lib/oeqa/sdk/cases/autotools.py
> index 3f51854e3d..ecafafa7d6 100644
> --- a/meta/lib/oeqa/sdk/cases/autotools.py
> +++ b/meta/lib/oeqa/sdk/cases/autotools.py
> @@ -27,7 +27,7 @@ class AutotoolsTest(OESDKTestCase):
>          pmv = parallel_make_value((self.td.get('PARALLEL_MAKE') or '').split())
>  
>          with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir:
> -            tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.gz")
> +            tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftpmirror.gnu.org/gnu/cpio/cpio-2.15.tar.gz")
>  
>              opts = {}
>              opts["source"] = os.path.join(testdir, "cpio-2.15")
> 

This patch is good, thanks.

This code is supposed to be using a cached copy from DL_DIR. If it is
failing on older releases on the autobuilder, it might mean the version
of the tarball is missing from the mirror for that release. Might be
worth checking...

Cheers,

Richard


      reply	other threads:[~2025-10-09  8:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-09  2:31 [OE-core][PATCH 2/2] oeqa/sdk/cases/autotools.py: use gnu mirror instead of main server Steve Sakoman
2025-10-09  8:43 ` Richard Purdie [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=e892df0828506e1129448bca78c7511461fafff1.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=steve@sakoman.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