Commit Graph

516 Commits

Author SHA1 Message Date
Richard Purdie
84780b89a5 config: Stop oe-selftest-armhost from running on 20.04
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-21 15:05:22 +01:00
Richard Purdie
02ac6aee13 schedulers: Fix bug in scheduler started job coverage
Jobs started by the nightly scheduler were failing as sourcestamps are empty for these.
This meant that additional branch specific target triggers were not being handled and
jobs were being missed.

Switch to using the yo_build_branch property which was the original intention and
should always be set, fixing the jobs being started.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 12:07:13 +01:00
Martin Jansa
ae16bba725 schedulers: set meta-webosose branch to scarthgap-webos for scarthgap builds
* scarthgap based build was triggered today:
  https://autobuilder.yoctoproject.org/valkyrie/#/builders/51/builds/39

  but it failed, because it uses meta-webosose from master branch not scarthgap-webos, missing the 3 commits from:
  https://github.com/webosose/meta-webosose/compare/master...scarthgap-webos

* adjust branch_meta-webosose
* add entry for meta-qt6 like kirkstone build has (but this
  isn't really necessary as the 6.8.1 is the default)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 11:51:05 +01:00
Richard Purdie
81d891b688 config: Add qemuriscv64 to a-full master branch
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 11:22:21 +01:00
Hieu Van Nguyen
57ce5383cf schedulers: add meta-webosose scheduled build for scarthgap
Support to build meta-webosose for both of kirkstone and scarthgap
branches.

Signed-off-by: Hieu Van Nguyen <hieu2.nguyen@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-14 10:58:32 +01:00
Peter Marko
3e2e8b84e4 schedulers: add walnascar jobs
* add metrics job (which also shifts master job by 15 minutes)
* replace weekly/monthly styhead jobs by walnascar
* add docs job

This should make walnascar to have the same jobs as styhead before this
patch and to scarthgap.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-14 09:37:05 +01:00
Steve Sakoman
6b34ebf0cb schedulers: update branchdefaults for walnascar
Signed-off-by: Steve Sakoman <steve@sakoman.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-07 15:15:40 +01:00
Mathieu Dubois-Briand
c001d4c8b7 schedulers: Fix meta-webosose scheduler codebases
Make sure to use the correct yocto-autobuilder-helper branch when
building meta-webosose. Kirkstone builds should use kirkstone branch
instead of master.

Prepare for supporting build of other meta-webosose branches.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-28 10:51:11 +01:00
Richard Purdie
93d7a4a9b5 schedulers: Add missing walnascar release selector
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 21:02:28 +01:00
Martin Jansa
21b5aa780e config.py: Update meta-qt6 from 6.7.2 to 6.8.1
meta-qt6 is only used for the webosose builder and webosose now uses 6.8.1 after:
f2155a6afc
c9440cb8f0

This update avoids:
WARNING: meta-qt6/recipes-qt/squish/squish_7.2-20240124-0915.bb: squish is currenly not supported, build produces empty packages!

shown on webosose builds on autobuilder, newer squish is included
in meta-qt6 since:
https://codereview.qt-project.org/c/yocto/meta-qt6/+/611845/6
this time without "inherit disable-build" which was showing that
warning while parsing.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 21:54:01 +01:00
Richard Purdie
784602f374 config: Merge selftest jobs into deb and rpm based rather than distro
We currently have 4 different selftests running but they now rarely show host
specific differences. Merge the four into two, calling them "fedora" and "debian"
simply to avoid renaming all the target names in helper.

Since opensuse is rpm based and the fedora group has slightly fewer workers,
add opensuse to that pool.

This means builds going forward will run one arm and two x86 based selftests
which should be more than sufficient. The change is applying to all releases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 22:24:07 +00:00
Richard Purdie
4da09afaac schedulers: Add walnascar
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 17:59:17 +00:00
Ross Burton
291066d4cf config.py: add musl-qemuarm64 to the shared builder list
This adds musl-qemuarm64 to a-quick and a-full, alongwith musl-qemux86.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 17:24:58 +00:00
Richard Purdie
cdf10de890 config: Drop mips, mip64 and ppc from default testing
Going forward drop mips, mips64 and ppc from default testing on the
autobuilder outside of older LTS releases.

These are now old and don't see much new development. People aren't
interested in fixing issues on them and it feels like we're wasting
our bandwitdh on them now. Drop the automated testing as a result. If
someone wants to step forward and support these let us know but unless
that happens, they're too much work now (and upstreams like the kernel
would also need work).

