Skip to contentSkip to conversation

iotest 026 -nocache is broken

Qemu-devel Vladimir Sementsov-Ogievskiy 2 participants 3 messages Mar 22, 2016 – Mar 23, 2016

lore
Share & tools
lore
#0 lore raw

Hi all!

Just a notice

for commit (near to master branch top)
commit 3666a97f78704b941c360dc917acb14c8774eca7

Author: Eric Blake <[email protected]>
Date:   Thu Mar 17 16:48:40 2016 -0600

qapi: Use anonymous bases in QMP flat unions

./configure --target-list=x86_64-softmmu

...

./check -T -nocache -qcow2 026

gives a lot of
+Failed to flush the L2 table cache: No space left on device +Failed to flush the refcount block cache: No space left on device

and some other differences.

this affects ./tests/check-block.sh

I've failed to find commit, for which this test was working..

it fails even for the first commit, where 026.out.nocache was introduced:

commit 8f94b077877151de93a63c73f796897309568ddb

Author: Kevin Wolf <[email protected]>
Date:   Wed Sep 4 13:16:05 2013 +0200

qemu-iotests: Fixed test case 026

May be I'm doing something wrong, but I can't imagine what..

Signature · 2 lines
Best regards,
Vladimir
#1 lore raw
Quoted 29 lines · Vladimir Sementsov-Ogievskiy

Hi all!

Just a notice

for commit (near to master branch top)
commit 3666a97f78704b941c360dc917acb14c8774eca7

Author: Eric Blake <[email protected]>
Date:   Thu Mar 17 16:48:40 2016 -0600

qapi: Use anonymous bases in QMP flat unions

./configure --target-list=x86_64-softmmu

...

./check -T -nocache -qcow2 026

gives a lot of

(quoted diff) +2 -0
+Failed to flush the L2 table cache: No space left on device
+Failed to flush the refcount block cache: No space left on device

and some other differences.

this affects ./tests/check-block.sh

I've failed to find commit, for which this test was working..

it fails even for the first commit, where 026.out.nocache was introduced:

Quoted 8 lines

commit 8f94b077877151de93a63c73f796897309568ddb

Author: Kevin Wolf <[email protected]>
Date:   Wed Sep 4 13:16:05 2013 +0200

qemu-iotests: Fixed test case 026

May be I'm doing something wrong, but I can't imagine what..

This test fails with different error messages depending on whether you use nocache or writethrough.

Paolo

#2 lore raw
Quoted 35 lines · Paolo Bonzini
Quoted 33 lines · Vladimir Sementsov-Ogievskiy

Hi all!

Just a notice

for commit (near to master branch top)
commit 3666a97f78704b941c360dc917acb14c8774eca7

Author: Eric Blake <[email protected]>
Date:   Thu Mar 17 16:48:40 2016 -0600

qapi: Use anonymous bases in QMP flat unions

./configure --target-list=x86_64-softmmu

...

./check -T -nocache -qcow2 026

gives a lot of

(quoted diff) +2 -0
+Failed to flush the L2 table cache: No space left on device
+Failed to flush the refcount block cache: No space left on device

and some other differences.

this affects ./tests/check-block.sh

I've failed to find commit, for which this test was working..

it fails even for the first commit, where 026.out.nocache was introduced:

commit 8f94b077877151de93a63c73f796897309568ddb

Author: Kevin Wolf <[email protected]>
Date:   Wed Sep 4 13:16:05 2013 +0200
Quoted 6 lines
Quoted 4 lines

qemu-iotests: Fixed test case 026

May be I'm doing something wrong, but I can't imagine what..

This test fails with different error messages depending on whether you use nocache or writethrough.

Yes, and therefore there are two output files: 026.out and 026.out.nocache. 026,out is ok, and ./check -qcow2 026 is ok, (and ./check -qcow2 -writetrhough 026 is ok too), result is compared with 026.out. But for -nocache it is compared with 026.out.nocache which is wrong.

Quoted 2 lines

Paolo

Signature · 2 lines
Best regards,
Vladimir