Skip to contentSkip to conversation

iotest 141 fails with qed

Qemu-devel Thomas Huth 2 participants 2 messages Jul 17, 2019

lore
Share & tools
lore
#0 lore raw

FWIW, I've got a new iotest failure with current master branch:

$ ./check -qed 141
QEMU          -- "/tmp/qemu/tests/qemu-iotests/../../x86_64-softmmu/qemu-system-x86_64" -nodefaults -machine accel=qtest
QEMU_IMG      -- "/tmp/qemu/tests/qemu-iotests/../../qemu-img" 
QEMU_IO       -- "/tmp/qemu/tests/qemu-iotests/../../qemu-io"  --cache writeback -f qed
QEMU_NBD      -- "/tmp/qemu/tests/qemu-iotests/../../qemu-nbd" 
IMGFMT        -- qed
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 thuth 3.10.0-957.21.3.el7.x86_64
TEST_DIR      -- /tmp/qemu/tests/qemu-iotests/scratch
SOCKET_SCM_HELPER -- /tmp/qemu/tests/qemu-iotests/socket_scm_helper

141 fail [14:31:35] [14:31:36] output mismatch (see 141.out.bad)

tmp/qemu/tests/qemu-iotests/141.out.bad renamed from home/thuth/devel/qemu/tests/qemu-iotests/141.out +1 -1
@@ -42,9 +42,9 @@
 {"return": {}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "job0"}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "job0"}}
-{"return": {}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "job0"}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_READY", "data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}}
+{"return": {}}
 {"error": {"class": "GenericError", "desc": "Node 'drv0' is busy: block device is in use by block job: commit"}}
 {"return": {}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "job0"}}

Failures: 141
Failed 1 of 1 tests

IIRC this was working fine two months ago (at least I don't remember having seen it at that point in time).

Thomas

#1 lore raw
Quoted 30 lines · Thomas Huth

FWIW, I've got a new iotest failure with current master branch:

$ ./check -qed 141
QEMU          -- "/tmp/qemu/tests/qemu-iotests/../../x86_64-softmmu/qemu-system-x86_64" -nodefaults -machine accel=qtest
QEMU_IMG      -- "/tmp/qemu/tests/qemu-iotests/../../qemu-img" 
QEMU_IO       -- "/tmp/qemu/tests/qemu-iotests/../../qemu-io"  --cache writeback -f qed
QEMU_NBD      -- "/tmp/qemu/tests/qemu-iotests/../../qemu-nbd" 
IMGFMT        -- qed
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 thuth 3.10.0-957.21.3.el7.x86_64
TEST_DIR      -- /tmp/qemu/tests/qemu-iotests/scratch
SOCKET_SCM_HELPER -- /tmp/qemu/tests/qemu-iotests/socket_scm_helper

141 fail [14:31:35] [14:31:36] output mismatch (see 141.out.bad)

tmp/qemu/tests/qemu-iotests/141.out.bad renamed from home/thuth/devel/qemu/tests/qemu-iotests/141.out +1 -1
@@ -42,9 +42,9 @@
 {"return": {}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "job0"}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "job0"}}
-{"return": {}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "job0"}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_READY", "data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}}
+{"return": {}}
 {"error": {"class": "GenericError", "desc": "Node 'drv0' is busy: block device is in use by block job: commit"}}
 {"return": {}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "job0"}}

Failures: 141
Failed 1 of 1 tests

Quoted 2 lines

IIRC this was working fine two months ago (at least I don't remember having seen it at that point in time).

You are correct.

Vladimir proposed a fix for this:

https://lists.nongnu.org/archive/html/qemu-block/2019-05/msg00982.html

But he never sent a patch, so I guess I’ll have to make it a patch, then.

Max