[{"id":1771165,"web_url":"http://patchwork.ozlabs.org/comment/1771165/","msgid":"<874lryen8n.fsf@linaro.org>","list_archive_url":null,"date":"2017-09-19T15:12:24","subject":"Re: [Qemu-devel] [PATCH v9 06/13] tests: Add ubuntu.i386 image","submitter":{"id":39532,"url":"http://patchwork.ozlabs.org/api/people/39532/","name":"Alex Bennée","email":"alex.bennee@linaro.org"},"content":"Fam Zheng <famz@redhat.com> writes:\n\n> This adds a 32bit guest.\n>\n> The official LTS cloud image is downloaded and initialized with\n> cloud-init.\n>\n> Signed-off-by: Fam Zheng <famz@redhat.com>\n> ---\n>  tests/vm/ubuntu.i386 | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++\n>  1 file changed, 88 insertions(+)\n>  create mode 100755 tests/vm/ubuntu.i386\n>\n> diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386\n> new file mode 100755\n> index 0000000000..e70dcb89ce\n> --- /dev/null\n> +++ b/tests/vm/ubuntu.i386\n> @@ -0,0 +1,88 @@\n> +#!/usr/bin/env python\n> +#\n> +# Ubuntu i386 image\n> +#\n> +# Copyright 2017 Red Hat Inc.\n> +#\n> +# Authors:\n> +#  Fam Zheng <famz@redhat.com>\n> +#\n> +# This code is licensed under the GPL version 2 or later.  See\n> +# the COPYING file in the top-level directory.\n> +#\n> +\n> +import os\n> +import sys\n> +import subprocess\n> +import basevm\n> +import time\n> +\n> +class UbuntuX86VM(basevm.BaseVM):\n> +    name = \"ubuntu.i386\"\n> +    BUILD_SCRIPT = \"\"\"\n> +        set -e;\n> +        cd $(mktemp -d);\n> +        sudo chmod a+r /dev/vdb;\n> +        tar -xf /dev/vdb;\n> +        ./configure {configure_opts};\n> +        make -j{jobs};\n> +        make check;\n> +    \"\"\"\n> +\n> +    def _gen_cloud_init_iso(self):\n> +        cidir = self._tmpdir\n> +        mdata = open(os.path.join(cidir, \"meta-data\"), \"w\")\n> +        mdata.writelines([\"instance-id: ubuntu-vm-0\\n\",\n> +                         \"local-hostname: ubuntu-guest\\n\"])\n> +        mdata.close()\n> +        udata = open(os.path.join(cidir, \"user-data\"), \"w\")\n> +        udata.writelines([\"#cloud-config\\n\",\n> +                          \"chpasswd:\\n\",\n> +                          \"  list: |\\n\",\n> +                          \"    root:%s\\n\" % self.ROOT_PASS,\n> +                          \"    %s:%s\\n\" % (self.GUEST_USER, self.GUEST_PASS),\n> +                          \"  expire: False\\n\",\n> +                          \"users:\\n\",\n> +                          \"  - name: %s\\n\" % self.GUEST_USER,\n> +                          \"    sudo: ALL=(ALL) NOPASSWD:ALL\\n\",\n> +                          \"    ssh-authorized-keys:\\n\",\n> +                          \"    - %s\\n\" % basevm.SSH_PUB_KEY,\n> +                          \"  - name: root\\n\",\n> +                          \"    ssh-authorized-keys:\\n\",\n> +                          \"    - %s\\n\" % basevm.SSH_PUB_KEY])\n> +        udata.close()\n> +        subprocess.check_call([\"genisoimage\", \"-output\", \"cloud-init.iso\",\n> +                               \"-volid\", \"cidata\", \"-joliet\", \"-rock\",\n> +                               \"user-data\", \"meta-data\"],\n> +                               cwd=cidir,\n> +                               stdin=self._devnull, stdout=self._stdout,\n> +                               stderr=self._stdout)\n> +        return os.path.join(cidir, \"cloud-init.iso\")\n> +\n> +    def build_image(self, img):\n> +        cimg = self._download_with_cache(\"https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-i386-disk1.img\")\n> +        img_tmp = img + \".tmp\"\n> +        subprocess.check_call([\"cp\", \"-f\", cimg, img_tmp])\n> +        subprocess.check_call([\"qemu-img\", \"resize\", img_tmp, \"50G\"])\n> +        self.boot(img_tmp, extra_args = [\"-cdrom\", self._gen_cloud_init_iso()])\n> +        self.wait_ssh()\n> +        self.ssh_root_check(\"touch /etc/cloud/cloud-init.disabled\")\n> +        self.ssh_root_check(\"apt-get update\")\n> +        self.ssh_root_check(\"apt-get install -y cloud-initramfs-growroot\")\n> +        # Don't check the status in case the guest hang up too quickly\n> +        self.ssh_root(\"sync && reboot\")\n> +        time.sleep(5)\n> +        self.wait_ssh()\n> +        # The previous update sometimes doesn't survive a reboot, so do it again\n> +        self.ssh_root_check(\"apt-get update\")\n> +        self.ssh_root_check(\"apt-get build-dep -y qemu\")\n> +        self.ssh_root_check(\"apt-get install -y libfdt-dev\")\n\nCould we also do something about locales in this setup. The build gives\na lot of noise like:\n\n    perl: warning: Falling back to a fallback locale (\"en_US.UTF-8\").\n    perl: warning: Setting locale failed.\n    perl: warning: Please check that your locale settings:\n            LANGUAGE = (unset),\n            LC_ALL = \"en_GB.UTF-8\",\n            LC_TIME = \"en_US.UTF-8\",\n            LC_CTYPE = \"en_GB.UTF-8\",\n            LC_MONETARY = \"en_US.UTF-8\",\n            LC_COLLATE = \"C\",\n            LC_ADDRESS = \"en_US.UTF-8\",\n            LC_TELEPHONE = \"en_US.UTF-8\",\n            LC_NAME = \"en_US.UTF-8\",\n            LC_MEASUREMENT = \"en_US.UTF-8\",\n            LC_IDENTIFICATION = \"en_US.UTF-8\",\n            LC_NUMERIC = \"en_US.UTF-8\",\n            LC_PAPER = \"en_US.UTF-8\",\n            LANG = \"en_US.UTF-8\"\n        are supported and installed on your system.\n\n\n> +        self.ssh_root(\"poweroff\")\n> +        self.wait()\n> +        if os.path.exists(img):\n> +            os.remove(img)\n> +        os.rename(img_tmp, img)\n> +        return 0\n> +\n> +if __name__ == \"__main__\":\n> +    sys.exit(basevm.main(UbuntuX86VM))\n\n\n--\nAlex Bennée","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"CADA+y5B\"; dkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxRyy2vzJz9sBZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 01:45:14 +1000 (AEST)","from localhost ([::1]:43657 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1duKi0-0002AV-Hx\n\tfor incoming@patchwork.ozlabs.org; Tue, 19 Sep 2017 11:45:12 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:55852)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <alex.bennee@linaro.org>) id 1duKCO-0007pU-8D\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 11:12:36 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <alex.bennee@linaro.org>) id 1duKCI-0002f1-9c\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 11:12:32 -0400","from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:49087)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <alex.bennee@linaro.org>)\n\tid 1duKCH-0002e2-Vy\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 11:12:26 -0400","by mail-wr0-x234.google.com with SMTP id 108so282903wra.5\n\tfor <qemu-devel@nongnu.org>; Tue, 19 Sep 2017 08:12:25 -0700 (PDT)","from zen.linaro.local ([81.128.185.34])\n\tby smtp.gmail.com with ESMTPSA id\n\tu40sm10979616wrb.21.2017.09.19.08.12.23\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 19 Sep 2017 08:12:23 -0700 (PDT)","from zen (localhost [127.0.0.1])\n\tby zen.linaro.local (Postfix) with ESMTPS id B5CC53E0363;\n\tTue, 19 Sep 2017 16:12:24 +0100 (BST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=references:user-agent:from:to:cc:subject:in-reply-to:date\n\t:message-id:mime-version:content-transfer-encoding;\n\tbh=/EMUeioGiEeYeqs/12UfmZAm0wEmBzfThR1ZDORVmiM=;\n\tb=CADA+y5BJ2cuC79xYxgnojYVyf07vhlcf25Ho4wUljHvrOi+oROlbQFw9r9hJxU0Up\n\t4/BpP8itUDJRWWnEexpoA03d5lNWmKrPscc0xAnpsKnXpW6dfcU1LiOs7z80bkRIJDhe\n\tPfFwm93ZM9Cs1Tq88JpX+5LOOA/rLnS7Di224=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:references:user-agent:from:to:cc:subject\n\t:in-reply-to:date:message-id:mime-version:content-transfer-encoding; \n\tbh=/EMUeioGiEeYeqs/12UfmZAm0wEmBzfThR1ZDORVmiM=;\n\tb=Rwtl0BjzxyWC0XFvjCm9JwhTK8bgdkzibzD2msM+S66pLBnD6sZFd2/S6Ae+TUqlIK\n\ttc72XG89ZdUNUTfX4f5QvCKvzLoQec87B1atvhGmh21h+W9wOp4uf0/Bctr53VjEVs2N\n\tuvLzbi+ycUCvsEASH+vheW2BC/kcqemvxV2OM0m0wsd5jjT2Tld9Vo7HGqWvEI3YptgV\n\tzLwE0h4bGXnaP4lWDvcXVs6XdvCdARtBqS/37eA5pAgeD3hTYRuqEpXNySqdKj0NHl6D\n\tzEu6DJ0Eg1A/PzFwn2ZdWeqVJHg5SqclzWxEDTCSu5eYrFSknIzUMwqq7tjJF0wtPhcG\n\tBvbw==","X-Gm-Message-State":"AHPjjUgqK4eIOYLE2zclJxQhsHc9IcO1mfFdXrZmN/I5r2LG9iVR2cNv\n\tsGpZ3qVBIgFJLfaqk9EoRbGktQ==","X-Google-Smtp-Source":"AOwi7QD8yRKf2vRLkl9OD3p3MiY3wVRbphUpYbj9yrVKIafFhkdKl9aGij86k6C9GuvRmp17TRcY8Q==","X-Received":"by 10.223.151.55 with SMTP id r52mr1846769wrb.69.1505833944830; \n\tTue, 19 Sep 2017 08:12:24 -0700 (PDT)","References":"<20170919072719.11815-1-famz@redhat.com>\n\t<20170919072719.11815-7-famz@redhat.com>","User-agent":"mu4e 0.9.19; emacs 25.3.50.1","From":"Alex =?utf-8?q?Benn=C3=A9e?= <alex.bennee@linaro.org>","To":"Fam Zheng <famz@redhat.com>","In-reply-to":"<20170919072719.11815-7-famz@redhat.com>","Date":"Tue, 19 Sep 2017 16:12:24 +0100","Message-ID":"<874lryen8n.fsf@linaro.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"8bit","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2a00:1450:400c:c0c::234","Subject":"Re: [Qemu-devel] [PATCH v9 06/13] tests: Add ubuntu.i386 image","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org, Philippe\n\t=?utf-8?q?Mathieu-Daud=C3=A9?= <f4bug@amsat.org>,\n\tKamil Rytarowski <kamil@netbsd.org>, stefanha@redhat.com, \n\tCleber Rosa <crosa@redhat.com>, pbonzini@redhat.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}},{"id":1771519,"web_url":"http://patchwork.ozlabs.org/comment/1771519/","msgid":"<20170920025317.GC18491@lemon>","list_archive_url":null,"date":"2017-09-20T02:53:17","subject":"Re: [Qemu-devel] [PATCH v9 06/13] tests: Add ubuntu.i386 image","submitter":{"id":24872,"url":"http://patchwork.ozlabs.org/api/people/24872/","name":"Fam Zheng","email":"famz@redhat.com"},"content":"On Tue, 09/19 16:12, Alex Bennée wrote:\n> Could we also do something about locales in this setup. The build gives\n> a lot of noise like:\n> \n>     perl: warning: Falling back to a fallback locale (\"en_US.UTF-8\").\n>     perl: warning: Setting locale failed.\n>     perl: warning: Please check that your locale settings:\n>             LANGUAGE = (unset),\n>             LC_ALL = \"en_GB.UTF-8\",\n>             LC_TIME = \"en_US.UTF-8\",\n>             LC_CTYPE = \"en_GB.UTF-8\",\n>             LC_MONETARY = \"en_US.UTF-8\",\n>             LC_COLLATE = \"C\",\n>             LC_ADDRESS = \"en_US.UTF-8\",\n>             LC_TELEPHONE = \"en_US.UTF-8\",\n>             LC_NAME = \"en_US.UTF-8\",\n>             LC_MEASUREMENT = \"en_US.UTF-8\",\n>             LC_IDENTIFICATION = \"en_US.UTF-8\",\n>             LC_NUMERIC = \"en_US.UTF-8\",\n>             LC_PAPER = \"en_US.UTF-8\",\n>             LANG = \"en_US.UTF-8\"\n>         are supported and installed on your system.\n\nNot sure how en_GB gets into the guest (I assume it is from your host env, so\nit's SSH?). I'll add a locale directive in the cloud-init file anyway.\n\nFam","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ext-mx08.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx08.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=famz@redhat.com"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxkpX2Ktsz9s78\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 12:53:54 +1000 (AEST)","from localhost ([::1]:46365 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1duV95-0001f7-OS\n\tfor incoming@patchwork.ozlabs.org; Tue, 19 Sep 2017 22:53:51 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:53871)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <famz@redhat.com>) id 1duV8g-0001et-Pa\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 22:53:27 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <famz@redhat.com>) id 1duV8c-0001rt-TT\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 22:53:26 -0400","from mx1.redhat.com ([209.132.183.28]:55250)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <famz@redhat.com>) id 1duV8c-0001pn-NW\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 22:53:22 -0400","from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 61417C057F91;\n\tWed, 20 Sep 2017 02:53:21 +0000 (UTC)","from localhost (ovpn-12-90.pek2.redhat.com [10.72.12.90])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id B2B0E5D97F;\n\tWed, 20 Sep 2017 02:53:18 +0000 (UTC)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 61417C057F91","Date":"Wed, 20 Sep 2017 10:53:17 +0800","From":"Fam Zheng <famz@redhat.com>","To":"Alex =?iso-8859-1?q?Benn=E9e?= <alex.bennee@linaro.org>","Message-ID":"<20170920025317.GC18491@lemon>","References":"<20170919072719.11815-1-famz@redhat.com>\n\t<20170919072719.11815-7-famz@redhat.com>\n\t<874lryen8n.fsf@linaro.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=iso-8859-1","Content-Disposition":"inline","In-Reply-To":"<874lryen8n.fsf@linaro.org>","User-Agent":"Mutt/1.8.3 (2017-05-23)","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.14","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.32]);\n\tWed, 20 Sep 2017 02:53:21 +0000 (UTC)","Content-Transfer-Encoding":"quoted-printable","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]","X-Received-From":"209.132.183.28","Subject":"Re: [Qemu-devel] [PATCH v9 06/13] tests: Add ubuntu.i386 image","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org, Philippe\n\t=?iso-8859-1?q?Mathieu-Daud=E9?= <f4bug@amsat.org>,\n\tKamil Rytarowski <kamil@netbsd.org>, stefanha@redhat.com, \n\tCleber Rosa <crosa@redhat.com>, pbonzini@redhat.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}},{"id":1771904,"web_url":"http://patchwork.ozlabs.org/comment/1771904/","msgid":"<871sn1empx.fsf@linaro.org>","list_archive_url":null,"date":"2017-09-20T09:35:54","subject":"Re: [Qemu-devel] [PATCH v9 06/13] tests: Add ubuntu.i386 image","submitter":{"id":39532,"url":"http://patchwork.ozlabs.org/api/people/39532/","name":"Alex Bennée","email":"alex.bennee@linaro.org"},"content":"Fam Zheng <famz@redhat.com> writes:\n\n> On Tue, 09/19 16:12, Alex Bennée wrote:\n>> Could we also do something about locales in this setup. The build gives\n>> a lot of noise like:\n>>\n>>     perl: warning: Falling back to a fallback locale (\"en_US.UTF-8\").\n>>     perl: warning: Setting locale failed.\n>>     perl: warning: Please check that your locale settings:\n>>             LANGUAGE = (unset),\n>>             LC_ALL = \"en_GB.UTF-8\",\n>>             LC_TIME = \"en_US.UTF-8\",\n>>             LC_CTYPE = \"en_GB.UTF-8\",\n>>             LC_MONETARY = \"en_US.UTF-8\",\n>>             LC_COLLATE = \"C\",\n>>             LC_ADDRESS = \"en_US.UTF-8\",\n>>             LC_TELEPHONE = \"en_US.UTF-8\",\n>>             LC_NAME = \"en_US.UTF-8\",\n>>             LC_MEASUREMENT = \"en_US.UTF-8\",\n>>             LC_IDENTIFICATION = \"en_US.UTF-8\",\n>>             LC_NUMERIC = \"en_US.UTF-8\",\n>>             LC_PAPER = \"en_US.UTF-8\",\n>>             LANG = \"en_US.UTF-8\"\n>>         are supported and installed on your system.\n>\n> Not sure how en_GB gets into the guest (I assume it is from your host env, so\n> it's SSH?). I'll add a locale directive in the cloud-init file anyway.\n\nen_GB.UTF-8 is mine, not sure how the en_US stuff gets in there. My\ngeneral experience is most minimal installs seem to have broken locales\nsettings.\n\n>\n> Fam\n\n\n--\nAlex Bennée","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"DTcL4FDa\"; dkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xy1wb3Lfkz9s82\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 00:15:11 +1000 (AEST)","from localhost ([::1]:48357 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dufmP-0002lp-7h\n\tfor incoming@patchwork.ozlabs.org; Wed, 20 Sep 2017 10:15:09 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:38805)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <alex.bennee@linaro.org>) id 1duf5a-0006Fm-N1\n\tfor qemu-devel@nongnu.org; Wed, 20 Sep 2017 09:31:00 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <alex.bennee@linaro.org>) id 1duf5V-0006ks-0a\n\tfor qemu-devel@nongnu.org; Wed, 20 Sep 2017 09:30:54 -0400","from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:46957)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <alex.bennee@linaro.org>)\n\tid 1duf5U-0006k8-QH\n\tfor qemu-devel@nongnu.org; Wed, 20 Sep 2017 09:30:48 -0400","by mail-wm0-x231.google.com with SMTP id i189so7263321wmf.1\n\tfor <qemu-devel@nongnu.org>; Wed, 20 Sep 2017 06:30:48 -0700 (PDT)","from zen.linaro.local ([81.128.185.34])\n\tby smtp.gmail.com with ESMTPSA id\n\ti131sm1198002wmf.31.2017.09.20.02.35.52\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 20 Sep 2017 02:35:52 -0700 (PDT)","from zen (localhost [127.0.0.1])\n\tby zen.linaro.local (Postfix) with ESMTPS id DA9DB3E010A;\n\tWed, 20 Sep 2017 10:35:54 +0100 (BST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=references:user-agent:from:to:cc:subject:in-reply-to:date\n\t:message-id:mime-version:content-transfer-encoding;\n\tbh=JnSvNlB5p7/1i2wF1peD4O8QxJmIlTLbMSELjMzK9uE=;\n\tb=DTcL4FDazZ7HJj9NEsXfZFlayYSqTOIrx9WSpYyi0XR1FTg2k8dLbBavwgWNwqoBFj\n\t+pSdGY86/hFlRpPV1+CJuJoIpqwOFZU6N7e7yvk3nG6y+c4IZ3okjA8wHmm4pMella51\n\tmtilzUSj0fkJKCnbRAWDiRBgbw1E5RovEt0i8=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:references:user-agent:from:to:cc:subject\n\t:in-reply-to:date:message-id:mime-version:content-transfer-encoding; \n\tbh=JnSvNlB5p7/1i2wF1peD4O8QxJmIlTLbMSELjMzK9uE=;\n\tb=KcwGC7eJpMVYPU7y4vNnZ3NlZ31SGUzcd9WVnngPP8+JiNpWU+Wd5T0+tjXl21rBTN\n\twj/zMfgkEp56F1FHrN1P3OKEKThIswB4Ydu/6Z/rEsbI6L9vQEktDdTgF3jm74Dx6l6W\n\tVpJxlXauLfjNvla7QSEz2b/Hui1Oipjy6fTa7MRAtjV0LCW37ZxGy/fD9+BGwhe1lVYa\n\tQHFjFR7yUe1ujDW5wY9Dnk/p4f5Wk4dqkvWeHBY0jGNWtMWqWBsxcC42zvLmXtkoEI+S\n\tLacmPPVOEMW90TjGw0gjU9Q2Mn1FWgUBzAyo+wr00ey8Egte9mzsxlHYDoex074RBrD4\n\tzRDA==","X-Gm-Message-State":"AHPjjUjvs6vg9A0iVBQH+jGK7FW26HeYqD8uQMaXXNKDKZg8zvSyvVjN\n\ttBvuHu6cYwfA8TQU391c1me3RI6942c=","X-Google-Smtp-Source":"AOwi7QAu31hauttQTjJxugkUyhmFUQwUXEnCYEog3i8fIFW81sYm9N3wUQHXhqEQtTxvtCViE8oqSw==","X-Received":"by 10.28.149.144 with SMTP id x138mr3237422wmd.58.1505900154204; \n\tWed, 20 Sep 2017 02:35:54 -0700 (PDT)","References":"<20170919072719.11815-1-famz@redhat.com>\n\t<20170919072719.11815-7-famz@redhat.com>\n\t<874lryen8n.fsf@linaro.org> <20170920025317.GC18491@lemon>","User-agent":"mu4e 0.9.19; emacs 25.3.50.1","From":"Alex =?utf-8?q?Benn=C3=A9e?= <alex.bennee@linaro.org>","To":"Fam Zheng <famz@redhat.com>","In-reply-to":"<20170920025317.GC18491@lemon>","Date":"Wed, 20 Sep 2017 10:35:54 +0100","Message-ID":"<871sn1empx.fsf@linaro.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"8bit","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2a00:1450:400c:c09::231","Subject":"Re: [Qemu-devel] [PATCH v9 06/13] tests: Add ubuntu.i386 image","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org, Philippe\n\t=?utf-8?q?Mathieu-Daud=C3=A9?= <f4bug@amsat.org>,\n\tKamil Rytarowski <kamil@netbsd.org>, stefanha@redhat.com, \n\tCleber Rosa <crosa@redhat.com>, pbonzini@redhat.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}}]