[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 00/20] Block patches
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PULL 00/20] Block patches |
Date: |
Fri, 20 Apr 2012 12:38:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Thunderbird/11.0 |
Am 20.04.2012 12:37, schrieb Kevin Wolf:
> Am 20.04.2012 12:16, schrieb Andreas Färber:
>> [...] I've been seeing the following annoying
>> problem on master:
>>
>> $ make check-block
>> /home/andreas/QEMU/qemu/tests/qemu-iotests-quick.sh
>> hostname: Name or service not known
>> hostname: Name or service not known
>> QEMU -- this_should_be_unused
>> QEMU_IMG -- /home/andreas/QEMU/build/qemu-img
>> QEMU_IO -- /home/andreas/QEMU/build/qemu-io
>> IMGFMT -- qcow2
>> IMGPROTO -- file
>> PLATFORM -- Linux/x86_64 3.1.9-1.4-desktop
>>
>> 002 [12:07:08] [12:07:14] - output mismatch (see 002.out.bad)
>> --- 002.out 2012-04-15 03:15:14.764142157 +0200
>> +++ 002.out.bad 2012-04-20 12:07:14.829106591 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 002
>> +hostname: Name or service not known
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
>>
>> == reading whole image ==
>> 004 [12:07:14] [12:07:15] - output mismatch (see 004.out.bad)
>> --- 004.out 2012-04-15 03:15:14.764142157 +0200
>> +++ 004.out.bad 2012-04-20 12:07:15.449108889 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 004
>> +hostname: Name or service not known
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
>>
>> write before image boundary
>> 011 [12:07:15] [12:07:16] - output mismatch (see 011.out.bad)
>> --- 011.out 2012-04-15 03:15:14.764142157 +0200
>> +++ 011.out.bad 2012-04-20 12:07:16.991114606 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 011
>> +hostname: Name or service not known
>>
>> creating image
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
>> 012 [12:07:17] [12:07:17] - output mismatch (see 012.out.bad)
>> --- 012.out 2012-04-15 03:15:14.764142157 +0200
>> +++ 012.out.bad 2012-04-20 12:07:17.195115362 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 012
>> +hostname: Name or service not known
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
>>
>> == mark image read-only
>> 016 [12:07:17] [12:07:17] [not run]
>> 016 -- not suitable for this image format: qcow2
>> 017 [12:07:17] [12:07:21] - output mismatch (see 017.out.bad)
>> --- 017.out 2012-04-15 03:15:14.779142203 +0200
>> +++ 017.out.bad 2012-04-20 12:07:21.347130741 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 017
>> +hostname: Name or service not known
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
>> Filling base image
>>
>> 019 [12:07:21] [12:07:25] - output mismatch (see 019.out.bad)
>> --- 019.out 2012-04-15 03:15:14.779142203 +0200
>> +++ 019.out.bad 2012-04-20 12:07:25.920147663 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 019
>> +hostname: Name or service not known
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
>> cluster_size=65536
>> Filling base image
>>
>> 020 [12:07:25] [12:07:29] - output mismatch (see 020.out.bad)
>> --- 020.out 2012-04-15 03:15:14.780142206 +0200
>> +++ 020.out.bad 2012-04-20 12:07:29.987162699 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 020
>> +hostname: Name or service not known
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
>> Filling base image
>>
>> 024 [12:07:30] [12:07:32] - output mismatch (see 024.out.bad)
>> --- 024.out 2012-04-15 03:15:14.784142219 +0200
>> +++ 024.out.bad 2012-04-20 12:07:32.842173240 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 024
>> +hostname: Name or service not known
>> Creating backing file
>>
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
>> cluster_size=65536
>> 025 [12:07:32] [12:07:38] - output mismatch (see 025.out.bad)
>> --- 025.out 2012-04-15 03:15:14.784142219 +0200
>> +++ 025.out.bad 2012-04-20 12:07:38.543194283 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 025
>> +hostname: Name or service not known
>> === Creating image
>>
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
>> 027 [12:07:38] [12:07:39] - output mismatch (see 027.out.bad)
>> --- 027.out 2012-04-15 03:15:14.785142222 +0200
>> +++ 027.out.bad 2012-04-20 12:07:39.340197224 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 027
>> +hostname: Name or service not known
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
>>
>> == writing first cluster to populate metadata ==
>> 029 [12:07:39] [12:07:49] - output mismatch (see 029.out.bad)
>> --- 029.out 2012-04-15 03:15:14.785142222 +0200
>> +++ 029.out.bad 2012-04-20 12:07:49.395234274 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 029
>> +hostname: Name or service not known
>> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
>> cluster_size=65536
>> wrote 4096/4096 bytes at offset 0
>> 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
>> 031 [12:07:49] [12:07:49] - output mismatch (see 031.out.bad)
>> --- 031.out 2012-04-19 17:15:59.313430818 +0200
>> +++ 031.out.bad 2012-04-20 12:07:49.787235706 +0200
>> @@ -1,4 +1,5 @@
>> QA output created by 031
>> +hostname: Name or service not known
>>
>> === Create image with unknown header extension ===
>>
>> Not run: 016
>> Failures: 002 004 011 012 017 019 020 024 025 027 029 031
>> Failed 12 of 12 tests
>> make: *** [check-tests/qemu-iotests-quick.sh] Fehler 1
>>
>> However `hostname` returns "<myhostname>.site" just fine, and I don't
>> understand why a user's local hostname should be causing 100% test
>> failures for block I/O tests in the first place...
>>
>> Could someone please check on that?
>
> common.config has this line:
>
> HOST=`hostname -s`
>
> Does hostname -s work as well when you invoke it manually?
Ah no, that one doesn't. (I spotted just `hostname` in common.rc.)
> But anyway,
> $HOST seems to be completely unused, so I guess we could just remove
> this line.
Maybe it matters for NBD or iSCSI? But if prerequisites were not right I
would expect the tests to be skipped, not failing.
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg