From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7088670669347487744 X-Received: by 2002:a2e:b706:0:b0:24d:ce59:b8e1 with SMTP id j6-20020a2eb706000000b0024dce59b8e1mr4579973ljo.525.1650471672927; Wed, 20 Apr 2022 09:21:12 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:1a13:b0:24d:7036:5dc1 with SMTP id by19-20020a05651c1a1300b0024d70365dc1ls530690ljb.3.gmail; Wed, 20 Apr 2022 09:21:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPGmQM3leMkTgTR/EcEtzAKs7Y1+uxUA0H9r9toxA5oKKxQ1KFbm01cZjNmM2ZImrKOmUi X-Received: by 2002:a2e:a548:0:b0:24b:54e9:a36e with SMTP id e8-20020a2ea548000000b0024b54e9a36emr13226842ljn.347.1650471671290; Wed, 20 Apr 2022 09:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650471671; cv=none; d=google.com; s=arc-20160816; b=NiwFLfJUZdso50ES9UgRvhSwZ/O8veTSredBRqYb/DbryKMj4lASd7+wdN4SUGDyXD LoBJuosrQPoawqnoV6AOTgQSPSdgkqVdV/MPHzMWis4bDMY/ooK++2JlosVLVfsnF+46 hFwZikkUmWhwRk/8vtTPOuVvQYKdHORc5K5OguS75iiPFdDoH0+IvdEa0fErvDr8vh0g I5d1/zQeQ8xctTxvyxG5jnbWOk/fzGKEMAY+kkoS82DXfGLKebarzWHR4RprTskpoL8e r5jgFExKL41qPgwgRhJIN3NP5O6WqQrW69Zs7lSNTocKpkPRDm7SMls4HgcJ3w2g6SyM yCOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date; bh=WAenM32SJMuAgMxm9M5Zldg2yx/hkENuTftEGLXbg6s=; b=yWjreKBx50xAfrr+7kNDrFT8WcLrDk1qsjCvzI8uDZaXjwh3o1oovt8T1HGsrXL8LA /OlPeGI4xCXCgElbzcooD8a7XiKiZ0JUSV0vw3IkEbRVSuJ2+fBM9By1YdySN/wAV5Wl BmsS+cEcfdt7MNL/Dl+1IYUb38LJdB/QKpxuX/iCJ9WOHOswp04ImWWIA7ANH6av7YoE EjkY9tMb/CiEg1lGwrZt/kfFLQcn9vwu8nqoscjBHuMZYrs9f+FnIK5jGldgz2Tfq0Q1 MmD4ZXsN1QNi/FT95dorCHDl/D26NuoC65nbrz0GTwGNlsTa7AXt9d0VkrlPpQpRIPP/ St/A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id q21-20020a05651c055500b0024aff6ac16esi162517ljp.0.2022.04.20.09.21.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Apr 2022 09:21:11 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 23KGL8XJ003831 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 20 Apr 2022 18:21:10 +0200 Date: Wed, 20 Apr 2022 18:21:08 +0200 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Re: [PATCH] wic-img: use python3.9 in bookworm Message-ID: Mail-Followup-To: isar-users@googlegroups.com References: <20220420130221.23398-1-henning.schild@siemens.com> <20220420150448.748aa6bd@md1za8fc.ad001.siemens.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220420150448.748aa6bd@md1za8fc.ad001.siemens.net> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: U3Kb7e8Ip36t On Wed, Apr 20, 2022 at 03:04:48PM +0200, Henning Schild wrote: > I wonder why CI did not find that like 30 days ago ... are the bookworm > tests allowed to fail, or what is that KFAIL thing? > > If so, why? and is that still valid? KFAIL is "known failure" similar to that in GNU development (gdb, etc.). Bookworm uses it since its initial introduction because the upstream is not stable, so it's still valid IMO. We could convert bookworm to fail (by dropping try-except and calling self.perform_build_test() directly); in that case, any upstream problems would have to be analyzed quickly, and we might have to wait for upstream fixes. For our maintenance work, we'd have to implement some support for local KFAIL tagging. The issue is seen in http://ci.isar-build.org:8080/job/isar_next/1328/console (green due to KFAIL), but not in earlier runs. (10/23) /build-auto/isar_next/1328/testsuite/citest.py:NoCrossTest.test_nocross_bookworm: ERROR: mc:qemui386-bookworm:isar-image-base-1.0-r0 do_wic_image: Error executing a python function in... > > --- a/meta/classes/wic-img.bbclass > > +++ b/meta/classes/wic-img.bbclass > > @@ -192,11 +192,16 @@ generate_wic_image() { > > mkdir -p /usr/bin/python3-native/ > > if [ $(head -1 $(which bmaptool) | grep python3) ];then > > ln -fs /usr/bin/python3 /usr/bin/python3-native/python3 > > + # python 3.10 is too new for our bitbake version > > + if [ "$( readlink /usr/bin/python3 )" = "python3.10" ]; then > > + ln -fs /usr/bin/python3.9 /usr/bin/python3-native/python3 Wow, I'd expect they'd have update-alternatives for that, but seems they don't. > > --- a/meta/conf/distro/debian-bookworm.conf > > +++ b/meta/conf/distro/debian-bookworm.conf > > @@ -6,6 +6,8 @@ BASE_DISTRO_CODENAME = "bookworm" > > > > HOST_DISTRO ?= "debian-${BASE_DISTRO_CODENAME}" > > > > +WIC_IMAGER_INSTALL += "python3.9-distutils" We've started testing this, but I wonder how this works. When I debootstrap bookworm, it picks python3-distutils and installs python3.10. Bitbake 1.50.4 has been picked as the last tagged version before overrides syntax change. Please let us know whether bitbake 1.50.5 works; in that case we wouldn't have to swim against the upstream. With kind regards, Baurzhan.