Build failure due to babelfish2 fetch error

Description

Build error when building agl-demo-platform-crosssdk (with ptest enabled)

Error is:

ERROR: babeltrace2-2.0.2-r0 do_fetch: Fetcher failure for URL: 'git://git.linuxfoundation.org/diamon/babeltrace.git;branch=stable-2.0'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /xdt/tmpbuild/master/core-development/m3ulcb-kf/build/m3ulcb-kf/tmp/work/aarch64-agl-linux/babeltrace2/2.0.2-r0/temp/log.do_fetch.30748 NOTE: recipe babeltrace2-2.0.2-r0: task do_fetch: Failed ERROR: Task (/xdt/tmpbuild/master/core-development/m3ulcb-kf/meta/external/poky/meta/recipes-kernel/lttng/babeltrace2_2.0.2.bb:do_fetch) failed with exit code '1'

It seems that -crosssdk image pulls lttng which in turn pulls babeltrace2. And for any reason, the fetch URI is invalid. On many different hosts, I get the following error:

git clone git://git.linuxfoundation.org/diamon/babeltrace.git Cloning into 'babeltrace'... fatal: unable to connect to git.linuxfoundation.org: git.linuxfoundation.org[0: 3.13.31.214]: errno=Connection timed out

I have no real explanation because it used to work...

Maybe this is an issue from "here" (where we stand) but in any case, we've been asking for a long time to have CI tests on -crosssdk images and I haven't seen any ATM.

We've also been asking for "full clean builds from scratch" from time to time, especially for releases: RCs are good candidates for this. This would help to highlight such issues.

Also at the end, enabling ptests on CI would also help because, we're supposed to run QA stuff on images, no ? What if ptest don't even build ?

Environment

None

Activity

Show:

Stephane Desneux 
July 13, 2020 at 5:51 PM

MIRRORS is set by default in poky and adjusted for AGL in meta-agl-distro/conf/distro/poky-agl.conf so I don't understand how I can get the above fetch error...

Stephane Desneux 
July 13, 2020 at 4:42 PM

Great !!!!

Jan-Simon Moeller 
July 13, 2020 at 4:16 PM

This is a non-issue as

a) the recipe is in core yocto and needs to be fixed there.

b) upstream has a fix in master already - you should submit a backport request upstream

c) the git repo was deleted in early May - we have the source mirror for exactly this reason.

Stephane Desneux 
July 13, 2020 at 4:05 PM

OK, we have ptest enabled and that's fine.

But, -crosssdk images are not built for testing, and full build from scratch is not done either.

Thanks for the workaround with MIRROR, but it''s not our duty to deal with those issues.

Jan-Simon Moeller 
July 13, 2020 at 1:57 PM

So TLDR: this is an upstream issue and to be fixed there. Please report upstream against 'dunfell' so YP can include the fix.

Meantime use the MIRROR .

Won't Fix

Details

Assignee

Reporter

Labels

Hardware Platform(s) Affected

Renesas H3
Renesas H3+KF
Renesas M3
Renesas M3+KF

Components

Affects versions

Priority

Created July 12, 2020 at 4:20 PM
Updated July 25, 2020 at 3:22 PM
Resolved July 13, 2020 at 4:16 PM

Flag notifications