<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildbot/phase1, branch v1</title>
<subtitle>LEDE buildbot configuration</subtitle>
<id>https://git.openwrt.org/buildbot/atom?h=v1</id>
<link rel='self' href='https://git.openwrt.org/buildbot/atom?h=v1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/'/>
<updated>2021-07-21T19:56:13Z</updated>
<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.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.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.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.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.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.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.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>
<entry>
<title>treewide: use worker term</title>
<updated>2021-03-12T13:36:13Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-12T13:20:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=7aafe3cb6e14537574e51853e44e3371321ef0e4'/>
<id>urn:sha1:7aafe3cb6e14537574e51853e44e3371321ef0e4</id>
<content type='text'>
[Placeholder for your politically correct commit description]

Suggested-by: Paul Spooren &lt;mail@aparcar.org&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>builtmaster,phase1: add missing services dict</title>
<updated>2021-03-05T15:11:31Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-05T12:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=db4c7476536c0eeb43ce13692c2885e2d896492d'/>
<id>urn:sha1:db4c7476536c0eeb43ce13692c2885e2d896492d</id>
<content type='text'>
Fixes following error:

 2021-03-05 11:00:54+0000 [-] error while parsing config file:
 ...
        builtins.KeyError: 'services'

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildmaster: replace horizons with JanitorConfigurator</title>
<updated>2021-03-05T15:11:31Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-05T11:42:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/buildbot/commit/?id=a19b8e41f64cf3d2e61a235342f22495a8a47fb0'/>
<id>urn:sha1:a19b8e41f64cf3d2e61a235342f22495a8a47fb0</id>
<content type='text'>
The old c['logHorizon'] way of configuring is not supported anymore, we
should use JanitorConfigurator. A new __Janitor builder will be created
to help keep an eye on the cleanup activities and for that we need
buildbot-worker package as well.

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