All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: meta-virtualization@lists.yoctoproject.org
Subject: k3s spegel download failure
Date: Wed, 15 Jan 2025 12:39:30 +0200	[thread overview]
Message-ID: <Z4eQYh2ty62xgoE2@nuoska> (raw)

Hi,

I tried to update meta-virtualization in our setup with k3s and ran into
download failure:

WARNING: mc:trs-qemuarm64:k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934-r0 do_fetch: Failed to fetch URL git://github.com/k3s-io/spegel;name=spegel;protocol=https;nobranch=1;destsuffix=k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934/src/import//vendor.fetch/github.com/k3s-io/spegel, attempting MIRRORS if available
ERROR: mc:trs-qemuarm64:k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934-r0 do_fetch: Fetcher failure: Unable to find revision f3d2c40723149dcefc9b219dddc5bdd44cff0874 in branch  even from upstream
ERROR: mc:trs-qemuarm64:k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/k3s-io/spegel;name=spegel;protocol=https;nobranch=1;destsuffix=k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934/src/import//vendor.fetch/github.com/k3s-io/spegel')
ERROR: Logfile of failure stored in: /home/builder/src/base/repo/build/tmp_trs-qemuarm64/work/cortexa57-trs-linux/k3s/v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934/temp/log.do_fetch.171833
NOTE: recipe k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934-r0: task do_fetch: Failed
ERROR: Task (mc:trs-qemuarm64:/home/builder/src/base/repo/build/../meta-virtualization/recipes-containers/k3s/k3s_git.bb:do_fetch) failed with exit code '1'

Commit f3d2c40723149dcefc9b219dddc5bdd44cff0874 has been removed from all branches
and tags in https://github.com/spegel-org/spegel/ and its mirror
https://github.com/k3s-io/spegel/ . The commit is still there
https://github.com/spegel-org/spegel/commit/f3d2c40723149dcefc9b219dddc5bdd44cff0874
https://github.com/k3s-io/spegel/commit/f3d2c40723149dcefc9b219dddc5bdd44cff0874
so as workaround, it is possible to fetch this specific commit to yocto download cache
manually:

$ cd build/downloads/git2/github.com.k3s-io.spegel
$ git fetch origin f3d2c40723149dcefc9b219dddc5bdd44cff0874

Then rebuild of k3s with bitbake will work.

I've reported this to upstream in https://github.com/spegel-org/spegel/issues/697

Maybe fetching specific commits should be automatically tried? Or repos like this
mirrored in yocto infra?

Cheers,

-Mikko


                 reply	other threads:[~2025-01-15 10:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=Z4eQYh2ty62xgoE2@nuoska \
    --to=mikko.rapeli@linaro.org \
    --cc=meta-virtualization@lists.yoctoproject.org \
    /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.