Re: [OE-core] [PATCH 2/4] qemurunner: Add support for slirp

2018-11-13 Thread Yeoh, Ee Peng
Hi Richard, Thank you for sharing on the error related to oeqa.targetcontrol.QemuTarget. After some analysis, here are my findings: 1. OEQA had classes with very similar name as well as interface for carry out qemu and ssh operations. Example: "QemuTarget vs OEQemuTarget", "SSHControl vs OESSH

[OE-core] [PATCH 1/1] gettext: fix CVE-2018-18751

2018-11-13 Thread kai.kang
From: Kai Kang Backport patch to fix CVE-2018-18751 for gettext. Because po-gram-gen.y has been modified by fix-CVE-2018-18751.patch, it requires yacc which provided by bison-native to re-create po-gram-gen.c. Please remove bison-native from DEPENDS* when next upgrade. Ref: https://security-trac

[OE-core] [PATCH 0/1] gettext: fix CVE-2018-18751

2018-11-13 Thread kai.kang
From: Kai Kang The following changes since commit eddff2b361928e88e3628ebc22a1a0ebb119e01b: curl: actually apply latest CVE patches (2018-11-09 17:46:18 +) are available in the Git repository at: git://git.pokylinux.org/poky-contrib kangkai/gettext http://git.pokylinux.org/cgit.cgi/p

[OE-core] ✗ patchtest: failure for "bitbake-dumpsig: Make --task w..." and 1 more

2018-11-13 Thread Patchwork
== Series Details == Series: "bitbake-dumpsig: Make --task w..." and 1 more Revision: 1 URL : https://patchwork.openembedded.org/series/14900/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

[OE-core] [PATCH 2/2] bitbake-dumpsig: Change to use argparse

2018-11-13 Thread Peter Kjellerstedt
This corresponds to commit 7f130e0b for bitbake-diffsigs. Signed-off-by: Peter Kjellerstedt --- bitbake/bin/bitbake-dumpsig | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/bitbake/bin/bitbake-dumpsig b/bitbake/bin/bitbake-dumpsig index 40

[OE-core] [PATCH 1/2] bitbake-dumpsig: Make --task work again

2018-11-13 Thread Peter Kjellerstedt
This corresponds to commit fdcea991 that fixed the --task option for bitbake-diffsigs. Signed-off-by: Peter Kjellerstedt --- bitbake/bin/bitbake-dumpsig | 34 -- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/bitbake/bin/bitbake-dumpsig b/bitbake/b

Re: [OE-core] [PATCH 2/4] qemurunner: Add support for slirp

2018-11-13 Thread Yeoh, Ee Peng
Let me expand the testing to selftest & runtime test as well. I will perform a tracing on the dependency to decide if this need more testing. -Original Message- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent: Wednesday, November 14, 2018 7:34 AM To: Yeoh, Ee Peng ;

Re: [OE-core] [PATCH 2/4] qemurunner: Add support for slirp

2018-11-13 Thread Yeoh, Ee Peng
Hi Richard, I performed testing mainly for ping, ssh, xorg testing. Did not expect that targetcontrol has dependency on the qemu. Let me look into this and run full runtime tests instead. INHERIT += "testimage" TEST_SUITES = "ping ssh xorg" Thanks, Yeoh Ee Peng -Original Message- Fro

Re: [OE-core] [PATCH 2/4] qemurunner: Add support for slirp

2018-11-13 Thread Richard Purdie
On Tue, 2018-11-13 at 17:32 +0800, Yeoh Ee Peng wrote: > Enable qemurunner for slirp. Retrieved the port from localhost > to connect to qemu. > > [YOCTO#10713] > > Signed-off-by: Yeoh Ee Peng > --- > meta/lib/oeqa/utils/qemurunner.py | 17 + > 1 file changed, 13 insertions(+), 4

[OE-core] [PATCH 5/5] oeqa/utils/commands: Avoid unclosed file warnings

2018-11-13 Thread Richard Purdie
Avoid warnings such as: meta/lib/oeqa/utils/commands.py:213: ResourceWarning: unclosed file <_io.BufferedReader name=4> return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options) Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/commands.py | 3 +++ 1 file changed, 3 in

[OE-core] [PATCH 4/5] oeqa/core/runner: Correctly markup regexs

2018-11-13 Thread Richard Purdie
Avoid the warning "DeprecationWarning: invalid escape sequence \(" by marking the regexs correctly. Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py i

[OE-core] [PATCH 3/5] oeqa/loader: Fix deprecation warning

