qemu-iotests 069 and 111 are failing on NetBSD
In case somebody is interested, two of the "auto" iotests are failing on NetBSD due to non-matching output:
TEST iotest-qcow2: 069 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out.bad 2019-07-24 09:21:34.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out 2019-07-24 09:19:22.000000000 +0000 +1 -1
@@ -4,5 +4,5 @@ Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=131072 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file=TEST_DIR/t.IMGFMT.base -qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: Could not open 'TEST_DIR/t.IMGFMT.base': No such file or directory +qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: TEST_DIR/t.IMGFMT.base: stat failed: No such file or directory *** done
and:
TEST iotest-qcow2: 111 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out.bad 2019-07-24 09:21:40.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out 2019-07-24 09:19:22.000000000 +0000 +1 -1
@@ -1,4 +1,4 @@ QA output created by 111 -qemu-img: TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT.inexistent': No such file or directory +qemu-img: TEST_DIR/t.IMGFMT: TEST_DIR/t.IMGFMT.inexistent: stat failed: No such file or directory Could not open backing image to determine size. *** done
It's currently not a problem yet since we're not running the iotests on NetBSD yet (since our netbsd VM image does not have bash and gsed installed yet), but if somebody has some spare minutes, it would be great if this could be fixed so that we can enable the iotests on NetBSD, too, one day...
Thomas
Quoted 26 lines · Thomas Huth
In case somebody is interested, two of the "auto" iotests are failing on NetBSD due to non-matching output:
TEST iotest-qcow2: 069 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out.bad 2019-07-24 09:21:34.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -4,5 +4,5 @@ Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=131072 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file=TEST_DIR/t.IMGFMT.base -qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: Could not open 'TEST_DIR/t.IMGFMT.base': No such file or directory +qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: TEST_DIR/t.IMGFMT.base: stat failed: No such file or directory *** doneand:
TEST iotest-qcow2: 111 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out.bad 2019-07-24 09:21:40.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -1,4 +1,4 @@ QA output created by 111 -qemu-img: TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT.inexistent': No such file or directory +qemu-img: TEST_DIR/t.IMGFMT: TEST_DIR/t.IMGFMT.inexistent: stat failed: No such file or directory Could not open backing image to determine size. *** done
Quoted 5 lines
It's currently not a problem yet since we're not running the iotests on NetBSD yet (since our netbsd VM image does not have bash and gsed installed yet), but if somebody has some spare minutes, it would be great if this could be fixed so that we can enable the iotests on NetBSD, too, one day...
Is this (slightly ridiculous but effective) patch enough?
block/file-posix.c +1 -1
@@ -217,7 +217,7 @@ static int raw_normalize_devicepath(const char **filename, Error **errp) fname = *filename; dp =strrchr (fname,'/' );if (lstat (fname, &sb) <0 ) { -error_setg_errno (errp, errno,"%s: stat failed" , fname); +error_setg_errno (errp, errno,"Could not open: '%s'" , fname);return -errno; }
Paolo
Thomas Huth
Tested-byQuoted 40 lines · Paolo Bonzini
Quoted 26 lines · Thomas Huth
In case somebody is interested, two of the "auto" iotests are failing on NetBSD due to non-matching output:
TEST iotest-qcow2: 069 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out.bad 2019-07-24 09:21:34.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -4,5 +4,5 @@ Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=131072 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file=TEST_DIR/t.IMGFMT.base -qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: Could not open 'TEST_DIR/t.IMGFMT.base': No such file or directory +qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: TEST_DIR/t.IMGFMT.base: stat failed: No such file or directory *** doneand:
TEST iotest-qcow2: 111 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out.bad 2019-07-24 09:21:40.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -1,4 +1,4 @@ QA output created by 111 -qemu-img: TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT.inexistent': No such file or directory +qemu-img: TEST_DIR/t.IMGFMT: TEST_DIR/t.IMGFMT.inexistent: stat failed: No such file or directory Could not open backing image to determine size. *** doneQuoted 5 lines
It's currently not a problem yet since we're not running the iotests on NetBSD yet (since our netbsd VM image does not have bash and gsed installed yet), but if somebody has some spare minutes, it would be great if this could be fixed so that we can enable the iotests on NetBSD, too, one day...
Is this (slightly ridiculous but effective) patch enough?
block/file-posix.c +0
-0
block/file-posix.c static int raw_normalize_devicepath(const char **filename, Error **errp) · line 222
Quoted 7 lines
block/file-posix.c +1
-1@@ -217,7 +217,7 @@ static int raw_normalize_devicepath(const char **filename, Error **errp) fname = *filename; dp =strrchr (fname,'/' );if (lstat (fname, &sb) <0 ) { -error_setg_errno (errp, errno,"%s: stat failed" , fname); +error_setg_errno (errp, errno,"Could not open: '%s'" , fname);return -errno; }
Yes, good idea! It works after removing the colon after "open"! :-)
With the colon removed:
Thomas
Quoted 51 lines · Thomas Huth
Quoted 40 lines · Paolo Bonzini
Quoted 26 lines · Thomas Huth
In case somebody is interested, two of the "auto" iotests are failing on NetBSD due to non-matching output:
TEST iotest-qcow2: 069 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out.bad 2019-07-24 09:21:34.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -4,5 +4,5 @@ Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=131072 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file=TEST_DIR/t.IMGFMT.base -qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: Could not open 'TEST_DIR/t.IMGFMT.base': No such file or directory +qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: TEST_DIR/t.IMGFMT.base: stat failed: No such file or directory *** doneand:
TEST iotest-qcow2: 111 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out.bad 2019-07-24 09:21:40.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -1,4 +1,4 @@ QA output created by 111 -qemu-img: TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT.inexistent': No such file or directory +qemu-img: TEST_DIR/t.IMGFMT: TEST_DIR/t.IMGFMT.inexistent: stat failed: No such file or directory Could not open backing image to determine size. *** doneQuoted 5 lines
It's currently not a problem yet since we're not running the iotests on NetBSD yet (since our netbsd VM image does not have bash and gsed installed yet), but if somebody has some spare minutes, it would be great if this could be fixed so that we can enable the iotests on NetBSD, too, one day...
Is this (slightly ridiculous but effective) patch enough?
block/file-posix.c +0
-0block/file-posix.c static int raw_normalize_devicepath(const char **filename, Error **errp) · line 222
Quoted 7 lines
block/file-posix.c +1
-1@@ -217,7 +217,7 @@ static int raw_normalize_devicepath(const char **filename, Error **errp) fname = *filename; dp =strrchr (fname,'/' );if (lstat (fname, &sb) <0 ) { -error_setg_errno (errp, errno,"%s: stat failed" , fname); +error_setg_errno (errp, errno,"Could not open: '%s'" , fname);return -errno; }Yes, good idea! It works after removing the colon after "open"! :-)
Quoted 6 lines
With the colon removed:
Tested-by Thomas Huth <[email protected]>Thomas
Does someone intend to submit this patch formally?
--js
Quoted 54 lines · John Snow
Quoted 51 lines · Thomas Huth
Quoted 40 lines · Paolo Bonzini
Quoted 26 lines · Thomas Huth
In case somebody is interested, two of the "auto" iotests are failing on NetBSD due to non-matching output:
TEST iotest-qcow2: 069 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out.bad 2019-07-24 09:21:34.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -4,5 +4,5 @@ Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=131072 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file=TEST_DIR/t.IMGFMT.base -qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: Could not open 'TEST_DIR/t.IMGFMT.base': No such file or directory +qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: TEST_DIR/t.IMGFMT.base: stat failed: No such file or directory *** doneand:
TEST iotest-qcow2: 111 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out.bad 2019-07-24 09:21:40.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -1,4 +1,4 @@ QA output created by 111 -qemu-img: TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT.inexistent': No such file or directory +qemu-img: TEST_DIR/t.IMGFMT: TEST_DIR/t.IMGFMT.inexistent: stat failed: No such file or directory Could not open backing image to determine size. *** doneQuoted 5 lines
It's currently not a problem yet since we're not running the iotests on NetBSD yet (since our netbsd VM image does not have bash and gsed installed yet), but if somebody has some spare minutes, it would be great if this could be fixed so that we can enable the iotests on NetBSD, too, one day...
Is this (slightly ridiculous but effective) patch enough?
block/file-posix.c +0
-0block/file-posix.c static int raw_normalize_devicepath(const char **filename, Error **errp) · line 222
Quoted 7 lines
block/file-posix.c +1
-1@@ -217,7 +217,7 @@ static int raw_normalize_devicepath(const char **filename, Error **errp) fname = *filename; dp =strrchr (fname,'/' );if (lstat (fname, &sb) <0 ) { -error_setg_errno (errp, errno,"%s: stat failed" , fname); +error_setg_errno (errp, errno,"Could not open: '%s'" , fname);return -errno; }Yes, good idea! It works after removing the colon after "open"! :-)
Quoted 8 lines
Quoted 6 lines
With the colon removed:
Tested-by Thomas Huth <[email protected]>Thomas
Does someone intend to submit this patch formally?
Yes, Paolo did it:
https://www.mail-archive.com/[email protected]/msg633351.html
Thomas
Quoted 59 lines · Thomas Huth
Quoted 58 lines · John Snow
Quoted 55 lines · Thomas Huth
Quoted 40 lines · Paolo Bonzini
Quoted 26 lines · Thomas Huth
In case somebody is interested, two of the "auto" iotests are failing on NetBSD due to non-matching output:
TEST iotest-qcow2: 069 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out.bad 2019-07-24 09:21:34.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -4,5 +4,5 @@ Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=131072 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file=TEST_DIR/t.IMGFMT.base -qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: Could not open 'TEST_DIR/t.IMGFMT.base': No such file or directory +qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: TEST_DIR/t.IMGFMT.base: stat failed: No such file or directory *** doneand:
TEST iotest-qcow2: 111 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out.bad 2019-07-24 09:21:40.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -1,4 +1,4 @@ QA output created by 111 -qemu-img: TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT.inexistent': No such file or directory +qemu-img: TEST_DIR/t.IMGFMT: TEST_DIR/t.IMGFMT.inexistent: stat failed: No such file or directory Could not open backing image to determine size. *** doneQuoted 5 lines
It's currently not a problem yet since we're not running the iotests on NetBSD yet (since our netbsd VM image does not have bash and gsed installed yet), but if somebody has some spare minutes, it would be great if this could be fixed so that we can enable the iotests on NetBSD, too, one day...
Is this (slightly ridiculous but effective) patch enough?
block/file-posix.c +0
-0block/file-posix.c static int raw_normalize_devicepath(const char **filename, Error **errp) · line 222
Quoted 7 lines
block/file-posix.c +1
-1@@ -217,7 +217,7 @@ static int raw_normalize_devicepath(const char **filename, Error **errp) fname = *filename; dp =strrchr (fname,'/' );if (lstat (fname, &sb) <0 ) { -error_setg_errno (errp, errno,"%s: stat failed" , fname); +error_setg_errno (errp, errno,"Could not open: '%s'" , fname);return -errno; }Yes, good idea! It works after removing the colon after "open"! :-)
With the colon removed:
Tested-by Thomas Huth <[email protected]>
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Thomas
Does someone intend to submit this patch formally?
Yes, Paolo did it:
https://www.mail-archive.com/[email protected]/msg633351.html
I can also include it in my pull request for 4.2.
Paolo
Quoted 65 lines · Paolo Bonzini
Quoted 64 lines · Thomas Huth
Quoted 62 lines · John Snow
Quoted 51 lines · Thomas Huth
Quoted 40 lines · Paolo Bonzini
Quoted 26 lines · Thomas Huth
In case somebody is interested, two of the "auto" iotests are failing on NetBSD due to non-matching output:
TEST iotest-qcow2: 069 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out.bad 2019-07-24 09:21:34.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/069.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -4,5 +4,5 @@ Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=131072 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file=TEST_DIR/t.IMGFMT.base -qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: Could not open 'TEST_DIR/t.IMGFMT.base': No such file or directory +qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open backing file: TEST_DIR/t.IMGFMT.base: stat failed: No such file or directory *** doneand:
TEST iotest-qcow2: 111 [fail]
var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out.bad 2019-07-24 09:21:40.000000000 +0000 renamed from var/tmp/qemu-test.1BMupF/tests/qemu-iotests/111.out 2019-07-24 09:19:22.000000000 +0000 +1
-1@@ -1,4 +1,4 @@ QA output created by 111 -qemu-img: TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT.inexistent': No such file or directory +qemu-img: TEST_DIR/t.IMGFMT: TEST_DIR/t.IMGFMT.inexistent: stat failed: No such file or directory Could not open backing image to determine size. *** doneQuoted 5 lines
It's currently not a problem yet since we're not running the iotests on NetBSD yet (since our netbsd VM image does not have bash and gsed installed yet), but if somebody has some spare minutes, it would be great if this could be fixed so that we can enable the iotests on NetBSD, too, one day...
Is this (slightly ridiculous but effective) patch enough?
block/file-posix.c +0
-0block/file-posix.c static int raw_normalize_devicepath(const char **filename, Error **errp) · line 222
Quoted 7 lines
block/file-posix.c +1
-1@@ -217,7 +217,7 @@ static int raw_normalize_devicepath(const char **filename, Error **errp) fname = *filename; dp =strrchr (fname,'/' );if (lstat (fname, &sb) <0 ) { -error_setg_errno (errp, errno,"%s: stat failed" , fname); +error_setg_errno (errp, errno,"Could not open: '%s'" , fname);return -errno; }Yes, good idea! It works after removing the colon after "open"! :-)
Quoted 6 lines
With the colon removed:
Tested-by Thomas Huth <[email protected]>Thomas
Does someone intend to submit this patch formally?
Quoted 8 lines
Quoted 3 lines
Yes, Paolo did it:
https://www.mail-archive.com/[email protected]/msg633351.html
I can also include it in my pull request for 4.2.
Paolo
Thanks, I had just missed it.
(Re: discussions on patch management processes: this is a pain point I have about the email based workflow is that the fate of individual threads is not always immediately clear.)
--js