<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildbot, branch v4</title>
<subtitle>LEDE buildbot configuration</subtitle>
<id>https://git-03.infra.openwrt.org/buildbot/atom?h=v4</id>
<link rel='self' href='https://git-03.infra.openwrt.org/buildbot/atom?h=v4'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/'/>
<updated>2023-05-17T09:27:23Z</updated>
<entry>
<title>phase1: workaround gitverify 1st build failures on fresh workers</title>
<updated>2023-05-17T09:27:23Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-05-16T18:41:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=d47fd60cde0df5103add3402f76e5d2b84013a83'/>
<id>urn:sha1:d47fd60cde0df5103add3402f76e5d2b84013a83</id>
<content type='text'>
Currently every 1st build on ephemeral build worker results in the
failure of the `gitverify` build step as the stock buildbot Git() build
step for some reasons just clones the Git repository into detached HEAD
state.

On the 2nd build using the same build worker Git() checkouts the branch
and thus makes `gitverify` step happy and the builds then continues
normally.

This needs to be fixed properly, either by adjusting the `gitverify`
check or adding suitable `mode` into Git() build step, but this needs
more time and testing.

So for now, lets simply workaround that issue by running Git() step two
times.

References: #5
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>docker,worker: install g++-multilib</title>
<updated>2023-05-17T09:27:07Z</updated>
<author>
<name>Alois Klink</name>
</author>
<published>2022-11-23T17:23:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=6b145dbf190c52caa1829f6dcfdc9e304552bd5a'/>
<id>urn:sha1:6b145dbf190c52caa1829f6dcfdc9e304552bd5a</id>
<content type='text'>
From [openwrt/docker@5484951][1] (GitHub PR [#89][2]):

Node fails to cross-compile from a 64-bit build machine to 32-bit host
with the following error:

```
  In file included from /usr/include/c++/8/memory:62,
  from ../deps/v8/src/libplatform/default-foreground-task-runner.h:8,
  from ../deps/v8/src/libplatform/default-foreground-task-runner.cc:5:
  /usr/include/c++/8/bits/stl_algobase.h:59:10: fatal error: bits/c++config.h:
    No such file or directory
  #include &lt;bits/c++config.h&gt;
          ^~~~~~~~~~~~~~~~~~
  compilation terminated.
```

On Debian, `g++-multilib` can be installed to fix this.

[1]: https://gitlab.com/openwrt/docker/-/commit/54849510d7802028b94757051cca6d004a9ca1d1
[2]: https://github.com/openwrt/docker/pull/89

Fixes: https://github.com/openwrt/packages/issues/18476
Fixes: https://forum.openwrt.org/t/why-arent-the-node-and-node-npm-packages-available-on-arm-cortex-a9-vfpv3-d16-in-22-03-2/142722
Signed-off-by: Alois Klink &lt;alois@aloisklink.com&gt;
</content>
</entry>
<entry>
<title>ci: add basic config checking with ruff</title>
<updated>2023-05-16T14:52:33Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-05-16T10:57:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=bc489fdb40c64f899957a139fbe3e4049a9f80d2'/>
<id>urn:sha1:bc489fdb40c64f899957a139fbe3e4049a9f80d2</id>
<content type='text'>
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: actually make rsync -4 configurable</title>
<updated>2023-05-16T14:52:33Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2023-05-15T20:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=7cd3f1292e86aa9316f6df78e36700bd3e3cbb6c'/>
<id>urn:sha1:7cd3f1292e86aa9316f6df78e36700bd3e3cbb6c</id>
<content type='text'>
54e80d5ce introduced an interpolate bug that would evaluate an empty
string as being part of the arguments passed to rsync, resulting in a
failure as rsync interprets that empty string as a source.

This commit fixes this by instead appending '4' to regular shortopts
when necessary.

Fixes: 54e80d5ce

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: perform kmodupload only when needed</title>
<updated>2023-05-16T14:52:33Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2023-05-16T08:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=1da8a2c92e05c038b00eb268f8679b407305a72b'/>
<id>urn:sha1:1da8a2c92e05c038b00eb268f8679b407305a72b</id>
<content type='text'>
Fixes: 909e899

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: fix crash on exception during Git update</title>
<updated>2023-05-15T15:36:01Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-05-15T14:18:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=2cbc3df5878f49a90f3fa1d595805e422549e0ec'/>
<id>urn:sha1:2cbc3df5878f49a90f3fa1d595805e422549e0ec</id>
<content type='text'>
Fixes following exception:

 2023-05-15 14:08:56+0000 [-] &lt;Build master_apm821xx/nand number:1 results:success&gt; build got exception when running step Git(name='git', repourl='https://git.openwrt.org/openwrt/openwrt.git', mode='full', method='fresh', locks=renderer(&lt;function NetLockDl at 0x7f5d33351ee0&gt;), haltOnFailure=True)
 2023-05-15 14:08:56+0000 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/usr/local/lib/python3.9/dist-packages/twisted/internet/defer.py", line 1792, in gotResult
	    _inlineCallbacks(r, gen, status, context)
	  File "/usr/local/lib/python3.9/dist-packages/twisted/internet/defer.py", line 1693, in _inlineCallbacks
	    result = context.run(
	  File "/usr/local/lib/python3.9/dist-packages/twisted/python/failure.py", line 518, in throwExceptionIntoGenerator
	    return g.throw(self.type, self.value, self.tb)
	  File "/usr/local/lib/python3.9/dist-packages/buildbot/process/build.py", line 576, in _start_next_step_impl
	    log.err(e)
	--- &lt;exception caught here&gt; ---
	  File "/usr/local/lib/python3.9/dist-packages/buildbot/process/build.py", line 562, in _start_next_step_impl
	    results = yield step.startStep(self.conn)
	builtins.KeyError: None

as None is valid property value, but cant be used as dict index.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>ci: allow pushing of containers during pull requests</title>
<updated>2023-05-15T15:36:01Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-05-15T07:25:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=34103cd918bb558521eec724016a94bc70a953b4'/>
<id>urn:sha1:34103cd918bb558521eec724016a94bc70a953b4</id>
<content type='text'>
Make it possible to push containers in pull requests in private forks,
so the container can be actually runtime tested before merging the
changes.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker,buildmaster: bump Debian to version 11</title>
<updated>2023-05-15T15:36:01Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-05-15T07:14:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=f2744543fa8027117b254ba2f4fa4366149d5bfb'/>
<id>urn:sha1:f2744543fa8027117b254ba2f4fa4366149d5bfb</id>
<content type='text'>
Debian 10 LTS support ends on 6/2024, so it makes no sense to use it as
a base for 23.05 release, so lets switch to Debian 11 which should've
LTS support till 6/2026.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>Bump buildbot version to latest stable release 3.8.0</title>
<updated>2023-05-15T15:36:01Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-05-15T07:12:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=e40a281b067f354d608f7ce01c9f7ff76b48b6aa'/>
<id>urn:sha1:e40a281b067f354d608f7ce01c9f7ff76b48b6aa</id>
<content type='text'>
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildmaster: fix unpinned buildbot package version</title>
<updated>2023-05-15T15:36:01Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-05-15T06:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=f8ad1d16e86745e60d3cd93b87670ca188dd9735'/>
<id>urn:sha1:f8ad1d16e86745e60d3cd93b87670ca188dd9735</id>
<content type='text'>
It seems, that current pip3 install pinning doesnt work properly as it
can result in the following package versions installation:

 buildbot-3.6.1 buildbot-console-view-3.5.0 buildbot-grid-view-3.5.0
 buildbot-waterfall-view-3.5.0 buildbot-worker-3.5.0 buildbot-www-3.5.0

So lets pin the buildbot package itself to BUILDBOT_VERSION as well.

References: https://gitlab.com/openwrt/buildbot/-/jobs/3324049571#L1158
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