2018-11-13 Thread Richard Purdie
Clean up the warning: meta/lib/oeqa/core/loader.py:27: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec() _failed_test_args = inspect.getargspec(unittest.loader._make_failed_test).args Signed-off-by: Richard Purdie --- meta/lib/oeqa/cor

[OE-core] [PATCH 2/5] oeqa/runner: Sort the test result output by result class

2018-11-13 Thread Richard Purdie
We want to see failures/errors listed last since this is the most easily visible part of the log on consoles or autobuilder output and makes human processing easier rather than having to scroll up and scan for a single failure. Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/runner.py | 11

[OE-core] [PATCH 1/5] oeqa/runner: Always show a summary of success/fail/error/skip counts

2018-11-13 Thread Richard Purdie
Its useful to have the counts of success/failure/error/skipped at the end of the results to allow for easier human reading of what happened. Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/runner.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/lib/oeqa/core/ru

[OE-core] [sumo][PATCH] dhcp: allow for excluding the external bind

2018-11-13 Thread Armin Kuster
There is a known issue when using ISC DHCP alongside bind 9.10. DHCP uses libraries provided by bind and there is a bug which results in dhcpd/dhclient not running in the background and not responding to sigterm. The issue was first reported in 02/2015 by the fedora team here: https://lists.isc.

Re: [OE-core] [PATCH 2/7] python3: add tk support

2018-11-13 Thread Alejandro Hernandez
Hey Yu, On 11/11/2018 6:28 PM, Yu, Mingli wrote: On 2018年11月09日 21:02, Burton, Ross wrote: On Fri, 9 Nov 2018 at 01:39, Yu, Mingli wrote: Why is this here and not in the manifest? It's because we can optionally enable or disable tk via PACKAGECONFIG, if add it to manifest then we need to

Re: [OE-core] Yocto Project Status WW46’18

2018-11-13 Thread Richard Purdie
On Tue, 2018-11-13 at 19:59 +, Peter Kjellerstedt wrote: > From the updates below: > > Patches for the thud point release are queuing on the branch. > > On what branch? The thud-next branch is behind the thud branch, and > the master-next branch contains a lot of recipe updates that do not

Re: [OE-core] Yocto Project Status WW46’18

2018-11-13 Thread Peter Kjellerstedt
>From the updates below: * Patches for the thud point release are queuing on the branch. On what branch? The thud-next branch is behind the thud branch, and the master-next branch contains a lot of recipe updates that do not seem suitable for Thud. //Peter From: openembedded-core-boun...

Re: [OE-core] [PATCH 1/2] scons.bbclass: Force rebuild if necessary

2018-11-13 Thread Martin Hundebøll
On 13/11/2018 13.22, Andreas Müller wrote: On Tue, Nov 13, 2018 at 12:06 PM Burton, Ross wrote: This make me look at scons a bit closer, somewhat in shock that it doesn't have a native way of doing out of tree builds. Apparently abusing the repository argument will sometimes work for out of t

[OE-core] [PATCH] bluez5: add mesh dependency on ell

2018-11-13 Thread Peter A. Bigot
Introduced at or before 5.50. Signed-off-by: Peter A. Bigot --- meta/recipes-connectivity/bluez5/bluez5.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 9d9739e952..7708e7c88b

Re: [OE-core] [PATCH] [rocko] python-3.5: Fix manifest to handle reprlib correctly

2018-11-13 Thread akuster808
On 11/13/18 2:34 AM, Richard Purdie wrote: > The current line is looking for py files in __pycache__ which is incorrect. > Fix it to correctly include the right files (modelled after ${PN}-signal). > > Patch isn't relavent to later releases since manifest generation changed > significantly. > > [

Re: [OE-core] [sumo][PATCH 1/1] wic/isoimage-isohybrid.py: fix booting from removable media

2018-11-13 Thread akuster808
On 11/13/18 3:28 AM, Awan, Arsalan wrote: >>> ping >>> > Arsalan, > > > On 11/2/18 8:01 AM, Arsalan Awan wrote: >> From: "Arsalan H. Awan" >> >> The EFI bootloader name and path for being able to boot from a >> removable storage media - such as USB - must be like:

[OE-core] Yocto Project Status WW46’18

2018-11-13 Thread Jolley, Stephen K
Current Dev Position: YP 2.6 M4 is in preparing for release. Next Deadline: YP 2.6 M4 Release Target was Oct. 26, 2018 SWAT Team Rotation: · SWAT lead is currently: Armin · SWAT team rotation: Armin -> Paul on Nov. 16, 2018 · SWAT team rotation: Paul -> Ross on Nov. 23

Re: [OE-core] [sumo][PATCH 1/1] wic/isoimage-isohybrid.py: fix booting from removable media

