aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-02-23send-qa-email: Save the QA email in case it doesn't reach the mailing lists.warriorMichael Halstead
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20scripts: Add target present check scriptRichard Purdie
Add a script which from the exit code determines if a build target is present in the configuration. The autobuilder can use this to determine whether to execute the target at all or whether to skip it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-07config.json: Update buildtools configRichard Purdie
Need to use buildtools on centos8 and fedora32 as they lack makeinfo as part of the default install now. Also use buildtools to standard and extended as appropriate. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-07scripts/send-qa-email: Update to dedicated push capable domainMichael Halstead
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-07config.json: Build buildtools-extended-tarball for x86_64 and aarch64Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-07scripts/utils: Ensure buildtools tarball hash matches any supplied valueRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-07scripts/utils: Ensuring new logging is flushed from buffersRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-07scripts/utils: Add more logging for fetchgitrepoRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08send-qa-email: Fix stable branch test result history issuesRichard Purdie
On stable release branch builds, it will clone "master" since comparebranch is None. It will then fail to push since there is already a dunfell branch upstream with changes on which it needs to rebase on top of. The change to use shallow clones significantly increases this problem. To fix this, fall back to cloning basebranch by name, then master if it doesn't exist. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08build-perf/send-qa-email: Fallback to master as a comparision branchRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/utils.py: Convert md5sum to sha256sum for layer tarballsVineela
Signed-off-by: Vineela Tummalapalli <vineela.tummalapalli@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3aefa5a763125c760813a8f8434c574ecd3ca99b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-07-08publish-artefacts: Improve sha256 checksum handlingTummalapalli, Vineela
The existing checksum files were encoding full paths. This patch changes this to use just the filename which allows relocation of the directories and is more appropriate for sharing over http. Signed-off-by: Vineela Tummalapalli <vineela.tummalapalli@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 835ac325a4ed3e421a5a9bfd7c75f552ae2103cf) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-07-08scripts/publish-artefacts: Convert md5sum to sha256sumRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 80c53d03ea32e3b4831e8945eaa2e1d643d0ce89) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-07-08config.json: Use buildtools from 3.2 M1 to fix bugs in openssl reportingRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 385fdf2295d514d0b0883957a110825235f9647f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-07-08config.json: Update to new buildtools tarballRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08config.json: Use new buildtools tarballRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/run-config: Share buildtools setup code with shared-repo-unpackRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/run-config: Add extra debug about buildtools to show when activeRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/send-qa-email: fix bug in git push logic for yocto-testresultsSteve Sakoman
We were mistakenly doing a force push if the branch was in either BUILD_HISTORY_FORKPUSH or BUILD_HISTORY_DIRECTPUSH. Now we force push for branches in BUILD_HISTORY_FORKPUSH, regular push for branches in BUILD_HISTORY_DIRECTPUSH, and no push if the branch is in neither list. Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/utils.py: Fix confusing naming of getcomparisonbranch() return valueSteve Sakoman
This code was copy/pasted but in this case the variables should be called "compare", not base. Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08config.json: Apply buildtools tarball to centos7 perf worker tooRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08config.json: Update to 3.1M3 for buildtools tarball and apply to centos7/debian8Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08run-config: Fix lockfile loop handlingRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/run-config: Ensure racing for the lockfile doesn't tracebackRichard Purdie
Traceback (most recent call last): File "yocto-autobuilder-helper/scripts/run-config", line 116, in <module> fcntl.flock(fileno, fcntl.LOCK_EX) OSError: [Errno 22] Invalid argument Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/run-config: Add support for local filesystem buildtools urlsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/run-config: Handle quoting issues in buildtools environment filesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/run-config: Handle multiple builds racing with lockfile for buildtoolsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08send-qa-email: Limit results clone to shallow depth to avoid timeoutsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08scripts/run-config: Fix buildtools pathRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08config.json: Disable buildtools tarball on centos7 as its missing crypt.hRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08config.json: Enable buildtools for centos7 workers (as a test for now)Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08run-config: Add support for wrapping builds in a buildtools tarballRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08run-config: Preface log output with auto.conf settings to aid debuggingRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08shared-repo-unpack: suppressing exception, returning exit codeThomas Goodwin
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>
2020-07-08config.json: Replaced occurrencies of /home/pokybuild with ${BASE_HOMEDIR}Marco Cavallini
Signed-off-by: Marco Cavallini <m.cavallini@koansoftware.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08prepare-shared-repos: Really fix shell globbingRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08prepare-shared-repos: UAllow shell globing to fix failureRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08prepare-shared-repos: Use temporary non-NFS directory for layer clones for speedRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08layer-config, shared-repo-unpack: Sub-repos in NEEDREPOSThomas Goodwin
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>
2020-07-08layer-config: fixing silent failures from always exiting '0'Thomas Goodwin
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>
2020-07-08README: Add pointer to the mailing list for patchesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08config.json: Hide WARNINGS we don't care about for meta-gplv2 testingRichard Purdie
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>
2020-07-08config.json: Disable PRSERVRichard Purdie
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>
2020-04-27scripts/shared-repo-unpack: Accept workername parameterRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06run-config: Add workername parameterRichard Purdie
Allow the workername to be passed into the script. This is to allow future buildtools tarball support based upon the worker. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21scripts/send-qa-email: Handle older git clientsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21config.json: Add missing buildhistory mapping for zeusRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21scripts/send-qa-email: Allow force pushing of basebranch based comparisionsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-11config.json: Move warrior sstate to a separate directoryRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-14config.json: point to new mailing list addressesAnuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>