From patchwork Thu Nov 19 13:19:33 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Dubois-Briand X-Patchwork-Id: 104881 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.14148.1795094388940367530 for ; Thu, 19 Nov 2026 05:19:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=Ydb9eA6O; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: mathieu.dubois-briand@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id C2BDEC4CBF1 for ; Thu, 19 Nov 2026 13:19:51 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 7C45260237; Thu, 19 Nov 2026 13:19:46 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9B15F11BC0B6D; Thu, 19 Nov 2026 14:19:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795094385; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=RUiSrg6VclG38N4+D0Kw5igikwHxdzzhQlFFfqoxV50=; b=Ydb9eA6OuK39QGP5faYcMzt9Gun+t85GK0PuNK26PQBWchb51JZF4KLkuauXaebb5owYe3 YJLbivkSR2/oLELqmdAhNC8JLMIhokFgvOAd0X+KnS8vOuG/ZMZfOwnBA5ryCYxYG+m0U5 BELT8s0PWPubEOJtsz0+/wvV3lai06x0GdI9nr+CGLQ4VSjzRp9/+IJIkUyP8WagNbKQwk 3FT3j9ERwv4aqBXXO64tocc9hIDFH75EApAVo3vhusZDuzSkVhprFV3kPINRoAd9Euxr+H HmeruBsQUOH+nGad4yGxveMTauX2zeEZ/7gMQw5rFJieI/TuiMvOrYKCna3lkQ== From: Mathieu Dubois-Briand Date: Thu, 19 Nov 2026 14:19:33 +0100 Subject: [PATCH yocto-autobuilder2 1/3] yocto_console_view: switch to pyproject.toml MIME-Version: 1.0 Message-Id: <20261119-mathieu-buildbot-4-4-b4-v1-1-76774afaee1d@bootlin.com> References: <20261119-mathieu-buildbot-4-4-b4-v1-0-76774afaee1d@bootlin.com> In-Reply-To: <20261119-mathieu-buildbot-4-4-b4-v1-0-76774afaee1d@bootlin.com> To: yocto-patches@lists.yoctoproject.org Cc: Thomas Petazzoni , Michael Halstead , Mathieu Dubois-Briand X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795094383; l=3182; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=aYTJvfD5sKid0TV3afyuBkVz4VWXoYMGyYzNtgUZUxs=; b=KOq30UVAJ3cKcMcWRelK9dC0bgCCF5/GumpB9u74l2OVUfn4rtOEICEz2ySHC8HXHS+GEgWym Q7wrVwAE0f0DpZMfyAy+33CYnwTCXxD7QoaM8w6M5s57r7iB0llm369 X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Thu, 19 Nov 2026 13:19:58 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/5478 Signed-off-by: Mathieu Dubois-Briand --- yocto_console_view/pyproject.toml | 34 +++++++++++++++++++++++++++ yocto_console_view/setup.py | 49 --------------------------------------- 2 files changed, 34 insertions(+), 49 deletions(-) diff --git a/yocto_console_view/pyproject.toml b/yocto_console_view/pyproject.toml new file mode 100644 index 000000000000..3a417f4ffa3d --- /dev/null +++ b/yocto_console_view/pyproject.toml @@ -0,0 +1,34 @@ +[build-system] +requires = [ + "setuptools>=80", + "setuptools-scm>=9", +] +build-backend = "setuptools.build_meta" + +[project] +name = "yocto-console-view" +authors = [ + { name = "Richard Purdie", email = "richard.purdie@linuxfoundation.org" }, +] +description = "Yocto Project Console View plugin." +license = {text = "GPL-2.0-only"} +version = "1.0.0" + +[project.entry-points."buildbot.www"] +yocto_console_view = "yocto_console_view:ep" + +[project.urls] +Homepage = "http://autobuilder.yoctoproject.org/" + +[tool.setuptools] +include-package-data = false +packages = [ + "yocto_console_view", +] + +[tool.setuptools.package-data] +"yocto_console_view" = [ + "static/*", + "static/assets/*", +] + diff --git a/yocto_console_view/setup.py b/yocto_console_view/setup.py deleted file mode 100644 index 604f4a50da30..000000000000 --- a/yocto_console_view/setup.py +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env python -# -# This file is part of Buildbot. Buildbot is free software: you can -# redistribute it and/or modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation, version 2. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., 51 -# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Copyright Buildbot Team Members - -try: - from buildbot_pkg import setup_www_plugin -except ImportError: - import sys - - print( - 'Please install buildbot_pkg module in order to install that ' - 'package, or use the pre-build .whl modules available on pypi', - file=sys.stderr, - ) - sys.exit(1) - -setup_www_plugin( - name='yocto-console-view', - description='Yocto Project Console View plugin.', - author=u'Richard Purdie', - author_email=u'richard.purdie@linuxfoundation.org', - url='http://autobuilder.yoctoproject.org/', - packages=['yocto_console_view'], - package_data={ - '': [ - 'VERSION', - 'static/*', - 'static/assets/*', - ] - }, - entry_points=""" - [buildbot.www] - yocto_console_view = yocto_console_view:ep - """, - classifiers=['License :: OSI Approved :: GNU General Public License v2 (GPLv2)'], -) From patchwork Thu Nov 19 13:19:34 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Dubois-Briand X-Patchwork-Id: 104880 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.14147.1795094388940231368 for ; Thu, 19 Nov 2026 05:19:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=SgdFg/dv; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: mathieu.dubois-briand@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 7D7FDC4CBF3 for ; Thu, 19 Nov 2026 13:19:52 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 3EE0C60237; Thu, 19 Nov 2026 13:19:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4D45211BC0B70; Thu, 19 Nov 2026 14:19:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795094386; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=BSUMJQnmjKdxe7kdD+auAsYFcYmOLFkGcsY3cklX6wo=; b=SgdFg/dv+ORprv5fCbnaIqpNkYsNcREjCx5aVkiOmdhpLxsUZi+vTKPLBdcO/zWTCoyi4V kP2nKR2WfXN5fAcyLmzfuzLFYQXilUHmL2VWaKFZom7ahaADsEmN1yMcaB086V8Wa99gaV XqJRS/EauTKfzlDZnW4bTHC4ATb38ey9btEM9bBSAfJzp5p4CE587F21LD7WRyHE0kn1KK zjqPTd7gpy/c19O2bLv5vCsGToUYJvZcLjSfa9Xz1j2wl3jpLsI96gi67fmJ/pb7kHuwlo eqp91m2pPCPlK4JTJZh85Hu95cSx0v/tb4c4uK9uclQ0diWuO0ljFIDoZeFDHQ== From: Mathieu Dubois-Briand Date: Thu, 19 Nov 2026 14:19:34 +0100 Subject: [PATCH yocto-autobuilder2 2/3] docker: Fix for buildbot 4.4 MIME-Version: 1.0 Message-Id: <20261119-mathieu-buildbot-4-4-b4-v1-2-76774afaee1d@bootlin.com> References: <20261119-mathieu-buildbot-4-4-b4-v1-0-76774afaee1d@bootlin.com> In-Reply-To: <20261119-mathieu-buildbot-4-4-b4-v1-0-76774afaee1d@bootlin.com> To: yocto-patches@lists.yoctoproject.org Cc: Thomas Petazzoni , Michael Halstead , Mathieu Dubois-Briand X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795094383; l=2712; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=6TXvKJfm0sLqc5X/ZpKfab2Q3XUp1af17hM2N/ljW7E=; b=Yhzp6F0ji4b2NF73SNFZRX2GnFb3HWfueanoNNm43fSPW56WsLV5y9u5dxdz/Zt67PmfYhof5 z8/nIDsE0EkDpeBfgNE48rSF7pt7hn2t8FxEVk2kmoLMBWIrnyZiHAr X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Thu, 19 Nov 2026 13:19:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/5477 Signed-off-by: Mathieu Dubois-Briand --- docker/Dockerfile | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0ddd20d52ac6..f657e7f23bd6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:24.04 +FROM ubuntu:26.04 ARG AUTOBUILDER2_BRANCH=master @@ -20,11 +20,11 @@ RUN apt update && \ gcc \ git \ iproute2 \ - iputils-ping \ iptables \ + iputils-ping \ libacl1 \ libcairo2 \ - liblz4-tool \ + lz4 \ locales \ npm \ python3 \ @@ -62,18 +62,15 @@ RUN pip3 install --break-system-packages \ buildbot_pkg==4.3.0 \ websockets - # 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 pip3 install --break-system-packages \ +# git+https://github.com/buildbot/buildbot.git@v4.4.0rc1#subdirectory=master \ +# git+https://github.com/buildbot/buildbot.git@v4.4.0rc1#subdirectory=worker \ +# websockets +#RUN git clone https://github.com/buildbot/buildbot.git -b v4.4.0rc1 && \ +# cd buildbot/ && \ +# make frontend_build && \ +# 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 @@ -92,6 +89,10 @@ RUN useradd -m --system pokybuild && \ \ cd /home/pokybuild && \ git clone https://git.yoctoproject.org/git/yocto-autobuilder-helper && \ + cd /home/pokybuild/yocto-controller/yoctoabb/yocto_console_view && \ + yarn install --pure-lockfile && \ + yarn build && \ + cd /home/pokybuild && \ pip install --break-system-packages \ yocto-controller/yoctoabb/yocto_console_view/ && \ mkdir -p /home/pokybuild/git/trash && \ From patchwork Thu Nov 19 13:19:35 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Dubois-Briand X-Patchwork-Id: 104882 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.14149.1795094389709785041 for ; Thu, 19 Nov 2026 05:19:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=SPHcKF1+; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: mathieu.dubois-briand@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 210EEC4CBF5; Thu, 19 Nov 2026 13:19:53 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id D831360237; Thu, 19 Nov 2026 13:19:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 10D7E11BC0B86; Thu, 19 Nov 2026 14:19:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795094387; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=3odTAjxlYFF0v8uV/PZ166xL4yYWm3vgotW1wwXcJz8=; b=SPHcKF1+nTcn5OwGnTYoWu70huk1ZyQqWck752IuAZuIma+Ex1kLHMjoRbrpKVH5oFl9sD a8W/g6FLEzsyW6mioHm7UrX966OZ1vPCA8l6ZBqXyG9rPhbcpDBFkFkA+j9G+NbENq2H3K M2JfTaC4Z6fDdomzPTPeHRAlF5rnkvATw7XdxxjIW0WAZwzrguRc/MvzfDkrZMSP2ejUhT dp1j11BVmmHqli+3PSXmsfoKbvuFbqCoqReCD5vxF6N7Dcu7AxufD9HtSQe4juhqMYlv2/ yCa96bq09W6CwbJH5aZSnOvtRUwwayBUOLcRy27DRW8hyJhvhrcNBmeWwEdVJA== From: Mathieu Dubois-Briand Date: Thu, 19 Nov 2026 14:19:35 +0100 Subject: [PATCH yocto-autobuilder2 3/3] yocto_console_view: Fix CSS for buildbot 4.4 MIME-Version: 1.0 Message-Id: <20261119-mathieu-buildbot-4-4-b4-v1-3-76774afaee1d@bootlin.com> References: <20261119-mathieu-buildbot-4-4-b4-v1-0-76774afaee1d@bootlin.com> In-Reply-To: <20261119-mathieu-buildbot-4-4-b4-v1-0-76774afaee1d@bootlin.com> To: yocto-patches@lists.yoctoproject.org Cc: Thomas Petazzoni , Michael Halstead , Mathieu Dubois-Briand X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795094383; l=1539; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=4aVcekz4kS+aB7NFzEQbdvikSo08LHCVWOYpQYqkuaQ=; b=I2AN3VCdTqfIZfoaq21lieatq9gmrmxrz/VSwfEJXo9jmNhOLXlbA3TaVf9rxB9Ip3IaCQ5+m +4tq+q0R9VPB9MAzpUB0ufo+SWP45pZfxvHcg4ikNO6inQetGCBSMbz X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Thu, 19 Nov 2026 13:19:58 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/5480 Signed-off-by: Mathieu Dubois-Briand --- .../src/views/ConsoleView/ConsoleView.scss | 29 ++++++++++++++++------ 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/yocto_console_view/src/views/ConsoleView/ConsoleView.scss b/yocto_console_view/src/views/ConsoleView/ConsoleView.scss index 15dd3a61bcbd..3f693917f13c 100644 --- a/yocto_console_view/src/views/ConsoleView/ConsoleView.scss +++ b/yocto_console_view/src/views/ConsoleView/ConsoleView.scss @@ -55,32 +55,45 @@ div.form-group { div.col-sm-10 { display: inline-block; width: 80%; + vertical-align: middle; }; label { - display: inline-block; width: 20%; font-weight: bold; - margin-bottom: 0; - top: .5em; + padding-right: .5em; + vertical-align: middle; } .control-label { text-align: right; - float: left; } div.col-sm-10.col-sm-offset-2 { width: 100%; max-width: 100%; + margin-left: 0; + label { - width: 80%; - float: right; - padding-left: 8px; + display: grid; + grid-template-columns: 20% 1fr auto; + align-items: center; + width: 100%; + float: none; + padding-left: 0; + + input[type="checkbox"] { + justify-self: end; + margin-right: .5em; + } } - }; + } .row > div.col-sm-6 { margin-bottom: 5px; } + + label.col-sm-10 { + text-align: right; + } };