Commit Graph

558 Commits

Author SHA1 Message Date
Mathieu Dubois-Briand
37a0183944 yocto_console_view: Allow to link commits in alternate repos
Instead of always looking for commits in main repos, use values provided
int the "repo_*" build properties. Make sure to use https protocol.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:47:35 +01:00
Mathieu Dubois-Briand
45b39a1b17 builders: provide builder name to getproperties.py
Provide the builder name to the getproperties.py script, allowing to
extract data about build configuration, such as MACHINE or DISTRO.

The script does validate the number of arguments, so we remain
compatible with older versions of autobuilder helper that do not use
this new one.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:47:35 +01:00
Mathieu Dubois-Briand
6c6e13442c builders: Add poky-ci-archive tag in build properties
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:47:35 +01:00
Mathieu Dubois-Briand
5b21a7f790 yocto_console_view: fix error link
This might need to be updated once https://errors.yoctoproject.org is
fixed for the bitbake-setup switch.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:47:35 +01:00
Mathieu Dubois-Briand
2168e17953 yocto_console_view: fix commit links
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:47:35 +01:00
Mathieu Dubois-Briand
1ee8bfa19c builders: Fix disk space error message
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:47:35 +01:00
Mathieu Dubois-Briand
4397ebf306 b4-config: Add basic b4 configuration
Allow to easily prepare mail series with b4. Most of the configuration
was shamelessly stolen from openembedded-core git.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:54:53 +01:00
Mathieu Dubois-Briand
3e47c1713a docker: refresh patches
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:54:53 +01:00
Mathieu Dubois-Briand
3d2fe8a9d0 docker: Fix missing directory
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:54:53 +01:00
Mathieu Dubois-Briand
7db3b9a787 docker: compose: Fix docker role detection
It looks like the name of docker containers created with docker-compose
is not always the same: is is generated from various values, sometimes
separated by underscores, sometimes by dashes, breaking role detection.
Try to use another method that should be a bit more reliable.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:54:53 +01:00
Mathieu Dubois-Briand
d07c79ef2a docker: Update buildbot version
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:54:53 +01:00
Mathieu Dubois-Briand
8e15e7ce60 steps: observer: Add links to ptest logs
Finding the ptest logs corresponding to a build can be a bit tricky: it
requires to find the correct yocto.io link, then the correct subfolder
corresponding to the builder and the correct ptest image.

Generate this link in the log parser and add it in the links log
section, so users don't have to do all of this by hand.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 13:26:51 +01:00
Mathieu Dubois-Briand
0b67c49848 steps: observer: Extract yocto.io links form logs
Add a new log section on build steps, with yocto.io links found on
stdio.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 13:26:51 +01:00
Richard Purdie
0dc19a8f0b config.py: qa-extras no longer needs mingw on any supported branch
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 12:02:03 +01:00
Richard Purdie
a4f2d1f65d config.py: Drop duplication
Drop duplicated repo names.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 17:30:52 +01:00
Richard Purdie
f99c3a6452 steps/writebbsetupjson: Tweak to handle branches in bitbake-setup
Now that bitbake-setup handles branches, update to this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 17:30:52 +01:00
Richard Purdie
a85678f201 steps/writebbsetupjson.py: Fix logic error
Need to append, not replace!

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 15:46:27 +01:00
Richard Purdie
0949898021 config.py: add oecore, meta-poky and yocto-docs as default repos
We can't just replace poky with bitbake, we need to add the other repo information
so we can correclty pass layer override information from the autobuilder layer config.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 15:29:01 +01:00
Richard Purdie
32f6c0c7d5 config.py: Add debian13 arm worker
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 13:10:34 +01:00
Richard Purdie
070e6bf2fe config.py: Drop ubuntu2004 workers
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 12:59:43 +01:00
Richard Purdie
bf14ba9c5d config.py: Add fedora42, debian13, tweak auh workers
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 12:58:48 +01:00
Richard Purdie
8238327621 config.py: ubuntu24010 was replaced with ubuntu2504
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 12:56:35 +01:00
Richard Purdie
bd6fe5e7bb builders: Write out an overrides file for bitbake-setup
bitbake-setup can take an overrides file for repository information. Write
this out into all builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 18:01:13 +01:00
Richard Purdie
979349afbd config.py: Add bitbake repo alongside poky
To allow builds with bitbake-setup to replace poky, we need the bitbake in cases
where we currently have poky. Therefore add this.