This aligns our test matrix with the Yocto Project membership/supporting
members more fairly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 17:07:47 +00:00
Richard Purdie
d7c45bccfe config: Add walnascar worker/target tweaks
Prepare for the next release and add walnascar metadata based on master.
Also update the worker list for styhead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 16:55:38 +00:00
Richard Purdie
30e967c3f7 config: Move non-gpl3/ederouter to kirkstone only in triggers
We only run these targets in kirkstone now. Update the targets so they don't
trigger at all on more recent releases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 16:54:31 +00:00
Richard Purdie
6604e5048d config: Add a musl qemuarm64 target
Add an arm64 build to go alongside the x86 ones.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 12:12:37 +00:00
Richard Purdie
a0bec61201 config: Add musl ptest target
Add these for testing, unscheduled for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 10:38:36 +00:00
Richard Purdie
a70b65bcc2 master.cfg: Increase default number of builds shown on the worker page
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-12 12:16:09 -07:00
Richard Purdie
88c34959b5 config: Add builder tags for metrics builds
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 15:35:14 +00:00
Richard Purdie
37c704b6a8 schedulers: Add daily scheduler for metrics-gitstats
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 14:48:16 +00:00
Mathieu Dubois-Briand
ea0077dce7 builders: Rework least loaded worker finding in nextWorker()
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2025-03-07 14:13:01 +00:00
Mathieu Dubois-Briand
776469c3ae docker: Allow to add several local workers
Add more more workers to test more realistic setups.

The first one is still added as a Debian builder, additional ones are
used as generic ones, allowing to test worker selection.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 14:30:07 +00:00
Mathieu Dubois-Briand
fab4b91312 docker: Use current git version
Use local git version instead of fetching remote master branch.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 14:30:07 +00:00
Richard Purdie
754040f52c builders: Avoid giving jobs to workers that already have them
When giving jobs to workers, we want to prioritise idle ones and only
give them to the busiest ones when there are no others free.

This isn't entirely straight forward as there is no "idle" attribute
for workers but we can use a query and work it out.

