Fetcher failure in crun recipe #yocto #meta-virtualization


Mitch Gaines <gainesmitch2@...>
 

Hi there,
 
I have run into a bit of an issue with the crun recipe on the dunfell branch and from my online searching, it didn't appear to be a known issue. With that in mind, am I missing something that could potentially cause this?
 
What is peculiar about this is, from the looks of it, those URLs and revisions check out as valid. So, I'm really not sure why it is failing. Do you think it could it be a problem with my environment? If not, please accept this as my bug report :) 
 
Thanks for the help on this.
 
See below:
$ bitbake crun 
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 3547 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "orange-pi-plus2e"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.9"
TUNE_FEATURES        = "arm armv7ve vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky
meta-yocto-bsp       = "dunfell:10763296f84b8b1292d1dbaaac8e682592388d1b"
meta-sunxi           = "dunfell:f367a1ff2c329c801659c6de77910456a4167430"
meta-oe
meta-filesystems     
meta-python
meta-networking
meta-perl            = "dunfell:7bd47ef6c98323c95a9e527129dca98c9a65ee08"
meta-virtualization  = "dunfell:bf2930c69b163af0ece08cae2649afffa5b3e810"
meta-security        = "dunfell:6466c6fb02f36f459b06d434484df26e083f3489"

Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 443 Found 0 Missed 443 Current 220 (0% match, 33% complete)
NOTE: Executing Tasks
WARNING: oci-image-spec-v1.0.1+gitAUTOINC+bd4f8fcb09-r0 do_fetch: Failed to fetch URL git://github.com/opencontainers/image-spec.git;destsuffix=git/src/github.com/opencontainers/image-spec, attempting MIRRORS if available
ERROR: oci-image-spec-v1.0.1+gitAUTOINC+bd4f8fcb09-r0 do_fetch: Fetcher failure: Unable to find revision bd4f8fcb0979a663d8b97a1d4d9b030b3d2ca1fa in branch master even from upstream
ERROR: oci-image-spec-v1.0.1+gitAUTOINC+bd4f8fcb09-r0 do_fetch: Fetcher failure for URL: 'git://github.com/opencontainers/image-spec.git;destsuffix=git/src/github.com/opencontainers/image-spec'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/mitch/bin/yocto/sunxi-podman-demo/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/oci-image-spec/v1.0.1+gitAUTOINC+bd4f8fcb09-r0/temp/log.do_fetch.595548
ERROR: Task (/home/mitch/bin/yocto/sunxi-podman-demo/layers/meta-virtualization/recipes-containers/oci-image-spec/oci-image-spec_git.bb:do_fetch) failed with exit code '1'
WARNING: crun-0.10.2+gita43f72196f7aaf713dc997eaddd0f08612f60ac0-r0 do_fetch: Failed to fetch URL git://github.com/opencontainers/image-spec.git;branch=master;name=ispec;destsuffix=git/libocispec/image-spec, attempting MIRRORS if available
ERROR: crun-0.10.2+gita43f72196f7aaf713dc997eaddd0f08612f60ac0-r0 do_fetch: Fetcher failure: Unable to find revision 775207bd45b6cb8153ce218cc59351799217451f in branch master even from upstream
ERROR: crun-0.10.2+gita43f72196f7aaf713dc997eaddd0f08612f60ac0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/opencontainers/image-spec.git;branch=master;name=ispec;destsuffix=git/libocispec/image-spec'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/mitch/bin/yocto/sunxi-podman-demo/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/crun/0.10.2+gita43f72196f7aaf713dc997eaddd0f08612f60ac0-r0/temp/log.do_fetch.595555
ERROR: Task (/home/mitch/bin/yocto/sunxi-podman-demo/layers/meta-virtualization/recipes-containers/crun/crun_git.bb:do_fetch) failed with exit code '1'
 
Best Regards,
Mitch


Bruce Ashfield
 

On Wed, Jul 14, 2021 at 2:24 PM Mitch Gaines <gainesmitch2@gmail.com> wrote:

