From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 10 Mar 2026 12:21:34 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f58.google.com (mail-lf1-f58.google.com [209.85.167.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 62ABLXjk016721 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 10 Mar 2026 12:21:34 +0100 Received: by mail-lf1-f58.google.com with SMTP id 2adb3069b0e04-5a14100ee34sf1765165e87.0 for ; Tue, 10 Mar 2026 04:21:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1773141688; cv=pass; d=google.com; s=arc-20240605; b=bONeZ227rAM24pif21xS2GR2RW13c2XqWEAFCXtEi5oFNeWZP1cBiTYgMH5eBjga9C niYAV6GSlV7fxC5v9K1IDxzjuN+zyAIfimEiyihE7it9vPLnLbJjcugm5mcF5NCTzGxT +tCqbvyWpan76dA/dQ8paTd7EahThNxyQgDF4Y2dNSwweEMUacM3wEm0/Ga7G6N6R9TA zh6cU3VbdmuO/RSRergsaJltIdUz0u5A5/Ib83rEWNkTmaWwqRV3epstV4WyuNMjkwkv Mmpa2F6dAkVfb6y8SOr1jz3vuR47xmest7fU3wgD8xz0IpLtQlxspiTusUh50ypWAltv 6tNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=ZloVKDt+bI67p6LjpUtP5xwqL1QtUwFrtmw55AHU0AI=; fh=nR43Pj5Zlg2+dYpuZANHtnIG6BIXVu4f/46q9e/sRk8=; b=SBnNma6Jas4JCYd3tWhWI4xXJ47ylkzLJvC72v7Hz3IIQBY9v8T1y8M83J82EH/Jq8 60xYuNtm/7DHOYQhO2xMei7f00XRwv++7B/lE9bn4QYxleVR8eLnGHX9mQifPGdnA3e0 0gC8g0usZe1Z/JFKTC9I7M9oeESFXSIjda+Oi/j53qpO+6lbl+JphH5hVxc7+pV3UoVM 4Hd7mQp1s8G0xS7qfyzCw+AYl2JK0e39kaRbZi+993X9A3qup76EvTKVmSzBK/lkLB0u j9sGOtgdrM+ViDfE4QqbGHx7LpjfVGUU8mYJtjNjhFuNUcQzwbzB67xG6KZ7H+v7kxwA roIw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1773141688; x=1773746488; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:in-reply-to:from:content-language:references:cc :to:subject:user-agent:mime-version:date:message-id:sender:from:to :cc:subject:date:message-id:reply-to; bh=ZloVKDt+bI67p6LjpUtP5xwqL1QtUwFrtmw55AHU0AI=; b=fqRz2jgo7JuGdgNDtahKWJBxnVhQ4SsbJTWoZ2d43xXmZVx7KGcB9T2+8j0+ser4hk pO3VLvBtsW8BURsZ4NvMDjToPBBzzimUttp+kCg9lBndc9h7h/RIQ1+4OyCTJ5svIktI Metx3vQPZ8DAV9R7HpLnMrVKWt1T+mLjFuTEW/AkmkqnyLdqbLguGOfSFXaqF0rFV8N4 IVC6S6Uib4SmPpYoWUb69sn8ERkswslpjGgmp9uRWFkH5XMU1F1oD4Ooc92pVHQTEE7P DfY6vuEQ8v1O0z6KnkysLCItSVLPORtbffvxjw5QOcb0og+1HgzwRZmJUxB5o6P4jNoG Utzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773141688; x=1773746488; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:in-reply-to :from:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:x-beenthere:x-gm-message-state:sender :from:to:cc:subject:date:message-id:reply-to; bh=ZloVKDt+bI67p6LjpUtP5xwqL1QtUwFrtmw55AHU0AI=; b=i8ZDNJUqVWvT+CoU3C8TCrMXxJ5DkHcZWADM9YbLfLQUFxXfeJ9QTF3RhZoRqWN6ua W5s2FgbF59bFdlZ1VEdASeOKcdIWHkcZtZtACQffxdmtoNChw4HcdwgnDMzu9CBXQ/Na /KP7m1Bp1cgPxQ8dKwsgpUIzjWMgtws3mUPWenIlLX338N4hmm9Xb0i9FsrUlnyPp859 RhUTxSi0fYWV12A/Abg6+vVcmmNTdEx9yq1r+RmSFjyD8LQ6puEe9czZvOM0fZTxTKFz 0C0DEnyQopSNtgrhC8YbSkqymlVQdU+VSXgwZUnZ/E8zFl8VdASK8knWobGqYiG5hSgP yfmA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVdqp0pgciVfU+GZ2cR7CtMOVT0EXiDedCmUxcw59cgaXtKKLWNgJTT28qTIjoXkbsdatSB@ilbers.de X-Gm-Message-State: AOJu0YzPwMQqtTO1nxvnDMRTLfaJvwk1jD0a385PDzthOZwW/690dr+N nE1cvdlHLAwKsqUkX+HkQgEDnBurIpo6qUNF5AQqPMKsVb6RX5/QYYyP X-Received: by 2002:a05:6512:3da8:b0:5a1:43cc:9fbd with SMTP id 2adb3069b0e04-5a143cca4cbmr3310525e87.36.1773141687809; Tue, 10 Mar 2026 04:21:27 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AV1CL+FaEN1TObqx38+YplPRXStp4sfziMpGmQW0/Tfjb6iuoA==" Received: by 2002:a05:6512:224a:b0:5a1:196d:c38e with SMTP id 2adb3069b0e04-5a12fc31f80ls624961e87.1.-pod-prod-03-eu; Tue, 10 Mar 2026 04:21:25 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWbiXvsfgViiA96+VJmNaxyHaq579KmZXmq2Qp+JRjoZInzHL0onUlUWQKHeOfB3qtzBxndvutPJnG1@googlegroups.com X-Received: by 2002:a05:6512:63da:20b0:5a1:2c0b:bd7 with SMTP id 2adb3069b0e04-5a13cd0034dmr3675218e87.35.1773141685119; Tue, 10 Mar 2026 04:21:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773141685; cv=none; d=google.com; s=arc-20240605; b=azRJeyi2B3HPYxLMPs2FhRulpRdmf7HfSMbBjhQHM7QN4b1UBteREeyPFiagPYN8+N BdMNEVhB83es2+5JXJnfVPQFXMpTs4XyRjtmQiZTMO5h5HY/PzPsari9JCTyOcW2vJ+C +3L82rQl9Asw/ilzGNsxf6aThqT41ytBlHspgbeYWukV/oJr7QkKj/EPnJfWsOQQsziX BIIun3g6luBXVIhu86+9giHy55LDHYI1e2+7FuWGR4JX+/keubSzQoScDqwvMPIZzG0G S9eYacr8ob/c3NFbHhjMVUPmsG6/iXssuD+Wuua+hhfi0Zv5GncuFEW27DeqnyTuIG3v h7sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=IjVpAfXng1xVNkEq1wvgGDhPHdcKnJshnxhasgkuI0k=; fh=ox4YIsVbnuk1firzwR//54cceLd5Nq3ptTt2d09NorE=; b=gCHnWqF3+9xQTmGEZyilNX4iG3HcTkHoZiGCc/FolndcE5gySGhp+RLVDSB+bBl6oJ N7xliRvVU8SZZ4TW03oPu74rLsymFvcRCJScHB+loopxjx6ePC19KUjr9pBoyH1bSI75 kLavR/yppr/wuIOtTrLYUgEGii7UYFvEADQVKoeC3wjVMlZcGQPmeItzZv9IMcXqtCDZ knD8W3BwAe/DuV6tn4f0xY5X5LKDzahF0H8fP4TlaCc5V/XNRiCUmr8X63zDmNCO5FcH f0/LR/9TyEvSolw4QwghiDc0uHzxxWNIucJs32pEv4sDmbrkVMI6Y7VY0mTFOrk6u78K m/PA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-5a13d069aa3si258226e87.8.2026.03.10.04.21.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Mar 2026 04:21:24 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 62ABLMMp016712 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Mar 2026 12:21:23 +0100 Message-ID: <4bbee255-b69b-42e5-91f4-c85642e9e56e@ilbers.de> Date: Tue, 10 Mar 2026 13:21:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/2] bitbake: Remove custom exception backtrace formatting To: Felix Moessbauer , isar-users@googlegroups.com Cc: wzh@ilbers.de, jan.kiszka@siemens.com References: <20260306161548.1102004-1-felix.moessbauer@siemens.com> <20260306161548.1102004-3-felix.moessbauer@siemens.com> Content-Language: en-US, ru-RU From: Anton Mikanovich In-Reply-To: <20260306161548.1102004-3-felix.moessbauer@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS 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-Original-Sender: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: rpVF2vg+aXxr Hello Felix, Would you like to resend the patchset with restored authors or I can do that? 06.03.2026 18:15, 'Felix Moessbauer' via isar-users wrote: > Backport of upstream bitbake patch c25e7ed128b9fd5b53d28d678238e2f3af52ef8b. > > Removes the code in bitbake to show custom backtrace formatting for > exceptions. In particular, the bitbake exception code prints function > arguments, which while helpful is a security problem when passwords and > other secrets can be passed as function arguments. > > As it turns out, the handling of the custom serialized exception stack > frames was pretty much made obsolete by d7db75020ed ("event/msg: Pass > formatted exceptions"), which changed the events to pass a preformatted > stacktrack list of strings, but the passing of the serialized data was > never removed. > > Change all the code to use the python traceback API to format exceptions > instead of the custom code; conveniently traceback.format_exception() > also returns a list of stack trace strings, so it can be used as a drop > in replacement for bb.exception.format_exception() > > [Felix: adjusted to bitbake path in isar repo] > > Signed-off-by: Felix Moessbauer -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/4bbee255-b69b-42e5-91f4-c85642e9e56e%40ilbers.de.