From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.78]) by mx.groups.io with SMTP id smtpd.web09.380.1634585414144441140 for ; Mon, 18 Oct 2021 12:30:15 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=0NJfg/pB; spf=pass (domain: arm.com, ip: 40.107.4.78, mailfrom: diego.sueiro@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AlmKGuW09w5YkPvlf8XC02ewvm4Xuzb6rtX2dBSqReA=; b=0NJfg/pBW6VQ/yg9LlCO38cduTVvFOub8qISapHi/DwIWJZ4nvKkJkqFd67LynJnO5Mza5+dvaMiCuWqmzpqGwSwJGtngeTcUxLXnu5v9ab8ymfUEnjrjTr5mTtKax84xiwufxJoILheElLFXlpG3tpzHDMj9koHoO/R4n1FNJw= Received: from AM5PR0101CA0023.eurprd01.prod.exchangelabs.com (2603:10a6:206:16::36) by PAXPR08MB6590.eurprd08.prod.outlook.com (2603:10a6:102:152::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Mon, 18 Oct 2021 19:30:10 +0000 Received: from VE1EUR03FT013.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:16:cafe::66) by AM5PR0101CA0023.outlook.office365.com (2603:10a6:206:16::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16 via Frontend Transport; Mon, 18 Oct 2021 19:30:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.yoctoproject.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.yoctoproject.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT013.mail.protection.outlook.com (10.152.19.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15 via Frontend Transport; Mon, 18 Oct 2021 19:30:10 +0000 Received: ("Tessian outbound e27daf245730:v103"); Mon, 18 Oct 2021 19:30:09 +0000 X-CR-MTA-TID: 64aa7808 Received: from ebd49cddcdb2.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5A5A8B1F-E04B-42EF-9546-9D3B62034AA0.1; Mon, 18 Oct 2021 19:30:03 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ebd49cddcdb2.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 18 Oct 2021 19:30:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kLOe1q9yHapijJJvLMmuH4e3ZwcBMlTLlbRXiktJQQwGi9xad20AB/QyKpkUB9I7CUrhJ8ovAK7W5vuDLzK4GpPm2IMm25HKImvag5kmZDb0K1aHj4tjCo2vMdifE+xSxGu8MWJaFGAS7k0trnU30MIugorQe38w/MaXvQOQy04xl/Z2XR8nvfrJ8ngzKtg+Opp7/HRfKwCuyeBAlAFdTKbGX3IxCLWdWJvojlaSWM8PyKtJiOmsRAPA/OYxbutbl3MsJCMj7LNxqdEuihHOGzd6etwwXgV2ndXmigzHwbClD+/ITCjgrS29twsEpyLP1F0qB0K+h2IDlbABbkZmmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AlmKGuW09w5YkPvlf8XC02ewvm4Xuzb6rtX2dBSqReA=; b=OYQL28OLM81LfcPdrxRUOgMtNKCwIlSo2wRYP2PZTgrOBMnkhgDGJSSudDkJXNSaxAhjPA8Oy7RPc5WiCjkIoxQx7sbig0lWo0Uktxl8y2ItlT93egKRDN6gLgnLsolYJfQAy6mZI2ikoni9aSZyPW1i3pu6tGB5QrM6ZHm8LRdzPSBcpFKAcCH0t69RyrdifFkjBAub6QVQxzNpBbHMkzPVG96QMC8XSLPe9JTaoidcCyf3Peto/SoFs2G/FB+1CdQat3tfuijk6v/upuUzEAC+y7yrZywnSLIvoDCMr4MRbOVsESopUy78OV1LHrcZLU83D/mv+Ek29kkblqD0Jg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AlmKGuW09w5YkPvlf8XC02ewvm4Xuzb6rtX2dBSqReA=; b=0NJfg/pBW6VQ/yg9LlCO38cduTVvFOub8qISapHi/DwIWJZ4nvKkJkqFd67LynJnO5Mza5+dvaMiCuWqmzpqGwSwJGtngeTcUxLXnu5v9ab8ymfUEnjrjTr5mTtKax84xiwufxJoILheElLFXlpG3tpzHDMj9koHoO/R4n1FNJw= Received: from AM6PR08MB3461.eurprd08.prod.outlook.com (2603:10a6:20b:47::28) by AM5PR0801MB1748.eurprd08.prod.outlook.com (2603:10a6:203:3c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Mon, 18 Oct 2021 19:29:57 +0000 Received: from AM6PR08MB3461.eurprd08.prod.outlook.com ([fe80::ecb2:1815:d244:58ba]) by AM6PR08MB3461.eurprd08.prod.outlook.com ([fe80::ecb2:1815:d244:58ba%7]) with mapi id 15.20.4608.018; Mon, 18 Oct 2021 19:29:57 +0000 From: "Diego Sueiro" To: "meta-virtualization@lists.yoctoproject.org" CC: nd Subject: Issues with Setscene tasks Thread-Topic: Issues with Setscene tasks Thread-Index: AdfEVncNc9xmqwx9RGub9swYejyYXw== Date: Mon, 18 Oct 2021 19:29:57 +0000 Message-ID: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: A3F58E83C6312549A489EEF2D73D5256.0 x-checkrecipientchecked: true Authentication-Results-Original: lists.yoctoproject.org; dkim=none (message not signed) header.d=none;lists.yoctoproject.org; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: aee010f3-deda-441e-db44-08d9926db2ff x-ms-traffictypediagnostic: AM5PR0801MB1748:|PAXPR08MB6590: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: SZ53Q2XCBqzqOEBmU0cCuuoDuYfmkmnPAANAuKiCozURrF78NXUQ/NJ4w27p5ux8ox/7MLZGUp0yicZPjKhHm3zPRPeFTE7FTKWUg3JsyWGxSqe8BSWwcfXGPSFg3vAnJ1kOIHTx+QfbNZjWCqi++7Bbz0MwkE0U8sE/VpyYYwIE2Z7IfQZZDXzduK1z9HnGlbbW2XuWz/2iKl6B9xtcu3pSE9Dzz74ROePj6PSdvt2Je1HW+Gp+4MqSBQxFO9J5dB2grTWebO9CDBDCy9CJ0rPomXHvAyrl+GGa9Iz4wfFYg0b4HgjxYnKoHTiw2Rca4GAI/c5pG2XGjA4WLX8GdVSi2dPo7WgPgoZNsVOwCNy3mrP3GuOUkEqTGM+R/o9IENFfZT1z1J8g1e6Ig9A8uKp+egLo+EPh+ZgU3Ztq/uiclL3OmndkglDroT3l1sLFh1Y9iKy5M1ZLXhxbQBL6LUoi8FjmGmcHzGiS7TinyejTcyGWAr7CrD3PkoIyRZKk4hjTLfT8LFDnMwq4DdzZectjyeVdP+Nt3bOIyLjukH4zaGg64v8Tx3w/G5rya5NFQXH4ikKAu+GObnoLai1czA1J4adj1N9i/x/crtcFKkeU5Z+swtMVC6cuty3rEOPshmXf8oi4Yh7vKW7zFd7oHlbLtGvVguUE2NXZIsRlQMUM7ESj2Gn2Hkx4JByH/RTBwnCtjBPgdjVNMJqcHfZ8tlYiT5C/f3szEhZPvfujys8g6fpnqxowTyFJF2Q44dt2G8dy5sFXEf5/UXGSDtKR9A== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR08MB3461.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(71200400001)(8936002)(55236004)(6506007)(64756008)(66446008)(2906002)(86362001)(66556008)(38100700002)(508600001)(38070700005)(122000001)(7696005)(33656002)(8676002)(966005)(3480700007)(66946007)(66476007)(6916009)(76116006)(316002)(9326002)(186003)(166002)(55016002)(26005)(4326008)(52536014)(9686003)(83380400001)(5660300002)(579004)(559001);DIR:OUT;SFP:1101; x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1748 Original-Authentication-Results: lists.yoctoproject.org; dkim=none (message not signed) header.d=none;lists.yoctoproject.org; dmarc=none action=none header.from=arm.com; Return-Path: Diego.Sueiro@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT013.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: eded4820-f72f-47ed-6248-08d9926dab88 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Zk3sZEm2ImUk5RH15R5ZHzJ2VP5ISC4ZwEWk/7ub68RmeusrH8xZ/2/M037RHOabVhMu+lnL0izVFWLP7CrXkxO2GSOphi/yF/3QfaoQNAJVJCjjvWFHOYXkR2f4W9q0O2dEVg6eKhE7lO1R5zVwrVjpJulbpc20tx9yi9q3ToEg5GZXDdsTsJVYsZ0e4dXwSK6L49gqa7uxpBU5ij/BA9weXAszyyHYjHioFAnxg3Bfyeh0NDVTmP+Pfg7ZaBBWw9gKMOYXr3r7tYJ2yDZBxaIbX0Handpin0O5j//z5/BXtjeOMTKNV9oFI/E7MjOlbhoOATR163UMRyohal3xsA34AAAmmjOypeBcdD+aAvjOeaklWyiYD65M+HbBKRRanb8xv+80JtGuRQQJ+Rw+dBTn8U8G9ZZNRLtVlJ5Uc/JfYte8cOlIoowbKRhMPlqaW93CBugMgv2BkGXUIURuZkSItLzjS6YztkuZE+LSDdnsEpR14KKzOsPVwySrM6BV8EDiTAniy+ItkUaxZ3sYFnovBU9p4FclzKUShUi/cZ71C7dkmXdCcER82xo8CYT1S6+g7XJBbusRFK5tvnE9gD9hWi+iw4ETeZmHhQQyc+7Oqpr3F3a1hAoZj3u1aUp6xRSknI0O7m0SVZ0pTKmxzsE/Wdncoy26RsquIBHNTx7s2JP/WM0a9yJ+FyV69lqr9ILKM5ABQWfps0zaYg4xFo70/6L7lXigt3PgnVkgOxjEwHmrSgKvxByjz0x1b3980WLrDWqsdYcRTRk+9otCEA== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(46966006)(36840700001)(356005)(2906002)(9326002)(7696005)(86362001)(9686003)(4326008)(6916009)(8936002)(966005)(508600001)(83380400001)(166002)(81166007)(336012)(70586007)(316002)(70206006)(186003)(26005)(8676002)(82310400003)(52536014)(33656002)(6506007)(36860700001)(3480700007)(47076005)(5660300002)(55016002)(579004)(559001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2021 19:30:10.0419 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aee010f3-deda-441e-db44-08d9926db2ff X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT013.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6590 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_AM6PR08MB3461855CC2F90763C0EF3CD792BC9AM6PR08MB3461eurp_" --_000_AM6PR08MB3461855CC2F90763C0EF3CD792BC9AM6PR08MB3461eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Recently I realized that we are having issues with setscene tasks (for dock= er-moby and cni recipes) where the packages were rebuild even already have = their tasks in the sstate mirror and bitbake-diffsigs not showing any diffe= rence. This is the sample of the output that I was getting: ``` WARNING: Logfile for failed setscene task is //build/tmp/work/neovers= en1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690ecec38ba69afc01-r0/te= mp/log.do_package_qa_setscene.3335 WARNING: Setscene task (//layers/meta-virtualization/recipes-networki= ng/cni/cni_git.bb:do_package_qa_setscene) failed with exit code '1' - real = task will be run instead WARNING: Logfile for failed setscene task is //build/tmp/work/neovers= en1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690ecec38ba69afc01-0/tem= p/log.do_package_write_rpm_setscene.3336 WARNING: Setscene task (//layers/meta-virtualization/recipes-networki= ng/cni/cni_git.bb:do_package_write_rpm_setscene) failed with exit code '1' = - real task will be run instead WARNING: Logfile for failed setscene task is //build/tmp/work/neovers= en1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690ecec38ba69afc01-r0/te= mp/log.do_populate_lic_setscene.3337 WARNING: Setscene task (//layers/meta-virtualization/recipes-networki= ng/cni/cni_git.bb:do_populate_lic_setscene) failed with exit code '1' - rea= l task will be run instead WARNING: Logfile for failed setscene task is //build/tmp/work/neovers= en1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690ecec38ba69afc01-r0/te= mp/log.do_populate_sysroot_setscene.3338 WARNING: Setscene task (//layers/meta-virtualization/recipes-networki= ng/cni/cni_git.bb:do_populate_sysroot_setscene) failed with exit code '1' -= real task will be run instead WARNING: Logfile for failed setscene task is //build/tmp/work/neovers= en1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690ecec38ba69afc01-r0/te= mp/log.do_package_qa_setscene.3339 WARNING: Setscene task (//layers/meta-virtualization/recipes-networki= ng/cni/cni_git.bb:do_packagedata_setscene) failed with exit code '1' - real= task will be run instead WARNING: Logfile for failed setscene task is //build/tmp/work/neovers= en1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690ecec38ba69afc01-r0/te= mp/log.do_package_setscene.3380 WARNING: Setscene task (//layers/meta-virtualization/recipes-networki= ng/cni/cni_git.bb:do_package_setscene) failed with exit code '1' - real tas= k will be run instead WARNING: Logfile for failed setscene task is //build/tmp/work/neovers= en1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690ecec38ba69afc01-r0/te= mp/log.do_deploy_source_date_epoch_setscene.3383 WARNING: Setscene task (//layers/meta-virtualization/recipes-networki= ng/cni/cni_git.bb:do_deploy_source_date_epoch_setscene) failed with exit co= de '1' - real task will be run instead ``` After some debugging I found that the "failed with exit code 1" comes from = this line http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/= sstate.bbclass#n764: ``` localdata.setVar('SRCPV', d.getVar('SRCPV')) ``` The root cause is because the cni and docker-moby recipes are using named S= RC_URI (a.k.a http://...;name=3Dfoo), setting the PV with it and were not s= etting the SRCREV_FORMAT which consequentially not set the SRCPV accordingl= y. Setting the SRCREV_FORMAT for cni and docker-moby recipes fixed the issue, = but I also suspect that the following recipes are potentially having the sa= me issue: ``` $ grep -r PV | grep SRCREV_ recipes-core/runx/runx_git.bb:PV =3D "v1.0-git${SRCREV_runx}" recipes-core/runv/runv_git.bb:PV =3D "0.4.0+git${SRCREV_runv}" recipes-containers/docker/docker-ce_git.bb:PV =3D "${DOCKER_VERSION}+git${S= RCREV_docker}" recipes-containers/docker/docker-moby_git.bb:PV =3D "${DOCKER_VERSION}+git$= {SRCREV_moby}" recipes-containers/cri-o/cri-o_git.bb:PV =3D "1.22.0+git${SRCREV_cri-o}" recipes-containers/kubernetes/kubernetes_git.bb:PV =3D "v1.22.2+git${SRCREV= _kubernetes}" recipes-containers/cri-tools/cri-tools_git.bb:PV =3D "1.21.0+git${SRCREV_cr= i-tools}" recipes-containers/crun/crun_git.bb:PV =3D "0.18+git${SRCREV_crun}" recipes-networking/cni/cni_git.bb:PV =3D "v0.8.0+git${SRCREV_cni}" recipes-devtools/yq/yq_git.bb:PV =3D "1.13.1+git${SRCREV_yq}" recipes-devtools/go/go-build_git.bb:PV =3D "0.1-git${SRCREV_runx}" ``` I can send a patch to fix cni and docker-moby but unfortunately I don't hav= e resources to test the other mentioned recipes. -- Diego Sueiro Staff Software Developer - Automotive and Industrial Solutions (CE-OSS) --_000_AM6PR08MB3461855CC2F90763C0EF3CD792BC9AM6PR08MB3461eurp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Recently I realized that we are having issues with setscene = tasks (for docker-moby and cni recipes) where the packages were rebuild eve= n already have their tasks in the sstate mirror and bitbake-diffsigs not showing any difference.
This is the sample of the output that I was getting:
```

WARNING: Logfile for failed setscene task is /<snip>/b= uild/tmp/work/neoversen1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690= ecec38ba69afc01-r0/temp/log.do_package_qa_setscene.3335          &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;                 = ;            &n= bsp;            = ;      

WARNING: Setscene task (/<snip>/layers/meta-virtualiza= tion/recipes-networking/cni/cni_git.bb:do_package_qa_setscene) failed with = exit code '1' - real task will be run instead            =             &nb= sp;            =              = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;      

WARNING: Logfile for failed setscene task is /<snip>/b= uild/tmp/work/neoversen1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690= ecec38ba69afc01-0/temp/log.do_package_write_rpm_setscene.3336         &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;                 = ;            &n= bsp;            = ;

WARNING: Setscene task (/<snip>/layers/meta-virtualiza= tion/recipes-networking/cni/cni_git.bb:do_package_write_rpm_setscene) faile= d with exit code '1' - real task will be run instead           = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;       = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;     

WARNING: Logfile for failed setscene task is /<snip>/b= uild/tmp/work/neoversen1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690= ecec38ba69afc01-r0/temp/log.do_populate_lic_setscene.3337          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =         

WARNING: Setscene task (/<snip>/layers/meta-virtualiza= tion/recipes-networking/cni/cni_git.bb:do_populate_lic_setscene) failed wit= h exit code '1' - real task will be run instead           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;                 = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            

WARNING: Logfile for failed setscene task is /<snip>/b= uild/tmp/work/neoversen1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690= ecec38ba69afc01-r0/temp/log.do_populate_sysroot_setscene.3338         &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;    

WARNING: Setscene task (/<snip>/layers/meta-virtualiza= tion/recipes-networking/cni/cni_git.bb:do_populate_sysroot_setscene) failed= with exit code '1' - real task will be run instead           =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =         = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;      

WARNING: Logfile for failed setscene task is /<snip>/b= uild/tmp/work/neoversen1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690= ecec38ba69afc01-r0/temp/log.do_package_qa_setscene.3339          &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;        

WARNING: Setscene task (/<snip>/layers/meta-virtualiza= tion/recipes-networking/cni/cni_git.bb:do_packagedata_setscene) failed with= exit code '1' - real task will be run instead            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;                   = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;           

WARNING: Logfile for failed setscene task is /<snip>/b= uild/tmp/work/neoversen1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690= ecec38ba69afc01-r0/temp/log.do_package_setscene.3380           = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            

WARNING: Setscene task (/<snip>/layers/meta-virtualiza= tion/recipes-networking/cni/cni_git.bb:do_package_setscene) failed with exi= t code '1' - real task will be run instead=             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =                 = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;     

WARNING: Logfile for failed setscene task is /<snip>/b= uild/tmp/work/neoversen1-poky-linux/cni/v0.8.0+gitb5ab16f010e822936eb974690= ecec38ba69afc01-r0/temp/log.do_deploy_source_date_epoch_setscene.3383        =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;          

WARNING: Setscene task (/<snip>/layers/meta-virtualiza= tion/recipes-networking/cni/cni_git.bb:do_deploy_source_date_epoch_setscene= ) failed with exit code '1' - real task will be run instead     =          <= /font>

```

 

After some debugging I found that the “failed with exi= t code 1” comes from this line http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/sstate.bbc= lass#n764:
```

localdata.setVar('SRCPV', d.getVar('SRCPV'))
```


The root cause is because the cni and docker-moby recipes are using named S= RC_URI (a.k.a http://...;name=3Dfoo), setting the P= V with it and were not setting the SRCREV_FORMAT which consequentially not = set the SRCPV accordingly.

 

Setting the SRCREV_FORMAT for cni and docker-moby recipes fi= xed the issue, but I also suspect that the following recipes are potentiall= y having the same issue:

```
$ grep -r PV | grep SRCREV_

recipes-core/runx/runx_git.bb:PV =3D "v1.0-git${SRCREV_= runx}"

recipes-core/runv/runv_git.bb:PV =3D "0.4.0+git${SRCREV= _runv}"

recipes-containers/docker/docker-ce_git.bb:PV =3D "${DO= CKER_VERSION}+git${SRCREV_docker}"

recipes-containers/docker/docker-moby_git.bb:PV =3D "${= DOCKER_VERSION}+git${SRCREV_moby}"

recipes-containers/cr= i-o/cri-o_git.bb:PV =3D "1.22.0+git${SRCREV_cri-o}"

recipes-containers/ku= bernetes/kubernetes_git.bb:PV =3D "v1.22.2+git${SRCREV_kubernetes}&quo= t;

recipes-containers/cr= i-tools/cri-tools_git.bb:PV =3D "1.21.0+git${SRCREV_cri-tools}"

recipes-containers/cr= un/crun_git.bb:PV =3D "0.18+git${SRCREV_crun}"<= /font>

recipes-networking/cn= i/cni_git.bb:PV =3D "v0.8.0+git${SRCREV_cni}"

recipes-devtools/yq/y= q_git.bb:PV =3D "1.13.1+git${SRCREV_yq}"=

recipes-devtools/go/go-build_git.bb:PV =3D "0.1-git${SR= CREV_runx}"

```

 

I can send a patch to fix cni and docker-moby but unfortunat= ely I don’t have resources to test the other mentioned recipes.<= /o:p>

 

--
Diego Sueiro
Staff Software Developer – Automotiv= e and Industrial Solutions (CE-OSS)

 

--_000_AM6PR08MB3461855CC2F90763C0EF3CD792BC9AM6PR08MB3461eurp_--