Skip to contentSkip to conversation

qemu-iotests: test 051 fails

Qemu-devel Peter Lieven 3 participants 5 messages Jan 4, 2014 – Jan 6, 2014

lore
Share & tools
lore
#0 lore raw

~/git/qemu/tests/qemu-iotests$ ./check -qcow2 51

QEMU          -- ./qemu
QEMU_IMG      -- ./qemu-img
QEMU_IO       -- ./qemu-io
QEMU_NBD      -- /usr/local/bin/qemu-nbd
IMGFMT        -- qcow2 (compat=1.1)
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 lieven-pc 3.2.0-57-generic

SOCKET_SCM_HELPER --

051 - output mismatch (see 051.out.bad)

051.out.bad 2014-01-04 19:38:03.185810819 +0100 renamed from 051.out 2014-01-04 19:11:31.557812472 +0100 +0 -1
@@ -91,7 +91,6 @@
 QEMU X.Y.Z monitor - type 'help' for more information
 (qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
 QEMU_PROG: -drive if=virtio: Device initialization failed.
-QEMU_PROG: -drive if=virtio: Device initialization failed.
 QEMU_PROG: -drive if=virtio: Device 'virtio-blk-pci' could not be initialized
 
 Testing: -drive if=scsi

Failures: 051
Failed 1 of 1 tests

Peter

#1 lore raw
Quoted 24 lines · Peter Lieven

~/git/qemu/tests/qemu-iotests$ ./check -qcow2 51

QEMU          -- ./qemu
QEMU_IMG      -- ./qemu-img
QEMU_IO       -- ./qemu-io
QEMU_NBD      -- /usr/local/bin/qemu-nbd
IMGFMT        -- qcow2 (compat=1.1)
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 lieven-pc 3.2.0-57-generic

SOCKET_SCM_HELPER --

051 - output mismatch (see 051.out.bad)

051.out.bad 2014-01-04 19:38:03.185810819 +0100 renamed from 051.out 2014-01-04 19:11:31.557812472 +0100 +0 -1
@@ -91,7 +91,6 @@
  QEMU X.Y.Z monitor - type 'help' for more information
  (qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
  QEMU_PROG: -drive if=virtio: Device initialization failed.
-QEMU_PROG: -drive if=virtio: Device initialization failed.
  QEMU_PROG: -drive if=virtio: Device 'virtio-blk-pci' could not be initialized
 
  Testing: -drive if=scsi

Failures: 051
Failed 1 of 1 tests

Quoted 2 lines

Peter

Yes, this is the bad commit:

commit 75884afd5c6c42e523b08565e289dbe319e17ad9

Author: Andreas Färber <[email protected]>
Date:   Tue Jul 30 01:35:08 2013 +0200

virtio-blk: Convert to QOM realize

I guess simply removing the duplicated line in the output file is enough. I'll post a patch for it, thanks for the report!

Fam

#2 lore raw
Quoted 34 lines · Fam Zheng
Quoted 24 lines · Peter Lieven

~/git/qemu/tests/qemu-iotests$ ./check -qcow2 51

QEMU          -- ./qemu
QEMU_IMG      -- ./qemu-img
QEMU_IO       -- ./qemu-io
QEMU_NBD      -- /usr/local/bin/qemu-nbd
IMGFMT        -- qcow2 (compat=1.1)
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 lieven-pc 3.2.0-57-generic

SOCKET_SCM_HELPER --

051 - output mismatch (see 051.out.bad)

051.out.bad 2014-01-04 19:38:03.185810819 +0100 renamed from 051.out 2014-01-04 19:11:31.557812472 +0100 +0 -1
@@ -91,7 +91,6 @@
 QEMU X.Y.Z monitor - type 'help' for more information
 (qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
 QEMU_PROG: -drive if=virtio: Device initialization failed.
-QEMU_PROG: -drive if=virtio: Device initialization failed.
 QEMU_PROG: -drive if=virtio: Device 'virtio-blk-pci' could not be initialized
 
 Testing: -drive if=scsi

Failures: 051
Failed 1 of 1 tests

Quoted 2 lines

Peter

Yes, this is the bad commit:

commit 75884afd5c6c42e523b08565e289dbe319e17ad9

Author: Andreas Färber <[email protected]>
Date:   Tue Jul 30 01:35:08 2013 +0200
Quoted 7 lines

virtio-blk: Convert to QOM realize

I guess simply removing the duplicated line in the output file is enough. I'll post a patch for it, thanks for the report!

See my earlier email to this thread. I already posted a patch.

Stefan

#3 lore raw
Quoted 37 lines · Stefan Hajnoczi
Quoted 36 lines · Fam Zheng
Quoted 24 lines · Peter Lieven

~/git/qemu/tests/qemu-iotests$ ./check -qcow2 51

QEMU          -- ./qemu
QEMU_IMG      -- ./qemu-img
QEMU_IO       -- ./qemu-io
QEMU_NBD      -- /usr/local/bin/qemu-nbd
IMGFMT        -- qcow2 (compat=1.1)
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 lieven-pc 3.2.0-57-generic

SOCKET_SCM_HELPER --

051 - output mismatch (see 051.out.bad)

051.out.bad 2014-01-04 19:38:03.185810819 +0100 renamed from 051.out 2014-01-04 19:11:31.557812472 +0100 +0 -1
@@ -91,7 +91,6 @@
  QEMU X.Y.Z monitor - type 'help' for more information
  (qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
  QEMU_PROG: -drive if=virtio: Device initialization failed.
-QEMU_PROG: -drive if=virtio: Device initialization failed.
  QEMU_PROG: -drive if=virtio: Device 'virtio-blk-pci' could not be initialized
 
  Testing: -drive if=scsi

Failures: 051
Failed 1 of 1 tests

Quoted 2 lines

Peter

Yes, this is the bad commit:

commit 75884afd5c6c42e523b08565e289dbe319e17ad9

Author: Andreas Färber <[email protected]>
Date:   Tue Jul 30 01:35:08 2013 +0200

virtio-blk: Convert to QOM realize

Quoted 8 lines
Quoted 5 lines

I guess simply removing the duplicated line in the output file is enough. I'll post a patch for it, thanks for the report!

See my earlier email to this thread. I already posted a patch.

That's good, thanks!

Fam

#4 lore raw
In reply to Peter Lieven
Quoted 21 lines · Peter Lieven

~/git/qemu/tests/qemu-iotests$ ./check -qcow2 51

QEMU          -- ./qemu
QEMU_IMG      -- ./qemu-img
QEMU_IO       -- ./qemu-io
QEMU_NBD      -- /usr/local/bin/qemu-nbd
IMGFMT        -- qcow2 (compat=1.1)
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 lieven-pc 3.2.0-57-generic

SOCKET_SCM_HELPER --

051 - output mismatch (see 051.out.bad)

051.out.bad 2014-01-04 19:38:03.185810819 +0100 renamed from 051.out 2014-01-04 19:11:31.557812472 +0100 +0 -1
@@ -91,7 +91,6 @@
 QEMU X.Y.Z monitor - type 'help' for more information
 (qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
 QEMU_PROG: -drive if=virtio: Device initialization failed.
-QEMU_PROG: -drive if=virtio: Device initialization failed.
 QEMU_PROG: -drive if=virtio: Device 'virtio-blk-pci' could not be initialized
 
 Testing: -drive if=scsi
Quoted 2 lines

Failures: 051
Failed 1 of 1 tests

Fixed by:

commit db2f695f1bf68eec38f2d7cc26ba3846c97a3f54

Author: Stefan Hajnoczi <[email protected]>
Date:   Thu Dec 19 16:26:44 2013 +0100

qemu-iotests: drop duplicate virtio-blk initialization failure

It should be in qemu.git/master in a couple of days.