Commit Graph

653 Commits

Author SHA1 Message Date
Richard Purdie
7ed4bde848 config.json: Use new machine tag for arch-qemu
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-03 22:32:24 +01:00
Richard Purdie
c168795212 config.json: Fix typo (thanks Anuj!)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-29 08:32:21 +01:00
Richard Purdie
fe2377b01b config.json: Handle move from lsb to poky-altcfg
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-28 17:26:46 +01:00
Thomas Goodwin
417c7d33db layer-config, shared-repo-unpack: Sub-repos in NEEDREPOS
The previous fixes requires the user to set "no-layer-add"
for a repo and then use ADDLAYER to insert the sub-repos
(e.g., meta-openmbedded/meta-oe) as a two-part process.
This means that you would also have to specify that flag
if a repo that is a layer with dependencies is in the
list so that it can be inserted in the correct order later
via ADDLAYER to avoid parsing problems.  This fix allows
for specifying a NEEDREPOS with the subdirectory of the
target layer (e.g., meta-openembedded/meta-oe) so that
there is no need for the "no-layer-add" followed by
ADDLAYER combination.  The entire meta-openembedded
repo would be moved into place, and the sublayer added
to bblayers.conf.

Signed-off-by: Thomas Goodwin <btgoodwin@geontech.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-02 17:34:48 +01:00
Thomas Goodwin
2aeb77f3f2 shared-repo-unpack: suppressing exception, returning exit code
The preceeding errors that would be shown should be enough to
identify the problem since it would have been a problem
running bitbake-layers add-layer, indicating a misconfiguration
of config.json.

Signed-off-by: Thomas Goodwin <btgoodwin@geontech.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-02 17:34:48 +01:00
Thomas Goodwin
43c2a3acc3 layer-config: fixing silent failures from always exiting '0'
The return value from bitbakecmd was not being returned when
errors occurred which allowed shared-repo-unpack to succeed
despite the failure.  This fix changes to check_call and a
try-catch when attempting to add repos that fail for whatever
reason during add-layer, like a missing conf/layer.conf at
the top level or a previously-added layer breaks parsing
because of missing dependencies.

Signed-off-by: Thomas Goodwin <btgoodwin@geontech.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-02 17:34:48 +01:00
Thomas Goodwin
b2ab49f759 config.json: Added meta-openembedded and meta-virtualization
The meta-openembedded has no top-level conf/layer.conf, so
layer-config's attempt to add it fails (silently).  Adding
it to the config.json with no-layer-add set to true will
bypass this silent failure.

The meta-virtualization fails because its repo isn't defined.
Once defined, it has a conf/layer.conf, so it's presence in
NEEDREPOS will cause ADDLAYER to fail because the former will
add it to the bblayers.conf before its dependencies are added
during run-config (causing bitbake-layers to error out).  The
fix is to also specify no-layer-add.

Signed-off-by: Thomas Goodwin <btgoodwin@geontech.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-02 17:34:48 +01:00
Richard Purdie
296a23ba63 README: Add pointer to the mailing list for patches
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-30 19:44:39 +01:00
Richard Purdie
f5922fc861 config.json: Hide WARNINGS we don't care about for meta-gplv2 testing
We're not interested in these warnings, the license incompatibility is
expected. By hiding these, we'll notice when warnings we do care about
appear.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 15:36:01 +01:00
Richard Purdie
8d989976f2 config.json: Disable PRSERV
This was copied from the old autobuilder configuration without much thought.
It would only be effective if we had a common PRSERV or saved the database
but we don't. It therefore makes sense to disable it.

