Commit Graph

157 Commits

Author SHA1 Message Date
Richard Purdie
a60c841a49 yocto_console_view: Only request properties for running builds which don't have them
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-16 13:51:10 +00:00
Aaron Chan
81273de5ac builders: Inherit build properties from nightly scheduler
This change enables the children jobs to inherit the build
property from nightly scheduler. Build property inherits
yocto release, milestone and rc number from parent job.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-07 10:42:06 +00:00
Richard Purdie
7075f031ba schedulers: Add thud release
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-01 15:55:55 +00:00
Richard Purdie
394e6929d8 yocto_console_vew: Add link to wiki log
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-26 15:00:26 +01:00
Richard Purdie
7ea2415383 wikilog: Improve whitespace formatting and add div tag
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-26 14:35:20 +01:00
Richard Purdie
ff2e532acb wikilog: Fix log entry formatting to be clearer
This ensures one entry is shown per step with the logs on the same line. The logs
are shown with the log names and the step name is only shown once. This make
the resulting wiki entry much easier to use.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-26 13:54:00 +01:00
Richard Purdie
22d8500664 wikilog: Ensure empty wiki page is handled correctly for page init
When a wiki page is empty, or only contains a single entry, ensure
the code still works and use empty content to initialise it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-26 13:52:20 +01:00
Richard Purdie
646ff04e8c wikilog: Handle result values correcting (partiularly warnings)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-25 11:13:13 +01:00
Richard Purdie
50e72e78c3 yocto_console_view: Also ensure yp_build_branch property is handled
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-13 10:24:28 +01:00
Richard Purdie
c4b8a6ea0e yocto_console_view: Handle change notification performance issues
The previous approach was basically repeatedly adding change nofification
calls recursively which could lock up the browser. It turns out nofitications
are not being generated properly in upstream buildbot.

https://github.com/buildbot/buildbot/issues/4321
https://github.com/buildbot/buildbot/pull/4323

For now accept a UI regression which will get fixed when the above is
fixed. Avoid the current performance problems.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-13 10:13:07 +01:00
Richard Purdie
681db49a98 yocto_console_view: Add code to update UI when yp_build_revision changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-12 16:22:27 +01:00
Richard Purdie
6d2568c69c yocto_console_view: Fix delete syntax
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-11 10:26:03 +01:00
Richard Purdie
ba6fe2cbc0 Revert "yocto_console_view: Run populateChange after modifying the change entries in matchBuildWithChange"
This reverts commit 3aa6beb7a7.

