qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1843590] [NEW] NBD tests use hardcoded port 10810
@ 2019-09-11 13:54 Philippe Mathieu-Daudé
  2019-09-11 13:55 ` [Qemu-devel] [Bug 1843590] " Philippe Mathieu-Daudé
  2020-11-21 14:08 ` Thomas Huth
  0 siblings, 2 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-09-11 13:54 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

QEMU v3.1.0

$ ./configure --block-drv-rw-
whitelist=qcow2,raw,file,host_device,nbd,iscsi,rbd,blkdebug,luks,null-
co,nvme,copy-on-read,throttle,vxhs,gluster [...]

$ ./check -v -nbd 001 002 003 004 005 008 009 010 011 021 032 033 045 077 094 104 119 123 132 143 145 147 151 152 162 181 184 194 205 208 218 222
[...]
104         - output mismatch (see 104.out.bad)
--- tests/qemu-iotests/104.out	2018-12-11 17:44:35.000000000 +0000
+++ tests/qemu-iotests/104.out.bad	2019-09-11 11:59:11.822058653 +0000
@@ -6,7 +6,7 @@
 file format: IMGFMT
 virtual size: 1.0K (1024 bytes)
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1234
-image: TEST_DIR/t.IMGFMT
-file format: IMGFMT
-virtual size: 1.5K (1536 bytes)
+Failed to find an available port: Address already in use
+qemu-img: Could not open 'nbd:127.0.0.1:10810': Failed to connect socket: Connection refused
+./common.rc: line 203: kill: (28391) - No such process
 ***done
Failed 1 of 32 tests

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: block nbd

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

Title:
  NBD tests  use hardcoded port 10810

Status in QEMU:
  New

Bug description:
  QEMU v3.1.0

  $ ./configure --block-drv-rw-
  whitelist=qcow2,raw,file,host_device,nbd,iscsi,rbd,blkdebug,luks,null-
  co,nvme,copy-on-read,throttle,vxhs,gluster [...]

  $ ./check -v -nbd 001 002 003 004 005 008 009 010 011 021 032 033 045 077 094 104 119 123 132 143 145 147 151 152 162 181 184 194 205 208 218 222
  [...]
  104         - output mismatch (see 104.out.bad)
  --- tests/qemu-iotests/104.out	2018-12-11 17:44:35.000000000 +0000
  +++ tests/qemu-iotests/104.out.bad	2019-09-11 11:59:11.822058653 +0000
  @@ -6,7 +6,7 @@
   file format: IMGFMT
   virtual size: 1.0K (1024 bytes)
   Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1234
  -image: TEST_DIR/t.IMGFMT
  -file format: IMGFMT
  -virtual size: 1.5K (1536 bytes)
  +Failed to find an available port: Address already in use
  +qemu-img: Could not open 'nbd:127.0.0.1:10810': Failed to connect socket: Connection refused
  +./common.rc: line 203: kill: (28391) - No such process
   ***done
  Failed 1 of 32 tests

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [Bug 1843590] Re: NBD tests use hardcoded port 10810
  2019-09-11 13:54 [Qemu-devel] [Bug 1843590] [NEW] NBD tests use hardcoded port 10810 Philippe Mathieu-Daudé
@ 2019-09-11 13:55 ` Philippe Mathieu-Daudé
  2020-11-21 14:08 ` Thomas Huth
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-09-11 13:55 UTC (permalink / raw)
  To: qemu-devel

Could be due to concurrent builds on the same system:

$ git grep 10810 tests
tests/qemu-iotests/common.filter:125:        -e 's#nbd:127.0.0.1:10810#TEST_DIR/t.IMGFMT#g' \
tests/qemu-iotests/common.filter:161:        -e 's#nbd://127.0.0.1:10810$#TEST_DIR/t.IMGFMT#g' \
tests/qemu-iotests/common.rc:140:        TEST_IMG="$DRIVER,file.driver=nbd,file.host=127.0.0.1,file.port=10810"
tests/qemu-iotests/common.rc:156:        TEST_IMG="nbd:127.0.0.1:10810"
tests/qemu-iotests/common.rc:276:        eval "$QEMU_NBD -v -t -b 127.0.0.1 -p 10810 -f $IMGFMT -e 42 -x '' $TEST_IMG_FILE >/dev/null &"

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