2018-11-13 Thread akuster808
On 11/13/18 2:46 AM, Awan, Arsalan wrote: > ping It is stagged for the next build http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=stable/sumo-nmut - armin >>> Arsalan, >>> >>> >>> On 11/2/18 8:01 AM, Arsalan Awan wrote: From: "Arsalan H. Awan" The EFI bootloader

[OE-core] [PATCH] license_image: Fix rootfs file ownership issues with COPY_LIC_DIRS

2018-11-13 Thread Richard Purdie
We need to set ownership of the license files after copying into the rootfs. We also need to ensure we don't overwrite the rootfs files outside rootfs generation, hence only write there when the new rootfs function parameter is True. [YOCTO #12961] Signed-off-by: Richard Purdie --- meta/classes

Re: [OE-core] [PATCH] patch for bug #12814

2018-11-13 Thread Mikhail Vanyulin via Openembedded-core
Resending email as "This mailinglist requires people to subscribe before posting. " Best regards, / С уважением, Mikhail / Михаил On 11/13/2018 04:38 PM, Mikhail Vanyulin wrote: Should be ok now. Best regards, / С уважением, Mikhail / Михаил On 11/12/2018 01:29 PM, Burton, Ross w

Re: [OE-core] [PATCH 1/2] scons.bbclass: Force rebuild if necessary

2018-11-13 Thread Andreas Müller
On Tue, Nov 13, 2018 at 12:06 PM Burton, Ross wrote: > > This make me look at scons a bit closer, somewhat in shock that it > doesn't have a native way of doing out of tree builds. Apparently > abusing the repository argument will sometimes work for out of tree > (so you could just put B=$WORKDIR

Re: [OE-core] [PATCH] ltp: kernel/syscall/setrlimit05.c: use a legal bad address for mips

2018-11-13 Thread Burton, Ross
Applying: ltp: kernel/syscall/setrlimit05.c: use a legal bad address for mips Using index info to reconstruct a base tree... A meta/recipes-extended/ltp/ltp_20180515.bb Falling back to patching base and 3-way merge... Auto-merging meta/recipes-extended/ltp/ltp_20180926.bb CONFLICT (content): Merge

Re: [OE-core] [sumo][PATCH 1/1] wic/isoimage-isohybrid.py: fix booting from removable media

2018-11-13 Thread Awan, Arsalan
> > ping > > > > > > Arsalan, > > > > > > > > > > > > On 11/2/18 8:01 AM, Arsalan Awan wrote: > > > > > From: "Arsalan H. Awan" > > > > > > > > > > The EFI bootloader name and path for being able to boot from a > > > > > removable storage media - such as USB - must be like: > > > > > > > > > >

Re: [OE-core] [sumo][PATCH 1/1] wic/isoimage-isohybrid.py: fix booting from removable media

2018-11-13 Thread Mittal, Anuj
On Tue, 2018-11-13 at 10:46 +, Awan, Arsalan wrote: > ping > > > > Arsalan, > > > > > > > > > On 11/2/18 8:01 AM, Arsalan Awan wrote: > > > > From: "Arsalan H. Awan" > > > > > > > > The EFI bootloader name and path for being able to boot from a > > > > removable storage media - such as USB

Re: [OE-core] [PATCH] oepydevshell-internal.py: decode only when readdata is valid

2018-11-13 Thread Burton, Ross
On Tue, 13 Nov 2018 at 10:03, Richard Purdie wrote: > Usually you'd write this as: > > if readdata: > i = i + readdata.decode('utf-8') > > Is there a reason not to do that here? Whilst this code is being changed, is there a chance of getting a partial read that has half of a utf-8 byte seque

Re: [OE-core] [PATCH 1/2] scons.bbclass: Force rebuild if necessary

2018-11-13 Thread Burton, Ross
This make me look at scons a bit closer, somewhat in shock that it doesn't have a native way of doing out of tree builds. Apparently abusing the repository argument will sometimes work for out of tree (so you could just put B=$WORKDIR/build and add B to [cleandirs]) but abusing sounds like 'doesn'

Re: [OE-core] [sumo][PATCH 1/1] wic/isoimage-isohybrid.py: fix booting from removable media

2018-11-13 Thread Awan, Arsalan
ping > > Arsalan, > > > > > > On 11/2/18 8:01 AM, Arsalan Awan wrote: > > > From: "Arsalan H. Awan" > > > > > > The EFI bootloader name and path for being able to boot from a > > > removable storage media - such as USB - must be like: > > > > > > /EFI/BOOT/boot.efi > > > /EFI/BOOT/bootx64.efi