Workarounds have need added to the helper branches to allow existing builds
to filter this new repo out.

This also means the UI becomes slightly confusing with two different potential
repo configs. One is used, one isn't depending on the target of the build. This
was the least worse way to handle this I could find.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 17:51:58 +01:00
Richard Purdie
1552218c11 builders.py: Add step to write out build properties in json format
Rather than passing all options as command line parameters, write out a
build-properties.json file. Whilst currently unused, we can over time
migrate a lot of options into this file, making the interface with the
helper code easier.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 17:27:52 +01:00
Richard Purdie
c2c4594835 config.py: Drop meta-qt3/4
These haven't been used for a long time.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:54:35 +01:00
Richard Purdie
1d913d9a24 builders: Improve the property fetching functionality
Rather than running specific commands on the builds, call a function in helper
and read back the json properties in a generic way. This allows us to adapt the
commands for the new layout from bitbake-setup.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:52:23 +01:00
Richard Purdie
49b6f636a3 config.py: Drop pre dunfell config
Anything older than dunfell wouldn't build now, drop the older configurations.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-23 10:34:37 +01:00
Richard Purdie
5014a51e64 config.py: Remove obsolete eclipse references
We stopped building eclipse plugins a long time ago. Remove
the remaining references.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-23 10:30:59 +01:00
Richard Purdie
5dab41d319 builders: Remove confusing newlines from log messages
The log messages contained newlines which made the logs hard to read. Tweak the
code to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-17 12:21:11 +01:00
Richard Purdie
f519cf2352 master.cfg: Update imp -> importlib
imp was deprecated in python 3.4, update to importlib.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:37:40 +01:00
Richard Purdie
45b64625b3 schedulers: Fix branch test
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-23 08:21:49 +01:00
Michael Halstead
010a0e43ae schedulers: remove obsolete ourTriggerable class
c8393c1b0d
eliminates the need for ourTriggerable reconfigure safe class.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-16 20:34:13 +01:00
Yoann Congal
6a5b665536 reproducible-meta-oe: start 2 hours earlier
The weekly reproducible-meta-oe was setup to run at night but now
extends into the day. Push it back a couple of hours to avoid loading
the cluster during the day (even if that is a lesser problem on
weekends).

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 13:10:51 +01:00
Richard Purdie
f5bd6ea704 schedulers: Ensure xxx/master-next matches master
riscv builds weren't being triggered for some master-next builds. Tweak
the logic to us "in" instead of "startswith" to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 11:51:21 +01:00
Mathieu Dubois-Briand
cafa9fddb8 yocto_console_view: Sort build bullets by build id
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:22:42 +01:00
Mathieu Dubois-Briand
40e5bbe6ea yocto_console_view: Fix build bullets title
Fix an issue where the browser pop-up label was the same for all build
of a builders group.

Fixes [YOCTO #15911]

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:22:42 +01:00
Mathieu Dubois-Briand
f12b6454a1 docker: Allow to use any worker for builders of previous releases
As today we only provide dummy workers, allow to use these for any
builder, or some jobs would never be run.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:22:41 +01:00
Mathieu Dubois-Briand
4c198253e4 docker: Fix scheduled builds disabling
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:22:41 +01:00
Mathieu Dubois-Briand
ed36f4b145 docker: Add note about using a custom buildbot branch
Adding an example of using a custom buildbot git and branch and add all
needed dependencies.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:22:41 +01:00
Richard Purdie
b9db368e79 config: Add meta-qcom
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-04 22:33:51 +01:00
Steve Sakoman
a8b69d3eb3 schedulers: update branchdefaults for walnascar
Signed-off-by: Steve Sakoman <steve@sakoman.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 21:41:16 +01:00
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