Title:
  NBD tests  use hardcoded port 10810

Status in QEMU:
  New

Bug description:
  QEMU v3.1.0

  $ ./configure --block-drv-rw-
  whitelist=qcow2,raw,file,host_device,nbd,iscsi,rbd,blkdebug,luks,null-
  co,nvme,copy-on-read,throttle,vxhs,gluster [...]

  $ ./check -v -nbd 001 002 003 004 005 008 009 010 011 021 032 033 045 077 094 104 119 123 132 143 145 147 151 152 162 181 184 194 205 208 218 222
  [...]
  104         - output mismatch (see 104.out.bad)
  --- tests/qemu-iotests/104.out	2018-12-11 17:44:35.000000000 +0000
  +++ tests/qemu-iotests/104.out.bad	2019-09-11 11:59:11.822058653 +0000
  @@ -6,7 +6,7 @@
   file format: IMGFMT
   virtual size: 1.0K (1024 bytes)
   Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1234
  -image: TEST_DIR/t.IMGFMT
  -file format: IMGFMT
  -virtual size: 1.5K (1536 bytes)
  +Failed to find an available port: Address already in use
  +qemu-img: Could not open 'nbd:127.0.0.1:10810': Failed to connect socket: Connection refused
  +./common.rc: line 203: kill: (28391) - No such process
   ***done
  Failed 1 of 32 tests

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 1843590] Re: NBD tests  use hardcoded port 10810
  2019-09-11 13:54 [Qemu-devel] [Bug 1843590] [NEW] NBD tests use hardcoded port 10810 Philippe Mathieu-Daudé
  2019-09-11 13:55 ` [Qemu-devel] [Bug 1843590] " Philippe Mathieu-Daudé
@ 2020-11-21 14:08 ` Thomas Huth
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2020-11-21 14:08 UTC (permalink / raw)
  To: qemu-devel

This should have been fixed by this commit here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=f3923a72f199b2c63747a7

** Changed in: qemu
       Status: New => Fix Released

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

Title:
  NBD tests  use hardcoded port 10810

Status in QEMU:
  Fix Released

Bug description:
  QEMU v3.1.0

  $ ./configure --block-drv-rw-
  whitelist=qcow2,raw,file,host_device,nbd,iscsi,rbd,blkdebug,luks,null-
  co,nvme,copy-on-read,throttle,vxhs,gluster [...]

  $ ./check -v -nbd 001 002 003 004 005 008 009 010 011 021 032 033 045 077 094 104 119 123 132 143 145 147 151 152 162 181 184 194 205 208 218 222
  [...]
  104         - output mismatch (see 104.out.bad)
  --- tests/qemu-iotests/104.out	2018-12-11 17:44:35.000000000 +0000
  +++ tests/qemu-iotests/104.out.bad	2019-09-11 11:59:11.822058653 +0000
  @@ -6,7 +6,7 @@
   file format: IMGFMT
   virtual size: 1.0K (1024 bytes)
   Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1234
  -image: TEST_DIR/t.IMGFMT
  -file format: IMGFMT
  -virtual size: 1.5K (1536 bytes)
  +Failed to find an available port: Address already in use
  +qemu-img: Could not open 'nbd:127.0.0.1:10810': Failed to connect socket: Connection refused
  +./common.rc: line 203: kill: (28391) - No such process
   ***done
  Failed 1 of 32 tests

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-21 14:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11 13:54 [Qemu-devel] [Bug 1843590] [NEW] NBD tests use hardcoded port 10810 Philippe Mathieu-Daudé
2019-09-11 13:55 ` [Qemu-devel] [Bug 1843590] " Philippe Mathieu-Daudé
2020-11-21 14:08 ` Thomas Huth

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).