Commit Graph

297 Commits

Author SHA1 Message Date
Anuj Mittal
f50e334c65 config.py: enable fedora34 for hardknott
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 08:39:03 +00:00
Richard Purdie
137b41162a config.py: Fix OE urls
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 10:04:25 +00:00
Richard Purdie
fc4caf8573 config/schedulers: Use push.yoctoproject.org
If we don't do this, the mirrors may not have synced and it will break
expectations about being able to start builds immediately. Triggered
builds may also not see the correct code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 23:27:00 +00:00
Ross Burton
7e1d76ccf9 schedulers: add deploy_artefacts to all builders
Instead of having a limited set of builders which can deploy artefacts,
let every builder have the ability to deploy. This makes it easier to
experiment with deploy steps.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 21:57:27 +00:00
Richard Purdie
de5263b7be builders: Tweak space limits
Practise is showing 60GB can still let the builders run out of space. Increase
to 100GB and also delay things more to allow better recovery, 2 minutes isn't
a long time when dealing with file deletion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-12 12:11:57 +00:00
Richard Purdie
8829a85464 builders: Fix function call
Fix a function call typo in previous commit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-31 12:53:36 +00:00
Richard Purdie
7353a843d5 builders: Fix quarantine handling
The way the canStartBuild code was written, it inserted a delay between
each build starting of 2 minutes unconditionally. We only want to do this
if the worker had run out of space so tweak the code accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:07:36 +01:00
Richard Purdie
17c7b35155 builders: Correct bonus application
The bonus is applied to the start time and needs to make the build
appear as if it started earlier than it did since earlier builds are
prioritised. This means the bonus should be subtracted, not added.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 17:54:07 +01:00
Trevor Gamblin
e21c1123a2 builders.py: fix bonus time calculation
Modify the builder_bonuses calculation so that it provides variable
bonus time based on the builder, rather than a constant value.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-29 16:19:33 +01:00
Trevor Gamblin
fda674dec6 builders.py: Add canStartBuild disk space check
We need a way to limit the builds for when a given worker has less than
a certain amount of disk space available. This implements a
canStartBuild method based on the example in the Buildbot docs and
blocks a build if the worker has less than 60GB of disk space available.
Unlike the example code, we want the stdout of the command so that we
can calculate the amount of disk space, rather than just relying on the
remote command's return code.

Docs: https://docs.buildbot.net/latest/manual/customization.html#canstartbuild-functions

