qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <1922611@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1922611] Re: Acceptance Tests: migration fails on sparc target
Date: Tue, 06 Apr 2021 07:32:42 -0000	[thread overview]
Message-ID: <161769436303.30007.2690655855748795804.malone@gac.canonical.com> (raw)
In-Reply-To: 161766836712.29624.11290531043933796860.malonedeb@gac.canonical.com

6cc88d6bf932a905ce36e933dc078eeb6b54ac92 is the first bad commit:

commit 6cc88d6bf932a905ce36e933dc078eeb6b54ac92
Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Date:   Thu Mar 4 22:10:34 2021 +0000

    esp: remove dma_left from ESPState

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1922611

Title:
  Acceptance Tests: migration fails on sparc target

Status in QEMU:
  New

Bug description:
  QEMU fails migration when using a sparc target.

  This cab be verified/reproduced with the
  `tests/acceptance/migration.py` test.  Running it with:

   $ make check-venv
   $ ./tests/venv/bin/avocado --show=test run -p qemu_bin=./qemu-system-sparc tests/acceptance/migration.py:Migration.test_migration_with_tcp_localhost

  Right after a QMP `query-migrate` is executed, communication with the
  monitor is lost:

  >>> {'execute': 'query-migrate'}
  <<< {'timestamp': {'seconds': 1617667984, 'microseconds': 330282}, 'event': 'STOP'}
  <<< {'return': {'blocked': False, 'status': 'completed', 'setup-time': 0, 'downtime': 1, 'total-time': 15, 'ram': {'total': 135274496, 'postcopy-requests': 0, 'dirty-sync-count': 2, 'multifd-bytes': 0, 'pages-per-second': 0, 'page-size': 4096, 'remaining': 0, 'mbps': 301.2234666666667, 'transferred': 528703, 'duplicate': 33202, 'dirty-pages-rate': 0, 'skipped': 0, 'normal-bytes': 229376, 'normal': 56}}}
  >>> {'execute': 'query-migrate'}

  Reproduced traceback from: /var/lib/users/cleber/build/qemu/tests/venv/lib64/python3.7/site-packages/avocado/core/test.py:756
  Traceback (most recent call last):
    File "/var/lib/users/cleber/build/qemu/tests/acceptance/migration.py", line 80, in test_migration_with_tcp_localhost
      self.do_migrate(dest_uri)
    File "/var/lib/users/cleber/build/qemu/tests/acceptance/migration.py", line 69, in do_migrate
      self.assert_migration(source_vm, dest_vm)
    File "/var/lib/users/cleber/build/qemu/tests/acceptance/migration.py", line 41, in assert_migration
      args=(dst_vm,))
    File "/var/lib/users/cleber/build/qemu/tests/venv/lib64/python3.7/site-packages/avocado/utils/wait.py", line 34, in wait_for
      output = func(*args, **kwargs)
    File "/var/lib/users/cleber/build/qemu/tests/acceptance/migration.py", line 31, in migration_finished
      return vm.command('query-migrate')['status'] in ('completed', 'failed')
    File "/home/cleber/src/qemu/python/qemu/machine.py", line 572, in command
      return self._qmp.command(cmd, **qmp_args)
    File "/home/cleber/src/qemu/python/qemu/qmp.py", line 284, in command
      ret = self.cmd(cmd, kwds)
    File "/home/cleber/src/qemu/python/qemu/qmp.py", line 278, in cmd
      return self.cmd_obj(qmp_cmd)
    File "/home/cleber/src/qemu/python/qemu/qmp.py", line 256, in cmd_obj
      self.__sock.sendall(json.dumps(qmp_cmd).encode('utf-8'))
  BrokenPipeError: [Errno 32] Broken pipe 

  The qemu-system-sparc binary outputs:

   qemu-system-sparc: warning: nic lance.0 has no peer
   qemu-system-sparc: Missing section footer for sysbusespscsi
   qemu-system-sparc: load of migration failed: Invalid argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1922611/+subscriptions


  reply	other threads:[~2021-04-06  7:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06  0:19 [Bug 1922611] [NEW] Acceptance Tests: migration fails on sparc target Cleber Rosa
2021-04-06  7:32 ` Philippe Mathieu-Daudé [this message]
2021-04-07 13:01 ` [Bug 1922611] " Mark Cave-Ayland
2021-04-14 23:49 ` Cleber Rosa
2021-04-30  7:24 ` Thomas Huth

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=161769436303.30007.2690655855748795804.malone@gac.canonical.com \
    --to=1922611@bugs.launchpad.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).