Re: [PATCH] tests/qemu_iotests: Minimize usage of used ports

2020-02-07 Thread Max Reitz
On 06.02.20 19:33, Lukáš Doktor wrote: > Dne 06. 02. 20 v 17:59 Max Reitz napsal(a): >> On 06.02.20 17:48, Eric Blake wrote: >>> On 2/6/20 10:37 AM, Max Reitz wrote: [...] OTOH, would it work if we just did a %s/localhost/127.0.0.1/ in the test?  We have specific cases for IPv6, so I th

Re: [PATCH] tests/qemu_iotests: Minimize usage of used ports

2020-02-06 Thread Lukáš Doktor
Dne 06. 02. 20 v 17:59 Max Reitz napsal(a): > On 06.02.20 17:48, Eric Blake wrote: >> On 2/6/20 10:37 AM, Max Reitz wrote: >> thank you and I am sorry for not digging deep enough. This week my CI failed with: 01:24:06 DEBUG| [stdout] +ERROR: test_inet (__main__.QemuNBD) >>>

Re: [PATCH] tests/qemu_iotests: Minimize usage of used ports

2020-02-06 Thread Max Reitz
On 06.02.20 17:48, Eric Blake wrote: > On 2/6/20 10:37 AM, Max Reitz wrote: > >>> >>> thank you and I am sorry for not digging deep enough. This week my CI >>> failed with: >>> >>> 01:24:06 DEBUG| [stdout] +ERROR: test_inet (__main__.QemuNBD) >>> 01:24:06 DEBUG| [stdout] >>> +-

Re: [PATCH] tests/qemu_iotests: Minimize usage of used ports

2020-02-06 Thread Eric Blake
On 2/6/20 10:37 AM, Max Reitz wrote: thank you and I am sorry for not digging deep enough. This week my CI failed with: 01:24:06 DEBUG| [stdout] +ERROR: test_inet (__main__.QemuNBD) 01:24:06 DEBUG| [stdout] +-- 01:24:06 DEBU

Re: [PATCH] tests/qemu_iotests: Minimize usage of used ports

2020-02-06 Thread Max Reitz
On 06.02.20 17:27, Lukáš Doktor wrote: > Dne 06. 02. 20 v 16:03 Max Reitz napsal(a): >> On 03.02.20 08:59, Lukáš Doktor wrote: >>> Using a range of ports from 32768 to 65538 is dangerous as some >>> application might already be listening there and interfere with the >>> testing. There is no way to

Re: [PATCH] tests/qemu_iotests: Minimize usage of used ports

2020-02-06 Thread Lukáš Doktor
Dne 06. 02. 20 v 16:03 Max Reitz napsal(a): > On 03.02.20 08:59, Lukáš Doktor wrote: >> Using a range of ports from 32768 to 65538 is dangerous as some >> application might already be listening there and interfere with the >> testing. There is no way to reserve ports, but let's decrease the chance

Re: [PATCH] tests/qemu_iotests: Minimize usage of used ports

2020-02-06 Thread Max Reitz
On 03.02.20 08:59, Lukáš Doktor wrote: > Using a range of ports from 32768 to 65538 is dangerous as some > application might already be listening there and interfere with the > testing. There is no way to reserve ports, but let's decrease the chance > of interactions by only using ports that were f

Re: [PATCH] tests/qemu_iotests: Minimize usage of used ports

2020-02-03 Thread Eric Blake
On 2/3/20 1:59 AM, Lukáš Doktor wrote: Using a range of ports from 32768 to 65538 is dangerous as some application might already be listening there and interfere with the testing. There is no way to reserve ports, but let's decrease the chance of interactions by only using ports that were free at

[PATCH] tests/qemu_iotests: Minimize usage of used ports

2020-02-03 Thread Lukáš Doktor
Using a range of ports from 32768 to 65538 is dangerous as some application might already be listening there and interfere with the testing. There is no way to reserve ports, but let's decrease the chance of interactions by only using ports that were free at the time of importing this module. With