qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1843590] Re: NBD tests use hardcoded port 10810


From: Philippe Mathieu-Daudé
Subject: [Qemu-devel] [Bug 1843590] Re: NBD tests use hardcoded port 10810
Date: Wed, 11 Sep 2019 13:55:48 -0000

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]