From patchwork Mon Jul 7 14:05:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Dubois-Briand X-Patchwork-Id: 66344 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AD83C83F0C for ; Mon, 7 Jul 2025 14:05:51 +0000 (UTC) Received: from relay15.mail.gandi.net (relay15.mail.gandi.net [217.70.178.235]) by mx.groups.io with SMTP id smtpd.web11.216.1751897145635947009 for ; Mon, 07 Jul 2025 07:05:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LTeKSBaJ; spf=pass (domain: bootlin.com, ip: 217.70.178.235, mailfrom: mathieu.dubois-briand@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id EC4C444276; Mon, 7 Jul 2025 14:05:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1751897144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GktgeoHXCVHW7txNch5R3AHOfnhFAUZMqNS4Mycs/1U=; b=LTeKSBaJfjprfNLMejZlD72wryl55NTb5KXGfWLJLcKgv0YTd5lNWCGTq/Xq5bZyy5y8hd uxitvVfzcC2xFCLheYC+7JWhmvhD+HMsF3o8l4KOpZkXCBVidEYCQBab9/cDZhw7qm83JY /glQ9pwEAdyPxw1mULfY/T33TCLzDuOO9B+jBNecFhDwEJ59L8Se6IANnIkuoqmnTmu6FW LgUg0/fKFscCGpnQ1nPkhKbd2gwOYtj5b9wwVmxjf8Rgz4VlWP7wDzJPYm1xoXUcsr7cQD TSMWynwZdSRATzGUjfhW5/L4XVSFBxJ3xsOfKiO/t35195U0MUuHhNYVxxNXrQ== From: Mathieu Dubois-Briand Date: Mon, 07 Jul 2025 16:05:23 +0200 Subject: [PATCH yocto-autobuilder2 1/5] docker: Add note about using a custom buildbot branch MIME-Version: 1.0 Message-Id: <20250707-contrib-mathieu-popup_title-v1-1-d683ba953b96@bootlin.com> References: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> In-Reply-To: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> To: yocto-patches@lists.yoctoproject.org Cc: Thomas Petazzoni , Mathieu Dubois-Briand X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1751897143; l=2146; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=8oFpFXW3wlBN17Z6EH/ktreaNwZBYPYthXBs7rcvTHU=; b=Ze/zcV9QnD7MwnMRi3o5CItkmHC46dVUm9jsZuJeZVOF5S/oPgWOeRWelJiraw6nuDFkRDIrf aV56WygC9QeDhMQMUfkew0C2W80r57v/ECzU5nU82GkzKOOPgg2RFg3 X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdefudellecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeforghthhhivghuucffuhgsohhishdquehrihgrnhguuceomhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomheqnecuggftrfgrthhtvghrnhepgfdthedvhedtjeeuffehffdtheefgeelleetkeeugeehhfeihfelhfevgeduteelnecuffhomhgrihhnpehgihhthhhusgdrtghomhdphihotghtohhprhhojhgvtghtrdhorhhgpdhophgvnhgvmhgsvgguuggvugdrohhrghenucfkphepvdgrtddumegtsgdugeemheehieemjegrtddtmeeffhgtfhemfhgstdgumeduvdeivdemvdgvjeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdgrtddumegtsgdugeemheehieemjegrtddtmeeffhgtfhemfhgstdgumeduvdeivdemvdgvjeeipdhhvghloheplgduvdejrddtrddurddungdpmhgrihhlfhhrohhmpehmrghthhhivghurdguuhgsohhishdqsghrihgrnhgusegsohhothhlihhnrdgtohhmpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepthhhohhmrghsrdhpvghtrgiiiihon hhisegsohhothhlihhnrdgtohhmpdhrtghpthhtohephihotghtohdqphgrthgthhgvsheslhhishhtshdrhihotghtohhprhhojhgvtghtrdhorhhgpdhrtghpthhtohepmhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomh List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 07 Jul 2025 14:05:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1771 Adding an example of using a custom buildbot git and branch and add all needed dependencies. Signed-off-by: Mathieu Dubois-Briand --- docker/Dockerfile | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index fc6e6635a873..d46e7f403bb8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -22,6 +22,7 @@ RUN apt update && \ iproute2 \ iputils-ping \ libacl1 \ + libcairo2 \ liblz4-tool \ locales \ npm \ @@ -39,6 +40,13 @@ RUN apt update && \ xz-utils \ zstd +RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 + +RUN npm install -g yarn + RUN pip3 install --break-system-packages \ buildbot==4.2.1 \ buildbot-www==4.2.1 \ @@ -49,12 +57,18 @@ RUN pip3 install --break-system-packages \ buildbot_pkg==4.2.1 \ websockets -RUN npm install -g yarn -RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +# Uncomment and update following code to use a custom buildbot branch +# RUN pip3 install --break-system-packages \ +# git+https://github.com/mbriand/buildbot.git@mathieu/workers_limit#subdirectory=master \ +# git+https://github.com/mbriand/buildbot.git@mathieu/workers_limit#subdirectory=worker \ +# git+https://github.com/mbriand/buildbot.git@mathieu/workers_limit#subdirectory=pkg \ +# websockets \ +# && \ +# git clone https://github.com/mbriand/buildbot.git -b mathieu/workers_limit && \ +# cd buildbot/ && \ +# make frontend_deps && \ +# pip3 install --break-system-packages pkg www/base www/console_view www/grid_view www/waterfall_view www/wsgi_dashboards www/badges RUN ssh-keyscan push.yoctoproject.org push.openembedded.org >> /etc/ssh/ssh_known_hosts From patchwork Mon Jul 7 14:05:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Dubois-Briand X-Patchwork-Id: 66345 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E525C83F10 for ; Mon, 7 Jul 2025 14:05:51 +0000 (UTC) Received: from relay15.mail.gandi.net (relay15.mail.gandi.net [217.70.178.235]) by mx.groups.io with SMTP id smtpd.web10.217.1751897145754452065 for ; Mon, 07 Jul 2025 07:05:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=A+H5HpgX; spf=pass (domain: bootlin.com, ip: 217.70.178.235, mailfrom: mathieu.dubois-briand@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 2DF6044279; Mon, 7 Jul 2025 14:05:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1751897144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SS5jlOlmM45xLjMXfTL3LovJGvCde2FFVzTgZoVzbhw=; b=A+H5HpgXKX7a9CvPmvUtLActlGn6EN53HGqUBr276prmxMNMY3P1XEifFwkGA4lI2MfhN5 CrVLwDcxAyiwTTvze1G+6WB5CoM5+FsYXUAJ9IyxGYkFJWAqvOcuUXL/TnGMb10ta2R8BC ROXyQsqiK5kn8CMcS6K60f2xU2gVS3/cx/1GG12Zu46bqgQZlCW6pezuS2pdEMdfGdIiu/ I0i1y48mGswUobiqP3fFZFPyeY9n7M5FHMKR/KRyasf/p12wkYWhqnasli5KnCAGWpcU65 92JhAF5y9oQ8Cq7Svc6XNJPc9mYqF4aSWbdBOuj1SoXAfuWpKsI19D8uQahDnQ== From: Mathieu Dubois-Briand Date: Mon, 07 Jul 2025 16:05:24 +0200 Subject: [PATCH yocto-autobuilder2 2/5] docker: Fix scheduled builds disabling MIME-Version: 1.0 Message-Id: <20250707-contrib-mathieu-popup_title-v1-2-d683ba953b96@bootlin.com> References: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> In-Reply-To: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> To: yocto-patches@lists.yoctoproject.org Cc: Thomas Petazzoni , Mathieu Dubois-Briand X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1751897143; l=1028; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=HiHbQ70+16Q8E7zXoCB6cfOFcZr/AzFVgUNcVWoDVN8=; b=3wxFqB75FilQ64mDS6esyydYfZpSBYaAvWN5qb+DOK9gqFCQz+S1dBPctwadWvHiHsAbfTIsL wrWEAbMQPXjCzSS6M+sX8w3uTMWw48mGApJpUlmEH/DUXxLrtTooDVk X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdefudellecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeforghthhhivghuucffuhgsohhishdquehrihgrnhguuceomhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomheqnecuggftrfgrthhtvghrnheptdfhgeetvddvheejieehheehueetjeelkedtfeehhefgfeeglefhteegtddthfetnecukfhppedvrgdtudemtggsudegmeehheeimeejrgdttdemfehftghfmehfsgdtugemuddviedvmedvvgejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrgdtudemtggsudegmeehheeimeejrgdttdemfehftghfmehfsgdtugemuddviedvmedvvgejiedphhgvlhhopegluddvjedrtddruddrudgnpdhmrghilhhfrhhomhepmhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepfedprhgtphhtthhopehthhhomhgrshdrphgvthgriiiiohhnihessghoohhtlhhinhdrtghomhdprhgtphhtthhopeihohgtthhoqdhprghttghhvghssehlihhsthhsrdihohgtthhophhrohhjvggtt hdrohhrghdprhgtphhtthhopehmrghthhhivghurdguuhgsohhishdqsghrihgrnhgusegsohhothhlihhnrdgtohhm List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 07 Jul 2025 14:05:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1772 Signed-off-by: Mathieu Dubois-Briand --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index d46e7f403bb8..3538aff5e640 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -122,7 +122,8 @@ RUN sed -i \ /home/pokybuild/yocto-controller/master.cfg && \ # Comment any sched.Nightly schedulers \ # We try to support multilines code blocks by counting parenthesis \ - awk '/^schedulers.append\(sched.Nightly\(/{comment=1} /\(/{count+=gsub("\\(", "(")} /\)/{count-=gsub("\\)", ")")} {if (comment) {print "#" $0} else {print} if (count==0) comment=0}' \ + awk -i inplace \ + '/^schedulers.append\(sched.Nightly\(/{comment=1} /\(/{count+=gsub("\\(", "(")} /\)/{count-=gsub("\\)", ")")} {if (comment) {print "#" $0} else {print} if (count==0) comment=0}' \ /home/pokybuild/yocto-controller/yoctoabb/schedulers.py COPY docker/entry.sh / From patchwork Mon Jul 7 14:05:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Dubois-Briand X-Patchwork-Id: 66343 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60A0EC83F12 for ; Mon, 7 Jul 2025 14:05:51 +0000 (UTC) Received: from relay15.mail.gandi.net (relay15.mail.gandi.net [217.70.178.235]) by mx.groups.io with SMTP id smtpd.web10.218.1751897145972113554 for ; Mon, 07 Jul 2025 07:05:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=R81Tr0gU; spf=pass (domain: bootlin.com, ip: 217.70.178.235, mailfrom: mathieu.dubois-briand@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 6889F44237; Mon, 7 Jul 2025 14:05:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1751897144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cwjDK/ZWdpJKixoKwiSW0euSxhi97IFERMg5a1mrSc0=; b=R81Tr0gUhp3dPS+/0vM6D0INKHfiTeTqbPPhnsO+D0mH95bxcowvGfIfIZlR3HYEnxxNJg JrAbvtEB0k2PF37DJwha07ppaPExnx2uhKX79Ua69m27WTiLZMAfAPhzyaXjaqS1TJoka9 LT1MmZ1tB6GcBGmrpOHeod7yHt+ZcWxrGGaJcPjqUMgTBxlSKzYX8fvHlhUcZvrKf0AkY8 x0S9S4zqRgu4hNkmBZvo7Lxgp804HJy8tXT5RzXMdmAJ4YrUSPeWyoyOMYGWxMrF1aVmT7 rv1npJf8FrkjOcGx3ck1Lfpi5wQ/x2vSkcziwjKkn/DOiHt7oD3HNIShLvqblw== From: Mathieu Dubois-Briand Date: Mon, 07 Jul 2025 16:05:25 +0200 Subject: [PATCH yocto-autobuilder2 3/5] docker: Allow to use any worker for builders of previous releases MIME-Version: 1.0 Message-Id: <20250707-contrib-mathieu-popup_title-v1-3-d683ba953b96@bootlin.com> References: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> In-Reply-To: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> To: yocto-patches@lists.yoctoproject.org Cc: Thomas Petazzoni , Mathieu Dubois-Briand X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1751897143; l=898; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=5i7fbzbfqtRX8GPZX6Bm8n6aGq6nnmyfYx2W7nKa4Ls=; b=Wa+UdS3IfKUUt7WhlWL4BPYg+rIu/z7W8Jk91p7/bOFkUs7WpQL3hPW/UHW/ewrSrVGHVzdRN KwdzsATp9hECSvYGzkHhxK8W7Lp5ruKx53Dil/s1en4w0fWeVj54Skh X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdefudellecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeforghthhhivghuucffuhgsohhishdquehrihgrnhguuceomhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomheqnecuggftrfgrthhtvghrnheptdfhgeetvddvheejieehheehueetjeelkedtfeehhefgfeeglefhteegtddthfetnecukfhppedvrgdtudemtggsudegmeehheeimeejrgdttdemfehftghfmehfsgdtugemuddviedvmedvvgejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrgdtudemtggsudegmeehheeimeejrgdttdemfehftghfmehfsgdtugemuddviedvmedvvgejiedphhgvlhhopegluddvjedrtddruddrudgnpdhmrghilhhfrhhomhepmhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepfedprhgtphhtthhopehthhhomhgrshdrphgvthgriiiiohhnihessghoohhtlhhinhdrtghomhdprhgtphhtthhopeihohgtthhoqdhprghttghhvghssehlihhsthhsrdihohgtthhophhrohhjvggtt hdrohhrghdprhgtphhtthhopehmrghthhhivghurdguuhgsohhishdqsghrihgrnhgusegsohhothhlihhnrdgtohhm List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 07 Jul 2025 14:05:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1773 As today we only provide dummy workers, allow to use these for any builder, or some jobs would never be run. Signed-off-by: Mathieu Dubois-Briand --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 3538aff5e640..6948a1155548 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -109,6 +109,8 @@ RUN sed -i \ # Change location of sharedrepodir and publish_dest directories \ -e "s@^\(sharedrepodir *= *\).*@\1\"/sharedrepo\"@" \ -e "s@^\(publish_dest *= *\).*@\1\"/publish\"@" \ + # Use any worker for any release \ + -e '$ a workers_prev_releases = {}' \ /home/pokybuild/yocto-controller/yoctoabb/config.py && \ sed -i \ # Change location of sharedrepodir and publish_dest directories \ From patchwork Mon Jul 7 14:05:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Dubois-Briand X-Patchwork-Id: 66342 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D1DFC83F0F for ; Mon, 7 Jul 2025 14:05:51 +0000 (UTC) Received: from relay15.mail.gandi.net (relay15.mail.gandi.net [217.70.178.235]) by mx.groups.io with SMTP id smtpd.web10.219.1751897146068876430 for ; Mon, 07 Jul 2025 07:05:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=WmEEbhmk; spf=pass (domain: bootlin.com, ip: 217.70.178.235, mailfrom: mathieu.dubois-briand@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 9CDA344278; Mon, 7 Jul 2025 14:05:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1751897144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RHmJYZX/s7F3iPKa+WziWUuE+E8qZBgVZuz+TBJcNow=; b=WmEEbhmk8FyqkphS6D7uE1znSM+EA3gEQK7i66B720643NhyqlBvyGyDPMtoejj/EOUG/m paPpBdRM8RmCdKNmrR7caxwcWaIMfiS/ciS/ZgvNe8Dh9R3KPo4Wcd2e0lrPPAfAsQDjgF jZeCOVSe5YQ2+k69r7LWni01sxutvkXlirfuagqL7ct1293kRTaw807CA16b53Yq/wagDo s7Ky+LlxYMXESR9UrBwNxbEoUybEYLFYDIqRWgyZJS5obGnutq2GDgfkuax3ctPOHkVxb6 3WPHf03kETSHJXnKC4nWhgqyOSyqNd1A9Ui8Vp+spJxpTz2QUT+022J9sxm2/A== From: Mathieu Dubois-Briand Date: Mon, 07 Jul 2025 16:05:26 +0200 Subject: [PATCH yocto-autobuilder2 4/5] yocto_console_view: Fix build bullets title MIME-Version: 1.0 Message-Id: <20250707-contrib-mathieu-popup_title-v1-4-d683ba953b96@bootlin.com> References: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> In-Reply-To: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> To: yocto-patches@lists.yoctoproject.org Cc: Thomas Petazzoni , Mathieu Dubois-Briand X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1751897143; l=1736; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=9sMDYqxffaj8aTUkEdjL5/tFdmM+g6GzsFUDMGxdPyU=; b=aP8KW0QZpQJb5WghATi3osS245H9AAltf5S68/sAn2jWPmwfHzBc0noxjGiCIJURAdyrLNkUJ ZQ2zoiStW/qAezN1K7ZCBsyNZxyvDdJ8+mNeBsNSiSYh6TE+qvTkfaT X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdefudellecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeforghthhhivghuucffuhgsohhishdquehrihgrnhguuceomhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomheqnecuggftrfgrthhtvghrnheptdfhgeetvddvheejieehheehueetjeelkedtfeehhefgfeeglefhteegtddthfetnecukfhppedvrgdtudemtggsudegmeehheeimeejrgdttdemfehftghfmehfsgdtugemuddviedvmedvvgejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrgdtudemtggsudegmeehheeimeejrgdttdemfehftghfmehfsgdtugemuddviedvmedvvgejiedphhgvlhhopegluddvjedrtddruddrudgnpdhmrghilhhfrhhomhepmhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepfedprhgtphhtthhopehthhhomhgrshdrphgvthgriiiiohhnihessghoohhtlhhinhdrtghomhdprhgtphhtthhopeihohgtthhoqdhprghttghhvghssehlihhsthhsrdihohgtthhophhrohhjvggtt hdrohhrghdprhgtphhtthhopehmrghthhhivghurdguuhgsohhishdqsghrihgrnhgusegsohhothhlihhnrdgtohhm List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 07 Jul 2025 14:05:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1774 Fix an issue where the browser pop-up label was the same for all build of a builders group. Fixes [YOCTO #15911] Signed-off-by: Mathieu Dubois-Briand --- yocto_console_view/src/views/ConsoleView/ConsoleView.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/yocto_console_view/src/views/ConsoleView/ConsoleView.tsx b/yocto_console_view/src/views/ConsoleView/ConsoleView.tsx index a1a338684fd6..1ee8b55b06fc 100644 --- a/yocto_console_view/src/views/ConsoleView/ConsoleView.tsx +++ b/yocto_console_view/src/views/ConsoleView/ConsoleView.tsx @@ -395,16 +395,19 @@ export const ConsoleView = observer(() => { const change = changeInfo.change; const builderColumns = builderGroups.map((builderGroup, i) => { - const builds: Build[] = []; + const buildLinks: NodeListOf[] = []; for (const builder of builderGroup.builders) { const builderBuilds = changeInfo.buildsByBuilderId.get(builder.builderid) ?? [] - builds.push(...builderBuilds); + for (const build of builderBuilds) { + buildLinks.push( + + + + ); + } } - const buildLinks = builds.map(build => ( - - )); return ( - + {buildLinks} ); From patchwork Mon Jul 7 14:05:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Dubois-Briand X-Patchwork-Id: 66341 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49EDFC83F07 for ; Mon, 7 Jul 2025 14:05:51 +0000 (UTC) Received: from relay15.mail.gandi.net (relay15.mail.gandi.net [217.70.178.235]) by mx.groups.io with SMTP id smtpd.web11.217.1751897146320520122 for ; Mon, 07 Jul 2025 07:05:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=K5wpQXPW; spf=pass (domain: bootlin.com, ip: 217.70.178.235, mailfrom: mathieu.dubois-briand@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id CF7ED4423E; Mon, 7 Jul 2025 14:05:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1751897145; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L+rh5TBkf0Axx3MtvjQyiG3XLx58REuQCscOUSEOd7o=; b=K5wpQXPWzA/NQUUa8jKrymY1DbywBjKYygS4bjppYGJ5++zmfDvqxPoR+p5y/KREeKd7kQ 8lllE/QvupbVTru+CQBMfvimuNjg4xJOyiqaBStd6cvs0TdUqtlU6iI1EtShngFEj2N3aq zWykEWWW7ZsRzu/QvDyh9Py5vssdoqb2W0tk5byb5+afD+6W2B6EmMxrZZqlpJtm0b4e0C QSsU1MNt+cC9eepB5qjBWD9yqD4sQLPRCo6VVlgzS8TYMWLu4VnTC2go5hyAW9GGnXwYWa sFX7BXpgRovII8Gq7MwHcFcZ7EBU+juZ/lR8q7qjhnOBXPAq9SMgpGEJDGqqPg== From: Mathieu Dubois-Briand Date: Mon, 07 Jul 2025 16:05:27 +0200 Subject: [PATCH yocto-autobuilder2 5/5] yocto_console_view: Sort build bullets by build id MIME-Version: 1.0 Message-Id: <20250707-contrib-mathieu-popup_title-v1-5-d683ba953b96@bootlin.com> References: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> In-Reply-To: <20250707-contrib-mathieu-popup_title-v1-0-d683ba953b96@bootlin.com> To: yocto-patches@lists.yoctoproject.org Cc: Thomas Petazzoni , Mathieu Dubois-Briand X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1751897143; l=1122; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=vmSPDLscvgGjMS8uhyWR2asSxp8U7xI4AeQreAzI2Rk=; b=2KJ3Bc7WkhIzjTD4+hMRUqlvtXauQTF+XIAdBcRGpWTn1VAwuJ7vTZS+8iVZpIzzGBQkI7Cf/ fEtdgqUI1kcCQGW2UjUwKfwrJ9WDNnDyCB7liPepDDR0gOiR5fBbeud X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdefudellecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeforghthhhivghuucffuhgsohhishdquehrihgrnhguuceomhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomheqnecuggftrfgrthhtvghrnheptdfhgeetvddvheejieehheehueetjeelkedtfeehhefgfeeglefhteegtddthfetnecukfhppedvrgdtudemtggsudegmeehheeimeejrgdttdemfehftghfmehfsgdtugemuddviedvmedvvgejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrgdtudemtggsudegmeehheeimeejrgdttdemfehftghfmehfsgdtugemuddviedvmedvvgejiedphhgvlhhopegluddvjedrtddruddrudgnpdhmrghilhhfrhhomhepmhgrthhhihgvuhdrughusghoihhsqdgsrhhirghnugessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepfedprhgtphhtthhopehthhhomhgrshdrphgvthgriiiiohhnihessghoohhtlhhinhdrtghomhdprhgtphhtthhopeihohgtthhoqdhprghttghhvghssehlihhsthhsrdihohgtthhophhrohhjvggtt hdrohhrghdprhgtphhtthhopehmrghthhhivghurdguuhgsohhishdqsghrihgrnhgusegsohhothhlihhnrdgtohhm List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 07 Jul 2025 14:05:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1775 Signed-off-by: Mathieu Dubois-Briand --- yocto_console_view/src/views/ConsoleView/ConsoleView.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yocto_console_view/src/views/ConsoleView/ConsoleView.tsx b/yocto_console_view/src/views/ConsoleView/ConsoleView.tsx index 1ee8b55b06fc..826ba2aec8bd 100644 --- a/yocto_console_view/src/views/ConsoleView/ConsoleView.tsx +++ b/yocto_console_view/src/views/ConsoleView/ConsoleView.tsx @@ -398,7 +398,8 @@ export const ConsoleView = observer(() => { const buildLinks: NodeListOf[] = []; for (const builder of builderGroup.builders) { const builderBuilds = changeInfo.buildsByBuilderId.get(builder.builderid) ?? [] - for (const build of builderBuilds) { + const sortedBuilderBuilds = builderBuilds.sort((b1, b2) => b1.buildid - b2.buildid); + for (const build of sortedBuilderBuilds) { buildLinks.push(