summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* binutils: Upgrade to binutils 2.32Khem Raj2019-02-0531-2004/+858
| | | | | | | | | | | | | | | | | | | Changes https://sourceware.org/ml/binutils/2019-02/msg00010.html 0007-Add-the-armv5e-architecture-to-binutils.patch is dropped since we armv5 is not a used option anymore in OE armv5te is default, and gcc9 will drop it completely anyway CVE patches were backports from master which is already past of 2.32 release Other dropped patches were partial or full backports as well (From OE-Core rev: b71294c4decf35d544a2c8adb4e67d141841fc68) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Fix pthread_rwlock_try*lock stallsKhem Raj2019-02-052-2/+2
| | | | | | | | | | Brings in a backport as described in https://sourceware.org/git/?p=glibc.git;a=commit;h=86013ef5cea322b8f4b9c22f230c22cce369e947 (From OE-Core rev: bcd5229c8045c3e0add0fc4f57ce9bfb5fc86328) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* terminal: Fix working directory in tmux terminalsJacob Kroon2019-02-051-5/+5
| | | | | | | | | | | | | Recent version of tmux seems to use PWD from the environment instead of the actual working directory. Help it use the correct path. Fixes setting the correct working directory when running devshell and menuconfig tasks. (From OE-Core rev: 938a089b52e7bf5f67406f55234ab2d22236e9b6) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm,mesa: Upgrade to upcoming 8.0.0 releaseKhem Raj2019-02-054-77/+105
| | | | | | | | | | | | | | License-Update: Copyright year updates from 2017-2019 Refresh patches to apply on new version mesa move dep to the llvm release to 8.0 Needs to happen along with llvm upgrade always (From OE-Core rev: 96631d53becca8408758b405adc670ad7e2ea2f3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsolv: Drop now uneeded musl patchRandy MacLeod2019-02-053-359/+0
| | | | | | | | | | | | | | Drop the musl specific fopencookie patches since musl added support for fopencookie in: 06184334 implement the fopencookie extension to stdio in December 2017 so it has been in musl since v1.1.19. There was no change in libsolv's configure log when building with musl and these patches dropped. (From OE-Core rev: 8eeb5bae02331cec3bea98adef784357c6e3c910) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsolv: upgrade 0.7.2 -> 0.7.3Alejandro del Castillo2019-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | from NEWS: - selected bug fixes: * fixed a couple of null pointer derefs and potential memory leaks * made disfavoring recommended packages work if strong recommends is enabled * no longer disable infarch rules when they don't conflict with the job - new features: * do favor evaluation before pruning allowing to (dis)favor specific package versions (From OE-Core rev: a0f78447a14cf17ce4ae03a97ed4f703cbe1af2b) Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add dependencies for optional modulesAlexander Kanavin2019-02-021-0/+2
| | | | | | | | | | | Particularly the LSB test suite was failing due to missing crypt() support. [YOCTO #13160] (From OE-Core rev: 966b245a3a4fda1dc1333194e88fdbac34331b6a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: update perl-cross to 1.2.2Alexander Kanavin2019-02-026-169/+5
| | | | | | | | | This allows us to drop the build race fixes. (From OE-Core rev: c869560c25223dd336ce84847ddbdbe44e4c391c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: fix file system generation with large filesRoss Burton2019-02-022-0/+51
| | | | | | | | | | | When copying files into the file system the file offset was being truncated to a signed 32-bit value, so any files that are larger than 2^31 bytes were the right size, but no content after that point. (From OE-Core rev: b2ffd2228f0d68d096f8003975f0f7ec28bd4313) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oeqa/runtime/cases/gi.py: fix deprecation warningAlexander Kanavin2019-02-021-1/+1
| | | | | | | | | | | With newest Python, the following is printed: PyGIDeprecationWarning: GObject.markup_escape_text is deprecated; use GLib.markup_escape_text instead) (From OE-Core rev: 7b4302d84e6c9833089bd575c1083fe826082387) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysprof: inherit gsettingsOvidiu Panait2019-02-021-1/+1
| | | | | | | | | | | Fix the following error when launching sysprof: $ sysprof GLib-GIO-ERROR **: Settings schema 'org.gnome.sysprof2' is not installed (From OE-Core rev: 808dde537333b6aa788c393d1e1d70aa2e3b8f68) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby.inc: Add dependency on readline-nativeManjukumar Matha2019-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | Add dependency on readline-native to fix the following issue uninitialized constant Logfile | Check ext/fiddle/mkmf.log for more details. | readline: | Could not be configured. It will not be installed. | build/tmp/work/x86_64-linux/ruby-native/2.5.1-r0/ruby-2.5.1/ext/readline/extconf.rb:62: Neither readline nor libedit was found | Check ext/readline/mkmf.log for more details. | *** Fix the problems, then remove these directories and try again if you want. (From OE-Core rev: b25acc546b6fc684da9cc8a3a01e44cd195e209b) Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: Fix build with clang/libc++ >= 7.0.0Khem Raj2019-02-022-0/+36
| | | | | | | (From OE-Core rev: 8f77aeb09504beeb7dd0fcb301543819dfb16673) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdnf: Fix build with clang/libc++Khem Raj2019-02-022-0/+66
| | | | | | | (From OE-Core rev: 562d32ec1ff905aa5aa31fe8b2d86045c1eaaab6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libproxy: Fix build with clang/libc++Khem Raj2019-02-022-1/+34
| | | | | | | (From OE-Core rev: 3f61b8e612a1506af289a3dafb5f2706531e6bf5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinput-calibrator: Fix build with clang/libc++Khem Raj2019-02-022-1/+31
| | | | | | | (From OE-Core rev: c95081d80b3779095233effaf3740d32be429a9b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpeg2dec: Fix global symbol testsKhem Raj2019-02-022-0/+71
| | | | | | | | | | Rewrite the public symbol check to verify the shared libraries, to check for more things, and to avoid duplication; fixes make check on ARM (From OE-Core rev: 31e02216c94cc49f90052c82982dec0be7d3133b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Update to 2.29 releaseKhem Raj2019-02-0241-716/+367
| | | | | | | | (From OE-Core rev: 9d9e055192bf1c66f2131482e6239e9c844ad0f4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives: try to update FILES_${PN} when renaming a fileAndré Draszik2019-02-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using update-alternatives, FILES_${PN} must be referencing the new name after update-alternatives has renamed files. This is more or less OK when having static lists of files to be packaged into a package, but makes it quite hard to dynamically generate FILES_${PN}, e.g. using do_split_packages(), as in that case we can not easily modify what goes into FILES_${PN}, because that list is based on filenames as seen at the time do_split_packages() is executing. Of couse one could explicitly specify the (renamed) file(s) in the recipe, but that contradicts the intended usage of do_split_packages(). Instead, if FILES_${PN} contains the file name as it was pre renaming, we here modify this to reflect the new name. This will allow usage of do_split_packages() to populate FILES_${PN}. [YOCTO #13058] (From OE-Core rev: 5c23fe378732038643a450cbf916334d24764b70) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives: convert file renames to PACKAGE_PREPROCESS_FUNCSAndré Draszik2019-02-021-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment, the update-alternatives file renaming is happening right after copying into PKGD during packaging time using an _append OVERRIDE to the copy function perform_packagecopy(). This is not really readable and hard to maintain. Additionally, this makes it impossible to e.g. populate PACKAGES dynamically using do_split_packages() and still do update-alternatives - update-alternatives file renaming requires the PACKAGES variable to have been fully populated to work correctly. On the other hand, do_split_packages() can only execute after perform_packagecopy(), as it needs PKGD populated; so it's impossible to insert do_split_packages() early enough in a deterministic way in this use-case. As there doesn't seem to be a reason not to, convert this to a proper function and use PACKAGE_PREPROCESS_FUNCS instead - after all, that's what this is meant for. No other classes or recipes in oe-core or meta-openembededd seem to have a hard requirement on update-alterantives executing before any other PACKAGE_PREPROCESS_FUNCS, so this should be perfectly fine. The only implication is that if compress_doc is inherited, compressed man-page file names will end up being, e.g. eject.1.util-linux.gz or eject.1.gz.util-linux based on the include of compress_doc.bbclass vs. update-alternatives.bbclass order, but the symlink created (alternative name) will always be correct. This solves both problems: * the code is easier to read / follow * the above described use-case can be accomodated easily [YOCTO #13058] (From OE-Core rev: 8c3db2fa735e5933f842f80321bb3ed38753812d) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: remove minix remnantsAndré Draszik2019-02-021-1/+1
| | | | | | | | | | | | | While commit fc66762d7c11 ("util-linux: Disable minix support.") (or e88cee8cc31d in poky) removed most of the bits, there are still references to minix remaining. Remove them. (From OE-Core rev: 577a3723052c4465a7858cd2de05292e67a93cce) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: remove erroneous patch (qsort_r)André Draszik2019-02-022-39/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The patch in question is patching the code to use qsort() instead of qsort_r(), without adopting the compare function. This is a major issue, because the compare function as written is evaluating / accessing a third argument, which is not passed with this OE patch, causing access to random memory. Given this patch was added so as to support (old) linux (host) distros which might not provide qsort_r(), according to the git history, and given these days util-linux detects availability of qsort_r() during configure phase, and given musl builds (which doesn't provide qsort_r() either) work without problem, the right solution is to simply drop this invalid patch. Do so. (From OE-Core rev: a85f93b4265a20b269085d12326e32915c561e62) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: simplify version upgrades (MAJOR_VERSION)André Draszik2019-02-022-2/+2
| | | | | | | | | | | | | There doesn't appear to be a need to manually and explicitly specificy the major version (for the download URL), it can be deduced easily from PV. Do so. (From OE-Core rev: e07272491e9f4d81a4c3797c585958163657bf9c) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/ptest: Ensure OOM errors are loggedRichard Purdie2019-02-021-1/+9
| | | | | | | | | | | Currently processed being killed by the OOM killer may not be spotted by ptest-runner. After we complete the tests, check the logs and report if there were any. This ensures the user is aware of OOM conditions affecting the ptest results. (From OE-Core rev: 20a441d53817f80e0ce1597e77f6e794422ac49a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-sato-sdk-ptest: Increase qemu memory to 1GBRichard Purdie2019-02-021-0/+3
| | | | | | (From OE-Core rev: 975526b8e38a4a0087f8bbe42dc30a01a33179b0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python2-manifest: Add missing xmlrpclib.pyRichard Purdie2019-02-021-1/+2
| | | | | | | | | | | | | | | The manifest creation bug that was masking this file was fixed, rerun and add the missing file to fix: File "/usr/lib64/python2.7/SimpleXMLRPCServer.py", line 102, in <module> import xmlrpclib ImportError: No module named xmlrpclib [YOCTO #12814] (From OE-Core rev: e203b71b06df1e7d73fa300d45c428008a190d00) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libusb1: Add udev supportAlistair Francis2019-02-021-3/+4
| | | | | | | | | | I don't see circular dependencies anymore between libusb1 and udev, so enable udev support for libusb1. (From OE-Core rev: e585076ed752e67bb5fd1888da7a738a34f3048a) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add testdepends for sshArmin Kuster2019-01-311-0/+2
| | | | | | | | | | | | | | | fixes: DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.4 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; perl -e '$_="Uryyb, jbeyq"; tr/a-zA-Z/n-za-mN-ZA-M/;print' | DEBUG: time: 1548816904.4024463, endtime: 1548817204.397057 | DEBUG: Partial data from SSH call: ssh: connect to host 192.168.7.4 port 22: Connection refused for master/thud/sumo (From OE-Core rev: a590e7805e3bec5dd995f7ea0b9e79a21f82b48b) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Bump to version 1.35Alistair Francis2019-01-311-3/+3
| | | | | | | | | | | The file src/gpg-error.h.in SHA changed as some new funtion definitions were added to the header file and the copyright year was updated to include 2019. (From OE-Core rev: 9dbc82afb90034aa229591dd41fe25ef83dcf521) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vte: allow building vte-native with gcc 4.8Alexander Kanavin2019-01-312-2/+30
| | | | | | | (From OE-Core rev: 54083e96f0b293171f6a846ba0cba3b8d805f577) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libjpeg-turbo: fix nativesdk build in same way as native builds areAlexander Kanavin2019-01-311-0/+1
| | | | | | | (From OE-Core rev: 6e7d03de8ebf5e6352b6d8d52186489c5c463be7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* atk: disable gobject-introspection for nativesdkAlexander Kanavin2019-01-311-0/+2
| | | | | | | | | We do not support g-i for nativesdk, neverthless atk tries and fails. (From OE-Core rev: 023d2b25f19489af0ee527876789e3bce5674712) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+3: remove the gtk-icon-utils-native recipeAlexander Kanavin2019-01-313-167/+5
| | | | | | | | | As we are now build native gtk+3, it already provides the necessary utilities. (From OE-Core rev: 7f6c57635ff4e1edf7a46c49af34846ad0a4bf73) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+3: enable native/nativesdk variantAlexander Kanavin2019-01-311-2/+23
| | | | | | | | | | | | | Host-assisted GL in Qemu in theory works with both SDL and GTK; in practice SDL shows an empty screen. This prepares the switchover of graphical qemu to use native gtk, which also provides a neat set of menus to control the emulator. (From OE-Core rev: 67819a4d88b7f54b3645628865cbd44376c5d1a7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-providers: set mesa as default provider for nativesdk-mesaAlexander Kanavin2019-01-311-0/+2
| | | | | | | | | | The alternative is mesa-gl, but it lacks all of the bits that make accelerated qemu possible. (From OE-Core rev: 25e835f5681572c4e8ab414adc02fccfd9d7da0c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable native and nativesdk variantsAlexander Kanavin2019-01-311-7/+13
| | | | | | | | | | | Note that only the most minimal necessary subset of mesa is built; particularly we don't build any drivers as that is offloaded to the GL implementation provided by the host. (From OE-Core rev: 621e9872ffd680e659d307a19ef5f65ef3bb36d0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: fix multilib file install conflictsXulin Sun2019-01-311-0/+4
| | | | | | | | | | | | | | | | To avoid issue like below if run "bitbake lib32-core-image-minimal" with series userspace packages(LAMP,krb5...) added. Add multilib_script support for openssl's c_rehash which is a perl script. Error: Transaction check error: file /usr/bin/c_rehash conflicts between attempted installs of lib32-openssl-bin-1.1.1-r0.armv7at2hf_neon and openssl-bin-1.1.1-r0.aarch64 (From OE-Core rev: a4032f3cc5de451f0e97eca1f0cbe4a310e1560b) Signed-off-by: Xulin Sun <xulin.sun@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* keymaps: tighten package write dependencyJonas Bonn2019-01-311-1/+1
| | | | | | | | | | The dependency on systemd-systemctl-native is only needed if _both_ systemd and sysvinit are in play. (From OE-Core rev: 3ea08f4b24f8a49c3d5039b62b39d6419cfe234c) Signed-off-by: Jonas Bonn <jonas@norrbonn.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: filesystems serves no real purposeJonas Bonn2019-01-312-10/+0
| | | | | | | | | | | mount can generally figure out the filesystem type from the superblock; otherwise, /proc/filesystems is a more correct fallback than /etc/filesystems and presumably always available. (From OE-Core rev: 4199676383ce50b81c05a4d2b2610c9cdb49342e) Signed-off-by: Jonas Bonn <jonas@norrbonn.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: volatiles are only needed by sysvinit configurationJonas Bonn2019-01-311-4/+3
| | | | | | | (From OE-Core rev: 1b45725e7c4aeb4da54a71408c30097ea704ee67) Signed-off-by: Jonas Bonn <jonas@norrbonn.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: systemd and sysvinit are not mutually exclusiveJonas Bonn2019-01-311-1/+3
| | | | | | | (From OE-Core rev: 0990d77d99a9ba81e21961f9633df10ccef4b1a4) Signed-off-by: Jonas Bonn <jonas@norrbonn.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgdata.py: avoid target-sdk-dummy-provides to mess things upChen Qi2019-01-311-0/+1
| | | | | | | | | | | | | | | | | | | Sometimes we meet the following failure for the test_lookup_recipe test case. AssertionError: 'zlib\nbusybox is in the RPROVIDES of target-sdk-provid[32 chars]ummy' != 'zlib\nbusybox' zlib + busybox- busybox is in the RPROVIDES of target-sdk-provides-dummy: - target-sdk-provides-dummy This is because target-sdk-provides-dummy rprovides busybox. So clean things up to avoid failure. (From OE-Core rev: b3001770df6640549270361bfaa449cb3e79a0b7) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Add seq to HOSTTOOLSJacob Kroon2019-01-311-1/+1
| | | | | | | | | | | | | | | This fixes detecting available signals when configuring perl. (cnf/configure_sigs.sh) Without this, running aclocal prints warnings about missing signals, which can be further demonstraded by running perl -le 'print for keys %SIG' (From OE-Core rev: ec638ae0775c79a00b364bc59e099edc8f1f201e) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: Upgrade to 2.3.1Aníbal Limón2019-01-311-2/+2
| | | | | | | | | | | | | Changeset, 05b112b utils.c: Print DURATION after ERROR acb5efb utils.c: run_child redirect stderr to stdout e1062f7 ptest-runner: make DEFAULT_DIRECTORY be able to be defined when compiling (From OE-Core rev: f0b3fa049e0395ffc56237404f79975852ce4e4e) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/logparser: Various misc cleanupsRichard Purdie2019-01-312-21/+13
| | | | | | | | | | | | | Get rid of further unneeded code complications: * value mappings we could just direct use * ftools when we can write files easily ourself * test result status filtering we don't use * variable overwriting module imports (From OE-Core rev: d6065f136f6d353c3054cc3f440a4e259509f876) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/logparser: Improve results handlingRichard Purdie2019-01-312-40/+19
| | | | | | | | | | | | | | | | | Merge the results handling into the ptest log parser as a seperate method. Drop the weird "pass.skip.fail." prefix to the results filename, its just bizarre. Drop the code turning a list into a regex then searching the regex for an item, "x in y" is perfectly capable. Use a dict, sort the keys as needed and drop the list sorting code. (From OE-Core rev: f317800e950b4a37b4034133bc52e0c47f04dc29) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/logparser: Add in support for duration, exitcode and logs by sectionRichard Purdie2019-01-312-7/+37
| | | | | | | | | | | Allow parsing of the ptest duration, exit code and timeout keywords from the logs, returning data on each section. Also include the logs broken out per section. (From OE-Core rev: a9a67dccaa5be0f06eedcab46dcff7cbf9202850) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/logparser: Reform the ptest results parserRichard Purdie2019-01-312-62/+36
| | | | | | | | | | Now we have a dedicated ptest parser, merge in the remaining ptest specific pieces to further clarify and simplify the code, moving to a point where we can consider extending/enhancing it. (From OE-Core rev: 05991bb5bc8018275d03fdeecee3d5a757840c7c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/logparser: Further simplification/clarificationRichard Purdie2019-01-312-23/+19
| | | | | | | | | Rename the paster to be ptest specific and apply some further cleanups to the code to simplify and clarify what its doing. (From OE-Core rev: 45a5886f1ec458d4c306b8d68fd31d568bc36b47) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/logparser: Simplify ptest log parsing codeRichard Purdie2019-01-312-58/+11
| | | | | | | | | | logparser is only used by ptest. Its slightly overcomplicated as it was intended to be reusable but wasn't. Simplify it as a dedicated parser is likely to me more readable and maintainable. (From OE-Core rev: c7478345b2b4a85cb1fec40e762633871f0e94cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>