Commit Graph

653 Commits

Author SHA1 Message Date
Alexander Kanavin
9928e6ebe8 scripts/collect-results: publish everything in tmp/log/oeqa/
In addition to the testresult json, testimage class now also
provides the testimage task log and qemu console output log
which can be useful for debugging test failures or
even checking qemu test runs when failures did not happen.

Rather than duplicate specific file/folder names, let's copy all
that is available, and define what is published in the testimage
class itself (with appropriate folder structure if/when needed).
At the moment there's just three files, and they are copied into
folders named after image names, so there's no clutter or risk
of mixing them up with unrelated logs.

[YOCTO #14518]

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:23:15 +01:00
Ross Burton
ca7ffe61e3 config.json: build FVP-Base instead of N1SDP
FVP-Base is a better supported and more generally useful machine than N1SDP.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 17:06:46 +01:00
Richard Purdie
4b35f3d669 config.json: Fix pgo enable for buildtools
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 13:05:43 +01:00
Ross Burton
0b19251618 config.json: test the buildtools after building them
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 14:00:14 +01:00
Alexander Kanavin
d544e8ddfb auh-config: adjust to new override syntax
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-16 10:34:38 +01:00
Alexander Kanavin
86e23dff9b auh-config: enable systemd only for glibc
It is not guaranteed to build or work otherwise, and causes
update failures in unrelated recipes when building for musl for instance.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-16 10:34:38 +01:00
Richard Purdie
502bcbbacf config.json: Switch to 3.4 M2 buildtools
This adds lz4c, zstd and pzstd for new tools requirements.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-11 22:34:02 +01:00
Richard Purdie
4689763b51 config.json: Ensure BB_HASHSERVE is set in SDKs to auto
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-01 22:49:57 +01:00
Richard Purdie
4db17f4c9d config.json: Add BB_HASHSERVE to SDK_LOCAL_CONF_BLACKLIST
This should avoid issues with the hashequiv code attempting to contact
an non-existent server in the eSDKs built by the project.

[YOCTO #14471]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-01 15:28:04 +01:00
Richard Purdie
4ebbcb35a9 config.json: Remove obsolete QTDEMOS variable
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-31 10:48:48 +01:00
Richard Purdie
6301960da7 scripts/setup-config: Update to use new overrides syntax
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 23:34:30 +01:00
Richard Purdie
fe72e22296 config.json: Update check-layer to use --no-auto-dependency after yocto-check-layer changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 10:30:01 +01:00
Richard Purdie
861228cc64 config.json: Update to use new overrides syntax
To help with the conversion, switch the core configurations to use the new
syntax since this allows testing with the new syntax only.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-27 10:26:19 +01:00
Richard Purdie
63a06c199d config.json: Fix meta-aws dependency order issue
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-25 09:38:09 +01:00
Richard Elberger
761ca0f9e5 Enable canary builds for meta-aws[aws-iot-device-sdk-cpp-v2] on x86-64 and arm64.
This patch provides the buildbot system to make the aws-iot-device-sdk-cpp-v2.
- build on poky
- meta-openembedded and meta-aws are additional repo dependencies
- build for the two dominant architectures: x86-64 and arm64.

Signed-off-by: Richard Elberger <elberger@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 23:06:19 +01:00
Trevor Gamblin
5c5fc7bcd2 config.json: set max load in PARALLEL_MAKE
Add "-l 52" to PARALLEL_MAKE in config.json to limit Make and Ninja
builds based on the detected system load. With this option added, if
either tool has at least one job running and detects that the system
load exceeds the given value, it will wait until either the system load
average drops below that limit, or until all other jobs are finished
before starting additional jobs.

Since most autobuilder machines have 56 cores, this should help keep the
system from being overloaded during builds.

Reference: https://www.gnu.org/software/make/manual/html_node/Parallel.html

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-15 15:15:06 +01:00
Richard Purdie
b7cde2d713 config.json: Use pregen-hostkeys on all qemu targets
Rather than just ppc/mips, use the pregen-hostkeys on all the qemu targets
since this is using a lot of time on the autobuilders when we don't really
need to. This should avoid some of the testing failures seen on qemuarm
recently.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 10:46:09 +01:00
sakib.sajal@windriver.com
65f97836bf config.json: collect data on failure by default
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-12 22:36:57 +01:00
sakib.sajal@windriver.com
0194623371 scripts/generate-testresult-index.py: update index to list host data
Host data is collected on failure by default. List the collected files
in the index.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-12 22:36:20 +01:00
sakib.sajal@windriver.com
681b5a6f92 summarize_top_output.py: summarize data logged on failure
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-12 22:36:20 +01:00
sakib.sajal@windriver.com
3ba08a6c45 collect-results: collect all host_stats files
data collection on failure is enabled by default.
Collect all host stats files created.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-12 22:36:20 +01:00
Ross Burton
21c6bfc0b9 config.json: add meta-arm-autonomy to check-layer
meta-arm-autonomy now passes check-layer, so add it to the autobuilder.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 17:16:10 +01:00
Richard Purdie
c33154fe3a config.json: Add source mirror fetching for the arm host
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-06 17:55:44 +01:00
sakib.sajal@windriver.com
bbe9741d01 summarize_top_output.py: add script, use it and publish summary
summarize_top_output.py is used to summarize the top
output that is captured during autobuilder intermittent
failures.

Use the script to summarize the host top output and
publish the summary that is created instead of
the raw logfile.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-24 14:24:54 +01:00
Alexander Kanavin
c56c6f2d81 config.json: transition ptests to minimal-based images
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:22 +01:00
Nicolas Dechesne
a731359179 scripts/run-docs-build: add 'current' link when deploying docs
Make sure that https://docs.yoctoproject.org/current will always link
to the most recent release documentation.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 17:23:04 +01:00
Richard Purdie
19b4e74b39 config.json: Set XZ limits to more reasonable values on autobuilder
The autobuilders have 128GB memory, we don't want them using 50% which is
the default, 5% should be enough. Also limit the number of threads down
from 48 to something reasonable. This may be partly causing some of our
performance issues?

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 11:17:41 +01:00
Richard Purdie
65c3c55d78 config.json: Remove -j option for reproducibility as live output is useful
The -j option has the side effect that the output is cached. For a long running
single threaded target, the live output is more useful so switch to it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:10:24 +01:00
Alexander Kanavin
14778c1a46 config.json: do not add separate gdk-pixbuf jpg/png modules to images
JPG/PNG have become builtin in gdk-pixbuf 2.42.x
(other formats are still external).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:09:33 +01:00
Richard Purdie
3e3176d9b5 config.json: check-layer-nightly - add meta-arm, remove meta-security, fix meta-ti arm dependency
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30 00:28:29 +01:00
Richard Purdie
79beb26917 config.json: Add meta-security to check-layer-nightly
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 23:48:44 +01:00
sakib.sajal@windriver.com
89bdaf4d3d config.json: update variable for change in buildstats.bbclass
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 23:44:12 +01:00
Richard Purdie
379c8b42c4 config.json: Enable meta-oe and meta-virtualization testing for check-layer-nightly
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 00:19:21 +01:00
Richard Purdie
3f78913ed1 config.json: check-layer-nightly - don't check meta-agl-bsp sublayer
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 13:51:43 +01:00
Richard Purdie
340099a70b config.json: Add meta-ti to check-layer-nightly
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 13:38:11 +01:00
Yi Fan Yu
a62c84d454 config.json: Add default MACHINE qemux86-64
This is the default oe-core MACHINE value.

Prevent error-reporting tool to report simply False.
It was seen in check-layer where the MACHINE wasn't specified.

[YOCTO #14208]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-25 17:02:46 +01:00
Yi Fan Yu
0d938352d7 scripts/utils.py: Add reporting for yocto-check-layer
The default behavior is to look for a bitbake command,
which fails and produces a confusing output of [-1:].

[YOCTO #14208]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-25 17:02:28 +01:00
Richard Purdie
e33daf0005 config.json: Add meta-agl to check-layer-nightly
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-25 16:56:19 +01:00
Richard Purdie
1bd32136c6 config.json: Add ability to run yocto-check-layer to meta-oe target
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 15:25:26 +01:00
Richard Purdie
b886d8520a config.json: Add meta-intel and meta-aws to new check-layer-nightly target
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 15:25:26 +01:00
Anuj Mittal
962a797c91 config.json: add hardknott for buildhistory
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-22 08:46:53 +01:00
Randy MacLeod
197e366986 config.json: measure every 60 seconds
With the previous interval of 10 seconds, there would be
serveral times when the system was very busy and the
script would not return before the next run was scheduled
resulting in no measurement. In addition, build:
   https://autobuilder.yocto.io/pub/non-release/20210417-13/
produced 17 files with top output with top running 454 times
and that's a bit too much data to analyze for each run. By
decreasing the measurements, we'll find the worse problems
first, fix them and then we can increase the freqency of
measurement if needed.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-19 11:54:36 +01:00
Richard Purdie
59683d041d config.json: Fix buildperf to work with load debugging
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-16 13:32:32 +01:00
sakib.sajal@windriver.com
041ccae3d3 generate-testresult-index.py: publish host data collected by collect-data template
Add a column "Host Data" to publish the host data collected.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 14:54:02 +01:00
sakib.sajal@windriver.com
7593f93869 collect-results: collect "host_stats" files generated by collect-data template
collect-data template generates host_stats files which are collected.
All files are published, file names are determined by the contents:
    - Files that contain "top" output are named host_stats_<number>_top.txt
    - host_stats_<number>.txt otherwise

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 14:54:02 +01:00
sakib.sajal@windriver.com
93f939606a config.json: collect data by default
add the variables required to collect data to "defaults"
so that data is collected on all builds.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 14:54:02 +01:00
Michael Halstead
89fd213eb4 run-docs-build: build from tags dynamically instead of static list
Build Sphinx docs for all versions newer than yocto-3.1.5 inclusive.
Integrate suggestions from Quentin Schulz and Nicolas Dechesne.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-13 15:13:42 +01:00
Michael Halstead
8b8528f565 run-docs-build: add 3.2.3 release to docs build
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2021-04-06 11:30:20 -07:00
Jan-Simon Moeller
ed8339a19a config.json: add meta-agl-core
This builds an image matching close to the AGL distro configuration.

[RP: Various fixes to allow it to build]
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 09:26:51 +01:00
Richard Purdie
08ade5e120 config.json: Set RUNQEMU_TMPFS_DIR
This location on the autobuilder workers contains a tmpfs, pass this configuration
into builds to try and fix suspected IO related performance issues with async
writes and qemu runtime timeouts. Using the tmpfs should avoid any IO write queues
for qemu images.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 09:25:18 +01:00