Commit Graph

242 Commits

Author SHA1 Message Date
Richard Purdie
063260e61e default_mail.txt: Fix Typo
Spotted/reported by Alexandre Belloni, thanks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28 22:26:41 +00:00
Richard Purdie
739ed320c2 reporters/swatbot: Fix typo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25 10:43:39 +00:00
Richard Purdie
0f7d41dd73 reporters/swatbot: Add extra logging when entries fail to add
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25 10:43:10 +00:00
Richard Purdie
a304971d89 reporters/wikilog: Avoid overwriting variable
The log boolean variable conflicted with log.err() calls, fix this
and avoid tracebacks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25 10:42:17 +00:00
Richard Purdie
80eec53950 reporters/swatbot: Namespace error logging for easier searching
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-22 15:20:20 +00:00
Richard Purdie
66ca688ff8 default_mail: Avoid traceback if swat_monitor isn't set
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-22 11:00:19 +00:00
Richard Purdie
ca2da94e62 Add mail notification example
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-22 10:47:55 +00:00
Richard Purdie
dbdc805de0 reporters/swatbot: Handle missing logs correctly
For reasons unknown, logs may not always be reported, handle this
more gracefully so the error is still logged.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-22 10:41:00 +00:00
Richard Purdie
1f07a1768f reporters/swatbot: Improve swat_monitor handling
The property may be unset, avoid tracebacks if so.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-22 10:40:15 +00:00
Richard Purdie
ccdf468d32 reporters: Add swatbot plugin to interface to new django app
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-21 21:09:35 +00:00
Richard Purdie
8822a31204 wiki: Drop obsolete maintainer info and dead email address
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-18 23:49:34 +00:00
Richard Purdie
64b67aa878 Add SPDX License Identifiers
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-18 23:49:01 +00:00
Richard Purdie
be97525820 schedulers: Add docs monitoring for dunfell/1.46 docs
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-04 11:24:44 +00:00
Richard Purdie
ccc041a8e8 builders/schedulers: Add 'Should SWAT monitor?' boolean field to build schedulers
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 14:19:19 +00:00
Richard Purdie
99cafafe1a builders: Cascade the yp_build properties so skipped builds show more cleanly in the UI
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 23:51:37 +00:00
Richard Purdie
31013d5d65 yocto_console_view: Rebuild compiled plugin
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
e878e85d5c yocto_console_view: Add link to output directory in summary
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
c31ca19a34 yocto_console_view: Merge all unresolved revisions into one entry
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
8d95b24b8b yocto_console_view: Drop debug output
This was accidentally left enabled.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
a232d2c032 yocto_console_view: Fix mystery performance problem
We were pushing duplicate builder values into changes list which was causing
angular to get rather upset, triggering console warnings and heavy CPU usage.
Stop doing that. Also drop the pointless return value.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
eacbfed5b4 yocto_console_view: Fix onNew update logic and drop pointless return values
The logic in the function was odd, we need to trigger onChange if we update
any values. The return values are also pointless. Fix and clean up the code
logic accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
9562761148 yocto_console_view: Merge in upstream improvements
Merge in various tweaks made to the upstream console_view plugin.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:35:54 +00:00
Richard Purdie
36ae2de715 yocto_console_view: Convert to new plugin standards to match upstream buildbot
Our plugin is based on upstream buildbot's console plugin. Upstream moved
away from coffescript and made a number of other fixes and improvements.

Run decaffeinate on the coffeescript to translate to angularjs and then
convert to the new build environment and standards.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:33:03 +00:00
Richard Purdie
8245de5e6e config.py: Allow fedora32 dunfell builds
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-23 19:12:59 +00:00
Richard Purdie
74a06053c5 config.py: Add gatesgarth host filtering to avoid the fedora33 worker
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-23 19:11:42 +00:00
Richard Purdie
730f5ea304 steps/runconfig: Ensure build is marked as skipped
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-23 18:24:21 +00:00
Richard Purdie
863ed82b2a steps/runconfig: Attempt a different way to terminate the build
It seems the previous approach was confusing buildbot about the task status
so try and be more specific and use better APIs to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-23 14:48:45 +00:00
Richard Purdie
c8db821860 builders/runconfig: Add ability to skip targets if the don't exist in the branch configuration
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 23:36:40 +00:00
Richard Purdie
eef335b400 Revert "config.py: remove redundant meta-kernel references"
This breaks meta-arm on gatesgarth.

