[{"id":1951130,"web_url":"http://patchwork.ozlabs.org/comment/1951130/","msgid":"<CAPnjgZ2WqH8Sddg2hn7ApBxq6ARs0i3qSQZE+cfi-4ZqyJ8NhA@mail.gmail.com>","list_archive_url":null,"date":"2018-07-10T20:56:59","subject":"Re: [U-Boot] [PATCH v2 0/8] test/py: Fixes for python 3.x","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"Hi Paul,\n\nOn 14 September 2017 at 15:34, Paul Burton <paul.burton@imgtec.com> wrote:\n> This series allows test/py to run on python 3.x in addition to the\n> already supported python 2.x. With it applied I currently see only one\n> failure (test_ut[ut_dm_usb_flash]) which doesn't appear to be python\n> related when running with:\n>\n> $ ./test/py/test.py --bd sandbox --build\n>\n> Thanks,\n>     Paul\n>\n> Paul Burton (8):\n>   test/py: Make print statements python 3.x safe\n>   test/py: Use range() rather than xrange()\n>   test/py: Import 'configparser' lower case to be python 3.x safe\n>   test/py: Import StringIO from io module for python 3.x\n>   test/py: Encode/decode strings for stdio\n>   test/py: fit: Open files as binary files\n>   test/py: hush_if_test: Use open() in place of file()\n>   test/py: vboot: Remove stderr redirect from openssl command\n>\n>  test/py/conftest.py                | 18 +++++++++++++-----\n>  test/py/multiplexed_log.py         |  4 ++--\n>  test/py/test.py                    |  6 ++++--\n>  test/py/tests/test_fit.py          | 14 ++++++++------\n>  test/py/tests/test_hush_if_test.py |  2 +-\n>  test/py/tests/test_ut.py           |  2 +-\n>  test/py/tests/test_vboot.py        |  4 ++--\n>  test/py/u_boot_console_sandbox.py  |  4 ++--\n>  test/py/u_boot_spawn.py            | 12 ++++++------\n>  test/py/u_boot_utils.py            |  4 ++--\n>  10 files changed, 41 insertions(+), 29 deletions(-)\n>\n> --\n> 2.14.1\n>\n\nI never did see a v3 of this but I would like to get these patches applied.\n\nI'll apply the ones that seem cause no problems. If you have time,\nplease respin these ones:\n\n>   test/py: Import StringIO from io module for python 3.x\n>   test/py: Encode/decode strings for stdio\n\nRegards,\nSimon","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org; dmarc=fail (p=none dis=none)\n\theader.from=chromium.org","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"lDF7ZxgT\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"cIJfaELi\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41QDzh33BYz9s0W\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 11 Jul 2018 06:57:35 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid A9FDFC21E34; Tue, 10 Jul 2018 20:57:27 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E613EC21D65;\n\tTue, 10 Jul 2018 20:57:24 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid F0895C21C2F; Tue, 10 Jul 2018 20:57:22 +0000 (UTC)","from mail-oi0-f65.google.com (mail-oi0-f65.google.com\n\t[209.85.218.65])\n\tby lists.denx.de (Postfix) with ESMTPS id 4593DC21C29\n\tfor <u-boot@lists.denx.de>; Tue, 10 Jul 2018 20:57:22 +0000 (UTC)","by mail-oi0-f65.google.com with SMTP id s198-v6so45299870oih.11\n\tfor <u-boot@lists.denx.de>; Tue, 10 Jul 2018 13:57:22 -0700 (PDT)","by 2002:ac9:3c0c:0:0:0:0:0 with HTTP; Tue, 10 Jul 2018 13:56:59\n\t-0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=203IH1mnja4PfX9nH3q39mzEktwxI5naWJNySbSwnEE=;\n\tb=lDF7ZxgTGlkQtZUOZG/1IbnxyVgLO1WvK/+OuHouPUvs05lvfsAglnkapiwRDA0x7L\n\tgTkm8LhNmrFyVRD6TWBluAqtYcJDACQOQjdJpmvI0xgk7Wtz4mS2T99gkRchSDDeCSPA\n\tN91YOsV21D5L7vfRt1LGdEp5AcSzhSWr8DY2S8OYJflGlWo0g2dK0g0eIhfLU4PZZP+c\n\tGMY0J1XZaP7xmAPtwqeK+m0WeXSIjo5tKmVDmyaSqAroO5o5CZbke9Bo4gOKXMSjru/J\n\tb3fLZP4e2WBCFnWe64DwzRSOc52VDNWdrotEE9BcqIlAejmvVMniLfhj1BnrOSd7UfMD\n\tfdOQ==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=203IH1mnja4PfX9nH3q39mzEktwxI5naWJNySbSwnEE=;\n\tb=cIJfaELiXxTrxypYYTiUj3dmaR/OthkLskoeijFe31tK2RhQPq3pAe8LoSIppPoDE7\n\tPI24xrCKRJGqu6ATE1J8oDuBpF/n9uado7nLLzCd/OUb26mf7c+Y7HBG8S3MEIx7iQB3\n\ttihBUuLQ8EKgJScf/yhNklA23oBSw4jWaC9bI="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=203IH1mnja4PfX9nH3q39mzEktwxI5naWJNySbSwnEE=;\n\tb=uCx43PxaIFm+9MmheCQeaCxHuF7/JtjXQFvHLI0oLa1g7jJPpcnqaCVYixqddv9GYF\n\tkTFw9NGIuBNTw4SVpwAwv2trbCeiujk9vgirtJAdCpTptZ9Qimkd7BFWWdAe/h4/IMRD\n\tBYbwfifx4P0fY1gHERmR9HAMdjH3YaVqWDPY6Os7K1CfcPp211f20p0gfBiqqrcmoqVh\n\tudeP+aZGypuUucagHy8TK7mh2DCVwtABducTkR5Xtj9u6JH1dlrlnkepqYrXcD6QaF6f\n\tBU6FY23O2y5dr1CerrlphyPHIMvIGsyaJLw1qVd3zVVZJ2Mm3NvTCEzq4scnIlm62heU\n\tAEkA==","X-Gm-Message-State":"APt69E1L0e1OvAQXcN2V6hwWArECPolWutfNQ9HwpYbXxSEFoKwS8fjK\n\tXb8mMAeoMqY+fALO2lf14D2hwj7AtJhkiQ2KZ4N1dg==","X-Google-Smtp-Source":"AAOMgpdKJ+lYJhyFKR58MTuEc86F/9QE2k1+kH8hxRyDjCXizM+17BUolCENzqvtk2PwitKszDEk+Xob+7Wq5KXZBws=","X-Received":"by 2002:aca:430b:: with SMTP id\n\tq11-v6mr31364518oia.127.1531256240511; \n\tTue, 10 Jul 2018 13:57:20 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170914213450.28754-1-paul.burton@imgtec.com>","References":"<20170914213450.28754-1-paul.burton@imgtec.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 10 Jul 2018 14:56:59 -0600","X-Google-Sender-Auth":"j4QojElcINgr1Q-Tl0MQENHV6d0","Message-ID":"<CAPnjgZ2WqH8Sddg2hn7ApBxq6ARs0i3qSQZE+cfi-4ZqyJ8NhA@mail.gmail.com>","To":"Paul Burton <paul.burton@imgtec.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>, Stephen Warren\n\t<swarren@nvidia.com>, =?utf-8?q?Stefan_Br=C3=BCns?=\n\t<stefan.bruens@rwth-aachen.de>,  Michal Simek <michal.simek@xilinx.com>","Subject":"Re: [U-Boot] [PATCH v2 0/8] test/py: Fixes for python 3.x","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]