[OE-core] [PATCH 1/2] commands: send stderr to a new pipe

Jussi Kukkonen jussi.kukkonen at intel.com
Wed Jun 21 10:56:37 UTC 2017


On 19 June 2017 at 17:39, <leonardo.sandoval.gonzalez at linux.intel.com>
wrote:
>
> From: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
>
> Do not mix the stderr into stdout, allowing test cases to query
> the specific output.

I wonder if this patch could be related to the strange selftest failures
where command output seems to be missing completely, e.g.
    AssertionError: '' != 'ERROR: Unable to find any package producing path
/not/exist'

https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/349/steps/Running%20oe-selftest/logs/stdio


Jussi

>
> [YOCTO #9693]
>
> Signed-off-by: Leonardo Sandoval <
leonardo.sandoval.gonzalez at linux.intel.com>
> ---
>  meta/lib/oeqa/utils/commands.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/lib/oeqa/utils/commands.py
b/meta/lib/oeqa/utils/commands.py
> index 57286fcb10..4ef0e874ff 100644
> --- a/meta/lib/oeqa/utils/commands.py
> +++ b/meta/lib/oeqa/utils/commands.py
> @@ -29,7 +29,7 @@ class Command(object):
>
>          self.defaultopts = {
>              "stdout": subprocess.PIPE,
> -            "stderr": subprocess.STDOUT,
> +            "stderr": subprocess.PIPE,
>              "stdin": None,
>              "shell": False,
>              "bufsize": -1,
> --
> 2.12.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170621/1a8c695a/attachment-0002.html>


More information about the Openembedded-core mailing list