This reverts commit 6a52704514.
2020-11-19 16:37:19 +00:00
Ross Burton
6a52704514 config.py: remove redundant meta-kernel references
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 16:23:56 +00:00
Richard Purdie
2b497317d2 steps/runconfig: Avoid storing jsonconfig as a property
We already have a log, don't duplicate the data as a property as it will
cause excess database growth.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-12 10:29:32 +00:00
Richard Purdie
7898d68ccc runconfig/observer: Simplify log handling for new format tasks
For new tasks, hide errors/warnings if not present, don't monitor steyXY
logfiles as they're no longer needed and ensure description is provided
by our code as shellCommand doesn't handle it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-12 10:29:32 +00:00
Richard Purdie
2c17ca10da runconfig: Allow more control of buildbot step name/desc
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 18:18:33 +00:00
Richard Purdie
3a9b218c83 builders: Clean up buildirectories of successful builds
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 18:07:11 +00:00
Richard Purdie
25d5a7d0ae builders/runconfig: Allow execution of run-config steps individually
Rather than running all the work in a single run-config command, split this into
multiple steps. This allows for separate result code reporting, timestamps
for indvidual steps and is generally much cleaner. The naming and so on will need
further work but this is a start.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 18:07:11 +00:00
Richard Purdie
b15a81375f steps/runconfig: Fix datetime module reference
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10 21:44:59 +00:00
Richard Purdie
97104f0a69 builders: Move run-config handling to its own module
Also abstract the calls into a function to allow for easier further
development.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10 16:47:16 +00:00
Richard Purdie
8cc03a2819 scheulders: Add missing module name to avoid errors
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 20:31:36 +00:00
Richard Purdie
8aaae51aa9 config/schedulers: Only run performance builders in a-full in release builds
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 13:55:31 +00:00
Richard Purdie
9fa3dee873 master/schedulers: Add codebase markup to stop revisions being mapped incorrectly/incompatibly
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-06 16:50:12 +00:00
Richard Purdie
2412c64620 master: Add pollInterval to GitPoller make it clear how to change it
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-06 16:49:39 +00:00
Richard Purdie
7423ce86b8 master.cfg: Fix bitbake repo url
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-06 15:20:00 +00:00
Richard Purdie
f3422f617e schedulers: Trigger docs builds when the sphinx docs change
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-06 15:09:55 +00:00
Richard Purdie
7d87086581 master: Add change source monitoring for bitbake and yocto-docs
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-06 15:01:53 +00:00
Richard Purdie
0088756388 builders: Add bitbake repository to docs build
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-06 13:32:56 +00:00
Richard Purdie
d81c7ca443 builders/config/schedulers: Add support for 'docs' builder
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-05 12:24:56 +00:00
Richard Purdie
be1ea85969 schedulers: Add gatesgarth build mapping
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-27 16:00:36 +00:00
Richard Purdie
9b210a7a2c wikilog: Create archive pages of 150 entries to stop infinite page growth
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-21 18:26:16 +01:00
Richard Purdie
6a4cebdfee wikilog: Allow footer of archived logs
Preseve a footer 'Archived Logs' section at the end of the BuildLog wiki
page. This will be later used for archiving purposes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-21 14:31:59 +01:00
Richard Purdie
31f297e026 wikilog: Filter monitoring on wiki log to build subset
We want the wiki log to primarily contain full and quick builds for
processing by SWAT. The buildperf log entries are distracting but
in case of failure we do need them there so adjust the code to handle
this.

Also, don't log reports of skipped builds but do log build warnings, since
we do want warnings to be acted upon now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-21 13:47:24 +01:00