This change was incorrect and doesn't help the problems being seen.
2018-09-11 10:20:19 +01:00
Richard Purdie
3aa6beb7a7 yocto_console_view: Run populateChange after modifying the change entries in matchBuildWithChange
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-10 13:34:53 +01:00
Richard Purdie
5fab173693 README_WALKTHROUGHS: Tweak the startup commands
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-10 11:14:15 +01:00
Richard Purdie
bda30c6f4f yocto_conole_view: Ensure unresolved changes are deleted when we resolve
This should stop the UI looking as confused as builds resolve the build
revisions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-10 11:13:25 +01:00
Richard Purdie
ad5baf5ce1 builders: Increase maxsteps to 9 to match current helper configuration maximums
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-10 11:12:25 +01:00
Richard Purdie
4fbcd0a395 yocto_console_view: Tweak error reporting link
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-06 23:21:58 +01:00
Richard Purdie
b1d2a6b8fb Revert "builders.py: Fix invalid option"
This reverts commit 85cd275481.
2018-09-05 20:48:32 +01:00
Richard Purdie
24085f2a34 builders: Improve log handling to match run-config step numbering
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-05 14:30:27 +01:00
Richard Purdie
e99165dd4e config.py: Add nightly-qa-extras2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-05 14:30:27 +01:00
Richard Purdie
92bcd50cce yocto_console_view: Show build reason in console display
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-05 14:29:48 +01:00
Richard Purdie
b972e58722 builders/yocto_console_view: Add yp_build_branch property
This corresponds to the poky branch being used by default so its easier
for users to tell the builds apart and know which ones they are.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-05 11:50:56 +01:00
Richard Purdie
4cf104f35c master.cfg: Add monitoring of poky-contrib as well as poky
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-05 11:50:56 +01:00
Richard Purdie
85cd275481 builders.py: Fix invalid option
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-05 11:50:56 +01:00
Richard Purdie
aed82199a1 builders.py: Fix invalid option
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-30 14:59:32 +01:00
Richard Purdie
772544ee27 builders: Adapt to autobuilder-helper argparse changes
In particular this lets us drop the horrible 'None' sentinals.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-30 14:43:55 +01:00
Richard Purdie
40fe66b97f Add custom log observer
We want seperate log files in the UI for each of the build steps. This
changes buildbot to monitor the command.log.X files which run-config
generates. It also searches the log output for errors and warnings and
summarises these neatly in the UI.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-30 14:41:44 +01:00
Richard Purdie
ae54091754 Add example of bsp addition in patch form
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-29 12:46:43 +01:00
Richard Purdie
9200e30765 builders: Add an example of adding extra configuration to workers
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-24 09:22:12 +01:00
Richard Purdie
0ada7d26c9 README-WALKTHROUGHS: Improve and add preques list
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-23 23:07:17 +01:00
Richard Purdie
eed4c9c460 Add README-WALKTHROUGHS - details steps about rebuilding the plugin in particular
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-23 22:19:46 +01:00
Richard Purdie
d8a14cceac master.cfg: Fix typo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-23 14:13:52 +01:00
Richard Purdie
39331fb9fe master.cfg: Use http for git poller setup by default
This means people don't have to worry about ssh key setup.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-23 14:08:34 +01:00
Richard Purdie
dc8b7d1fce schedulers: Ensure branch is set correctly for all release selections
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-14 10:59:24 +01:00
Richard Purdie
882e18b9ea schedulers: Ensure release selector doesn't change helper repo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-14 10:52:51 +01:00
Richard Purdie
e634db129a TODO: Remove completed items
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06 16:37:17 +01:00
Richard Purdie
fec50d6fee schedulers: Fix typo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 17:28:10 +01:00
Richard Purdie
66a1c80db6 schedulers: Clean up repo formatting in force form
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 17:25:14 +01:00
Richard Purdie
0a1d7b074b schedulers: Fix build-appliance help text
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 14:56:30 +01:00
Richard Purdie
bc28993199 schedulers: Add Release selectors for master-next and mut
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 14:27:21 +01:00
Richard Purdie
b0dd51cc27 schedulers: Default to the master release in the release selector
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 14:24:43 +01:00
Richard Purdie
75ffbe08d4 schedulers: Move release selection shortcut to top of form
This moves the commonly used controls to the top of the form.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 14:23:28 +01:00
Richard Purdie
c82e6fa387 schedulers: Clean up build-appliance srcrev code
We need to show the build-appliance configuration on nightly as well as
nightly-build-appliance.

Also, default to AUTOREV, matching the behaviour of the old codebase.

Drop the "DEFAULT" magic value, default to that if a revision isn't specified.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 14:21:13 +01:00
Richard Purdie
9ddf0f5613 yocto_console_view: Tidy up release selector format
We just want a selector box which isn't editable so tweak the code
to achieve this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 14:18:25 +01:00
Richard Purdie
c6f1133ef8 yocto_console_view: Ensure parent_buildid changesets aren't overwritten
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-04 12:15:24 +01:00
Richard Purdie
8cf7aa7adf yocto_console_view: Use parent_buildid as the key to unresolved build entries to clean up console display
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-04 12:01:43 +01:00
Richard Purdie
b4db3914af schedulers.py: Fix bad default value for Boolean form control
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 08:18:41 +01:00
Richard Purdie
984e3e15a5 wikilog: Only add entries if there are failures (error logs)
Entries were getting added even in the success case, fix this.

Also only update the wiki if the data changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 08:10:52 +01:00
Richard Purdie
b172ee87fe wikilog: Complete porting to new buildbot codebase and py3
Finish the porting work started by Joshua Lock, accounting for changes
in buildbot APIs/data model and changes from py3, particular around
character encoding.

This also changes the behaviour of the plugin slightly. We now
use the build URL in the header to match builds. With the new codebase
we can walk the parent tree of triggers builds to ensure we always have
the correct parent build url. This means we can drop a lot of the older
more imprecise build matching logic.

Also simplify the format in the wiki log to one output format which lists
all step failures for each build, even in the parent case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-14 22:49:01 +01:00