From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7097264153945964544 X-Received: by 2002:a19:f24e:0:b0:478:5260:dbae with SMTP id d14-20020a19f24e000000b004785260dbaemr15455523lfk.477.1653407700486; Tue, 24 May 2022 08:55:00 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:bc23:0:b0:253:eb63:bfd2 with SMTP id b35-20020a2ebc23000000b00253eb63bfd2ls1240349ljf.7.gmail; Tue, 24 May 2022 08:54:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdtcTWcwBWbEcYwU6GrL0KkIevlJf9uY5+uEulgd9zQSegCOpC1zWgVtPp/Ww6FgtZDe2N X-Received: by 2002:a05:651c:158e:b0:253:d4c5:86f3 with SMTP id h14-20020a05651c158e00b00253d4c586f3mr15540734ljq.273.1653407698703; Tue, 24 May 2022 08:54:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1653407698; cv=pass; d=google.com; s=arc-20160816; b=nZdzpoBMqYAwb/Kj1LHdl16rTWIzq2yh7uwp/vpGztTYKHrepQZfW+uGKTDtG9buVF MJ3mb4m2thOGFrZQz5b6lgdIWGdDrmhX6vrRid57visEiun60jzCqYgBssL0L6YIoQch FZ8c9CdKHx75sBt/naraPwwQafxRxPgsIyF+KI9HjGh32gJR0m8bPZW1di72rTP6IVKD HpxJbyy6d7YpYYz8G/x0q35jWvqQ3m66IeJDBnsDiuydmx+oJwMEPuK+w4rn/LFc5YXn FiHFxIyETbtRg36HPgEgxxeMyzBzycnvJcJAqCvXmteD7AVSLXoesOQYxwJ8OU5a7UDr KLTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=W2vDRju1nH1E4LIsWOxFGn20yNlQ81BUNKC3KgNSe08=; b=HE48tTgNvtZ34fvCT7bhh+nr4x9D6uYk8cGZQAUK6oSi/NFmfCjqp9F9jMhKZ3P6ae xVpv17oSggZG/TjXTl472MPA3xfD5/XOHzL3MO+iwWVv6cmg/vuHJuHAes/8PRwO6PKN 17R9rku9+IVSQ0sq/MuT94900DOM1VMdBLgUQu4Y+RClQpAdLhpfrAqxQLlXBJk0ICrn 5T28tXf3OLOJ9eywLPh6v+s/BkE9splkcCRRqZTLAJX3F4snBHjetqFbr6lolJfdWURi 7vw50DHvna+UUiJ+jVoWgKesI7+fLUnp0adyuECNMzOHXC6z4svlKHvKS2Qp7JHC/HK7 op/g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=FAVn8dWm; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f400:fe07::616 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02on0616.outbound.protection.outlook.com. [2a01:111:f400:fe07::616]) by gmr-mx.google.com with ESMTPS id f36-20020a0565123b2400b004785b6eac92si486716lfv.7.2022.05.24.08.54.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 May 2022 08:54:58 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f400:fe07::616 as permitted sender) client-ip=2a01:111:f400:fe07::616; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=FAVn8dWm; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f400:fe07::616 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mt6m9752AUvtZGMJ6hN5/XbX6TFurx8g9TV96Im3eeWk2POVcf+B0GdCb0PP+o2fBu5jPz/NdvUYMnAJXcdvXjm3PJPF6NVH+f5YeUwbNsZFleGfPClSkZwl8Y3CUE1oFqTVUcweCQK7/K9esldkrtnLAmQ/w5RISfZKj8NyynUr48rjn1xv9TUYgfC6S5yvj4Xl3XII++ie9t2CB1TK4GbuanGsO+S/dSiwt1Q6OFlYgmLQI9Ze3+9ER7z4zsFIdzJO3DYrzQjZ5EOeiFHsjMsB9bd6orn0S+HnM3azkewlCi0apwSYcLqNvVu5Nhp+18smbnK3T5pdQnHuInZYrw== 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=W2vDRju1nH1E4LIsWOxFGn20yNlQ81BUNKC3KgNSe08=; b=JkGKDCC7lIbVRCbLWavJSSlbNjGnF8WCwwYVeYThuEET1Sg2CMg56PsFEW8Jh1RXaXD4UPhK1xwWrHqe+9bW6MrnGHwdPcXg/NbEiSLLYHEMWV6Puq6nF2Kz7xTJzmg+HkRCSprhQq1/JskZ3dKYeWMutCDNq07RSxI2YZi+koA1NkHjXORXQ/skzcKRDqtzGZK1iS93XHj+gEcjpQsI+s15pafw3XAvCnUPGfU77DYz41JbP1gP8+ODdxvZ2ApjGMUk0MGzLu53nAk5GlFcDSNBynjjHCK9JlY5B0feyEBCPwXT0O5r3PKLj3IAckIQUnYLuATG/XwVwmoErbr7Lw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.70) smtp.rcpttodomain=ilbers.de smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W2vDRju1nH1E4LIsWOxFGn20yNlQ81BUNKC3KgNSe08=; b=FAVn8dWm6eOYp2EU9uGxvdGq+HoSMs9H92GNltk6iPSL0ONtBX76WvrSY8Pkx2MStLYxx0kEs0ksYcRgOavAffhfiCFtrah5F7h5cnsr/h0vYhd06CN0uerluClKXbN6rsGrKhiq+olvI6GvZ/EFNVGsqQhkXxngkymmLHaGm//9VhOzlqRwCwGsJF510I4mALRTaQ+oXLfXZNhPPNmbR8NPZFKA8THZcmTHTa5vfL5ZbVhqGm8awVyh8NvWsp6KXSGuuAj9T+3tuT6V0eIapIAMHAkw57F0cFRvHI1OwVkiv4/dQl66fM/YfWcMilH6U/sFl0/Yz7lTGyF9j6xX5A== Received: from AM5PR0701CA0069.eurprd07.prod.outlook.com (2603:10a6:203:2::31) by DB4PR10MB6120.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:38b::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.22; Tue, 24 May 2022 15:54:57 +0000 Received: from VE1EUR01FT019.eop-EUR01.prod.protection.outlook.com (2603:10a6:203:2::4) by AM5PR0701CA0069.outlook.office365.com (2603:10a6:203:2::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13 via Frontend Transport; Tue, 24 May 2022 15:54:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.70) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.70 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.70; helo=hybrid.siemens.com; pr=C Received: from hybrid.siemens.com (194.138.21.70) by VE1EUR01FT019.mail.protection.outlook.com (10.152.2.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.14 via Frontend Transport; Tue, 24 May 2022 15:54:56 +0000 Received: from DEMCHDC89XA.ad011.siemens.net (139.25.226.103) by DEMCHDC9SJA.ad011.siemens.net (194.138.21.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.9; Tue, 24 May 2022 17:54:54 +0200 Received: from [139.25.68.37] (139.25.68.37) by DEMCHDC89XA.ad011.siemens.net (139.25.226.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.24; Tue, 24 May 2022 17:54:54 +0200 Message-ID: <2be1421c-b534-c5c7-cf5e-1510cc3c81a5@siemens.com> Date: Tue, 24 May 2022 17:54:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: Error logging broken with next? Content-Language: en-US To: Anton Mikanovich , isar-users CC: Baurzhan Ismagulov References: <75340600-5180-2f78-86f8-d5dc0c757a35@siemens.com> <3ddcda7f-41ba-5e25-3ec8-959a5ff356cc@ilbers.de> <46894ccf-242c-68fa-1553-b99a5670c160@siemens.com> <5bb4f88d-0285-4407-6bad-04e6b6e3703f@ilbers.de> From: Jan Kiszka In-Reply-To: <5bb4f88d-0285-4407-6bad-04e6b6e3703f@ilbers.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-Path: jan.kiszka@siemens.com X-Originating-IP: [139.25.68.37] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC89XA.ad011.siemens.net (139.25.226.103) X-TM-AS-Product-Ver: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-AS-Result: No-10--17.304500-8.000000 X-TMASE-MatchedRID: mhiQMek7eYo5QaOxwNGfvo9bHfxDWoib5GpNAiPonKgJkbKE+p2aK4HL FWR93TgkUCgEErrUGFzhO1nSlS9Ry+h4w4v1zBopTT53KRc4+7xHzbR4YfxtegKDWtq/hHcN3V4 UShoTXaeKZevPTDsNRiNgPd9n6J1iEcE+LOiKuIv8SaXpV7P4SldjnN7rNQ8p5b0nmEmBFCzaCn 4DqCiXNkoPLn6eZ90+eJUHfP2jc8SdOcxL/MDUUOnE40BfjgG0lowCI7+FFMA1zAIxsIDxqE16N 0DD9tffjPODI4m6bIeYpuG7kpoKR8n6rmLDrw45ypQ4fHj6rgtKca0+41kHnG0WRq7KHlv4QR7l WMXPA1sz988bphElUer4Blx+fGLD1d2FeHY4JrzUJZmS6wo849wT6zxh2KcjwecYtFTu6LhxXef gn/TNQ8sgArcTrx0xE2G7Tdxp4PvVt3p21S265zE41bFBKcdLahH+l6+69lhFM72aEhcbjS6MyP q4TWG5tsxVqq1TeAWSLvAQjXykCkGPbm3tak5+X7bicKxRIU23sNbcHjySQd0H8LFZNFG7/nnwJ 52QYi+pygCGKFPC+Jg88gYoj0tKrPgylnbZFMl9XutxzS+d3VgZDe3C218HP6uRM/mTKrw= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--17.304500-8.000000 X-TMASE-Version: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-SNTS-SMTP: B6072631C8AD8283769DB7B6064D05CD7BEBE4757A51125C272375A0EE6203C72000:8 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4bf19e35-3bf6-4273-29af-08da3d9dc011 X-MS-TrafficTypeDiagnostic: DB4PR10MB6120:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: omJqNBbBiAfI1F+apx1I7KBSrBn9XiZFrku8RY4WRgmOIZBidA3c42DD7y3xHs/sr6qc6IYMwh4WUT5rgMpmLB3qIC7NV0L1s5iDRjT3vMUjwLN54jQM42hq+4jiFxdkDlGH3tnSJTht9q+t127mmuMZ5hEVtwN4X+9icFFJg46Jo2iOWgjZ1vswRakp613A7lI4CoyVRI50beOpADnZ1fPJg7dnRt/xI/sVkEgyEx7mx7MTf6AxCDJnA5SJqsfuxWJHqhwx2iOFtb8gFmUm/dcoJgq64LGMAIaKKPokh6ahySt82fcZPoBNUCSUZ3evUDrdDypnvqx9EptnPbOuVhsSvX/M/1ajwBIPVRMX2c7cEdTD1EOFBMSFvqfq4wH0Pk0GBoMr8VH+oN/wRfvdKylATDImbvgEegMo3BQIXIfbeJl2PdRKuIWfX+X+kqhSGiWjPS+1oNB6W78tOfSA7P+DhKIdXDjBj8shivaet5lE4P5kjQUpbM9QuqbbSnB58+B7UVvlU3s4lVl89jHwT8e4iwn3J5ivSjTXZQMvWezwAy8WLgp/lysMXKAACnpoRxBej+WK8h63+vdu3AUBhyYgaCcJ403/+6aCZ/SWaQ71wvshk4vEDkN9Z5UpULKvECzBLPxKOuqakyGnq9oh2CfFMfaSNubPfPxV8iOD5LZdor0wvC8VmEhVzfDrNn7FJBxTS1fBM4qavcrnElrj+FzLtIV6ZylXewqF9DHYOk++ErhmRjOva7P4iQ1rcwox X-Forefront-Antispam-Report: CIP:194.138.21.70;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:hybrid.siemens.com;PTR:hybrid.siemens.com;CAT:NONE;SFS:(13230001)(4636009)(36840700001)(46966006)(40470700004)(44832011)(8936002)(8676002)(31696002)(4326008)(36860700001)(2906002)(70586007)(70206006)(186003)(83380400001)(86362001)(508600001)(316002)(26005)(16576012)(6706004)(956004)(40460700003)(2616005)(16526019)(7636003)(53546011)(82960400001)(36756003)(47076005)(110136005)(336012)(7596003)(82310400005)(31686004)(5660300002)(356005)(3940600001)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2022 15:54:56.7387 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4bf19e35-3bf6-4273-29af-08da3d9dc011 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a;Ip=[194.138.21.70];Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT019.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR10MB6120 X-TUID: a+IPRMXG31CH On 24.05.22 16:23, Anton Mikanovich wrote: > 23.05.2022 22:06, Jan Kiszka wrote: >> It's actually much simpler: Just call "bitbake borken-target" on the >> shell, and you will only get the lengthy backtrace but not log report. >> >> I'm not yet down to the core of the problem, but when you force such a >> failure in upstream poky (today's master), you also get no immediate >> output of bitbake - but then the knotty UI jumps in and does a >> >> Log data follows: >> | DEBUG: Executing python function extend_recipe_sysroot >> ... >> | DEBUG: Python function patch_do_patch finished >> | DEBUG: Executing shell function do_fix_readlib_c >> | FAIL! >> | WARNING: exit code 1 from a shell command. >> | DEBUG: Python function do_patch finished >> ERROR: Task (/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_patch) >> failed with exit code '1' >> >> >> I've done this to poky to trigger it: >> >> diff --git a/meta/recipes-core/glibc/glibc_2.35.bb >> b/meta/recipes-core/glibc/glibc_2.35.bb >> index 6ea5b1efb5..9500c8a128 100644 >> --- a/meta/recipes-core/glibc/glibc_2.35.bb >> +++ b/meta/recipes-core/glibc/glibc_2.35.bb >> @@ -91,6 +91,8 @@ do_patch:append() { >>   } >>     do_fix_readlib_c () { >> +    echo "FAIL!" >> +    false >>       sed -i -e >> 's#OECORE_KNOWN_INTERPRETER_NAMES#${EGLIBC_KNOWN_INTERPRETER_NAMES}#' >> ${S}/elf/readlib.c >>   } >>   Analogous trigger for isar: >> >> diff --git a/meta-isar/recipes-app/example-raw/files/rules >> b/meta-isar/recipes-app/example-raw/files/rules >> index a1167375..ed63d364 100644 >> --- a/meta-isar/recipes-app/example-raw/files/rules >> +++ b/meta-isar/recipes-app/example-raw/files/rules >> @@ -5,4 +5,5 @@ >>   # we do violate debian quality rules here, but on purpose to demo how >>   # to deal with it >>   override_dh_usrlocal: >> -    true >> +    echo "FAIL!" >> +    false >> >> So, Isar has a bug here of not letting knotty (as default UI) do its >> job it seems to me. Didn't this work before? Didn't we also have those >> duplicate dumps in the past that upstream bitbake seem to have resolved >> now? >> >> >> BTW, I've received first reports of this bug from the field today. We >> must fix this before the release, or our users will kill us. >> >> Jan >> > I didn't find any differences between Yocto and Isar. > If putting glibc_2.35.bb change example into Isar it behaves in the same > way > outputting full error log. > Otherwise if executing the second example in Yocto (running bash code from > python task with bb.build.exec_func) it will output only exception message > just like Isar. > So there are no issues in Isar itself, it behaves just like Yocto. > If we need to have full log printed Bitbake should be fixed. > Ok, then the environment of the glibc case is not the same as our for the dpkg_runbuild. The latter is broken, and we need to understand how to restore its output in Isar - very likely not in bitbake. Jan -- Siemens AG, Technology Competence Center Embedded Linux