Skip to contentSkip to conversation

buildbot failure in qemu on block_x86_64_debian_6_0

Qemu-devel [email protected] 3 participants 3 messages Jan 24, 2012

lore
Share & tools
lore
#0 lore raw

The Buildbot has detected a new failure on builder block_x86_64_debian_6_0 while building qemu. Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_x86_64_debian_6_0/builds/162

Buildbot URL: http://buildbot.b1-systems.de/qemu/

Buildslave for this Build: yuzuki

Build Reason: The Nightly scheduler named 'nightly_block' triggered this build Build Source Stamp: [branch block] HEAD
Blamelist:

BUILD FAILED: failed compile

sincerely,
-The Buildbot

#1 lore raw

Am 24.01.2012 04:12, schrieb [email protected]:

Quoted 6 lines

The Buildbot has detected a new failure on builder block_x86_64_debian_6_0 while building qemu. Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_x86_64_debian_6_0/builds/162

Buildbot URL: http://buildbot.b1-systems.de/qemu/

Quoted 7 lines

Buildslave for this Build: yuzuki

Build Reason: The Nightly scheduler named 'nightly_block' triggered this build Build Source Stamp: [branch block] HEAD
Blamelist:

BUILD FAILED: failed compile

Log says:

CC blockdev.o
cc1: warnings being treated as errors
blockdev.c: In function 'eject_device':
blockdev.c:715: error: 'return' with a value, in function returning void make[1]: Leaving directory `/home/build/qemu/block_x86_64_debian_6_0/build' make[1]: *** [blockdev.o] Error 1

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#2 lore raw

Am 24.01.2012 07:53, schrieb Andreas Färber:

Quoted 15 lines

Am 24.01.2012 04:12, schrieb [email protected]:

Quoted 6 lines

The Buildbot has detected a new failure on builder block_x86_64_debian_6_0 while building qemu. Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_x86_64_debian_6_0/builds/162

Buildbot URL: http://buildbot.b1-systems.de/qemu/

Quoted 7 lines

Buildslave for this Build: yuzuki

Build Reason: The Nightly scheduler named 'nightly_block' triggered this build Build Source Stamp: [branch block] HEAD
Blamelist:

BUILD FAILED: failed compile

Quoted 8 lines

Log says:

CC blockdev.o
cc1: warnings being treated as errors
blockdev.c: In function 'eject_device':
blockdev.c:715: error: 'return' with a value, in function returning void make[1]: Leaving directory `/home/build/qemu/block_x86_64_debian_6_0/build' make[1]: *** [blockdev.o] Error 1

Stefan, this seems to be a merge conflict for your patch "block: check bdrv_in_use() before blockdev operations". I'll apply this fix to the patch:

blockdev.c +0 -0
index 9252c25..0499ee6 100644
@@ -678,8 +678,8 @@ void qmp_blockdev_snapshot_sync(const char *device,

const char *snapshot_file,
static void eject_device(BlockDriverState *bs, int force, Error **errp)

 {
     if (bdrv_in_use(bs)) {
-        qerror_report(QERR_DEVICE_IN_USE, bdrv_get_device_name(bs));
-        return -1;
+        error_set(errp, QERR_DEVICE_IN_USE, bdrv_get_device_name(bs));
+        return;
     }
     if (!bdrv_dev_has_removable_media(bs)) {
         error_set(errp, QERR_DEVICE_NOT_REMOVABLE,

bdrv_get_device_name(bs));

Kevin