Re: [OE-core] [PATCH] locale: Allow usage of cross-localedef for ARC

2018-11-13 Thread Alexey Brodkin
Hi Vineet, On Mon, 2018-11-12 at 23:22 +, Vineet Gupta wrote: > > On 11/12/18 2:44 PM, Alexey Brodkin wrote: > > With this it's possible to build locale data for ARC > > and not do it instead on the first boot. > > > > Signed-off-by: Alexey Brodkin > > --- > > meta/classes/libc-package.bbc

[OE-core] [PATCH] [rocko] python-3.5: Fix manifest to handle reprlib correctly

2018-11-13 Thread Richard Purdie
The current line is looking for py files in __pycache__ which is incorrect. Fix it to correctly include the right files (modelled after ${PN}-signal). Patch isn't relavent to later releases since manifest generation changed significantly. [YOCTO #12831] Signed-off-by: Richard Purdie --- meta/r

[OE-core] [PATCH 1/2] scons.bbclass: Force rebuild if necessary

2018-11-13 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/classes/scons.bbclass | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass index b9ae19d582..286843f74c 100644 --- a/meta/classes/scons.bbclass +++ b/meta/classes/scons.bbclas

[OE-core] [PATCH 2/2] scons.bbclass: fix indention

2018-11-13 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/classes/scons.bbclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass index 286843f74c..9ee7d1587d 100644 --- a/meta/classes/scons.bbclass +++ b/meta/classes/scons.bbclass @@

Re: [OE-core] [PATCH] oepydevshell-internal.py: decode only when readdata is valid

2018-11-13 Thread Richard Purdie
On Tue, 2018-11-13 at 17:04 +0800, changqing...@windriver.com wrote: > From: Changqing Li > > fix below problem: > pydevshell raises exception when maximize the python shell window. > when click maximize, rlist of select return ready object, but the > pty.read is None, so throw exception of 'None

[OE-core] [PATCH 4/4] testimage: Add support for slirp

2018-11-13 Thread Yeoh Ee Peng
Enable testimage to support qemu slirp. Configure "QEMU_USE_SLIRP" variable to enable slirp. [YOCTO#10713] Signed-off-by: Yeoh Ee Peng --- meta/classes/testimage.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass inde

[OE-core] [PATCH 2/4] qemurunner: Add support for slirp

2018-11-13 Thread Yeoh Ee Peng
Enable qemurunner for slirp. Retrieved the port from localhost to connect to qemu. [YOCTO#10713] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/utils/qemurunner.py | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib

[OE-core] [PATCH 3/4] oeqa/qemu: Add support for slirp

2018-11-13 Thread Yeoh Ee Peng
Enable qemu for slirp. Initialize Qemurunner with slirp. Setup ip and port attribute to enable connection with qemu running with slirp. [YOCTO#10713] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/core/target/qemu.py | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --gi

[OE-core] [PATCH 1/4] runtime/context: qemu do not need ip and server ip inputs from external

2018-11-13 Thread Yeoh Ee Peng
Qemu do not use the ip and server ip inputs from external. It will assign ip and server ip after initialize qemu. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/runtime/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/

Re: [OE-core] [PATCH 2/7] python3: add tk support

2018-11-13 Thread Yu, Mingli
On 2018年11月13日 16:25, Alejandro Hernandez wrote: On 11/12/2018 7:03 PM, Yu, Mingli wrote: Hi Alejandro, Many thanks for your comments, please check my comments inline. On 2018年11月12日 23:28, Alejandro Hernandez wrote: Hey Yu, On 11/11/2018 6:28 PM, Yu, Mingli wrote: On 2018年11月09日 21:02

[OE-core] [PATCH] oepydevshell-internal.py: decode only when readdata is valid

2018-11-13 Thread changqing.li
From: Changqing Li fix below problem: pydevshell raises exception when maximize the python shell window. when click maximize, rlist of select return ready object, but the pty.read is None, so throw exception of 'NoneType' object has no attribute 'decode', change to only decode when readdata is va

Re: [OE-core] [PATCH 2/7] python3: add tk support

2018-11-13 Thread Alejandro Hernandez
On 11/12/2018 7:03 PM, Yu, Mingli wrote: Hi Alejandro, Many thanks for your comments, please check my comments inline. On 2018年11月12日 23:28, Alejandro Hernandez wrote: Hey Yu, On 11/11/2018 6:28 PM, Yu, Mingli wrote: On 2018年11月09日 21:02, Burton, Ross wrote: On Fri, 9 Nov 2018 at 01:39, Y