<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildbot/docker/buildworker, branch v24</title>
<subtitle>LEDE buildbot configuration</subtitle>
<id>https://git-03.infra.openwrt.org/buildbot/atom?h=v24</id>
<link rel='self' href='https://git-03.infra.openwrt.org/buildbot/atom?h=v24'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/'/>
<updated>2024-11-25T10:12:20Z</updated>
<entry>
<title>docker,worker: install python3-cryptography</title>
<updated>2024-11-25T10:12:20Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2024-11-25T09:40:03Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=7f966275500d5cd94cc4b70e0e6bb203d6f569ae'/>
<id>urn:sha1:7f966275500d5cd94cc4b70e0e6bb203d6f569ae</id>
<content type='text'>
Addition of OPTEE support along with STM32 added a requirment on
python3-cryptography and without it buildbots for STM32 will fail with:
Checking 'python3-cryptography'... failed.
Checking 'python3-pyelftools'... ok.
optee-os: Please install the Python3 cryptography module
make[3]: *** [/builder/shared-workdir/build/include/prereq.mk:9: prereq] Error 1

So install python3-cryptography to satisfy it.

Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
Link: https://github.com/openwrt/buildbot/pull/61
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>docker,worker: install pyelftools</title>
<updated>2024-11-04T06:35:02Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-10-25T09:11:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=91f8f2e3763c65a5ba9c9a15768286cfbf7df53f'/>
<id>urn:sha1:91f8f2e3763c65a5ba9c9a15768286cfbf7df53f</id>
<content type='text'>
Without it, errors may appear:

WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'libpcre', which does not exist
make[2]: Entering directory '/builder/shared-workdir/build/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/builder/shared-workdir/build/scripts/config'
Checking 'python3-pyelftools'... failed.
Checking 'python3-dev'... ok.
Checking 'python3-setuptools'... ok.
Checking 'swig'... ok.
u-boot: Please install the Python3 elftools module

Fixes: 3ac7d39bd4c3 ("buildworker,buildmaster: bump Debian to version 12")

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>Revert "buildworker,buildmaster: bump Debian to version 12"</title>
<updated>2024-11-04T06:12:05Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-11-04T06:08:14Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=aab8a542db9576d8ac8121db084f784897742af9'/>
<id>urn:sha1:aab8a542db9576d8ac8121db084f784897742af9</id>
<content type='text'>
This reverts commit 3ac7d39bd4c364d76e78b3ba50c23a68e0b05c0f as it was
decided to stay on Debian 11 for 24.10 release as well.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker: start: fix broken non TLS setups</title>
<updated>2024-11-04T06:12:04Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-10-24T19:55:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=dbf5d03807e66f15b1b661a4fac51c6739cad156'/>
<id>urn:sha1:dbf5d03807e66f15b1b661a4fac51c6739cad156</id>
<content type='text'>
Changes in commit 3812ff7bb296 ("buildworker: start: fix worker startup
failure after update") broke non TLS setups. So lets fix it by setting
SSL: only if BUILDWORKER_TLS is set.

Fixes: 3812ff7bb296 ("buildworker: start: fix worker startup failure after update")
Reported-by: Paul Spooren &lt;mail@aparcar.org&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker: start: fix leaking BUILDWORKER_TLS env variable</title>
<updated>2024-09-28T17:17:50Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-28T17:12:55Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=213f6de2afc40e27bf6b773b72db0d6104ffd7fb'/>
<id>urn:sha1:213f6de2afc40e27bf6b773b72db0d6104ffd7fb</id>
<content type='text'>
I've noticed leakage of BUILDWORKER_TLS environment variable in build
logs, so lets fix it in a generic way via new
`cleanup_buildworker_env_variables()` by using Bash's parameter
expansion and unset all environment variables starting with BUILDWORKER_
prefix.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>docker: buildworker: add missing file package</title>
<updated>2024-09-27T07:39:12Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-27T07:33:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=cd6a70c93310d44a5fd01177be6c4640ba3f5e9b'/>
<id>urn:sha1:cd6a70c93310d44a5fd01177be6c4640ba3f5e9b</id>
<content type='text'>
In Debian 11 (Bullseye), the `file` package was installed indirectly
because the `man-db` package recommended it. The `man-db` package is
often installed as a dependency of other packages, such as
`build-essential` and tools like `gcc` and `make`.  By default,
`apt-get` installs recommended packages, so `file` was installed
automatically.

Starting from Debian 12 (Bookworm), the `man-db` package no longer
recommends the `file` package. This change was made to reduce the size
of minimal container images and installations where `file` is not
essential.

So lets install this package explicitly.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker: start: fix worker startup failure after update</title>
<updated>2024-09-26T21:21:09Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-26T21:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=3812ff7bb296d392d3393f919336e73425144f23'/>
<id>urn:sha1:3812ff7bb296d392d3393f919336e73425144f23</id>
<content type='text'>
Workers are currently refusing to work:

 Unhandled Error
 Traceback (most recent call last):
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 673, in run
     runApp(config)
   File "/opt/venv/lib/python3.11/site-packages/twisted/scripts/twistd.py", line 29, in runApp
     runner.run()
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 370, in run
     self.application = self.createOrGetApplication()
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 437, in createOrGetApplication
     application = getApplication(self.config, passphrase)
 --- &lt;exception caught here&gt; ---
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 446, in getApplication
     application = service.loadApplication(filename, style, passphrase)
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/service.py", line 404, in loadApplication
     application = sob.loadValueFromFile(filename, "application")
   File "/opt/venv/lib/python3.11/site-packages/twisted/persisted/sob.py", line 174, in loadValueFromFile
     codeObj = compile(data, filename, "exec")
 builtins.SyntaxError: keyword argument repeated: connection_string (buildbot.tac, line 49)

as the buildbot.tac template changed in commit 4ba1dcb66155 ("worker:
Add option --connection-string for create-worker") and in version v3.10.0.

So lets use this new `--connection-string` feature and get rid of the
sed-fu.

Fixes: efbddc90d8e6 ("Bump buildbot to v3.11.1 release")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker: Drop installation of Python 2</title>
<updated>2024-09-26T11:19:17Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-09-26T09:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=f5e8661435580499282e4670a4a2deb72f7ef4b2'/>
<id>urn:sha1:f5e8661435580499282e4670a4a2deb72f7ef4b2</id>
<content type='text'>
Old releases of OpenWrt would require it but that's something of the
past - time is running.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>buildworker,buildmaster: Use venv for Pip</title>
<updated>2024-09-26T11:19:16Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-09-26T09:21:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=189ff26ca991ec680a7b841a563ec6f4a5544dfd'/>
<id>urn:sha1:189ff26ca991ec680a7b841a563ec6f4a5544dfd</id>
<content type='text'>
Debian 12 complains if using Pip without a virtualenv since it could
break the system.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>buildworker,buildmaster: bump Debian to version 12</title>
<updated>2024-09-26T08:05:21Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-26T07:55:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=3ac7d39bd4c364d76e78b3ba50c23a68e0b05c0f'/>
<id>urn:sha1:3ac7d39bd4c364d76e78b3ba50c23a68e0b05c0f</id>
<content type='text'>
Debian 11 LTS support ends in June 2026, so it's probably around the
time when support for the OpenWrt 24.10 release might end. Therefore,
let's switch to Debian 12, which should have LTS support until June 2028
and is the latest and greatest.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