Includes fixes from Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-06 12:50:27 +00:00
Richard Purdie
f05bf11157 config: Add metrics-gitstats builder
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 21:48:43 +00:00
Richard Purdie
20f12e3576 builders: Fix after reproducible changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 14:44:18 +00:00
Richard Purdie
f072fe7a28 config.py: Drop *-tc targets from a-quick
These were mostly skipped for a-quick anyway, simplify the code
to allow easier standalone triggering of the builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 14:37:51 +00:00
Richard Purdie
0e5934dda8 config: Drop distro specific reproducible targets
We don't use/need these any more.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 14:35:07 +00:00
Steve Sakoman
e8c69af5ec config.py: enable ubuntu2404 for kirkstone, not honister
A previous commit erroneously enabled ubuntu 2404 for honister instead
of kirkstone.  Fix this.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 14:06:44 +00:00
Richard Purdie
d8dd465877 config.py: Update the workers list
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 09:27:16 +00:00
Mathieu Dubois-Briand
a89c199e30 releaseselector: Fix page scroll on selector use
When using selectors, all fields modified by the selector will be
successively focused, inducing a potential page scroll. Save current
scroll before applying the release selector and set back this scroll
once the selector has been applied, setting back the page at the same
position.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-24 10:31:49 +00:00
Mathieu Dubois-Briand
62d5d77167 releaseselector: Fix selector not applied in some conditions
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 11:34:44 +00:00
Mathieu Dubois-Briand
5da3f894a5 yocto_console_view: Override Force Build form CSS
Compact a bit the force build window, to look like what we had on
buildbot 3.8.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 11:34:44 +00:00
Mathieu Dubois-Briand
93eaa4426a yocto_console_view: Fix release selector use with keyboard
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-21 11:34:44 +00:00
Steve Sakoman
e42afa8f88 config.py: add ubuntu2404 to workers_prev_releases for kirkstone and scarthgap
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-20 15:11:45 +00:00
Mathieu Dubois-Briand
1669ef72ce yocto_console_view: Fix output link on valkyrie
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 15:06:19 +00:00
Mathieu Dubois-Briand
2ab0fa45dd yocto_console_view: Keep known revision mappings
The yp_build_revision property disappears from the build instance once
the build is done. There is no reason for its value to change, so keep
the last seen value in revision mapping. This will prevent finished
builds to jump back to "Unresolved Revision".

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 15:06:19 +00:00
Mathieu Dubois-Briand
d9bcc41cf7 yocto_console_view: Group similar builder builds
Builds from similar builders have to be in the same <td>, compacting a
bit the whole view.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 15:06:19 +00:00
Richard Purdie
dab2c9bb81 master.cfg: Tweak defaults to improve console build display
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 22:21:21 +00:00
Mathieu Dubois-Briand
58efe8c055 yocto_console_view: Add release selector
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2025-02-10 18:22:57 +01:00
Mathieu Dubois-Briand
c8f1590596 yocto_console_view: create our own console
Modify existing console view plugin to recreate our own console view.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2025-02-10 18:22:57 +01:00
Mathieu Dubois-Briand
c2793d8bfd yocto_console_view: import console_view plugin from buildbot
Plugin changed a lot with the buildbot transition from angularjs to
reactjs: start our own plugin customisation from scratch.

This commit only copies sources from buildboot git, without any
modification.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2025-02-10 18:22:57 +01:00
Mathieu Dubois-Briand
421dd04863 builders: Fix configuration for buildbot 4
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2025-02-10 18:22:57 +01:00
Mathieu Dubois-Briand
02661be391 builders: Add controller url in build tag
Make sure tags created on a-full/a-quick builds are unique, even across
different controller instances.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-07 10:40:25 +00:00
Mathieu Dubois-Briand
cb639d12eb docker: Add docker file to create a local instance
Add a docker compose configuration, allowing to easily create a local
autobuilder instance.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-06 11:56:14 +00:00
Mathieu Dubois-Briand
253d1f5bd7 schedulers: Fix missing parenthesis in field label
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-06 11:56:14 +00:00
Antonin Godard
8f6709cf0f schedulers: docs: pass properties to branch schedulers
Unlike the ForceScheduler, the AnyBranchScheduler does not take a list
of parameters but a simple dict. Add a repos_dict_for_scheduler() helper
that returns a dict containing the {repo,branch}_<repo> keys mapping to
the values in config.py. These are used in the factory definition of the
docs build (see the Git steps).

Also add the missing "yab-helper" to the bitbake-docs-changed scheduler.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 15:43:12 +00:00
Antonin Godard
afa838d962 docs build: make it possible to override repo settings
In the current form when forcing a docs build, the different repo
parameters do nothing and are not propagated. The properties from
props_for_builder() are propagated, but weren't used in the factory
definition.

So use FixedParameters in the codebases definition: this removes the
useless entries in the form (we cannot simply remove the codebases arg
or it triggers another error "No sourcestamp found in build for
codebase"). Then in config.py, populate the "docs" entry in
buildertorepos, so that these show up in the form. Finally, in the docs
factory build, use Interpolate to get the property (I had issues using
util.Property directly).

Note: in latest buildbot version I hit a known bug
https://github.com/buildbot/buildbot/issues/8274. It shouldn't affect us
since we use an older version of Buildbot, but leaving this here just in
case.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 15:43:12 +00:00
Richard Purdie
adb36c2213 config.py: Fix typo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-20 15:16:37 +00:00