From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpwD8-0008Ic-Mz for qemu-devel@nongnu.org; Wed, 06 May 2015 06:05:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpwD5-00083g-Cl for qemu-devel@nongnu.org; Wed, 06 May 2015 06:05:50 -0400 Received: from indium.canonical.com ([91.189.90.7]:42403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpwD5-000821-7r for qemu-devel@nongnu.org; Wed, 06 May 2015 06:05:47 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1YpwD3-00039R-Em for ; Wed, 06 May 2015 10:05:45 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 1AAD62E80CA for ; Wed, 6 May 2015 10:05:45 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 06 May 2015 09:58:05 -0000 From: Kevin Wolf <1452062@bugs.launchpad.net> Sender: bounces@canonical.com References: <20150505225327.15890.63934.malonedeb@chaenomeles.canonical.com> Message-Id: <20150506095805.16243.58241.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1452062] Re: qemu-img will fail to convert images in 2.3.0 Reply-To: Bug 1452062 <1452062@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The only possibly relevant change I can see in 2.3 is that the qcow2 driver added an additional error check to a truncate operation. Can you please run qemu-img under strace -f and either provide the output as an attachment or paste the relevant failing call(s) if you can recognise them? -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1452062 Title: qemu-img will fail to convert images in 2.3.0 Status in QEMU: Incomplete Bug description: Hello guys, There seems to be a bug in qemu-img with 2.3.0 that wasn't there in 2.2.1 .... qemu convert will always fail converting. See the output below: = Started by upstream project "Create windows image" build number 73 originally caused by: Started by user anonymous Building remotely on builder (builder lab) in workspace /var/lib/jenkins/= remote/workspace/Prepare windows Image [Prepare WS2008R2 Image] $ /bin/sh -xe /tmp/hudson4138890034689910617.sh + sudo bash -x /var/images/prepare_windows.sh WS2008R2 + set +x Preparing: windows Virtio CD: virtio-win-0.1.96.iso Sparsifying... qemu-img: error while compressing sector 11131648: Input/output error virt-sparsify: error: external command failed: qemu-img convert -f = qcow2 -O 'qcow2' -c -o 'compat=3D0.10' '/tmp/sparsifyb459a0.qcow2' = '/var/images/generated/WS2008R2.qcow2' virt-sparsify: If reporting bugs, run virt-sparsify with debugging = enabled (-v) and include the complete output. Build step 'Execute shell' marked build as failure Warning: you have no plugins providing access control for builds, so fall= ing back to legacy behavior of permitting any downstream builds to be trigg= ered Finished: FAILURE Thanks, Dave To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1452062/+subscriptions