Dear Max, Max Reitz <mre...@redhat.com> writes:
[tests/qemu-iotests/162] [...] > +# (We need to set up a server here, because the error message for "Connection > +# refused" does not contain the destination port) > +$QEMU_NBD -p 42424 -f raw null-co:// & > +sleep 0.5 > +$QEMU_IMG info 'json:{"driver": "nbd", "host": "localhost", "port": 42424}' \ > + | grep '^image' Using a fixed port number means multiple users won't be able to run this in parallel. That it's only open for a short time actually makes the issue a bit worse as it's hard to understand just why the test failed intermittently. Is there a way to have qemu-nbd use a random port and print the port number? Sascha -- Softwareentwicklung Sascha Silbe, Niederhofenstraße 5/1, 71229 Leonberg https://se-silbe.de/ USt-IdNr. DE281696641