From: Max Reitz <mreitz@redhat.com>
To: qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org, Kevin Wolf <kwolf@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 0/3] iotests: Allow 147 to be run concurrently
Date: Thu, 31 Jan 2019 02:01:01 +0100 [thread overview]
Message-ID: <b0c2b109-b06d-7385-a6cf-3d24b9d15da0@redhat.com> (raw)
In-Reply-To: <20181221234750.23577-1-mreitz@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]
On 22.12.18 00:47, Max Reitz wrote:
> 147 currently cannot be run concurrently for two reasons:
>
> (1) It creates TCP/IP NBD servers on a fixed port.
>
> (2) It uses a mix of "0.0.0.0", "localhost", and "::1" as host addresses
> to bind to. As explained in the commit messages of patches 2 and 3,
> this results in it potentially actually being able to set up two
> servers on the same port at the same time -- but connecting to one
> will always lead to the IPv6 server (regardless of whether you use
> "localhost" or "::1"). Therefore, even if you get two servers
> running concurrently, one of the tests will still break because it
> connects to the wrong one.
>
> This series fixes these issues.
>
>
> Note that even if you do not care about concurrency, it still is a good
> idea to make 147 not use a fixed port to create NBD servers on, as it
> may always be already in use by a totally different application.
>
>
> Max Reitz (3):
> iotests.py: Add qemu_nbd_pipe()
> iotests: Bind qemu-nbd to localhost in 147
> iotests: Allow 147 to be run concurrently
>
> tests/qemu-iotests/147 | 98 ++++++++++++++++++++++++-----------
> tests/qemu-iotests/iotests.py | 14 +++++
> 2 files changed, 82 insertions(+), 30 deletions(-)
Applied to my block branch.
Max
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2019-01-31 1:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-21 23:47 [Qemu-devel] [PATCH 0/3] iotests: Allow 147 to be run concurrently Max Reitz
2018-12-21 23:47 ` [Qemu-devel] [PATCH 1/3] iotests.py: Add qemu_nbd_pipe() Max Reitz
2019-01-21 20:55 ` Eric Blake
2019-01-23 13:06 ` Max Reitz
2019-01-23 14:27 ` Eric Blake
2018-12-21 23:47 ` [Qemu-devel] [PATCH 2/3] iotests: Bind qemu-nbd to localhost in 147 Max Reitz
2019-01-21 20:56 ` Eric Blake
2018-12-21 23:47 ` [Qemu-devel] [PATCH 3/3] iotests: Allow 147 to be run concurrently Max Reitz
2019-01-21 20:50 ` [Qemu-devel] [Qemu-block] " John Snow
2019-01-23 13:05 ` Max Reitz
2019-01-23 17:34 ` Max Reitz
2019-01-23 17:47 ` John Snow
2019-01-25 15:01 ` Max Reitz
2019-01-21 21:02 ` [Qemu-devel] " Eric Blake
2019-01-23 13:12 ` Max Reitz
2019-01-23 14:33 ` Eric Blake
2019-01-23 14:37 ` Max Reitz
2019-01-23 14:43 ` Daniel P. Berrangé
2019-01-31 1:01 ` Max Reitz [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=b0c2b109-b06d-7385-a6cf-3d24b9d15da0@redhat.com \
--to=mreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--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).