Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F436C433EF for ; Fri, 1 Apr 2022 13:31:47 +0000 (UTC) Subject: Bitbake fails to find a file in SSTATE_MIRROR even though it exists To: bitbake-devel@lists.openembedded.org From: "Maksym Iliev" X-Originating-Location: Scarborough, Ontario, CA (66.22.163.164) X-Originating-Platform: Windows Chrome 99 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 01 Apr 2022 06:31:46 -0700 Message-ID: Content-Type: multipart/alternative; boundary="X5oY4gUiv1SUbeZuLdvw" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 01 Apr 2022 13:31:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/13562 --X5oY4gUiv1SUbeZuLdvw Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I have an AWS S3 bucket setup to be an SSTATE_MIRROR. However, there is an = occasional error happening where bitbake is not able to find a file that ac= tually exists in that bucket. Here is an example of an error: WARNING: gdk-pixbuf-2.40.0-r0 do_packagedata_setscene: Failed to fetch URL = file://3a/83/sstate:gdk-pixbuf:corei7-64-poky-linux:2.40.0:r0:corei7-64:3:3= a83036f92542f5385730d42c4ffdffcbbde2822d48f7f194ce4957d21906f7e_packagedata= .tgz.siginfo;downloadfilename=3D3a/83/sstate:gdk-pixbuf:corei7-64-poky-linu= x:2.40.0:r0:corei7-64:3:3a83036f92542f5385730d42c4ffdffcbbde2822d48f7f194ce= 4957d21906f7e_packagedata.tgz.siginfo , attempting MIRRORS if available ERROR: gdk-pixbuf-2.40.0-r0 do_packagedata_setscene: Fetcher failure: Unabl= e to find file file://3a/83/sstate:gdk-pixbuf:corei7-64-poky-linux:2.40.0:r= 0:corei7-64:3:3a83036f92542f5385730d42c4ffdffcbbde2822d48f7f194ce4957d21906= f7e_packagedata.tgz.siginfo;downloadfilename=3D3a/83/sstate:gdk-pixbuf:core= i7-64-poky-linux:2.40.0:r0:corei7-64:3:3a83036f92542f5385730d42c4ffdffcbbde= 2822d48f7f194ce4957d21906f7e_packagedata.tgz.siginfo anywhere. The paths th= at were searched were: /srv/yocto/sstate-cache /srv/yocto/sstate-cache The base_local.conf configuration for SSTATE_MIRROR is as below (bucket nam= e hidden): INHERIT +=3D "own-mirrors" SOURCE_MIRROR_URL =3D " https://*mybucketname*.s3.amazonaws.com/ ( https://= yocto-dl-cache.s3.amazonaws.com/ ) " My question is what could possibly be causing this issue? --X5oY4gUiv1SUbeZuLdvw Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

I have an AWS S3 bucket setup to be an SSTATE_MIRROR. However, there is = an occasional error happening where bitbake is not able to find a file that= actually exists in that bucket. Here is an example of an error:

WARNING: gdk-pixbuf-2.40.0-r0 do_packagedata_setscene: Failed to fetc=
h URL file://3a/83/sstate:gdk-pixbuf:corei7-64-poky-linux:2.40.0:r0:corei7-64:3=
:3a83036f92542f5385730d42c4ffdffcbbde2822d48f7f194ce4957d21906f7e_packageda=
ta.tgz.siginfo;downloadfilename=3D3a/83/sstate:gdk-pixbuf:corei7-64-poky-li=
nux:2.40.0:r0:corei7-64:3:3a83036f92542f5385730d42c4ffdffcbbde2822d48f7f194=
ce4957d21906f7e_packagedata.tgz.siginfo, attempting MIRRORS if availabl=
e
ERROR: gdk-pixbuf-2.40.0-r0 do_packagedata_setscene: Fetcher failure: Unabl=
e to find file file://3a/83/sstate:gdk-pixbuf:corei7-64-poky-linux:2.40.0:r0:corei7=
-64:3:3a83036f92542f5385730d42c4ffdffcbbde2822d48f7f194ce4957d21906f7e_pack=
agedata.tgz.siginfo;downloadfilename=3D3a/83/sstate:gdk-pixbuf:corei7-64-po=
ky-linux:2.40.0:r0:corei7-64:3:3a83036f92542f5385730d42c4ffdffcbbde2822d48f=
7f194ce4957d21906f7e_packagedata.tgz.siginfo anywhere. The paths that w=
ere searched were:
    /srv/yocto/sstate-cache
    /srv/yocto/sstate-cache

The base_local.conf configuration for SSTATE_MIRROR is as below (bucket = name hidden):

INHERIT +=3D "own-mirrors"
SOURCE_MIRROR_URL =3D "https://*mybucketname*.s3.amazonaws.com/"

 

My question is what could possibly be causing this issue?

--X5oY4gUiv1SUbeZuLdvw--