One problem it was causing was inconsistency in the buildhistory output as
PKGR would change "r0" to "r0.0" and vice versa. The issue depended on whether
the build has coming from sstate or not and the settings the sstate had been
built with.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:13:04 +01:00
Richard Purdie
7689893bb3 generate-testresult-index: Handle build performance without reports
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-05 16:55:12 +01:00
Richard Purdie
1b3e3ced9f scripts: Add script to generate autobuilder results index
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-05 16:43:24 +01:00
Richard Purdie
3d00f4b6da config.json: Restrict armhost to SDKMACHINE aarch64
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 23:04:55 +01:00
Richard Purdie
300c359852 config.json: Add armhost targets
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 14:43:52 +01:00
Richard Purdie
89ac466b5f config.json: Fix typo for aarch64 ltp target
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 14:43:36 +01:00
Richard Purdie
4b9ecb6a2e config.json: Ensure ltp images have enough memory to run tests
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-01 00:28:07 +01:00
Richard Purdie
c4f45a7b2e config.json: Ensure ltp images have enough space to run tests
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 11:56:54 +01:00
Richard Purdie
0ec4c5d019 config.json: Add ltp test targets
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 12:37:13 +01:00
Richard Purdie
552f7996de config.json: Add handling for ptest-fast
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-17 14:38:52 +01:00
Richard Purdie
becdbd3729 utils: Fix incorrect module usage
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 18:21:51 +01:00
Richard Purdie
68f351ed83 run-config: Fix uninitalized variable problem
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 18:17:16 +01:00
Richard Purdie
f9bdcf888f config.json/utils: Allow buildhistory to be configurable and disable for oe-selftest in qemu-arch
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 16:23:54 +01:00
Richard Purdie
59f5a5723d config.json: Fix selftest command typo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 11:27:44 +01:00
Richard Purdie
1a8fff0083 config.json: qemux86-64-lsb should use lsb-qemu, not lsb-hw
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 11:25:43 +01:00
Richard Purdie
628e873e8c config.json: Add testing for selftest runqemu/meta_ide on all qemu machines
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:58:03 +01:00
Richard Purdie
f73e4f6c2b config.json: Add warrior branch to buildhistory config
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-02 15:30:37 +01:00
Richard Purdie
989d5ee02c config.json: Add sangeeta.jain@intel.com to QA email list
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 17:46:14 +01:00
Richard Purdie
61eb7b84da config.json: Ensure buildperf doesn't smash sstate for release builds
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26 23:45:00 +00:00
Richard Purdie
a93a79945f scripts/collect-results: Ensure selftest doesn't trigger buildhistory results collection
Affects sumo since that doesn't have oe-selftest parallelism. thud/master create
these in a different location so don't see the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 10:07:21 +00:00
Richard Purdie
372282eb6b scripts/publish-artefacts: Ensure aarch64 uninative is published
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 15:24:33 +00:00
Richard Purdie
bffcdda6b9 config.json: Ignore pylint exit code
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-06 23:10:53 +00:00
Richard Purdie
b8ac9fd1dc config.json: Run the lint command as step 3
This avoids confusing people used to the prevous step numbering.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-06 19:20:01 +00:00
Richard Purdie
d347e1394a config.json: Ensure pylint output directory exists
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-06 18:26:34 +00:00
Richard Purdie
b678c33486 config.json: Generate pylint reports if the script is present
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-06 17:41:05 +00:00
Richard Purdie
520ea457e8 send-qa-email: Fix typo causing wrong report contents to be written
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-25 09:34:22 +00:00
Richard Purdie
2deb018441 send-qa-email: Be specific about which test result branches to push
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-23 22:53:50 +00:00
Richard Purdie
f19aa61cd6 buildhistory-init/collect-results: Use a tag to make buildhistory data consistent
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-23 17:23:52 +00:00
Richard Purdie
a0963045de scripts/utils: Simplify buildhistory path, no need for such deep paths
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-22 00:07:37 +00:00
Richard Purdie
c4b12405b5 config.json: Tweak buildstats push url
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-21 20:49:45 +00:00
Richard Purdie
5f003ff4e6 config.json: Push buildperf data to the yocto-buildstats repo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-21 17:28:46 +00:00
Richard Purdie
e67a6aab27 send-qa-report: Add handling of results files with resulttool
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-21 17:19:02 +00:00
Richard Purdie
13eb8eb282 scripts/send-qa-email: Add optional -R option for test results directory
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-21 17:13:16 +00:00
Richard Purdie
5130ab9f21 utils: Move getcomparisonbranch() to common function library
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-21 17:13:16 +00:00
Richard Purdie
e1564ff86c collect-results: Generate buildhistory-diff output
Since we now have functional buildhistory repository functionality,
generate buildhistory-diff output for builds where its enabled.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-21 13:50:26 +00:00
Richard Purdie
dca5a89ca9 janitor/clobberdir: Fix case where clobber directory isn't a local path to the trash directory
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-15 18:00:20 +00:00
Richard Purdie
c0a1bfe54c config.json: Update Stephen's email address
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-12 21:46:55 +00:00
Richard Purdie
e5310650b0 scripts/utils: Ensure list filtering code doesn't match appends/prepends
We want all INHERIT += to apply for example

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-12 14:18:09 +00:00
Richard Purdie
700f297cd5 build-perf-test-wrapper: Print URL data is published to in output
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-12 12:47:35 +00:00
Richard Purdie
73050e1bb5 config.json: Build performance measurements only use rpm packaging
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-12 12:47:12 +00:00
Richard Purdie
7d8b47637b config.json: Use x86_64 SDKMACHINE for buildperf tests
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-11 13:11:27 +00:00