[YOCTO #14591]

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-29 16:19:18 +01:00
Steve Sakoman
77416bf3c0 config.py: debian 11 should have been enabled in dunfell, not warrior, fix it
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 23:47:14 +01:00
Steve Sakoman
88125e306c config.py: enable debian11 workers for dunfell
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:15:02 +01:00
Steve Sakoman
52c8be94b8 config.py: enable fedora34 workers for dunfell
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:15:02 +01:00
Richard Purdie
08020902be schedulers: Add honister release
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:12:11 +01:00
Richard Purdie
5f649e42cd builder: Rework builder prioritisation mechanism
The previous idea whilst looking good meant those builders were prioritised
over all others meaning multiple builds running in parallel which would
all be partly complete.

After discussion with upstream, add a bonus weighting mechanism to the
default sorting (which is based upon start time) so that our priority
builds should start first but builds started earlier should still be
prioritised.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:34:05 +01:00
Trevor Gamblin
b5a047f99f builders: Add prioritizeBuilders
This prioritizeBuilders function sorts builders by the length of their
associated worker lists, so that builders that can only be assigned to a
small number of workers are assigned to those workers before other
builds that don't have specific needs when resources are limited. An
example might be when a slot is available on an Ubuntu-based worker, and
"oe-selftest-ubuntu" and "genericx86-64" build requests exist in the
queue. Since oe-selftest-ubuntu requires an Ubuntu-based worker and
genericx86-64 does not, genericx86-64 will be assigned a higher value
(lower priority) so that oe-selftest-ubuntu is assigned to that worker
first.

[YOCTO #13644]

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-09 14:24:24 +01:00
Richard Purdie
e0c1452d5a README: Fix mailing list email address
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:48:56 +01:00
Alexandre Belloni
6bc7226d43 schedulers: change default value for SWAT monitoring
meta-oe and auh are not for SWAT, change the default to be false

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:48:12 +01:00
Richard Purdie
0fa2d40f05 schedulers: Add meta-aws/meta-openembedded branch mappings to all newer releases
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:47:34 +01:00
Steve Sakoman
c86fdefca4 schedulers.py: add dunfell branchdefaults for meta-aws and meta-openembedded
Both repos have been added to check-layer-nightly so we need to make
sure the dunfell branches of the repos are being used

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:44:53 +01:00
Richard Purdie
d82a7d575f config.py: Add missing a-full dependency layers
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-27 09:20:30 +01:00
Richard Purdie
d056a415ad config.py: Add meta-aws/meta-agl-core to a-full
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 23:13:44 +01:00
Richard Purdie
b8233ec109 yocto_console_view: Rebuild with recent changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 11:48:40 +01:00
Richard Purdie
2e1aaeede7 yocto_console_view: Fix releaseselector for missing repos
If a field doesn't exist in the current build, allow the selector to still work
(e.g. meta-arm branch in a-quick).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 10:50:58 +01:00
Steve Sakoman
5393cf8be7 config.py: enable opensuse152 workers for dunfell
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:54:07 +01:00
Alexandre Belloni
66d9d014a5 reporters/swatbot: sanitize urls
When the log name contains a space, the generated URL is not correct. This
later also breaks parsing in swatbot. This was triggered by "property
changes" and the correct URL is indeed logs/property_changes.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 16:54:11 +01:00
Trevor Gamblin
0edf7860fe README-Guide: wrap lines at 80 characters
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-16 17:33:48 +01:00
Trevor Gamblin
5fcdb82844 README-Guide: cleanup, clarify setup instructions
Broke the document up into more sections, and added some info
to make it clear that the same instructions for setting up
the systemd autobuilder can be used to start it manually.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-16 17:28:35 +01:00
Richard Purdie
84df87768a builders: Ensure only one docs build runs at a time
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-16 12:12:52 +01:00
Richard Purdie
b03dca02b2 schedulers: Fix docs builds for master
To quote the manual, "The branch on which the change occurred.
 Note that ‘trunk’ or ‘master’ is often denoted by None."

so lets add None as well and hope master builds appear properly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-16 11:49:55 +01:00
Richard Purdie
f1ecba1b25 schedulers: Fix to use non-deprecated branch syntax
For some reason the older syntax for specifying the branch isn't working. Use
the newer one instead which does.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-08 09:28:52 +01:00
Richard Purdie
0334d60cf6 schedulers: Ensure helper branch is set correctly in schedulers
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 11:29:02 +01:00
Richard Purdie
909f503ca0 schedulers: Ensure unique scheduler names
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 14:11:34 +01:00
Richard Purdie
a2c99357cb schedulers: Correctly set default branch names for new release specific builds
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 12:44:06 +01:00
Richard Purdie
6c3ebfa7a9 schedulers: Update to run AUH weekly and add check-layer for hardknott/dunfell
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 12:30:17 +01:00
Steve Sakoman
39769d149b config.py: enable fedora33 workers for dunfell
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 16:57:04 +01:00
Ross Burton
8dd5e200ca meta-arm doesn't use meta-kernel anymore
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-29 10:30:47 +01:00
Richard Purdie
a7276290c7 config.json: meta-arm now has a hardknott branch
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-28 16:30:47 +01:00
Richard Purdie
46094490fd config.py: Add meta-ti and meta-security to check-layer-nightly base configuration
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 00:31:45 +01:00
Richard Purdie
ea7c0aeeae config/schedulers: Add check-layer-nightly
Add a new target to run layer checks every 24 hours on various layers we don't
test as part of the standard test runs.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-22 15:03:08 +01:00
Anuj Mittal
b824818ab9 schedulers.py: build docs for 1.50 as well
Also tweak hardknott to build meta-arm master as there is no hardknott branch
yet.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-22 08:44:32 +01:00
Richard Purdie
c5611e7b7e config: Add meta-aws to base configuration
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-13 20:43:58 +01:00
Richard Purdie
ce9597c7db config/schedulers: Add hardknott config for new release
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-13 20:43:58 +01:00
Trevor Gamblin
faea0b86c8 README-Guide.md: Add multi-node content, extra config info
The instructions in README-Guide.md are a good starting point, but there
are some additional guidelines in this patch for setting up worker nodes
which may be useful to others who want to run their own Autobuilder
instance. Specifically, it adds:

- Section 1.3 on adding additional worker nodes to a cluster
- Section 1.4 on setting up an NFS share for the controller and workers
  to reference
- A link to the Yocto Manual where the requirements to support running
  builds on Ubuntu/Debian systems is listed
- A note to make sure that any new users (pokybuild3) created for the
  Autobuilder have LANG set in their bash profile

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-13 20:43:58 +01:00
Richard Purdie
f027b0e006 reporters/swatbot: If we see a 302 response, attempt a new login
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-10 16:04:49 +01:00
Richard Purdie
1f411279ec reporters/swatbot: Add extra debug where we currently see tracebacks
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-09 18:13:05 +01:00
Richard Purdie
48b93cb176 config.py: Fix meta-agl repo name vs target build
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-30 14:50:52 +01:00
Jan-Simon Moeller
09005fc23c Add meta-agl-core
This adds meta-agl-core as target.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-30 13:00:56 +01:00
Ross Burton
745ada6fcd schedulers: add appropriate meta-arm branches to the release selector
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 17:32:22 +00:00
Richard Purdie
84ae6d66a8 config: Drop mpc machine from quick/next in dunfell and newer releases
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-14 14:29:09 +00:00