<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildbot, branch v9</title>
<subtitle>LEDE buildbot configuration</subtitle>
<id>https://git-03.infra.openwrt.org/buildbot/atom?h=v9</id>
<link rel='self' href='https://git-03.infra.openwrt.org/buildbot/atom?h=v9'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/'/>
<updated>2023-07-28T06:51:08Z</updated>
<entry>
<title>docker,worker: install pyelftools</title>
<updated>2023-07-28T06:51:08Z</updated>
<author>
<name>Ben Whitten</name>
</author>
<published>2023-07-27T20:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=b4505aa5a7c4c041c43343a0e1371728c334fc7c'/>
<id>urn:sha1:b4505aa5a7c4c041c43343a0e1371728c334fc7c</id>
<content type='text'>
UBoot version of at least 2023.07.02 that use binman also have a dependency of pyelftools on the build host.

Signed-off-by: Ben Whitten &lt;BWhitten@users.noreply.github.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt; [whitespace fix]
</content>
</entry>
<entry>
<title>phase1: workaround dlprune recursive directory removal</title>
<updated>2023-07-24T09:06:09Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-07-22T08:53:45Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=30e2e5d800a87aebd8a87a78812a4b527c56bf2f'/>
<id>urn:sha1:30e2e5d800a87aebd8a87a78812a4b527c56bf2f</id>
<content type='text'>
Workarounds following issue:

 find: cannot delete ‘dl/ath10k-ct-firmware-2020-11-08’: Directory not empty

References: #13
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: prepareFactory: use variables instead of list index</title>
<updated>2023-07-22T09:05:33Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-06-18T05:32:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=651a5c2aa158ddb7ad2920851696a75df1f2a86f'/>
<id>urn:sha1:651a5c2aa158ddb7ad2920851696a75df1f2a86f</id>
<content type='text'>
Thus make the code more readable.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: populateTargets: log branch name as well</title>
<updated>2023-07-22T09:05:32Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-06-18T05:28:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=e332f694130d40913083e52f454f7851b85000ac'/>
<id>urn:sha1:e332f694130d40913083e52f454f7851b85000ac</id>
<content type='text'>
So the progress is more verbose.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: do not leak targets between branches</title>
<updated>2023-07-22T09:05:31Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-06-18T05:26:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=3bbbc02a7f8b677026fbc856a336225e2630c050'/>
<id>urn:sha1:3bbbc02a7f8b677026fbc856a336225e2630c050</id>
<content type='text'>
Robert noticed, that after rename of `ipq807x` target in main branch to
`qualcommax/ipq807x` subtarget, that buildbot is trying to build this
new `qualcommax/ipq807x` subtarget on `openwrt-23.05` branch as well.

Thibaut later explained, that this is by design, his initial idea was to
find exhaustive list of all targets and let the `checkarch` step do the
final triaging.

I find this approach confusing, because if the subtarget is not present
in that branch, we shouldn't have builder for it configured as well.
Furthermore wasting roughly 5 minutes of precious buildworker time to
checkout all feeds and then just find out, that we're not going to use
those seems suboptimal as well.

So lets fix it by using builders for targets as present in respective
branches.

Fixes: #14
Reported-by: Robert Marko &lt;robimarko@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: reformat with black</title>
<updated>2023-06-18T05:52:37Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-06-18T05:19:32Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=e56f359a2c2be5d1b6cd08e390087f242768a1b6'/>
<id>urn:sha1:e56f359a2c2be5d1b6cd08e390087f242768a1b6</id>
<content type='text'>
Making everything consistent, more readable, CI guarded.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: dlprune: fix cannot delete ‘dl/’: Not a directory</title>
<updated>2023-06-03T07:45:45Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-06-01T05:56:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=280a07b9e6ba928ce5495dc19ed68d17e990396c'/>
<id>urn:sha1:280a07b9e6ba928ce5495dc19ed68d17e990396c</id>
<content type='text'>
dlprune currently fails with following error:

 find: cannot delete ‘dl/’: Not a directory

Initial idea was to delete only stuff under download directory and not
the download directory itself, so lets adjust the find command
accordingly.

Fixes: 68b20ed67b5e ("phase1: prune unused files from dl/")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: satisfy getver.sh requirements</title>
<updated>2023-05-23T19:34:21Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2023-05-23T18:12:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=2b415c0b17e9b96ea2933206a3466b8a52e32b35'/>
<id>urn:sha1:2b415c0b17e9b96ea2933206a3466b8a52e32b35</id>
<content type='text'>
scripts/getver.sh requires upstream branch tracking to correctly compute
revision number. Buildbot Git() step does not set branch tracking as it
checks out individual commits and then reset the target branch to it, so
in order for getver.sh to work, this workaround forcefully sets the
upstream branch.

This fixes malformed version code in filenames as observed on
openwrt-23.05:

r23001+3-38c150612c
instead of:
r23004-7f0db09513

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
</content>
</entry>
<entry>
<title>phase1: cleanup redundant steps</title>
<updated>2023-05-23T02:29:44Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2023-05-22T18:20:12Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=90af3d7ad4a72aab90e2b3bca853a91cf199a753'/>
<id>urn:sha1:90af3d7ad4a72aab90e2b3bca853a91cf199a753</id>
<content type='text'>
These 3 rm steps are unnecessary since these folders are already cleaned
by the Git() step. Thus reduce clutter in already pretty busy Factory.

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
</content>
</entry>
<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>
</feed>
