Re: [OE-core] oe-selftest serial timeout

2019-01-02 Thread Robert Yang
Hi RP, On 1/3/19 5:13 AM, Richard Purdie wrote: Hi Robert, The test we added debug to failed, logs/links below. Looks like the 5s timeout for non-kvm is too short as was commented elsewhere. Not sure I've sent a patch to set default timeout to 60s: oeqa/utils/qemurunner: set timeout to 60s

[OE-core] [PATCH 0/1] oeqa/utils/qemurunner: set timeout to 60s for run_serial

2019-01-02 Thread Robert Yang
The following changes since commit caa776bdcf8ea34c857f45970370bf771075f4bc: testimage.bbclass: remove boot parameter systemd.log_target (2018-12-27 22:50:01 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/time

[OE-core] [PATCH 1/1] oeqa/utils/qemurunner: set timeout to 60s for run_serial

2019-01-02 Thread Robert Yang
The 5s timeout for non-kvm is too short, especially when the load is high, which leads to unexpected errors, so set timeout to 60s by default. Signed-off-by: Robert Yang --- meta/lib/oeqa/targetcontrol.py| 2 +- meta/lib/oeqa/utils/qemurunner.py | 2 +-

[OE-core] [PATCH 2/3 v2] scripts/test-case-mgmt: store test result and reporting

2019-01-02 Thread Yeoh Ee Peng
These scripts were developed as an alternative testcase management tool to Testopia. Using these scripts, user can manage the testresults.json files generated by oeqa automated tests. Using the "store" operation, user can store multiple groups of test result each into individual git branch. Within

[OE-core] [PATCH 3/3 v2] scripts/test-case-mgmt: enable manual execution and result creation

2019-01-02 Thread Yeoh Ee Peng
From: Mazliana Integrated “manualexecution” operation to test-case-mgmt scripts. Manual execution script is a helper script to execute all manual test cases in baseline command, which consists of user guideline steps and the expected results. The last step will ask user to provide their input to

[OE-core] [PATCH 1/3 v2] scripts/oe-git-archive: fix non-existent key referencing error

2019-01-02 Thread Yeoh Ee Peng
Without installing gitpython package, oe-git-archive will face error below, where it was referencing key that was non-existent inside metadata object. Traceback (most recent call last): File "/scripts/oe-git-archive", line 271, in sys.exit(main()) File "/scripts/oe-git-archive", line

[OE-core] [PATCH 0/3] test-case-mgmt

2019-01-02 Thread Yeoh Ee Peng
v1: Face key error from oe-git-archive Undesirable behavior when storing to multiple git branch v2: Include fix for oe-git-archive Include fix for store result to multiple git branch Improve git commit message Mazliana (1): scripts/test-case-mgmt: enable manual execution and

[OE-core] [PATCH 0/2] oeqa: Fix for QEMU_USE_KVM

2019-01-02 Thread Robert Yang
The following changes since commit caa776bdcf8ea34c857f45970370bf771075f4bc: testimage.bbclass: remove boot parameter systemd.log_target (2018-12-27 22:50:01 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/kvm

[OE-core] [PATCH 2/2] oeqa/selftest/runqemu: enable kvm when QEMU_USE_KVM is set

2019-01-02 Thread Robert Yang
Signed-off-by: Robert Yang --- meta/lib/oeqa/selftest/cases/runqemu.py | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/runqemu.py b/meta/lib/oeqa/selftest/cases/runqemu.py index 4e35bb9..0b664b4 100644 --- a/meta/lib/oeqa/selftest/cases/runqemu.py +++

[OE-core] [PATCH 1/2] oeqa: Fix for QEMU_USE_KVM

2019-01-02 Thread Robert Yang
Fixed: MACHINE = "qemux86" QEMU_USE_KVM = "qemux86" IMAGE_CLASSES += "testimage" $ oe-selftest -r runqemu.RunqemuTests.test_boot_rootfs [snip] File "/buildarea1/lyang1/poky/meta/lib/oe/types.py", line 122, in boolean raise ValueError("Invalid boolean value '%s'" % value) ValueError:

Re: [OE-core] [PATCH] feature-arm-thumb.inc: Do not tie generating thumb ISA to -march

2019-01-02 Thread Khem Raj
sent a v2 which i am testing On Wed, Jan 2, 2019 at 11:34 PM Khem Raj wrote: > > On Wed, Jan 2, 2019 at 11:27 PM Martin Jansa wrote: > > > > I think this will include it not only in -march parameter but also in > > TUNE_PKGARCH. > > So the packages built with and without thumb ISA will have

[OE-core] [PATCH V2] arch-armv4.inc, arch-armv5.inc: Do not tie generating thumb ISA to -march

2019-01-02 Thread Khem Raj
-march=armv5't'e means that CPU can execute thumb ISA, we do not need to tie this to exclusively generating thumb ISA, this change means that when we have thumb in tune features then it can use 't' in -march options irrespective of ISA being thumb or arm. This fixes derivative of armv5 tunes and

Re: [OE-core] [PATCH] feature-arm-thumb.inc: Do not tie generating thumb ISA to -march

2019-01-02 Thread Khem Raj
On Wed, Jan 2, 2019 at 11:27 PM Martin Jansa wrote: > > I think this will include it not only in -march parameter but also in > TUNE_PKGARCH. > So the packages built with and without thumb ISA will have the same file name > and package feed which is wrong. > I did ponder over it before

Re: [OE-core] [PATCH] feature-arm-thumb.inc: Do not tie generating thumb ISA to -march

2019-01-02 Thread Martin Jansa
I think this will include it not only in -march parameter but also in TUNE_PKGARCH. So the packages built with and without thumb ISA will have the same file name and package feed which is wrong. It should probably be fixed only when adding march to TUNE_CCARGS:

[OE-core] [PATCH] feature-arm-thumb.inc: Do not tie generating thumb ISA to -march

2019-01-02 Thread Khem Raj
-march=armv5't'e means that CPU can execute thumb ISA, we do not need to tie this to exclusively generating thumb ISA, this change means that when we have thumb in tune features then it can use 't' in -march options irrespective of ISA being thumb or arm. This fixes derivative of armv5 tunes and

Re: [OE-core] [PATCH 3/8] nettle: update to 3.4.1

2019-01-02 Thread Khem Raj
native version fails on ubuntu 14.04, seems like we need to pass -std=c99 explicitly via cflags see http://errors.yoctoproject.org/Errors/Details/214590/ On Wed, Jan 2, 2019 at 8:36 AM Armin Kuster wrote: > > Bug fix only release > > Include: > > CVE-2018-16868 gnutls: Bleichenbacher-like

[OE-core] [PATCH] iw: fix parsing of WEP keys

2019-01-02 Thread Liu Haitao
The current iw4.14 has a fatal bug that could casue a Segmentation fault when parsing WEP keys. The issue has been fixed by upstream. [https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=0e39f109c4b8155697a12ef090b59cdb304c8c44] Signed-off-by: Liu Haitao ---

Re: [OE-core] Efficient ways to delete a build directory

2019-01-02 Thread Robert Yang
On 1/3/19 10:44 AM, Robert Yang wrote: We have the following 3 ways to delete a build directory: * rm -fr build * find -delete build * rsync -a --delete emtpy_dir build I've heard that rsync is the fastest way for removing millions of files, so I did a test on removing the build dir: * Host

[OE-core] Efficient ways to delete a build directory

2019-01-02 Thread Robert Yang
We have the following 3 ways to delete a build directory: * rm -fr build * find -delete build * rsync -a --delete emtpy_dir build I've heard that rsync is the fastest way for removing millions of files, so I did a test on removing the build dir: * Host info: $ cat /etc/issue Ubuntu

Re: [OE-core] [PATCH v2] nfs-utils: fix build error under tests folder

2019-01-02 Thread Yu, Mingli
Ping. On 2018年12月18日 13:21, mingli...@windriver.com wrote: From: Mingli Yu * Redefine the reference path of libnfs.a to ../support/nfs/.libs/libnfs.a to fix below error when run "make -C tests statdb_dump". | make: *** No rule to make target '../support/nfs/libnfs.a', needed by

Re: [OE-core] [PATCH] man-pages: use alternatives to resolve crypt.3 conflict

2019-01-02 Thread Mark Asselstine
On Wednesday, January 2, 2019 4:23:58 PM EST richard.pur...@linuxfoundation.org wrote: > On Wed, 2019-01-02 at 13:39 -0500, Mark Asselstine wrote: > > On Thursday, December 20, 2018 10:34:54 AM EST Mark Asselstine wrote: > > > From: mark asselstine > > > > > > To fix: > > > Error: Transaction

Re: [OE-core] [PATCH 1/2] gdb-cross-canadian: Add bison-native for gdb-cross-canadian

2019-01-02 Thread Khem Raj
On Wed, Jan 2, 2019 at 1:31 PM Richard Purdie wrote: > > On Wed, 2019-01-02 at 11:42 -0800, Khem Raj wrote: > > On Wed, Jan 2, 2019 at 11:32 AM Jacob Kroon > > wrote: > > > On Wed, Jan 2, 2019 at 8:21 PM Khem Raj wrote: > > > > From: pino-kim > > > > > > > > This fixes RISC-V

Re: [OE-core] [PATCH 1/2] gdb-cross-canadian: Add bison-native for gdb-cross-canadian

2019-01-02 Thread Richard Purdie
On Wed, 2019-01-02 at 11:42 -0800, Khem Raj wrote: > On Wed, Jan 2, 2019 at 11:32 AM Jacob Kroon > wrote: > > On Wed, Jan 2, 2019 at 8:21 PM Khem Raj wrote: > > > From: pino-kim > > > > > > This fixes RISC-V gdb-cross-canadian cross compile configure > > > failure on missing bison. > > > > >

Re: [OE-core] [PATCH] man-pages: use alternatives to resolve crypt.3 conflict

2019-01-02 Thread richard . purdie
On Wed, 2019-01-02 at 13:39 -0500, Mark Asselstine wrote: > On Thursday, December 20, 2018 10:34:54 AM EST Mark Asselstine wrote: > > From: mark asselstine > > > > To fix: > > > > Error: Transaction check error: > > file /usr/share/man/man3/crypt.3 conflicts between attempted > > installs

[OE-core] oe-selftest serial timeout

2019-01-02 Thread Richard Purdie
Hi Robert, The test we added debug to failed, logs/links below. Looks like the 5s timeout for non-kvm is too short as was commented elsewhere. Not sure why the kvm setting isn't being passed in here but it should be set for these builds, we may need to make sure its inherited as well? Cheers,

Re: [OE-core] [PATCH 2/2] eglinfo: add wayland receipe

2019-01-02 Thread Richard Purdie
On Thu, 2018-12-27 at 14:38 +0200, Roman Stratienko via Openembedded- core wrote: > From: Roman Stratiienko > > Signed-off-by: Roman Stratiienko > --- > .../eglinfo/eglinfo-wayland_1.0.0.bb| 13 > + > 1 file changed, 13 insertions(+) > create mode 100644

Re: [OE-core] [PATCH 1/2] gdb-cross-canadian: Add bison-native for gdb-cross-canadian

2019-01-02 Thread Khem Raj
On Wed, Jan 2, 2019 at 11:32 AM Jacob Kroon wrote: > > On Wed, Jan 2, 2019 at 8:21 PM Khem Raj wrote: > > > > From: pino-kim > > > > This fixes RISC-V gdb-cross-canadian cross compile configure failure on > > missing bison. > > > > Signed-off-by: pino-kim > > Signed-off-by: Khem Raj > > ---

[OE-core] ✗ patchtest: failure for "gdb-cross-canadian: Add bison-..." and 1 more

2019-01-02 Thread Patchwork
== Series Details == Series: "gdb-cross-canadian: Add bison-..." and 1 more Revision: 1 URL : https://patchwork.openembedded.org/series/15503/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

Re: [OE-core] [PATCH 1/2] gdb-cross-canadian: Add bison-native for gdb-cross-canadian

2019-01-02 Thread Jacob Kroon
On Wed, Jan 2, 2019 at 8:21 PM Khem Raj wrote: > > From: pino-kim > > This fixes RISC-V gdb-cross-canadian cross compile configure failure on > missing bison. > > Signed-off-by: pino-kim > Signed-off-by: Khem Raj > --- > meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 3 ++- > 1 file

[OE-core] [PATCH 1/2] gdb-cross-canadian: Add bison-native for gdb-cross-canadian

2019-01-02 Thread Khem Raj
From: pino-kim This fixes RISC-V gdb-cross-canadian cross compile configure failure on missing bison. Signed-off-by: pino-kim Signed-off-by: Khem Raj --- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH 2/2] busybox: Enable mountpoint and setsid applets

2019-01-02 Thread Khem Raj
This is needed by some init system services and if init system is not sysvinit then we dont have it, therefore its useful to have it provided via busybox as a backup Enable CONFIG_SETSID to get setsid, needed by runit Signed-off-by: Khem Raj --- meta/recipes-core/busybox/busybox/defconfig | 4

Re: [OE-core] [PATCH] man-pages: use alternatives to resolve crypt.3 conflict

2019-01-02 Thread Mark Asselstine
On Thursday, December 20, 2018 10:34:54 AM EST Mark Asselstine wrote: > From: mark asselstine > > To fix: > > Error: Transaction check error: > file /usr/share/man/man3/crypt.3 conflicts between attempted installs > of libcrypt-doc-4.4.1-r0.core2_64 and man-pages-4.16-r0.core2_64 > >

[OE-core] [PATCH 8/8] netbase: update to 5.5

2019-01-02 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta/recipes-core/netbase/{netbase_5.4.bb => netbase_5.5.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-core/netbase/{netbase_5.4.bb => netbase_5.5.bb} (76%) diff --git a/meta/recipes-core/netbase/netbase_5.4.bb

[OE-core] [PATCH 7/8] libassuan: update to 2.5.2

2019-01-02 Thread Armin Kuster
Refresh patch Signed-off-by: Armin Kuster --- .../libassuan-add-pkgconfig-support.patch | 105 - .../{libassuan_2.5.1.bb => libassuan_2.5.2.bb} | 4 +- 2 files changed, 39 insertions(+), 70 deletions(-) rename

[OE-core] [PATCH 6/8] libgpg-error: Update to 1.33

2019-01-02 Thread Armin Kuster
Drop patches now included in the update refactoered pkgconfig.patch Signed-off-by: Armin Kuster --- ...port-ARC-CPUs-and-simplify-aliasing-table.patch | 298 - ...cfg-Add-support-for-arc-unknown-linux-gnu.patch | 35 --- .../libgpg-error/libgpg-error/pkgconfig.patch |

[OE-core] [PATCH 4/8] nss: update to 3.41

2019-01-02 Thread Armin Kuster
Bug fix only update. Bug 1252891 - Implemented EKU handling for IPsec IKE. Bug 1423043 - Enable half-closed states for TLS. Bug 1493215 - Enabled the following ciphersuites by default: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

[OE-core] [PATCH 1/8] tzdata/tzcode-native: update to 2018i

2019-01-02 Thread Armin Kuster
2018i: Briefly: São Tomé and Príncipe switches from +01 to +00 on 2019-01-01. Changes to future timestamps Due to a change in government, São Tomé and Príncipe switches back from +01 to +00 on 2019-01-01 at 02:00. (Thanks to Vadim Nasardinov and Michael Deckers.) 2018h:

[OE-core] [PATCH 2/8] curl: update to 7.63

2019-01-02 Thread Armin Kuster
Changes: curl: add %{stderr} and %{stdout} for --write-out curl: add undocumented option --dump-module-paths for win32 setopt: add CURLOPT_CURLU For full list of changes see: https://curl.haxx.se/changes.html Signed-off-by: Armin Kuster ---

[OE-core] [PATCH 5/8] gnutls: update to 3.6.5

2019-01-02 Thread Armin Kuster
Bug fix only release Full details: https://lists.gnupg.org/pipermail/gnutls-help/2018-December/004465.html Signed-off-by: Armin Kuster --- meta/recipes-support/gnutls/{gnutls_3.6.4.bb => gnutls_3.6.5.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename

[OE-core] [PATCH 3/8] nettle: update to 3.4.1

2019-01-02 Thread Armin Kuster
Bug fix only release Include: CVE-2018-16868 gnutls: Bleichenbacher-like side channel leakage in PKCS#1 1.5 verification and padding oracle verification CVE-2018-16869 nettle: Leaky data conversion exposing a manager oracle For full details see:

[OE-core] [PATCH v2 5/5] rootfs-postcommands: call preset-all for read-only-rootfs

2019-01-02 Thread Jonas Bonn
When the rootfs is read-only, we cannot rely on systemd's default invocation of preset-all at runtime in order to enable services. As such, we need to do it at image creation time. Signed-off-by: Jonas Bonn --- meta/classes/rootfs-postcommands.bbclass | 2 ++ 1 file changed, 2 insertions(+)

[OE-core] [PATCH v2 4/5] systemd-systemctl-native: simplify and support preset-all

2019-01-02 Thread Jonas Bonn
Now that the systemd class sets up service presets instead of actively enabling services, the 'enable' and 'disable' subcommands for systemctl are not actually used anywhere. As such, we can remove these to make sure that nobody inadvertently introduces new uses of them. We do, however, one case

[OE-core] [PATCH v2 2/5] systemd-conf: simplify creation of machine-specific configuration

2019-01-02 Thread Jonas Bonn
The configuration files that systemd installs are just skeletons detailing the available options and their default values. The recommended means of changing the configuration is to provide snippets in configuration directories. For example, journald.conf settings are best set in

[OE-core] [PATCH v2 1/5] systemd: do not create machine-id

2019-01-02 Thread Jonas Bonn
There is no reason to have an emtpy machine-id as part of the systemd package. Either: i) the filesystem is writable and the file will be created automatically; or ii) the filesystem is read-only, in which case the empty machine-id file should be created as part of the read-only-rootfs tweaks.