Hi there,

I have run into a bit of an issue with the crun recipe on the dunfell branch and from my online searching, it didn't appear to be a known issue. With that in mind, am I missing something that could potentially cause this?

What is peculiar about this is, from the looks of it, those URLs and revisions check out as valid. So, I'm really not sure why it is failing. Do you think it could it be a problem with my environment? If not, please accept this as my bug report :)
It is just the upstream repositories switching their branches away
from master -> main.

It is annoying, since it breaks our parsing.

We've already fixed crun once, and I'll queue up another fix if one of
the supporting recipes as now changed branches.

Bruce

Thanks for the help on this.

See below:

$ bitbake crun
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 3547 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "orange-pi-plus2e"
DISTRO = "poky"
DISTRO_VERSION = "3.1.9"
TUNE_FEATURES = "arm armv7ve vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "dunfell:10763296f84b8b1292d1dbaaac8e682592388d1b"
meta-sunxi = "dunfell:f367a1ff2c329c801659c6de77910456a4167430"
meta-oe
meta-filesystems
meta-python
meta-networking
meta-perl = "dunfell:7bd47ef6c98323c95a9e527129dca98c9a65ee08"
meta-virtualization = "dunfell:bf2930c69b163af0ece08cae2649afffa5b3e810"
meta-security = "dunfell:6466c6fb02f36f459b06d434484df26e083f3489"

Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 443 Found 0 Missed 443 Current 220 (0% match, 33% complete)
NOTE: Executing Tasks
WARNING: oci-image-spec-v1.0.1+gitAUTOINC+bd4f8fcb09-r0 do_fetch: Failed to fetch URL git://github.com/opencontainers/image-spec.git;destsuffix=git/src/github.com/opencontainers/image-spec, attempting MIRRORS if available
ERROR: oci-image-spec-v1.0.1+gitAUTOINC+bd4f8fcb09-r0 do_fetch: Fetcher failure: Unable to find revision bd4f8fcb0979a663d8b97a1d4d9b030b3d2ca1fa in branch master even from upstream
ERROR: oci-image-spec-v1.0.1+gitAUTOINC+bd4f8fcb09-r0 do_fetch: Fetcher failure for URL: 'git://github.com/opencontainers/image-spec.git;destsuffix=git/src/github.com/opencontainers/image-spec'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/mitch/bin/yocto/sunxi-podman-demo/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/oci-image-spec/v1.0.1+gitAUTOINC+bd4f8fcb09-r0/temp/log.do_fetch.595548
ERROR: Task (/home/mitch/bin/yocto/sunxi-podman-demo/layers/meta-virtualization/recipes-containers/oci-image-spec/oci-image-spec_git.bb:do_fetch) failed with exit code '1'
WARNING: crun-0.10.2+gita43f72196f7aaf713dc997eaddd0f08612f60ac0-r0 do_fetch: Failed to fetch URL git://github.com/opencontainers/image-spec.git;branch=master;name=ispec;destsuffix=git/libocispec/image-spec, attempting MIRRORS if available
ERROR: crun-0.10.2+gita43f72196f7aaf713dc997eaddd0f08612f60ac0-r0 do_fetch: Fetcher failure: Unable to find revision 775207bd45b6cb8153ce218cc59351799217451f in branch master even from upstream
ERROR: crun-0.10.2+gita43f72196f7aaf713dc997eaddd0f08612f60ac0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/opencontainers/image-spec.git;branch=master;name=ispec;destsuffix=git/libocispec/image-spec'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/mitch/bin/yocto/sunxi-podman-demo/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/crun/0.10.2+gita43f72196f7aaf713dc997eaddd0f08612f60ac0-r0/temp/log.do_fetch.595555
ERROR: Task (/home/mitch/bin/yocto/sunxi-podman-demo/layers/meta-virtualization/recipes-containers/crun/crun_git.bb:do_fetch) failed with exit code '1'


Best Regards,
Mitch



--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II