<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildbot/phase2, branch v2</title>
<subtitle>LEDE buildbot configuration</subtitle>
<id>https://git-03.infra.openwrt.org/buildbot/atom?h=v2</id>
<link rel='self' href='https://git-03.infra.openwrt.org/buildbot/atom?h=v2'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/'/>
<updated>2022-03-26T09:18:10Z</updated>
<entry>
<title>phase2: fix just another byte/string inconsistencies</title>
<updated>2022-03-26T09:18:10Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-03-26T09:18:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=85ffd9a27da104698b3ee433aaf0ffb0cb13504e'/>
<id>urn:sha1:85ffd9a27da104698b3ee433aaf0ffb0cb13504e</id>
<content type='text'>
 File "/phase2/master.cfg", line 203, in parse_feed_entry
   if parts[0].startswith("src-git"):
 builtins.TypeError: startswith first arg must be bytes or a tuple of bytes, not str

Fixes: f3fcdbec877e ("phase2: fix obsolete assumption about feed methods")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase2: handle missing change sources</title>
<updated>2022-02-23T17:46:41Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-02-23T17:46:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=c21b1093b984e30921293fefeb5f69f42df06a77'/>
<id>urn:sha1:c21b1093b984e30921293fefeb5f69f42df06a77</id>
<content type='text'>
In commit f3fcdbec877e ("phase2: fix obsolete assumption about feed
methods") we've fixed stuck buildmaster for master/phase2 builds, but
the issue wasn't obvious at first sight and some digging was necessary.
So lets make it obvious if/when it happens next time.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase2: fix obsolete assumption about feed methods</title>
<updated>2022-02-23T17:23:43Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-02-23T17:23:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=f3fcdbec877e3f411e3a0ab35ea54e5d573083a1'/>
<id>urn:sha1:f3fcdbec877e3f411e3a0ab35ea54e5d573083a1</id>
<content type='text'>
In commit 7fae1e5677e9 ("feeds: use git-src-full to allow Git
versioning") there was `src-git` method of shallow clone replaced with
`src-git-full` and this has caused issue with GitPoller configuration as
it only assumed, that only `src-git` method is going to be used for feed
updates. Fix currently stuck buildbot master by allowing usage of both
Git update methods.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1,phase2: improve round robin builds</title>
<updated>2021-07-21T19:56:13Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-07-21T19:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=87ed6cf749bee5a22ffed22fad248d78a1144352'/>
<id>urn:sha1:87ed6cf749bee5a22ffed22fad248d78a1144352</id>
<content type='text'>
There seems to be some issue with database updates, where database
updates are asynchronous and thus the status update of the previous
build (complete_at DB column) might take little bit longer, then
preparation of the next/current build.

This is issue during job prioritization as this might result in the
build of the same builder twice in a row, for example:

 2021-06-22 02:42:54+0000 [-]  &lt;Build mipsel_24kc number:95 results:success&gt;: build finished
 2021-06-22 02:42:55+0000 [-] prioritizeBuilders:          mipsel_24kc complete_at: 2021-06-21 20:17:14+00:00
 2021-06-22 03:14:30+0000 [-] prioritizeBuilders:          mipsel_24kc complete_at: 2021-06-22 02:42:54+00:00

Build finishes at 02:42:54, scheduler then asks for next build at
02:42:55, but the build still has the old complete_at timestamp
2021-06-21 20:17:14 instead of the correct one 2021-06-22 02:42:54, thus
scheduling the build of oldest mipsel_24kc builder one more time.

This is so far very promising workaround attempt which checks latest
builder complete_at in builds table which seems to be updated faster,
thus using greater complete_at value seems to work for now.

References: https://github.com/buildbot/buildbot/issues/4592#issuecomment-801163587
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1,phase2: add file space usage reporting</title>
<updated>2021-03-25T08:54:49Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-25T08:54:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=c7df883d1cd908b7da681b9d3283a6293f989172'/>
<id>urn:sha1:c7df883d1cd908b7da681b9d3283a6293f989172</id>
<content type='text'>
Add `du` step so it's clear how much space was used by the build.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1, phase2: exclude temporary source files from sourceupload step</title>
<updated>2021-03-25T08:51:21Z</updated>
<author>
<name>Baptiste Jonglez</name>
</author>
<published>2021-03-24T22:28:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=d4c957f24b2f76986378c6d942ef415d723106a8'/>
<id>urn:sha1:d4c957f24b2f76986378c6d942ef415d723106a8</id>
<content type='text'>
When the dl/ directory is shared with several workers, there can be
temporary "*.hash" and "*.dl" files being created by other workers.
These files should be excluded from the sourceupload step, otherwise it
can cause a failure when rsync tries to read them.

See for example:

  https://buildbot.openwrt.org/master/packages/#/builders/14/builds/18/steps/39/logs/stdio

Signed-off-by: Baptiste Jonglez &lt;git@bitsofnetworks.org&gt;
</content>
</entry>
<entry>
<title>phase1, phase2: don't mark the build failed if a non-critical step fails</title>
<updated>2021-03-25T08:50:42Z</updated>
<author>
<name>Baptiste Jonglez</name>
</author>
<published>2021-03-24T22:48:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=6385c5fef2ba1461725bcb9e8ec1f309ea1c08e8'/>
<id>urn:sha1:6385c5fef2ba1461725bcb9e8ec1f309ea1c08e8</id>
<content type='text'>
Some steps are informative or optional (haltOnFailure=False), so it makes
no sense to mark the whole build as failed if such a step fails.

Depending on the case, we either mark the build as "warning"
(warnOnFailure=True) or as successful (warnOnFailure=False).

Signed-off-by: Baptiste Jonglez &lt;git@bitsofnetworks.org&gt;
</content>
</entry>
<entry>
<title>phase1,phase2: fix reconfig command by creating twistd.pid</title>
<updated>2021-03-19T20:54:30Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-19T20:54:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=564eefcf29e83bd3d5481f367f7a3c102eb55fcf'/>
<id>urn:sha1:564eefcf29e83bd3d5481f367f7a3c102eb55fcf</id>
<content type='text'>
Currently it's not possible to reconfig buildmaster as twistd.pid is
missing so fix it by creating one manually.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1,phase2: implement round robin builds</title>
<updated>2021-03-17T08:33:29Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-16T17:21:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=27f0b7fe926d70c4f3e9c5bb1b297b76d6e1f704'/>
<id>urn:sha1:27f0b7fe926d70c4f3e9c5bb1b297b76d6e1f704</id>
<content type='text'>
Gather newest complete and not skipped build timestamps, reverse sort
them and use that as builder priority, so the newest built targets are
at the bottom.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1,phase2: shuffle order of builds</title>
<updated>2021-03-15T21:47:41Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-15T21:46:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=43086da8105097409b8bd42ea9e6c7107755c7a8'/>
<id>urn:sha1:43086da8105097409b8bd42ea9e6c7107755c7a8</id>
<content type='text'>
It seems that once there are new commits, buildbot restarts building all
targets in alphabetical order. The current logic pretty much disables
the building of the alphabetically last targets, so until there is
proper solution just workaround it by randomly shuffling the builders
list.

References: https://github.com/buildbot/buildbot/issues/5193
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