[OE-core] [PATCH v2 0/5] systemd patches

2019-01-02 Thread Jonas Bonn
Changed in v2: - address patchtest warnings: - include sign-offs on patches - include License-Update tag on patch that makes licensing change - dropped patch implementing brute-force removal of unit files installed by systemd into /etc - reworked the systemd-conf patch to restore the

[OE-core] [PATCH v2 3/5] systemd: create preset files instead of installing in image

2019-01-02 Thread Jonas Bonn
At first boot, systemd will create the /etc/systemd/system directory from service preset files. As such, for a normal, writable /etc (writable rootfs), there is no need to set up this directory at image creation time. This patch changes the systemd machinery to create preset files and to rely on

[OE-core] [PATCHv3] meta/classes/testimage.bbclass: Only validate IMAGE_FSTYPES when is QEMU

2019-01-02 Thread Aníbal Limón
When use simpleremote target the flash/boot process is executed manually, the IMAGE_FSTYPES validation is only needed when execute testimage against qemu. The supported_fstypes comes from oeqa.core.target.qemu module. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 13

Re: [OE-core] [PATCH] meta/classes/testimage.bbclass: Only validate IMAGE_FSTYPES when is QEMU

2019-01-02 Thread Anibal Limon
On Thu, 15 Nov 2018 at 07:08, Burton, Ross wrote: > On Tue, 23 Oct 2018 at 01:38, Anibal Limon > wrote: > >> > -fstypes = [fs for fs in d.getVar('IMAGE_FSTYPES').split(' ') > > >> > +fstypes = d.getVar('IMAGE_FSTYPES') > >> > +fstypes = [fs for fs in fstypes if fs in

[OE-core] Yocto Project Status WW01'19

2019-01-02 Thread Jolley, Stephen K
Current Dev Position: YP 2.7 M1 in QA Next Deadline: YP 2.7 M1 Release Target is Dec. 21, 2018 SWAT Team Rotation: * SWAT lead is currently: Amanda * SWAT team rotation: Amanda -> Paul on Jan. 4, 2019 * SWAT team rotation: Paul -> Ross on Jan. 11, 2019 *

Re: [OE-core] [PATCH 0/7] systemd patches

2019-01-02 Thread Jonas Bonn
On 02/01/2019 08:58, ChenQi wrote: Hi Jonas, Cleaning up systemd's /etc files while leaving other softwares requiring /etc files is not that pleasant. At a minimum, systemd users who are not aware of this 'stateless' concept would be confused. "Where's my /etc/systemd/system.conf file?!"

Re: [OE-core] [PATCH 7/7] systemd: do not pre-enable services, rely on presets

2019-01-02 Thread Jonas Bonn
Hi Alex, On 02/01/2019 13:06, Alexander Kanavin wrote: On Mon, 31 Dec 2018 at 13:07, Jonas Bonn wrote: diff --git a/meta/recipes-core/systemd/systemd_239.bb b/meta/recipes-core/systemd/systemd_239.bb index 70e687c92e..7b4c5c56aa 100644 --- a/meta/recipes-core/systemd/systemd_239.bb +++

Re: [OE-core] [PATCH 7/7] systemd: do not pre-enable services, rely on presets

2019-01-02 Thread Alexander Kanavin
On Mon, 31 Dec 2018 at 13:07, Jonas Bonn wrote: > diff --git a/meta/recipes-core/systemd/systemd_239.bb > b/meta/recipes-core/systemd/systemd_239.bb > index 70e687c92e..7b4c5c56aa 100644 > --- a/meta/recipes-core/systemd/systemd_239.bb > +++ b/meta/recipes-core/systemd/systemd_239.bb > @@ -298,6

Re: [OE-core] [PATCH 0/7] systemd patches

2019-01-02 Thread Jonas Bonn
Hi Chen, Thanks for looking at this. On 02/01/2019 08:58, ChenQi wrote: Hi Jonas, I'd like to talk about this patchset from a non-technical view. And to be brief, my conclusion is suggesting using some switch, e.g. DISTRO_FEATURE, to control this 'stateless' behavior. Please see details