All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Brad Smith <brad@comstyle.com>
Cc: Philippe =?unknown-8bit?Q?Mathieu-Daud=C3=A9?=
	<philmd@redhat.com>, "Gerd Hoffmann" <kraxel@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [PATCH] tests/vm: update NetBSD to 9.2
Date: Mon, 05 Jul 2021 16:05:10 +0100	[thread overview]
Message-ID: <87r1gc3ilw.fsf@linaro.org> (raw)
In-Reply-To: <YLe+LZ/j0pxVGeBi@humpty.home.comstyle.com>


Brad Smith <brad@comstyle.com> writes:

> tests/vm: update NetBSD to 9.2
>
> Signed-off-by: Brad Smith <brad@comstyle.com>

Queued to testing/next, thanks.

Note: something about your message-id or formatting really confuses b4:

  b4 am -S -t "YLe+LZ/j0pxVGeBi@humpty.home.comstyle.com" -o -
  Looking up https://lore.kernel.org/r/YLe%2BLZ%2Fj0pxVGeBi%40humpty.home.comstyle.com
  Grabbing thread from lore.kernel.org/qemu-devel
  Analyzing 6 messages in the thread
  ---
  Writing /tmp/tmpuc25zyupb4-am-stdout
    [PATCH] tests/vm: update NetBSD to 9.2
      + Tested-by: Gerd Hoffmann <kraxel@redhat.com>
      + Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
      + Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Traceback (most recent call last):
    File "/home/alex/.local/bin/b4", line 10, in <module>
      sys.exit(cmd())
    File "/home/alex/.local/lib/python3.7/site-packages/b4/command.py", line 222, in cmd
      cmdargs.func(cmdargs)
    File "/home/alex/.local/lib/python3.7/site-packages/b4/command.py", line 40, in cmd_am
      b4.mbox.main(cmdargs)
    File "/home/alex/.local/lib/python3.7/site-packages/b4/mbox.py", line 505, in main
      mbox_to_am(threadmbox, cmdargs)
    File "/home/alex/.local/lib/python3.7/site-packages/b4/mbox.py", line 116, in mbox_to_am
      linkmask=config['linkmask'], cherrypick=cherrypick)
    File "/home/alex/.local/lib/python3.7/site-packages/b4/__init__.py", line 567, in save_am_mbox
      mbx.add(msg.as_bytes(policy=emlpolicy))
    File "/usr/lib/python3.7/email/message.py", line 178, in as_bytes
      g.flatten(self, unixfrom=unixfrom)
    File "/usr/lib/python3.7/email/generator.py", line 116, in flatten
      self._write(msg)
    File "/usr/lib/python3.7/email/generator.py", line 195, in _write
      self._write_headers(msg)
    File "/usr/lib/python3.7/email/generator.py", line 418, in _write_headers
      self._fp.write(self.policy.fold_binary(h, v))
    File "/usr/lib/python3.7/email/policy.py", line 199, in fold_binary
      folded = self._fold(name, value, refold_binary=self.cte_type=='7bit')
    File "/usr/lib/python3.7/email/policy.py", line 205, in _fold
      return value.fold(policy=self)
    File "/usr/lib/python3.7/email/headerregistry.py", line 258, in fold
      return header.fold(policy=policy)
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 144, in fold
      return _refold_parse_tree(self, policy=policy)
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 2631, in _refold_parse_tree
      encoded_part = part.fold(policy=policy)[:-1] # strip nl
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 144, in fold
      return _refold_parse_tree(self, policy=policy)
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 2631, in _refold_parse_tree
      encoded_part = part.fold(policy=policy)[:-1] # strip nl
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 144, in fold
      return _refold_parse_tree(self, policy=policy)
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 2631, in _refold_parse_tree
      encoded_part = part.fold(policy=policy)[:-1] # strip nl
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 144, in fold
      return _refold_parse_tree(self, policy=policy)
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 2631, in _refold_parse_tree
      encoded_part = part.fold(policy=policy)[:-1] # strip nl
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 144, in fold
      return _refold_parse_tree(self, policy=policy)
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 2652, in _refold_parse_tree
      part.ew_combine_allowed, charset)
    File "/usr/lib/python3.7/email/_header_value_parser.py", line 2729, in _fold_as_ew
      first_part = to_encode[:text_space]
  TypeError: slice indices must be integers or None or have an __index__ method


> ---
>  tests/vm/netbsd | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/vm/netbsd b/tests/vm/netbsd
> index b9efc269d2..4cc58df130 100755
> --- a/tests/vm/netbsd
> +++ b/tests/vm/netbsd
> @@ -22,8 +22,8 @@ class NetBSDVM(basevm.BaseVM):
>      name = "netbsd"
>      arch = "x86_64"
>  
> -    link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.1/images/NetBSD-9.1-amd64.iso"
> -    csum = "65bddc95945991c3b2021f9c8ded7f34c25f0a7611b7aa15a15fe23399e902307e926ae97fcd01dc1662ac67b5f6e4be643c6a2b581692ddcb616d30125066f9"
> +    link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/images/NetBSD-9.2-amd64.iso"
> +    csum = "5ee0ea101f73386b9b424f5d1041e371db3c42fdd6f4e4518dc79c4a08f31d43091ebe93425c9f0dcaaed2b51131836fe6774f33f89030b58d64709b35fda72f"
>      size = "20G"
>      pkgs = [
>          # tools


-- 
Alex Bennée


      parent reply	other threads:[~2021-07-05 15:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02 17:21 [PATCH] tests/vm: update NetBSD to 9.2 Brad Smith
2021-06-03  7:19 ` Gerd Hoffmann
2021-06-30  3:05   ` Brad Smith
2021-06-30 10:33 ` Philippe Mathieu-Daudé
2021-06-30 16:50   ` Brad Smith
2021-07-01 15:54 ` Wainer dos Santos Moschetta
2021-07-05 15:05 ` Alex Bennée [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1gc3ilw.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=brad@comstyle.com \
    --cc=kraxel@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.